Breaking changes
It turns out that this release requires a change to vite.config.ts
for the production builds. The ssr
configuration needs to have "node:async_hooks"
as external
:
ssr: {
external: ['node:async_hooks'],
},
New features
- Support for
Uint8Array
serialization
Notable bugfixes
- Server-side function calls now use Async LocalStorage to ensure retaining the request context during async handling
PRs
- fix(create-qwik): update engine version in package.json for generated projects by @AlexanderShushunov in #5849
- docs(qwik-labs): npm installation issue by @alexismch in #5858
- chore(starters): update 🐼 PandaCSS integration starter dev dependency by @mrhoodz in #5857
- docs(qwik-labs): fix typo by @alexismch in #5859
- chore: fix vite build by @mhevery in #5861
- docs(tutorial): add reset button by @ayush3160 in #5863
- chore(starters): update 🐼 PandaCSS integration starter dev dependency by @mrhoodz in #5865
- chore: fix vite build by @mhevery in #5868
- fix(build): manage workspace protocol by @wmertens in #5871
- fix: read q:base to get the script path for the shim by @jcfauchet in #5869
- chore(docs): remove npm workaround for qwik-labs by @wmertens in #5872
- fix(qwik-loader): run only once + better minify by @wmertens in #5876
- fix(routing): generate correct routes.gen.d.ts for dynamic segments by @blueagler in #5866
- docs: add "Streaming/deferred loaders" cookbook by @gioboa in #5879
- docs(showcase): replace simplymc with birdflop and rebuild showcase by @saboooor in #5875
- docs: Update media page with new YouTube video link by @fbernack in #5841
- feat(qwik-city): upgrade to mdxjs v3 by @wmertens in #5882
- fix(eslint): Allow JSXNode to serialize by @genki in #5883
- chore: pnpm deps by @wmertens in #5884
- chore(starters): update 🐼 PandaCSS integration starter dev dependency by @mrhoodz in #5885
- fix(deno): replace deprecated Deno server module with
Deno.serve
by @reosablo in #5886 - docs: add Deno SSR caveat by @gioboa in #5887
- chore: bump versions of GH actions by @gioboa in #5888
- docs(showcase): add missing image by @gioboa in #5889
- fix(docker): fix Docker build failing by @Kesmek in #5892
- docs: Add missing server$ import in Getting started example by @mittinatten in #5895
- feat(qwik-core): Uint8Array serializer by @genki in #5846
- fix(feature/builder.io): upgrade deps to support ESM by @wmertens in #5897
- feat: drizzle orm integration by @LazyClicks in #5894
- chore(starters): update 🐼 PandaCSS integration starter dev dependency by @mrhoodz in #5900
- fix(cloudflare): update deprecated by @notcod in #5899
- chore: deps update + sharp import workaround by @wmertens in #5901
- chore(docs): change indicator side from left to the right by @LazyClicks in #5903
- fix: server request event retention during async handling by @wmertens in #5905
- chore: Update wrangler.toml with AsyncLocalStorage flag by @mhevery in #5907
- chore: Update vite.config.ts to externalize
async_hooks
by @mhevery in #5908 - fix: cloudflare edge build by @wmertens in #5909
- chore(docs): updated indicator in docs not appearing in mobile sidebar by @LazyClicks in #5904
- fix: externalize node:async_hooks for all adapters by @wmertens in #5910
- chore: deps upgrade by @wmertens in #5913
- feat: contexts can store scalars; nicer logging by @wmertens in #5914
- chore: Revert: Update wrangler.toml with AsyncLocalStorage flag by @mhevery in #5915
- feat(core): direct url to errors in prod by @wmertens in #5916
- fix: various fixes by @wmertens in #5918
- fix: insights build by @wmertens in #5920
- fix(qwik-city): Accept the
sameSite
to the options of cookie deletion by @genki in #5921 - fix: insights build by @wmertens in #5923
- fix: docs site deploy by @wmertens in #5930
- docs: add new website to showcase by @dejurin in #5934
- fix(create-app): xdev renames + node versions by @wmertens in #5937
- fix(cloudflare): wait to cache until response complete by @manucorporat in #3679
- fix(create-app): tmpdir handling by @wmertens in #5938
- fix(create-app): avoid deprecation warning by @wmertens in #5941
- fix: Use types from
@types/bun
package by @octet-stream in #5942 - chore: 1.5.0 by @wmertens in #5946
New Contributors
- @AlexanderShushunov made their first contribution in #5849
- @ayush3160 made their first contribution in #5863
- @fbernack made their first contribution in #5841
- @reosablo made their first contribution in #5886
- @mittinatten made their first contribution in #5895
- @LazyClicks made their first contribution in #5894
- @notcod made their first contribution in #5899
- @dejurin made their first contribution in #5934
- @octet-stream made their first contribution in #5942
Full Changelog: v1.4.5...v1.5.0