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

8705 commits

Author SHA1 Message Date
Florian Lefebvre
ccae0e5358 feat: try type routePattern 2024-09-20 15:39:27 +02:00
Florian Lefebvre
f430225af6 feat(next): typed links 2024-09-20 15:08:07 +02:00
Matt Kane
325a57c543
fix: correctly parse inline loader values (#12035) 2024-09-20 10:32:52 +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
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
Matt Kane
83cc37d6fd chore: remove outdate config from test 2024-09-19 13:46:13 +01: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
Houston (Bot)
f15922d177
[ci] release (alpha) (#11962)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-13 15:27:42 +02:00
Erika
f7f2338c2b
refactor: rework supportedAstroFeatures (#11806)
* refactor: rework supportAstroFeatures

* fix: build

* fix: tests

* chore: changeset
2024-09-13 13:58:57 +02:00
Reuben Tier
2d016d4aba [ci] format 2024-09-13 11:46:18 +00:00
Reuben Tier
06eff60cab
Add copy support for Wayland via wl-copy (#11964)
* Add wl-copy support

* Add changeset

* set to patch

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-13 13:45:30 +02:00
Houston (Bot)
490eed1cd9
[ci] release (#11940)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-13 13:04:37 +02:00
Uwe Jäger
878f7f60ba [ci] format 2024-09-13 10:50:34 +00:00
Uwe Jäger
633eeaa9d8
Remove dependency on path-to-regexp (#11983)
Fixes #11956
Closes #11985
Closes 11965
2024-09-13 12:49:44 +02:00
Emanuele Stoppa
ee38b3a946
refactor(next): send IntegrationRouteData to integrations (#11864)
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-09-13 11:44:55 +02:00
Matthew Phillips
d8132626b0
Unflag Server Islands (#11955)
* Unflag Server Islands

* update example

* Add changeset

* Only append serverIslands route if there is one

* Update .changeset/strange-sheep-film.md

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

* check buildoutput instead

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

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>

* remove flag

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-12 11:34:11 -04:00
Bjorn Lu
c9ae7b1b89
Handle MDX optimize for root hast node (#11975) 2024-09-12 18:47:55 +08:00
Matt Kane
60211defbf
Export the RenderResult type (#11974) 2024-09-12 10:45:11 +01:00