Age | Commit message (Collapse) | Author | Files | Lines |
|
island (#13470)
* fix(preact,svelte): empty target container before rendering `client:only` island
* Remove log
|
|
|
|
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
|
|
* wip: experimental sessions
* feat: adds session options (#12450)
* feat: add session config
* chore: add session config docs
* Fix
* Expand doc
* Handle schema
* Remove example
* Format
* Lock
* Fix schema
* Update packages/astro/src/types/public/config.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/types/public/config.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Add link to Sessions RFC in config.ts
* Move session into experimental
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Lock
* feat: prototype session support (#12471)
* feat: add session object
* Add tests and fix logic
* Fixes
* Allow string as cookie option
* wip: implement sessions (#12478)
* feat: implement sessions
* Add middleware
* Action middleware test
* Support URLs
* Remove comment
* Changes from review
* Update test
* Ensure test file is run
* ci: changeset base
* ci: exit from changeset pre mode
* Lockfile
* Update base
* fix: use virtual import for storage drivers (#12520)
* fix: use virtual import for storage drivers
* Don't try to resolve anythign in build
* Fix test
* Polyfill node:url
* Handle custom drivers directly
* No need for path
* Update packages/astro/src/core/session.ts
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Fix jsdoc
* fix: set default storage path
* Update changeset config for now
* Revert config workaround
* Lock
* Remove unneeded ts-expect-error directive
* fix: [sessions] import storage driver in manifest (#12654)
* wip
* wip
* Export manifest in middleware
* Changeset conf
* Pass session to edge middleware
* Support initial session data
* Persist edge session on redirect
* Remove middleware-related changes
* Refactor
* Remove vite plugin
* Format
* Simplify import
* Handle missing config
* Handle async resolution
* Lockfile
* feat(sessions): implement ttl and flash (#12693)
* feat(sessions): implement ttl and flash
* chore: add unit tests
* Make set arg an object
* Add more tests
* Add test fixtures
* Add comment
* Remove session.flash for now (#12745)
* Changeset
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
|
|
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
|
|
|
|
* fix: explicitly check for null props in `serializeSignals`
* chore: add changeset
|
|
|
|
* fix: handle preact signals in array correctly
* feat: serialize signals in object
|
|
|
|
* update formatter config
* format
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
|
|
|
|
`renderToStringAsync` (#11464)
|
|
|
|
* feat(container): provide a virtual module to load renderers
* address feedback
* chore: restore some default to allow to have PHP prototype working
* Thread through renderers and manifest
* Pass manifest too
* update changeset
* add diff
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* fix diff
* rebase and update lock
---------
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
|
|
* feat(preact): add support for devtools
* Update little-dryers-stare.md
|
|
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
|
|
* chore: import sort source code, exception for the `astro` package
* fix import sorting bug
* Update packages/integrations/lit/server.js
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
|
|
|
|
|
|
* feat: add preact-ssr-prepass
* added more info to changelog
* fix example in changelog
* fix changelog description
* fix tab in code of changelog
* Update .changeset/blue-bobcats-remain.md
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
|
|
|
|
|
|
|
|
|
|
|
|
* fix(view-transitions): update persistence logic for improved unmount behavior
* feat(astro): add `astro:unmount` event
* feat(vue): automatically unmount islands
* feat(react): automatically unmount islands
* feat(react): automatically unmount islands
* feat(solid): automatically dispose of islands
* feat(svelte): automatically destroy of islands
* feat(svelte): automatically destroy of islands
* feat(solid): automatically dispose of islands
* feat(preact): automatically unmount islands
* chore: update changeset
* fix: rebase issue
* chore: add clarifying comment
* chore: remove duplicate changeset
* chore: add changeset
|
|
|
|
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
* JSX refactor
* Get preact/compat test to pass
* Use include config
* Remove old astro flavored markdown test
* Move babel dep to preact
* Remove errant debugger
* Update lockfile
* Update the multi-framework example
* Update e2e tests
* Fix nested-in-vue tests
* Add back in astro check
* Update packages/astro/src/core/create-vite.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update packages/astro/src/core/create-vite.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update packages/integrations/solid/src/index.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update packages/integrations/solid/src/index.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update .changeset/perfect-horses-tell.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Move the comment about the include config
* Remove redundant alias config
* Use react's own preamble code
* Use the base for the preamble
* Remove solid redundancy
* Update .changeset/perfect-horses-tell.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update based on review comments
* Oops
---------
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
|
|
imported. (#8007)
* Support bun/other tooling that respects `__esModule`
* Add changeset file
|
|
|
|
|
|
|
|
* Prevent removal of nested slots within islands
* Fix build errors
|
|
* [ci] update lockfile
* Fix type errors
* Fix zod version
* updated lockfile
* fix tests
---------
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
|
|
|
|
|
|
|
|
|
|
This reverts commit 25a5b9a89aee81c87affca64e1682ebc0c553eaf.
|
|
|
|
* Revert "Update preact example to match @astrojs/preact ranges (#4840)"
This reverts commit d650a1161a0288f8f2d35ae67771279d067920e9.
* Revert "[ci] format"
This reverts commit e3c78c5b164c338389c437743ba02a7be64e27fb.
* Revert "Support shared signals in Preact islands (#4763)"
This reverts commit 5e46be54683592773e6dfc2d33825493886114b0.
|
|
|
|
* Support signals in Preact islands
* Add a changeset
* Only add signals if we need them
* Refactor signal logic into its own module
* Keep track of the signals used
|
|
|
|
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
|
|
|
|
* Add preact/compat renderer (likely broken)
Based on the current Preact renderer and the old preact/compat implementation: https://github.com/withastro/astro/blob/f892aeb52f5a93d81a68d9833eb26bedd06aa2f0/packages/renderers/renderer-preact/compat/index.js
* Make sure name is consistent
* Switch to single integration with compat option
* fix: add module-resolver to alias react => preact/compat
* fix: preact/compat mode
* chore: remove client-compat entrypoint
* chore: add e2e test for preact/compat
* Try to fix frozen lock file error
* Add changeset
* Update README to new structure & document `compat`
* Fix changeset wording
* Fix README typo
* Tweak wording
Co-authored-by: Kevin Zuniga Cuellar <46791833+kevinzunigacuellar@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Kevin Zuniga Cuellar <46791833+kevinzunigacuellar@users.noreply.github.com>
|