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

8834 commits

Author SHA1 Message Date
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
Sarah Rainsberger
7f4e162924
[docs] update legacy collections error messages (again) (#11972) 2024-09-12 06:14:07 -03:00
Nikola Hristov
86ad1fd223
Fixes typo. (#11968)
* Fix typo

* Create nine-chairs-decide.md

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-09-11 17:44:30 +02:00
Florian Lefebvre
74722cb81c
feat(next): reference astro/client from astro/config (#11925) 2024-09-11 14:40:15 +02:00
Erika
518433e433
feat(assets): Allow customising the route of the image endpoint (#11908)
* feat(assets): Allow customizing the route of the image endpoint

* Update packages/astro/src/core/config/schema.ts

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

* feat: use undefined instead of default

* fix: strip param correctly on custom endpoint route

* chore: changeset

* nit: unused import

* fix: other unused import

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-09-11 01:04:16 +02:00
Princesseuh
40760a8ace
Merge branch 'main' into next 2024-09-10 15:01:44 +02:00
Houston (Bot)
a1176a1d93
[ci] release (alpha) (#11954)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-10 08:29:08 -04:00
Matt Kane
4410130df7
fix: add refresh context to schema for loader args (#11960)
* fix: add refresh context to schema for loader args

* fix negative match test
2024-09-10 13:18:18 +01:00
Sarah Rainsberger
f13c357753
[docs] update legacy collections error messages (#11961) 2024-09-10 09:09:43 -03:00
Erika
b6a5f39846
feat: changesets for the hybrid removal (#11941)
* feat: changesets for the hybrid removal

* Update .changeset/afraid-apricots-buy.md

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

* Apply suggestions from code review

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-10 11:14:03 +02:00
翠 / green
1c64ae304d [ci] format 2024-09-10 03:12:50 +00:00
翠 / green
8329d17968
fix(css): fix inline query injection for CSS inlining (#11917) 2024-09-10 11:11:57 +08:00
Erika
d7e950f35f
feat(hybrid): Clean logging and misc tweaks for hybrid removal (#11942)
* feat(hybrid): Properly warn on every feature when used in wrong contexts

* fix: smoke tests

* fix: tests
2024-09-09 23:18:32 +02:00
Matt Kane
50a0146e9a
feat: allow arrays of patterns for glob loader (#11952)
* feat: support pattern arrays with glob

* feat: allow arrays of patterns for content layer

* Apply suggestions from code review

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-09 17:32:46 +01:00
Houston (Bot)
26dc381f71
[ci] release (alpha) (#11926)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-09 11:09:25 -04:00
Florian Lefebvre
0a269b63e5 fix: changelog 2024-09-09 16:43:51 +02:00
Bjorn Lu
46ea29f91d
Fix build.client and build.server resolve behaviour (#11916)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-09 22:35:34 +08:00
renovate[bot]
b9394fa70c
chore(deps): update all non-major dependencies (#11948)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 13:27:54 +08:00
Sarah Rainsberger
fa4671ca28
[error docs] Update error messages that reference src/content/ (#11943) 2024-09-07 16:14:22 -03:00
Erika
50ca656dba
Merge output: hybrid and output: static (#11824)
* feat: merge hybrid and static

* fix: linting

* fix: get a bunch of tests passing

* fix: make forceServerOutput optional

* fix: more tests passing

* fix: http2 test

* fix: CCC

* fix: get unit tests passing

* fix: lint

* fix: vercel

* fix: build

* fix: build

* fix: db tests

* fix: get all normal tests passing

* fix: e2e tests

* refactor: cleanup code

* fix: more tests

* fix: windows

* fix: apply feedback

* perf: do in parallel

* fix: tests

* fix: tests, for real

* fix: make server islands tests server-rendered

* fix: apply feedback

* nit: remove unnecessary file

* fix: test remove test that abuse prerender logic

* fix: ensure image endpoint is there on dev reload
2024-09-07 01:07:09 +02:00
Ben Holmes
7b09c62b56
Actions: add discriminated union support (#11939)
* feat: discriminated union for form validators

* chore: changeset
2024-09-06 16:41:51 -04:00
Houston (Bot)
0d50d7545e
[ci] release (#11936)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-06 12:47:30 -04:00