* bugfix(svelte): fix colliding id's generating from $props.id by utilizing the new `uidPrefix` option exposed for both server and client side rendering.
* bugfix(svelte): changeset
* Add server side ID prefix, not sure how to do this on the client.
* Discard changes to packages/integrations/svelte/client.svelte.js
* Update .changeset/flat-cherries-rule.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* feat: context
* revert peerDep bump
* revert html variable seperation
* feat: rename
* fix lockfile
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* refactor(core): remove middleware from actions
* chore: fix tests
* chore: skip e2e test due to db issues
* chore: import actions later during server life cycle
* chore: rename to just use the word "actions"
* chore: address review
* Update packages/astro/src/actions/loadActions.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* chore: remove gotcha
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: bholmesdev <51384119+bholmesdev@users.noreply.github.com>
Co-authored-by: JacobNWolf <27933270+JacobNWolf@users.noreply.github.com>
Co-authored-by: matthewp <361671+matthewp@users.noreply.github.com>
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
* Support overriding copyLibFiles.dest in stro:build:done hook with lib option, defaulting to ~partytown. Remove leading '/' to match ileURLToPath.
* Support overriding copyLibFiles.dest in stro:build:done hook with lib option, defaulting to ~partytown. Remove leading '/' to match ileURLToPath.
* Update .changeset/plenty-coins-destroy.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Update packages/integrations/partytown/src/index.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* feat(stro:server:setup): add option for config.lib path
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
Co-authored-by: twodft <64566069+twodft@users.noreply.github.com>
Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
* Prevent rerunning scripts already ran in router
In a long session you might navigate between several pages, some contain
the script and some not, but nevertheless the script should run a total
of 1 time.
This also helps with smaller bundled scripts in production, where some
are inlined.
* Add changeset
* better key
* more concise
* review changes
* move stuff around
* fix types
* take Martin's suggestion
* run detection when executing scripts
* adds an e2e test for data-astro-rerun
* fix support for data-astro-rerun
---------
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* Expose ilike function from drizzle-orm
* Update .changeset/late-mails-beam.md
---------
Co-authored-by: Julien Le Bras <>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* fix: respond with 200 to HEAD requests for non-prerendered pages as well
Fixes#13079
Inspired by @joshmkennedy's PR #13100
* chore: add more test cases
* Update .changeset/tricky-toes-drum.md
* chore: remove trace method
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* fix: default head requests for endpoints when no explicit head method implemented
* Update changeset for astro to minor
* Update changeset for default HEAD requests
* Update .changeset/afraid-turkeys-kneel.md
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
---------
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
* Add alternate rendering paths to avoid use of Promise
* Add run commands
* Remove promise from synchronous components
* Create makefile and update loadtest
* Rename functions, fix implementation of renderArray
* More performance updates
* Minor code cleanup
* incremental
* Add initial rendering tests
* WIP - bad tests
* Fix tests
* Make the tests good, even
* Add more tests
* Finish tests
* Add test to ensure rendering order
* Finalize pr
* Remove code not intended for PR
* Add changeset
* Revert change to minimal example
* Fix linting and formatting errors
* Address code review comments
* Fix mishandling of uncaught synchronous renders
* Update .changeset/shaggy-deers-destroy.md
---------
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* feat: integrated includeFiles and excludeFiles on netlify adapter
* feat: added netlify include and exclude files tests
* feat: changelogs added
* fix: avoid problems with glob file url on windows
* feat: improved JS Docs to include examples and important information
* feat: removed non necessary root path as glob is already absolute
* Apply suggestions from code review
* Update packages/integrations/netlify/src/index.ts
Co-authored-by: Matt Kane <m@mk.gg>
* Update .changeset/ninety-clouds-judge.md
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
* changes the paginate function to allow readonly array types
* Update paginate function to accept readonly arrays
---------
Co-authored-by: Matt Kane <m@mk.gg>
* fix(i18n): bypass server island with base
* Update packages/astro/src/core/routing/match.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>