withastro / astro

The web framework for content-driven websites. ⭐️ Star to support our work!
https://astro.build
Other
46.98k stars 2.5k forks source link

wip: sessions API #12441

Open ascorbic opened 1 week ago

ascorbic commented 1 week ago

Changes

Implementing sessions RFC

Testing

Docs

changeset-bot[bot] commented 1 week ago

πŸ¦‹ Changeset detected

Latest commit: 666781b07bdbaf94459c4f115517213d57795f84

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 3 days ago

Snapshots have been released for the following packages:

πŸ¦‹  warn ===============================IMPORTANT!===============================
πŸ¦‹  warn You are in prerelease mode so packages will be published to the beta
πŸ¦‹  warn         dist tag except for packages that have not had normal releases which will be published to latest
πŸ¦‹  warn ----------------------------------------------------------------------
πŸ¦‹  info npm info astro
πŸ¦‹  info npm info @astrojs/prism
πŸ¦‹  info npm info @astrojs/rss
πŸ¦‹  info npm info create-astro
πŸ¦‹  info npm info @astrojs/db
πŸ¦‹  info npm info @astrojs/alpinejs
πŸ¦‹  info npm info @astrojs/markdoc
πŸ¦‹  info npm info @astrojs/mdx
πŸ¦‹  info npm info @astrojs/partytown
πŸ¦‹  info npm info @astrojs/preact
πŸ¦‹  info npm info @astrojs/react
πŸ¦‹  info npm info @astrojs/sitemap
πŸ¦‹  info npm info @astrojs/solid-js
πŸ¦‹  info npm info @astrojs/svelte
πŸ¦‹  info npm info @astrojs/tailwind
πŸ¦‹  info npm info @astrojs/vue
πŸ¦‹  info npm info @astrojs/web-vitals
πŸ¦‹  info npm info @astrojs/internal-helpers
πŸ¦‹  info npm info @astrojs/markdown-remark
πŸ¦‹  info npm info @astrojs/studio
πŸ¦‹  info npm info @astrojs/telemetry
πŸ¦‹  info npm info @astrojs/underscore-redirects
πŸ¦‹  info npm info @astrojs/upgrade
πŸ¦‹  info astro is being published because our local version (0.0.0-sessions-20241122114539) has not been published on npm
πŸ¦‹  warn @astrojs/prism is not being published because version 3.1.0 is already published on npm
πŸ¦‹  warn @astrojs/rss is not being published because version 4.0.9 is already published on npm
πŸ¦‹  info create-astro is being published because our local version (0.0.0-sessions-20241122114539) has not been published on npm
πŸ¦‹  info @astrojs/db is being published because our local version (0.0.0-sessions-20241122114539) has not been published on npm
πŸ¦‹  warn @astrojs/alpinejs is not being published because version 0.4.0 is already published on npm
πŸ¦‹  info @astrojs/markdoc is being published because our local version (0.0.0-sessions-20241122114539) has not been published on npm
πŸ¦‹  info @astrojs/mdx is being published because our local version (0.0.0-sessions-20241122114539) has not been published on npm
πŸ¦‹  warn @astrojs/partytown is not being published because version 2.1.2 is already published on npm
πŸ¦‹  info @astrojs/preact is being published because our local version (0.0.0-sessions-20241122114539) has not been published on npm
πŸ¦‹  info @astrojs/react is being published because our local version (0.0.0-sessions-20241122114539) has not been published on npm
πŸ¦‹  warn @astrojs/sitemap is not being published because version 3.2.1 is already published on npm
πŸ¦‹  info @astrojs/solid-js is being published because our local version (0.0.0-sessions-20241122114539) has not been published on npm
πŸ¦‹  info @astrojs/svelte is being published because our local version (0.0.0-sessions-20241122114539) has not been published on npm
πŸ¦‹  warn @astrojs/tailwind is not being published because version 5.1.2 is already published on npm
πŸ¦‹  info @astrojs/vue is being published because our local version (0.0.0-sessions-20241122114539) has not been published on npm
πŸ¦‹  info @astrojs/web-vitals is being published because our local version (0.0.0-sessions-20241122114539) has not been published on npm
πŸ¦‹  warn @astrojs/internal-helpers is not being published because version 0.4.1 is already published on npm
πŸ¦‹  info @astrojs/markdown-remark is being published because our local version (0.0.0-sessions-20241122114539) has not been published on npm
πŸ¦‹  info @astrojs/studio is being published because our local version (0.0.0-sessions-20241122114539) has not been published on npm
πŸ¦‹  warn @astrojs/telemetry is not being published because version 3.1.0 is already published on npm
πŸ¦‹  info @astrojs/underscore-redirects is being published because our local version (0.0.0-sessions-20241122114539) has not been published on npm
πŸ¦‹  warn @astrojs/upgrade is not being published because version 0.3.4 is already published on npm
πŸ¦‹  info Publishing "astro" at "0.0.0-sessions-20241122114539"
πŸ¦‹  info Publishing "create-astro" at "0.0.0-sessions-20241122114539"
πŸ¦‹  info Publishing "@astrojs/db" at "0.0.0-sessions-20241122114539"
πŸ¦‹  info Publishing "@astrojs/markdoc" at "0.0.0-sessions-20241122114539"
πŸ¦‹  info Publishing "@astrojs/mdx" at "0.0.0-sessions-20241122114539"
πŸ¦‹  info Publishing "@astrojs/preact" at "0.0.0-sessions-20241122114539"
πŸ¦‹  info Publishing "@astrojs/react" at "0.0.0-sessions-20241122114539"
πŸ¦‹  info Publishing "@astrojs/solid-js" at "0.0.0-sessions-20241122114539"
πŸ¦‹  info Publishing "@astrojs/svelte" at "0.0.0-sessions-20241122114539"
πŸ¦‹  info Publishing "@astrojs/vue" at "0.0.0-sessions-20241122114539"
πŸ¦‹  info Publishing "@astrojs/web-vitals" at "0.0.0-sessions-20241122114539"
πŸ¦‹  info Publishing "@astrojs/markdown-remark" at "0.0.0-sessions-20241122114539"
πŸ¦‹  info Publishing "@astrojs/studio" at "0.0.0-sessions-20241122114539"
πŸ¦‹  info Publishing "@astrojs/underscore-redirects" at "0.0.0-sessions-20241122114539"
πŸ¦‹  success packages published successfully:
πŸ¦‹  astro@0.0.0-sessions-20241122114539
πŸ¦‹  create-astro@0.0.0-sessions-20241122114539
πŸ¦‹  @astrojs/db@0.0.0-sessions-20241122114539
πŸ¦‹  @astrojs/markdoc@0.0.0-sessions-20241122114539
πŸ¦‹  @astrojs/mdx@0.0.0-sessions-20241122114539
πŸ¦‹  @astrojs/preact@0.0.0-sessions-20241122114539
πŸ¦‹  @astrojs/react@0.0.0-sessions-20241122114539
πŸ¦‹  @astrojs/solid-js@0.0.0-sessions-20241122114539
πŸ¦‹  @astrojs/svelte@0.0.0-sessions-20241122114539
πŸ¦‹  @astrojs/vue@0.0.0-sessions-20241122114539
πŸ¦‹  @astrojs/web-vitals@0.0.0-sessions-20241122114539
πŸ¦‹  @astrojs/markdown-remark@0.0.0-sessions-20241122114539
πŸ¦‹  @astrojs/studio@0.0.0-sessions-20241122114539
πŸ¦‹  @astrojs/underscore-redirects@0.0.0-sessions-20241122114539
πŸ¦‹  Creating git tags...
πŸ¦‹  New tag:  astro@0.0.0-sessions-20241122114539
πŸ¦‹  New tag:  create-astro@0.0.0-sessions-20241122114539
πŸ¦‹  New tag:  @astrojs/db@0.0.0-sessions-20241122114539
πŸ¦‹  New tag:  @astrojs/markdoc@0.0.0-sessions-20241122114539
πŸ¦‹  New tag:  @astrojs/mdx@0.0.0-sessions-20241122114539
πŸ¦‹  New tag:  @astrojs/preact@0.0.0-sessions-20241122114539
πŸ¦‹  New tag:  @astrojs/react@0.0.0-sessions-20241122114539
πŸ¦‹  New tag:  @astrojs/solid-js@0.0.0-sessions-20241122114539
πŸ¦‹  New tag:  @astrojs/svelte@0.0.0-sessions-20241122114539
πŸ¦‹  New tag:  @astrojs/vue@0.0.0-sessions-20241122114539
πŸ¦‹  New tag:  @astrojs/web-vitals@0.0.0-sessions-20241122114539
πŸ¦‹  New tag:  @astrojs/markdown-remark@0.0.0-sessions-20241122114539
πŸ¦‹  New tag:  @astrojs/studio@0.0.0-sessions-20241122114539
πŸ¦‹  New tag:  @astrojs/underscore-redirects@0.0.0-sessions-20241122114539

Build Log ``` > root@0.0.0 build /home/runner/work/astro/astro > turbo run build --filter=astro --filter=create-astro --filter="@astrojs/*" --filter="@benchmark/*" β€’ Packages in scope: @astrojs/alpinejs, @astrojs/cloudflare, @astrojs/db, @astrojs/internal-helpers, @astrojs/markdoc, @astrojs/markdown-remark, @astrojs/mdx, @astrojs/netlify, @astrojs/node, @astrojs/partytown, @astrojs/preact, @astrojs/prism, @astrojs/react, @astrojs/rss, @astrojs/sitemap, @astrojs/solid-js, @astrojs/studio, @astrojs/svelte, @astrojs/tailwind, @astrojs/telemetry, @astrojs/underscore-redirects, @astrojs/upgrade, @astrojs/vercel, @astrojs/vue, @astrojs/web-vitals, @benchmark/adapter, @benchmark/timer, astro, create-astro β€’ Running build in 29 packages β€’ Remote caching enabled ::group::@astrojs/internal-helpers:build cache miss, executing c30fe82c0a54598f > @astrojs/internal-helpers@0.4.1 build /home/runner/work/astro/astro/packages/internal-helpers > astro-scripts build "src/**/*.ts" && tsc -p tsconfig.json ::endgroup:: ::group::@astrojs/prism:build cache miss, executing 96f97a79008a141e > @astrojs/prism@3.1.0 build /home/runner/work/astro/astro/packages/astro-prism > astro-scripts build "src/**/*.ts" && tsc -p ./tsconfig.json ::endgroup:: ::group::create-astro:build cache miss, executing 3d8701805e84d5ae > create-astro@0.0.0-sessions-20241122114539 build /home/runner/work/astro/astro/packages/create-astro > astro-scripts build "src/index.ts" --bundle && tsc ::endgroup:: ::group::@astrojs/upgrade:build cache miss, executing 52b70f3f16220951 > @astrojs/upgrade@0.3.4 build /home/runner/work/astro/astro/packages/upgrade > astro-scripts build "src/index.ts" --bundle && tsc ::endgroup:: ::group::@astrojs/telemetry:build cache miss, executing 3e27d876367f834f > @astrojs/telemetry@3.1.0 build /home/runner/work/astro/astro/packages/telemetry > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: ::group::@astrojs/markdown-remark:build cache miss, executing 6ab1ebb2ceffce83 > @astrojs/markdown-remark@0.0.0-sessions-20241122114539 build /home/runner/work/astro/astro/packages/markdown/remark > astro-scripts build "src/**/*.ts" && tsc -p tsconfig.json ::endgroup:: ::group::astro:build cache miss, executing a5537b4d44675966 > astro@0.0.0-sessions-20241122114539 build /home/runner/work/astro/astro/packages/astro > pnpm run prebuild && astro-scripts build "src/**/*.{ts,js}" --copy-wasm && tsc > astro@0.0.0-sessions-20241122114539 prebuild /home/runner/work/astro/astro/packages/astro > astro-scripts prebuild --to-string "src/runtime/server/astro-island.ts" "src/runtime/client/{idle,load,media,only,visible}.ts" ::endgroup:: ::group::@astrojs/studio:build cache miss, executing 0343e7a551e0f7d0 > @astrojs/studio@0.0.0-sessions-20241122114539 build /home/runner/work/astro/astro/packages/studio > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: ::group::@astrojs/alpinejs:build cache miss, executing dfabb45828f81610 > @astrojs/alpinejs@0.4.0 build /home/runner/work/astro/astro/packages/integrations/alpinejs > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: ::group::@astrojs/partytown:build cache miss, executing d76648790e13610a > @astrojs/partytown@2.1.2 build /home/runner/work/astro/astro/packages/integrations/partytown > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: ::group::@astrojs/svelte:build cache miss, executing 9aa6f4ae9cfaeba1 > @astrojs/svelte@0.0.0-sessions-20241122114539 build /home/runner/work/astro/astro/packages/integrations/svelte > astro-scripts build "src/index.ts" && astro-scripts build "src/editor.cts" --force-cjs --no-clean-dist && tsc ::endgroup:: ::group::@benchmark/timer:build cache miss, executing bfc69861343ddf13 > @benchmark/timer@0.0.0 build /home/runner/work/astro/astro/benchmark/packages/timer > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: ::group::@benchmark/adapter:build cache miss, executing f08abc482053d5c2 > @benchmark/adapter@0.0.0 build /home/runner/work/astro/astro/benchmark/packages/adapter > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: ::group::@astrojs/sitemap:build cache miss, executing 9e6e3c41272dd5f6 > @astrojs/sitemap@3.2.1 build /home/runner/work/astro/astro/packages/integrations/sitemap > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: ::group::@astrojs/tailwind:build cache miss, executing 882e0aad18d0a3f9 > @astrojs/tailwind@5.1.2 build /home/runner/work/astro/astro/packages/integrations/tailwind > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: ::group::@astrojs/react:build cache miss, executing 7036dce223693c08 > @astrojs/react@0.0.0-sessions-20241122114539 build /home/runner/work/astro/astro/packages/integrations/react > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: ::group::@astrojs/vue:build cache miss, executing 616b1e8ed5b58db7 > @astrojs/vue@0.0.0-sessions-20241122114539 build /home/runner/work/astro/astro/packages/integrations/vue > astro-scripts build "src/index.ts" && astro-scripts build "src/editor.cts" --force-cjs --no-clean-dist && tsc ::endgroup:: ::group::@astrojs/underscore-redirects:build cache miss, executing 61889efca41324aa > @astrojs/underscore-redirects@0.0.0-sessions-20241122114539 build /home/runner/work/astro/astro/packages/underscore-redirects > astro-scripts build "src/**/*.ts" && tsc -p tsconfig.json ::endgroup:: ::group::@astrojs/rss:build cache miss, executing 6e080f8a7c2d26da > @astrojs/rss@4.0.9 build /home/runner/work/astro/astro/packages/astro-rss > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: ::group::@astrojs/markdoc:build cache miss, executing c99abb04ad89129b > @astrojs/markdoc@0.0.0-sessions-20241122114539 build /home/runner/work/astro/astro/packages/integrations/markdoc > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: ::group::@astrojs/mdx:build cache miss, executing f84a3dc96a52fb20 > @astrojs/mdx@0.0.0-sessions-20241122114539 build /home/runner/work/astro/astro/packages/integrations/mdx > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: ::group::@astrojs/preact:build cache miss, executing 3126b545cadf9ba7 > @astrojs/preact@0.0.0-sessions-20241122114539 build /home/runner/work/astro/astro/packages/integrations/preact > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: ::group::@astrojs/solid-js:build cache miss, executing e240c75c28f87d8e > @astrojs/solid-js@0.0.0-sessions-20241122114539 build /home/runner/work/astro/astro/packages/integrations/solid > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: ::group::@astrojs/db:build cache miss, executing d7d70243cf986a3f > @astrojs/db@0.0.0-sessions-20241122114539 build /home/runner/work/astro/astro/packages/db > astro-scripts build "src/**/*.ts" && tsc && pnpm types:virtual > @astrojs/db@0.0.0-sessions-20241122114539 types:virtual /home/runner/work/astro/astro/packages/db > tsc -p ./tsconfig.virtual.json ::endgroup:: ::group::@astrojs/web-vitals:build cache miss, executing 676ae56b07edcefd > @astrojs/web-vitals@0.0.0-sessions-20241122114539 build /home/runner/work/astro/astro/packages/integrations/web-vitals > astro-scripts build "src/**/*.ts" && tsc ::endgroup:: Tasks: 25 successful, 25 total Cached: 0 cached, 25 total Time: 49.533s ```
ascorbic commented 14 hours ago

!preview sessions