Commit graph

5952 commits

Author SHA1 Message Date
Emanuele Stoppa
7ee1861557 feat: pass logger to integrations (#7816) 2023-08-01 16:00:39 +01:00
Erika
a4f30d2fd4 feat: remove automatic flattening of getStaticPaths result (#7845)
* feat: remove automatic flattening of `getStaticPaths` result

* chore: changeset
2023-08-01 16:00:39 +01:00
Erika
19e91e1cd8 feat: remove webapi in favor of a smaller polyfill (#7840)
* feat: remove webapi in favor of a smaller polyfill

* test: remove old test

* test: 🤦‍♀️

* chore: changeset
2023-08-01 16:00:39 +01:00
Emanuele Stoppa
297b1966b9 feat: remove support for old API routes syntax (#7822) 2023-08-01 16:00:39 +01:00
Emanuele Stoppa
adb0042c79 Remove support for Node 16 (#7780) (#7820) 2023-08-01 16:00:39 +01:00
Erika
6f3180b1fa Update tsconfig.json presets for TS 5.0 (#7785) 2023-08-01 16:00:39 +01:00
Emanuele Stoppa
a6e5135765 feat: upper case the name of the endpoints (#7783)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-08-01 16:00:39 +01:00
Emanuele Stoppa
e9f697cf14 chore: fix rebase problems 2023-08-01 16:00:39 +01:00
Erika
329bacd746 Remove support for Node 16 (#7780) 2023-08-01 16:00:39 +01:00
bluwy
1270d4d63e [ci] format 2023-08-01 14:55:54 +00:00
Bjorn Lu
886965d354
Setup cleanup cache workflow (#7900) 2023-08-01 22:53:48 +08:00
Nate Moore
298dbb89f2
Refactor 404 and 500 approach (#7754)
* fix(app): refactor 404 and 500 approach

* chore: refactor logic

* fix: always treat error as page

* test: migrate ssr-prerender-404 to node adapter

* feat: merge original response metadata with error response

* chore: update lockfile

* chore: trigger ci

* chore(lint): fix lint issue

* fix: ensure merged request has proper status

* fix(node): prerender test

* chore: update test label

* fix(node): improve 404 behavior in middleware mode

* fix(vercel): improve 404 behavior

* fix(netlify): improve 404 behavior

* chore: update test labels

* chore: force ci

* chore: fix lint

* fix: avoid infinite loops

* test: fix failing test in Node 18

* chore: remove volta
2023-08-01 09:52:16 -05:00
Bjorn Lu
0b8375fe82
Fix streaming Astro components (#7895) 2023-08-01 21:30:47 +08:00
Bjorn Lu
ebf7ebbf7a
Refactor and improve Astro config loading flow (#7879) 2023-08-01 17:11:26 +08:00
André Alves
9e22038472
Fix incorrect build path logging for 404.astro pages (#7885)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-01 08:53:47 +01:00
ematipico
bd8a01ae1b [ci] format 2023-07-31 16:26:22 +00:00
Emanuele Stoppa
89d015db6c
fix: scan getStaticPaths only in .astro files (#7876) 2023-07-31 17:24:13 +01:00
Emanuele Stoppa
d495235d0f
ci: enable pre releases for Astro 3.0 (#7884) 2023-07-31 17:18:22 +01:00
ematipico
5fd4e5c848 [ci] format 2023-07-31 12:53:06 +00:00
Yan Thomas
1859960d04
Update old link from @astrojs/netlify README (#7862)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-07-31 13:50:53 +01:00
sdp971
04aea14ccc
[docs] removed the broken link and revised the content (#7859) 2023-07-31 08:49:06 -03:00
Houston (Bot)
d2b6dabfb3
[ci] release (#7854)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-28 12:34:00 -04:00
matthewp
8867f3c99d [ci] format 2023-07-28 16:02:32 +00:00
Matthew Phillips
861f10eafd
Fix redirect in SSR (Node and dynamic) (#7856) 2023-07-28 12:00:26 -04:00
Houston (Bot)
98ca04f915
[ci] release (#7851)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-28 09:12:05 -04:00
matthewp
2f95a3e0ca [ci] format 2023-07-28 13:09:24 +00:00
Matthew Phillips
49a4b28202
Scroll position restoration (#7800)
* Scroll position restoration

* Adding a changeset

* Throttle state persistence

* very important change
2023-07-28 09:07:00 -04:00
bluwy
46f9848052 [ci] format 2023-07-28 10:03:02 +00:00
Bjorn Lu
e50f646758
Fix head propagation for MDX components (#7838) 2023-07-28 18:00:53 +08:00
ematipico
365701f491 [ci] format 2023-07-28 08:23:13 +00:00
Emanuele Stoppa
2275c7d56b
fix: dev server should redirect when a page doesn't exist (#7841) 2023-07-28 09:20:00 +01:00
Houston (Bot)
3b422272e6
[ci] release (#7813)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-27 15:33:13 -04:00
matthewp
fa6fc8ba4c [ci] format 2023-07-27 19:11:02 +00:00
Matthew Phillips
59b5562326
Allow the Image component to get transitions (#7836)
* Images and view transitions

* Upgrade compiler

* Adding a changeset
2023-07-27 15:08:45 -04:00
matthewp
9fe1089e3e [ci] format 2023-07-27 18:44:29 +00:00
Matthew Phillips
7dbcbc86b3
Track added links/styles/scripts to prevent duplicates (#7843)
* temporary change

* Track rendered styles and links to prevent duplicates

* Adding a changeset

* Fix names
2023-07-27 14:42:22 -04:00
matthewp
73eb4dfe2f [ci] format 2023-07-27 12:59:49 +00:00
Matthew Phillips
5161cf919c
Add astro:beforeload event (#7823)
* Add astro:beforeload event

* Adding a changeset

* Update .changeset/chilled-elephants-develop.md

Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>

---------

Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2023-07-27 08:57:37 -04:00
matthewp
30336bab94 [ci] format 2023-07-27 12:44:15 +00:00
Matthew Phillips
267487e63e
Prevent navigation on hash change (#7824) 2023-07-27 08:42:04 -04:00
Erika
b063a2d8ae
fix(assets): Fix endpoint not being injected when an integration would enable experimental.assets (#7829) 2023-07-27 11:37:27 +02:00
Arnav K
05ee09f9c2
fix: typo alpine -> alpinejs (#7825) 2023-07-27 17:31:23 +08:00
Erika
d5f526b339
test: add test in the Node adapter for astro:assets (#7734) 2023-07-26 23:58:47 +02:00
Erika
31c4031ba7
fix: squoosh not working on Windows in certain situations (#7826) 2023-07-26 21:38:37 +02:00
Sarah Rainsberger
54fb03b444
[docs] Markdoc README problematic aside notation (#7817) 2023-07-26 10:38:45 -03:00
Matthew Phillips
42a21b5da6
Prevent building .html files in hybrid mode (#7805)
* Prevent building .html files in hybrid mode

* Adding a changeset
2023-07-26 07:58:57 -04:00
Houston (Bot)
db8c04002f
[ci] release (#7784)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-25 15:15:41 -04:00
Mark Peck
67db2f5d4e
Update README.md with new image (#7797)
Adds updated screenshot of blog template
2023-07-25 13:52:05 -05:00
Mark Peck
adcc5adbbc
Update README.md (#7796)
Updates blog image in readme
2023-07-25 13:51:57 -05:00
Sarah Rainsberger
3156d9df15
[docs] Markdoc README (#7799) 2023-07-25 14:28:59 -03:00