What's New
Created qwik
CLI
qwik add
command
Added a qwik
cli to the @builder.io/qwik
package, that can be used to add integrations, such as middlewares cloudflare-pages
, netlify-edge
, node
(express/connect middleware api). Also includes adding static site generations (ssg) and Qwik React.
qwik build
command
The qwik build
command should speed up production builds by parallelizing typechecking, the client build, the server build, and the ssg build. Note that this CLI command is not required to build qwik apps, but only added as a convenience to speed up builds and simplify npm build scripts.
Updated create-qwik
Updated npm create qwik
cli to only include creating a starter app. Additionally, it'll ask to install dependencies.
Preview command
Starters now come with a preview
script, that runs the vite preview
command. This is so the initial starter does not have to come with a server (such as express) by default, and allows the dev to later choose which server they want to add. To allow the preview script to work, a new src/entry.preview.tsx
file was added, along with the build.preview
npm script.
Features and Performance
- feat: qwik-city starter service worker prefetching by @adamdbradley in #1210
- feat: default value for useContext() by @manucorporat in #1208
- feat: support custom events by @manucorporat in #1212
- perf: ssr performance by @manucorporat in #1217
- feat: core.prod.mjs/cjs build by @adamdbradley in #1219
- feat(docs): integrate Qwik SDK to homepage using
?render=sdk
by @mhevery in #1220 - feat: qwik cli by @adamdbradley in #1218
- feat: Error boundaries by @manucorporat in #1240
- feat: update qwik blank starter by @adamdbradley in #12
- feat: add link imageSizes by @manucorporat in #1249
- feat: add data-prefetch to Link by @adamdbradley in #1256
Fixes
- fix: inert qwik-city service worker during dev by @adamdbradley in #1209
- fix: ensure node types in tsconfig by @adamdbradley in #1233
- fix: create-qwik npm package by @adamdbradley in #1236
- fix: qwik-city next release by @adamdbradley in #1237
- fix: in qwikcity starter by @manucorporat in #1224
- fix: store obj by @samijaber in https://github.com/BuilderIO/qwik/pull/123242
- fix: fix className rendering by @manucorporat in #1248
- fix: get pathname from local md w/ hash or querystring by @adamdbradley in #1255
- fix: dev server redirect to trailing slash by @adamdbradley in #1257
- fix(docs): Upgrade to latest Qwik SDK version by @mhevery in #1261
- fix: dev server 404 by @adamdbradley in #1260
- fix: render of event-like attributes by @manucorporat in #1263
- perf: docs perf of algolia by @manucorporat in #1259
- fix: event stopPropagation() by @manucorporat in #1265
- fix: docs beta by @manucorporat in #1267
- fix(render-ssr.ts): process
htmlFor
jsx attribute tofor
in html by @Howarto in #1215 - fix: propagate aborted status to the middlware by @manucorporat in #1269
- fix: render falsy values of dangerouslySetInnerHTML by @manucorporat in #1268
Docs
- docs: qwik-city update, Link by @adamdbradley in #1183
- docs: prefetch by @adamdbradley in #1213
- docs: updated lite component doc by @ykou in #1221
- docs: Improve docs by @manucorporat in #1239
- docs starter by @adamdbradley in #1271
Tests and Chores
- test: getMarkdownRelativeUrl trailingSlash by @adamdbradley in #1253
- chore: update starter cli outdir option by @adamdbradley in #1243
- chore: update cli colors by @adamdbradley in #1244
- chore: update deps by @manucorporat in #1247
- chore: update response error colors by @adamdbradley in #1258
- chore: update docs site footer by @steve8708 in #1270
New Contributors
- @ykou made their first contribution in #1221
- @samijaber made their first contribution in #1232
- @Howarto made their first contribution in #1215
Full Changelog: v0.0.108...v0.0.109