Princesseuh
c7a2ded2eb
fix: some merge issues
2024-08-28 17:28:54 +02:00
Princesseuh
68601a9549
Merge branch 'main' into next
2024-08-28 17:25:13 +02:00
Bjorn Lu
26893f9a35
[ci] format
2024-08-28 14:53:43 +00: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
Bjorn Lu
93932432e7
Make directRenderScript the default ( #11791 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-28 22:50:50 +08:00
Emanuele Stoppa
fe80a2cc0c
test: fix broken e2e test ( #11860 )
2024-08-28 14:57:20 +01:00
Emanuele Stoppa
cfbf428643
[ci] format
2024-08-28 11:21:37 +00: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
3c0ca8d8cc
[ci] format
2024-08-28 11:10:37 +00: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
a2214cedd0
[ci] format
2024-08-28 10:42:23 +00: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
renovate[bot]
26c63a2b07
fix(deps): update all non-major dependencies ( #11837 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 10:45:45 +01:00
Kevin
4e5cc5aadd
Add base to paginate ( #11253 )
...
* add base to `paginate()`
* update tests
* remove condicional cache
* add missing base param
* add missing leading slash in tests
* remove default
* fix: add missing trailing slash in pagination root test
* Add feedback from code review
* add changeset
* rebase and run format code
* Update .changeset/twenty-cobras-push.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* add code diff
* fix rebase
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* chore: merge next
* update changeset
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-28 10:31:32 +01:00
Bjorn Lu
36e6dee475
Remove unused dependencies in next ( #11789 )
2024-08-28 10:52:41 +08:00
Bjorn Lu
88ef1d0e77
Fix MDX layout style ordering ( #11818 )
2024-08-28 10:52:13 +08:00
Matthew Phillips
a83e362ee4
Prevent usage of astro:content in the client ( #11827 )
...
* Prevent usage of astro:content in the client
* Fix build errors
* Update .changeset/neat-dots-hear.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Throw an AstroError
* Just throw
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-08-27 16:35:44 -04:00
Bjorn Lu
9eccca53e3
Remove lingering env.d.ts files ( #11852 )
2024-08-28 00:00:46 +08:00
Bjorn Lu
ccce6d2061
Improve e2e setup ( #11850 )
2024-08-28 00:00:19 +08:00
Emanuele Stoppa
b601e47aff
chore: enable useImportType
rule ( #11848 )
2024-08-27 16:49:42 +01:00
HiDeoo
ed7bbd990f
fix(markdoc): use astro components defined with extends
( #11846 )
2024-08-27 16:49:04 +01:00
Matthew Phillips
7315050fc1
Deprecate Astro.glob ( #11826 )
...
This deprecated Astro.glob, see the changeset for details.
2024-08-27 10:51:15 -04:00
Emanuele Stoppa
05139ef8b4
feat(next): add Astro.routePattern
( #11698 )
...
* feat: add `Astro.route`
* change logic and add test
* rebase
* rebase
* rename to `Astro.routePattern`
* chore: added more tests
* update test
* add leading slash
2024-08-27 15:45:16 +01:00
Emanuele Stoppa
543e8f5b78
ci: trigger CI via comment and label ( #11849 )
...
* ci: trigger CI via comment and label
* fix: reduce parenthesis
2024-08-27 14:59:07 +01:00
Matt Kane
0a92f1a3da
[ci] format
2024-08-27 12:13:42 +00: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
b81b70332d
[ci] format
2024-08-26 21:54:39 +00: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)
5966accdc1
[ci] release (alpha) ( #11787 )
...
* [ci] release (alpha)
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* links to existing experimental docs instead of ones that don't exist yet!
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-23 12:46:18 -05:00
Emanuele Stoppa
7c0ccfc269
feat: change default value of checkOrigin
( #11788 )
...
* feat: change default value of `checkOrigin`
* feedback
* feedback
* change `checkOrigin`
2024-08-23 16:07:20 +01:00
Matthew Phillips
e9e2139bf7
Remove legacy route prioritization ( #11798 )
...
* Remove legacy route prioritization
* oops
* Add a changeset
* Remove bad merge stuff
2024-08-23 08:58:43 -05:00
Alan
a3b9b91caf
Make Biome formatting work out-of-the-box in VS Code ( #11759 )
2024-08-23 16:29:50 +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
4db5c74dd1
[ci] format
2024-08-22 09:52:18 +00: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
Emanuele Stoppa
735767f8df
ci: use issue_comment
( #11805 )
2024-08-21 16:10:47 +01:00
Emanuele Stoppa
0231ee7ab5
ci: trigger using review comment instead ( #11804 )
2024-08-21 14:25:26 +01:00