0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
Commit graph

9116 commits

Author SHA1 Message Date
renovate[bot]
4c47c44619
fix(deps): update dependency @oslojs/encoding to v1 (#12058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 09:29:19 +01:00
Emanuele Stoppa
243ecb6d61
fix(container): apply polyfill (#12042) 2024-09-20 18:09:37 +01:00
Matt Kane
dda78222c3 [ci] format 2024-09-20 11:20:35 +00:00
Matt Kane
26ea5e814a
fix: restore behavior of absolute images in v4 branch (#12038)
* fix: allow images with absolute path

* Add mroe tests

* changeset
2024-09-20 12:19:47 +01:00
Matt Kane
325a57c543
fix: correctly parse inline loader values (#12035) 2024-09-20 10:32:52 +01:00
Emanuele Stoppa
5b3ddfadcb
fix(routing): call middleware when rendering 404.astro (#12034) 2024-09-20 10:12:05 +01:00
Erika
ddc3a08e8f
fix: handle trailing slash on the image endpoint (#12022)
* feat: add trailing slash to import.meta.env for URLs building

* feat: add jsdoc

* feat: add trailing slash to config option directly

* chore: changeset
2024-09-19 17:14:08 +02:00
Emanuele Stoppa
fc3e40ecde
chore: remove eslint-plugin-no-only-tests (#12032) 2024-09-19 14:41:22 +01:00
Matt Kane
10a756ad87
fix: treat images with initial slash as local, and resolve with vite (#12030)
* fix: allow images with absolute path

* Add mroe tests

* changeset
2024-09-19 14:33:27 +01:00
Houston (Bot)
b4563f8542
[ci] release (#12021)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-19 14:13:53 +01:00
Emanuele Stoppa
e00a641f3a [ci] format 2024-09-19 12:58:36 +00:00
Emanuele Stoppa
8c0cae6d1b
fix(routing): compute APIContext.params when rewriting using next (#12031)
* fix(routing): compute `APIContext.params` when rewriting using `next`

* fix(routing): compute `APIContext.params` when rewriting using `next`
2024-09-19 13:57:47 +01:00
Matt Kane
83cc37d6fd chore: remove outdate config from test 2024-09-19 13:46:13 +01:00
Bjorn Lu
d3bd673392
Check route collision after getStaticPaths (#12028) 2024-09-19 20:43:01 +08:00
Bjorn Lu
40e7a1b05d
Lazily initialize the md and mdx processor (#12026) 2024-09-19 20:40:49 +08:00
François Violette
dd3b753aba
Add selected to the list of boolean attributes (#12027) 2024-09-19 19:51:26 +08:00
Uwe Jäger
9be3e1bba7
Remove dependency on path-to-regexp (#12001)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-19 11:11:48 +02:00
Matt Kane
b0827022af Merge branch 'main' into next 2024-09-18 16:43:14 +01:00
Matt Kane
8d4eb95086 [ci] format 2024-09-18 14:16:40 +00:00
Matt Kane
53cb41e30e
fix: correctly handle head propagation in content layer deferred rendering (#12014)
* chore: run MDX tests against content layer

* Handle head propagation in deferred rendering

* Add changeset

* Update test
2024-09-18 15:15:51 +01:00
Houston (Bot)
8214114a90
[ci] release (#12002)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-18 00:21:35 +02:00
Matthew Phillips
dcd115892a
Make @astrojs/tailwind compat with Astro 5 (#12018) 2024-09-18 00:19:22 +02:00
Matthew Phillips
837ee3a4aa
Encode action result in cookie (#12016)
* Encode action result in cookie

* Add a changeset
2024-09-17 15:13:49 -04:00
Artem Zhirov
0b59fe74d5
Fix: prevent island re-rendering when using transition:persist (#11854) (#11915)
https://github.com/withastro/astro/issues/11854
2024-09-17 16:23:48 +02:00
Johannes Spohr
00ea675409 [ci] format 2024-09-17 14:12:42 +00:00
Johannes Spohr
a582cb6124
Fix Svelte view transition state persistence (#12006)
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2024-09-17 16:11:32 +02:00
Johannes Spohr
daca9951f4 [ci] format 2024-09-17 13:22:35 +00:00
Johannes Spohr
082f450944
Fix SolidJS view transition state persistence (#11998)
* Fix SolidJS view transition state persistence

* Add changeset

---------

Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2024-09-17 15:21:41 +02:00
Johannes Spohr
b75bfc8cc4
Fix vue resetting state when using view transition persistence (#11946)
* Fix vue resetting state when using view transition persistence

* Avoid calling internal apis when forcing vue component update
2024-09-17 14:54:49 +02:00
Houston (Bot)
6860beb995
[ci] release (beta) (#12012)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-17 12:23:49 +02:00
Princesseuh
0eb1463db7
fix: make db a minor 2024-09-17 12:21:41 +02:00
Princesseuh
9481f8f9b3
fix: only bump packages that needs it 2024-09-17 12:13:10 +02:00
Princesseuh
e6cf724ed0
fix: version at beta 0 2024-09-17 11:57:47 +02:00
Princesseuh
efcc4bb28b
fix: attempt to version at beta 1 2024-09-17 11:55:01 +02:00
Erika
560833843c
feat: update to beta (#12008)
* feat: update to beta

* chore: changeset

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-17 11:40:10 +02:00
Houston (Bot)
948ad8eecf
[ci] release (alpha) (#12010)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-16 17:15:36 -04:00
Armand Philippot
cfdaab257c
docs: update security.checkOrigin JSDoc comment (#12011) 2024-09-16 16:27:22 -04:00
Matthew Phillips
f10a3b7fe6
Fix vitest in Astro 5 (#12009)
* Fix vitest in Astro 5

* Add a changeset
2024-09-16 15:16:58 -04:00
Armand Philippot
a2f8c5d85f
docs: fix Content Layer RFC Link (#12000) 2024-09-15 16:53:30 -03:00
Sarah Rainsberger
2062958d66
Update an error message (#11999) 2024-09-15 16:52:46 -03:00
Houston (Bot)
6e1602c7b1
[ci] release (alpha) (#11988)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-13 16:35:01 -04:00
Matthew Phillips
4724b14431 Merge branch 'main' into next 2024-09-13 16:08:58 -04:00
Houston (Bot)
27d19f612f
[ci] release (#11986)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-13 15:56:33 -04:00
Matthew Phillips
ec1521066a [ci] format 2024-09-13 19:40:42 +00:00
Matthew Phillips
ffba5d716e
Fix getStaticPaths regression (#11993)
* Revert "Remove dependency on path-to-regexp (#11983)"

This reverts commit 633eeaa9d8.

* Add test for regression

* Add a changeset

* Pin path-to-regexp
2024-09-13 15:39:51 -04:00
Florian Lefebvre
bf90a5343f
feat(next): TODOs (#11987)
* feat(next): TODOs

* fix: remove todos

* Updates tests to not assign locals

* Changesets

* Update .changeset/cool-mangos-shop.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/blue-sloths-stare.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/blue-sloths-stare.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/blue-sloths-stare.md

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-13 14:12:33 -04:00
Matthew Phillips
d7a396ca3e
Remove experimental.serverIslands flag (#11991)
* Remove experimental.serverIslands flag

* update link to the guide

* Add changeset

* Update packages/astro/src/core/errors/errors-data.ts

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/astro/src/core/errors/errors-data.ts

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-13 12:49:37 -04:00
Matthew Phillips
a604a0ca9e
Rename the ViewTransitions component to ClientRouter (#11980)
* Rename the ViewTransitions component to ClientRouter

* oops, move

* Move it
2024-09-13 10:53:52 -04:00
Florian Lefebvre
3e70853b76
feat(next): underscore redirects (#11989) 2024-09-13 16:41:40 +02:00
Erika
d84e444fd3
feat: add default exclude to tsconfigs (#11982)
* feat: add default exclude to tsconfigs

* feat: add include
2024-09-13 16:24:00 +02:00