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

3965 commits

Author SHA1 Message Date
Princesseuh
9481f8f9b3
fix: only bump packages that needs it 2024-09-17 12:13:10 +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
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
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
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
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
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
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
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
Sarah Rainsberger
fa4671ca28
[error docs] Update error messages that reference src/content/ (#11943) 2024-09-07 16:14:22 -03: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
Matthew Phillips
bd1d4aaf82
Allow passing into the crypto key via ASTRO_KEY (#11879)
* Allow passing into the crypto key via ASTRO_KEY

* Add a changeset

* Add test

* Use the node package

* omg

* Create a new create-key command

* linting

* lint again

* Update the changeset
2024-09-06 12:41:39 -04:00
Florian Lefebvre
e55c668b25
chore: changeset minor (#11938) 2024-09-06 15:23:17 +02:00
Florian Lefebvre
7d70ba3178
feat(create-astro): ts-check comment (#11924) 2024-09-06 14:23:02 +02:00
Florian Lefebvre
5b4e3abbb1
feat(next): envField jsdoc (#11927)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-06 14:21:27 +02:00
Lukas Bachlechner
4a44e82bbd
fix: explicitly check for null props in serializeSignals (#11930)
* fix: explicitly check for null props in `serializeSignals`

* chore: add changeset
2024-09-06 13:26:51 +02:00
Erika
c58193a691
fix(add): Use proper export names when adding adapters (#11935)
* fix(add): Use proper export names when adding adapters

* chore: changeset
2024-09-06 11:38:15 +02:00
Florian Lefebvre
a8a3d2cde8
feat(next): ctx.isPrerendered (#11875) 2024-09-05 16:58:23 +02:00
Houston (Bot)
65bfefb96b
[ci] release (#11909)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-05 03:42:00 +02:00
Gabriel Pereira Woitechen
ca54e3f819
perf(astro/assets): avoid downloading original image when using cache (#11904) 2024-09-04 15:32:03 +02:00
Houston (Bot)
70865b3cdc
[ci] release (alpha) (#11910)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-04 12:44:20 +01:00
Matt Kane
c3dce8363b
Unflag content layer (#11911)
* Unflag content layer

* Lint

* More detailed changeset

* Update .changeset/heavy-seahorses-poke.md

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-04 09:40:46 +01:00
Matt Kane
b5d827ba68
Export LoaderContext types (#11914)
* Export data store types

* Format

* Change name again!
2024-09-04 08:16:09 +01:00