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

8725 commits

Author SHA1 Message Date
Emanuele Stoppa
9693ad4ffa
fix: check origin in static build (#12070)
* fix: check origin in static build

* address comment
2024-09-25 14:38:32 +01:00
Erika
61d248e581
feat: makes it so astro add does not set output server by default (#12071)
* feat: makes it so astro add does not set output server by default

* chore: changeset
2024-09-25 14:59:34 +02:00
Houston (Bot)
7968eabcfc
[ci] release (beta) (#12017)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-24 11:10:24 +02:00
Princesseuh
d1e5977533
fix: dynamically imported middlewares 2024-09-24 09:51:47 +01:00
Princesseuh
7fa6f782cd
Merge branch 'main' into next 2024-09-24 09:42:32 +01:00
Erika
cb5d3ae6ee
Release a beta for Svelte and Vue (#12060)
* chore: changeset

* nit: better changeset

* chore: major
2024-09-24 10:12:51 +02:00
Houston (Bot)
7814a6cad1
[ci] release (#12037)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-23 19:26:46 +02:00
Emanuele Stoppa
72dc2313ec [ci] format 2024-09-23 15:42:36 +00:00
Emanuele Stoppa
25a104b451
refactor: dynamically import middleware (#11550)
* refactor: dynamically import middleware

* update tests

* chore: fix code merge

* address linting

* remove changeset

* feedback

* feedback

* fix test failing

* add suggestion

* change order of resolution to cache the middleware before inserting a route

* address comment
2024-09-23 16:39:06 +01:00
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