Armand Philippot
8e5257adda
docs(i18n): fix typo in fallbackType
JSDoc comment ( #11870 )
2024-08-30 09:45:31 +01:00
Houston (Bot)
21747e9eae
[ci] release ( #11871 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-29 23:28:48 +08:00
Bjorn Lu
9327d56755
Use default import in astro add ( #11872 )
2024-08-29 23:05:16 +08:00
Matt Kane
d1bd1a11f7
Moves content layer sync to a queue and support selective sync ( #11767 )
...
* wip: allow integrations to refresh contel layer
* Use queue for sync jobs
* Remove integration-specific code
* Fix type
* changeset
2024-08-29 15:22:40 +01:00
Houston (Bot)
17f71278f4
[ci] release ( #11857 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-29 13:50:49 +02:00
Erika
9da5b3dab2
fix: syntax error in changelog ( #11869 )
2024-08-29 13:48:51 +02:00
Ben Holmes
5b4070efef
Actions stable release ( #11843 )
...
* feat: baseline experimental actions
* feat(test): remove experimental config
* feat: remove getActionProps()
* feat: make actions file non-break
* feat: detect actions usage
* chore: changeset
* feat: improve actions usage check
* refactor: remove define action symbol now that we check server exp
* fix: remove old import
* chore: move actionsIntegration to top import
* fix: warn only when actions are used
* fix: srcDir check
* refactor: split out action plugins to simplify integration
* feat: new integration and plugins
* chore: update error hints
* fix(test): pass default src dir
* feat: add ActionNotFoundError
* fix: handle json parse errors in deserializer
* chore: unused import
* 500 -> 404
* New `astro:schema` module (#11810 )
* feat: expose zod from astro:schema
* chore: changeset
* chore: update release strategy in changeset
* fix: move deprecated notice to type def
* fix: update config doc reference
* chore: remove z from astro:actions
* edit: changeset with minor release note remove
* wip: increase button click timeouts
* Revert "wip: increase button click timeouts"
This reverts commit a870bc2dc4bdfd77b8b4fc54b62d8bde01d20c14.
* chore: remove content collections disclaimer
* fix: undo biome change
* agh tabs
* agh newlines
* fix: bad docs merge
* wip: add back timeout extension
* fix(test): astro schema import
* refactor: move static output error to config done
* refactor: usesActions -> isActionsFilePresent
* fix: check whether startup and current value disagree
* chore: unused import
* edit: sell actions a little more
* changeset nit
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-29 11:13:49 +01:00
Matt Kane
8bab233937
fix: resolve content layer images without filePath set ( #11858 )
2024-08-28 21:02:08 +01:00
Matt Kane
0e35afe44f
fix: pass config instead of settings to content layer loaders ( #11862 )
...
* fix: pass config instead of settings to content layer loaders
* lint
* changes to changeset from review
2024-08-28 17:05:56 +01:00
Bjorn Lu
440a4be0a6
Use tinyexec ( #11845 )
2024-08-28 22:52:49 +08:00
Bjorn Lu
6272e6cec0
Use magicast for astro add ( #11772 )
2024-08-28 22:52:32 +08:00
Emanuele Stoppa
cb356a5db6
feat(i18n): expand fallback system ( #11677 )
...
* feat(i18n): expand fallback system
* rebase
* apply feedback
* better changeset
* update tests too
* apply feedback
* Update .changeset/blue-pens-divide.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* update docs
* nitpick
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/blue-pens-divide.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/blue-pens-divide.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* fix regression
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-28 12:16:43 +01:00
Emanuele Stoppa
1c54e63327
feat: add sync
variant ( #11729 )
...
* feat: add `sync` variant
* fix build
* Update .changeset/afraid-apricots-develop.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-28 12:16:06 +01:00
Luiz Ferraz
d6611e8bb0
Add support for LibSQL remote ( #11385 )
...
* Add support for remote LibSQL
* Add support for local memory DB
* Add some tests
* Add push support
* Fix switch cascading
* Update .changeset/healthy-boxes-poke.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/db/src/runtime/db-client.ts
[skip ci]
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Use independent env vars for LibSQL and Studio backends
* Expand comment regarding missing table
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-08-28 12:15:33 +01:00
Martin Trapp
62b0d20b97
Extends virtual module astro:transitions/client to export swapFunctions ( #11708 )
...
* extend virtual module astro:transitions/client to exports swapFunctions
* use virtual module in e2e tests
* Update .changeset/new-monkeys-sit.md
* Update .changeset/new-monkeys-sit.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update new-monkeys-sit.md
* Update swap-functions.ts
restoreFocus() bindings are now returned by saveFocus() and do not make sense anymore as a member of the swapFunctions object
* take over suggestion
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/new-monkeys-sit.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-28 12:09:49 +01:00
Phil
cce0894534
feat: support setting timeout for client:idle
( #11743 )
...
* feat: support setting timeout for `client:idle`
* tst: add client:idle timeout e2e test
* Update .changeset/clever-emus-roll.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/clever-emus-roll.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* nit: we wait for times, not values!
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-28 12:09:19 +01:00
Houston (Bot)
5af8b4f1cb
[ci] release ( #11835 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-28 12:51:43 +02:00
Phil
5f2536b51d
fix: handle preact signals in array correctly ( #11834 )
...
* fix: handle preact signals in array correctly
* feat: serialize signals in object
2024-08-28 11:41:35 +01:00
Bjorn Lu
88ef1d0e77
Fix MDX layout style ordering ( #11818 )
2024-08-28 10:52:13 +08:00
HiDeoo
ed7bbd990f
fix(markdoc): use astro components defined with extends
( #11846 )
2024-08-27 16:49:04 +01:00
Matt Kane
45b599c4d4
fix: ensure vite is not imported by runtime utils ( #11847 )
2024-08-27 13:12:50 +01:00
Eduardo Cereto Carvalho
2bb72c6396
docs: Content Layer API Example small fix ( #11814 )
...
* Update astro.ts
small fix to example
* Create odd-otters-look.md
---------
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-27 11:17:30 +01:00
Ben Holmes
20d47aa85a
Actions: give better guidance when a Response is returned by an Action ( #11828 )
...
* feat: add error for invalid handler data
* refactor: remove redirect from ctx object
* chore: changeset
* chore: fix redirect codes
* fix: move redirect out of actionApiContext constructor
* refactor(test): reuse redirects const
* wip: bump timeouts
* wip: more bumps
2024-08-26 17:53:51 -04:00
Yuta Osawa
f1df1b3b46
Prevent Partytown integration from inserting a 'null' string into the body ( #11829 )
2024-08-26 21:36:35 +08:00
Stephan de Vries
1ffaae04cf
Fix typo in MissingImageDimension
error message ( #11842 )
...
* Fix typo in `MissingImageDimension` error message
* Update .changeset/perfect-socks-dress.md
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-08-26 14:28:16 +01:00
voidfill
497324c4e8
fix(astro): Prevent prefetching of same urls with different hashes ( #11713 )
...
* fix(astro): prevent prefetching of the same urls with different hashes
* add changeset
* Update packages/astro/src/prefetch/index.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* Update .changeset/nasty-ladybugs-whisper.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-08-26 12:28:27 +01:00
Bjorn Lu
6fcaab84de
Make vite-plugin-fileurl a pre plugin ( #11822 )
2024-08-25 20:23:07 +08:00
Houston (Bot)
cf65476b27
[ci] release ( #11817 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-22 16:56:59 -04:00
Ben Holmes
3f7630afd6
Actions: fix bad action result for actions with empty return value ( #11813 )
...
* fix: correctly handle empty action response
* fix(test): add logout button test
* chore: changeset
2024-08-22 07:02:48 -04:00
Ben Holmes
62e97a20f7
Actions: Allow effect chaining on form input validators ( #11809 )
...
* feat: support effects on form validators
* feat: support object passthrough on form input
* feat: support infinitely nested effects with simplified types
* feat(test): ensure arbitrary schemas work with form data
* chore: changeset
* fix: support zod pipe()
2024-08-22 05:51:24 -04:00
Ben Holmes
260c4be050
Actions: expose ActionAPIContext ( #11812 )
...
* feat: expose ActionAPIContext
* feat: expose ActionAPIContext
2024-08-22 05:51:06 -04:00
Houston (Bot)
22ceb48302
[ci] release ( #11796 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-21 17:08:38 -04:00
Chris Swithinbank
9f943c1344
Fix file loader for JSON object files ( #11801 )
...
* Add `filePath` to `file()` loader entries when JSON file is an object
* Add changeset
2024-08-21 12:17:52 +01:00
Ben Holmes
3691a626fb
[Actions] Fix middleware warning static mode ( #11794 )
...
* fix: remove static usage warning with isPrendered flag
* fix(test): cookie is empty for prerendered routes in dev
* chore: add test route
* chore: changeset
2024-08-20 14:41:44 -04:00
Houston (Bot)
7e2f142a5a
[ci] release ( #11739 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-20 16:35:33 +02:00
Sarah Rainsberger
41c3fcb618
[docs] update link to astro:env RFC ( #11790 )
...
* [docs] revert link to astro:env RFC
* Create fair-trees-crash.md
* typo fix
2024-08-20 16:10:17 +02:00
Erika
c6622adaeb
Deprecate the Squoosh image service ( #11780 )
2024-08-20 14:28:52 +02:00
Emanuele Stoppa
86a33915ff
fix: adapter features messaging ( #11773 )
...
* fix: adapter features messaging
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/long-months-burn.md
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
2024-08-20 07:45:59 +01:00
Matthew Phillips
fc81b01bcd
Prevent race condition in Vercel adapter on Node 18 ( #11783 )
2024-08-19 15:45:02 -04:00
Florian Lefebvre
c6400ab99c
fix: injectTypes path ( #11774 )
2024-08-19 20:04:51 +02:00
Bjorn Lu
b67742961a
Disable server.ws vite config for loading config files ( #11744 )
2024-08-19 22:52:42 +08:00
Florian Lefebvre
49650a4555
fix: astro:env sync error in content config ( #11771 )
2024-08-19 16:01:31 +02:00
Bjorn Lu
d12dcbff60
Fix create-astro initial git commit ( #11766 )
2024-08-19 16:30:45 +08:00
Bjorn Lu
89bab1e707
Reduce prerender dynamic value warning false positives ( #11745 )
2024-08-16 23:03:27 +08:00
Matthew Phillips
5ea02b12fd
Deprecate the functionPerRoute option ( #11728 )
...
* Deprecate the functionPerRoute option
* Update .changeset/weak-dancers-beam.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-16 08:41:10 -04:00
Florian Lefebvre
2df49a6fb4
feat: simplifies sync paths ( #11730 )
2024-08-16 09:27:21 +02:00
Bjorn Lu
423614ebb6
Fix MDX stack trace location with frontmatter ( #11717 )
2024-08-16 12:09:20 +08:00
Houston (Bot)
0109690c3b
[ci] release ( #11734 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-16 00:34:37 +08:00
Bjorn Lu
7c6349beca
Fix astro upgrade changeset ( #11735 )
2024-08-16 00:32:53 +08:00
Bjorn Lu
391324df96
Revert parseArgs change ( #11733 )
2024-08-16 00:27:08 +08:00