Releases: QwikDev/qwik
Releases · QwikDev/qwik
v0.22.0
What's Changed
- fix(doc-search): unable to prevent default - revert by @zanettin in #3288
- feat: Serializable Derived Signals by @manucorporat in #2110
- docs: Cleanup mobile header styles by @steve8708 in #3279
- docs: Restructure docs nav a bit to focus the getting started path(s) by @steve8708 in #3277
- docs: update bullets on qwik components by @steve8708 in #3275
- docs: removed duplicate info by @zanettin in #3292
- docs: Use correct variable name in onScroll function by @anthonycaron in #3291
- chore: make statement smooth by @cunzaizhuyi in #3289
- fix(docs): replace useBrowserVisibleTask$ to useVisibleTask$ by @cunzaizhuyi in #3290
- fix: adapter/ssg origin option by @adamdbradley in #3296
- docs(qwik): fix Typo from on:lick to on:click by @Harkunwar in #3299
- fix(docs): two error reference to usebrowservisibletask by @cunzaizhuyi in #3300
- docs: loader$ -> routeLoader$ by @the-r3aper7 in #3306
- fix: docs build and route-loader redirects by @adamdbradley in #3310
- docs: fix title for routeLoader$ by @shairez in #3313
- docs: fix missing arrow by @swwind in #3316
- docs: add missing import statement by @cunzaizhuyi in #3302
- docs: add Wope to showcase by @necatikcl in #2806
- docs: add qwik city presentation example by @adamdbradley in #3318
- docs(component): use setInterval for updating clock in useVisibleTask$() by @ilkou in #3311
- chore: fix typo by @golamrabbiazad in #3326
- docs: fix broken reference link by @golamrabbiazad in #3331
- fix(docs): modify solidStart routing link by @cunzaizhuyi in #3337
- docs: modify Remix routing link by @golamrabbiazad in #3340
- chore: remove unnecessary eslint-disable no-console by @cunzaizhuyi in #3339
- docs: update discord link by @mhevery in #3343
- fix(qwik): support https & override origin for dev server by @swwind in #3322
- perf: massive rendering perf refactor by @manucorporat in #3307
- docs: Improve Lite Components by @Kesmek in #2768
- fix: findLocation by @manucorporat in #3354
- fix: serialize state with multiple subscribers by @manucorporat in #3353
- fix: vdom reordering by @manucorporat in #3357
- feat: expose cleanup from render function by @shairez in #3187
- fix: correctly pass
locale
from QwikCity to Qwik by @mhevery in #3361 - docs: update deprecated property by @corscheid in #3363
- fix: render bugs by @manucorporat in #3370
- fix(docs): replace deprecated type RouteParams to PathParams by @cunzaizhuyi in #3368
- docs: update docs contributors by @cunzaizhuyi in #3369
- fix(eslint): allow plugin for loaders by @manucorporat in #3371
- docs(packages/docs/readme.md): replace yarn with pnpm by @mindmind in #3372
- starter: reworked qwik city starter app by @zanettin in #3356
- chore: release 0.22.0 by @manucorporat in #3373
- fix: reduce API surface of server$ by @manucorporat in #3374
- fix: allow calling server$ within the server by @manucorporat in #3376
- fix: compare host instead of origin in dev mode by @manucorporat in #3377
- docs: fix Adding response headers example by @himorishige in #3360
- fix: spell check by @un33k in #3375
- Fix handling of request body in Azure Functions by @derkoe in #3378
- fix(docs): merge duplicate import statement by @cunzaizhuyi in #3383
- fix: emit class instead of className for MDX by @manucorporat in #3387
- fix: optimizer props destructuring by @manucorporat in #3382
- docs: Improve deployment documentation for Azure SWA by @derkoe in #3388
- docs(tutorial): replace deprecated function in Qwik context tutorial editor by @corscheid in #3381
- fix(docs): correct Youtube to YouTube by @cunzaizhuyi in #3384
- perf: mdx only renders once by @manucorporat in #3389
- feat(qwik-city): support opengraph property in MDX files by @swwind in #3379
- starter(cli): re-add additional notes after integration install by @zanettin in #3392
- Fix remove external side effects by @manucorporat in #3393
- fix: routeAction by @manucorporat in #3394
- fix(qwik-auth): keep the trailing slash in the default callback url by @ulic75 in #3242
- chore: release by @manucorporat in #3395
- fix(docs):add missing json fn by @cunzaizhuyi in #3400
- fix: dynamic tag name rendering by @manucorporat in #3399
- fix(docs):add missing import statement by @cunzaizhuyi in #3401
- fix: misc fixes before release by @manucorporat in #3397
- feat: get form by @manucorporat in #3403
- chore: qwik-city release by @manucorporat in #3404
New Contributors
- @anthonycaron made their first contribution in #3291
- @Harkunwar made their first contribution in #3299
- @swwind made their first contribution in #3316
- @ilkou made their first contribution in #3311
- @golamrabbiazad made their first contribution in #3326
- @corscheid made their first contribution in #3363
- @mindmind made their first contribution in #3372
- @un33k made their first contribution in #3375
Full Changelog: v0.21.0...v0.22.0
v0.21.0
What's Changed
- fix(docs): modify prerequisites to Node16.8 by @cunzaizhuyi in #3218
- fix: qwik server umd by @manucorporat in #3220
- fix(qwik-auth): use correct exported actions in starter by @ulic75 in #3222
- fix: signal props passing by @manucorporat in #3224
- feat: useComputed$() by @manucorporat in #3200
- fix(qwik-auth): add @auth/core dep optimization by @ulic75 in #3202
- refactor: rename useBrowserVisibleTask to useVisibleTask by @manucorporat in #3215
- fix(qwik-city): fix qinit event in RouterOutlet by @billykwok in #3225
- fix(docs): remove unused loader$ and replace deprecated createContext… by @cunzaizhuyi in #3217
- docs: update "Directory-based routing" section example by @jakovljevic-mladen in #3210
- refactor: stop using deprecated RouteLocation APIs by @jakovljevic-mladen in #3226
- docs: fix Newsletters section by @jakovljevic-mladen in #3235
- docs: Adds PostCSS to the integration menu by @forresst in #3234
- docs: updates State Page useStore option 'recursive' to 'deep' by @christiananagnostou in #3159
- fix(security): Remove PureFunctionSerializer by @mhevery in #3249
- docs: speculative module fetching by @adamdbradley in #3239
- docs: speculative module fetching (#3239) by @mhevery in #3251
- docs(useLocation): extend docs with deeply nested child routes by @jakovljevic-mladen in #3237
- docs: adjust
on this page
top position by @guigui64 in #3051 - docs: problem and solution on resource tutorial are no longer equal by @mimafogeus2 in #2746
- docs: add aria/rel attributes to docs header by @timscodebase in #1866
- docs: update arguments for useSignal/useStore by @mforncro in #3204
- docs:
useStore
API param naming adjustment by @zanettin in #3261 - docs: update routing file extensions by @5kahoisaac in #2954
- docs: Manage docs site footer in Builder by @steve8708 in #3253
- docs: refactored useBrowserVisibleTask$ -> useVisibleTask$ by @the-r3aper7 in #3267
- docs: add padding around homepage footer by @steve8708 in #3272
- docs: show people components on quick start by @steve8708 in #3274
- refactor: qwik cli styling and enhancements by @zanettin in #3246
- docs: Update ssg preview instructions by @nnelgxorz in #3278
- docs: fix component link by @Craiqser in #3280
- fix(doc-search): unable to prevent default by @vedantnn71 in #3211
- fix: partytown scripts not included in build by @nnelgxorz in #3281
- fix: Set cookie headers on dev server by @nnelgxorz in #3276
- fix(ssr): match phrasing content validation to HTML spec by @cmbartschat in #3259
- fix(starter): replace deprecated api to new api by @cunzaizhuyi in #3229
- chore: release 0.21.0 by @manucorporat in #3286
New Contributors
- @billykwok made their first contribution in #3225
- @jakovljevic-mladen made their first contribution in #3210
- @christiananagnostou made their first contribution in #3159
- @guigui64 made their first contribution in #3051
- @timscodebase made their first contribution in #1866
- @mforncro made their first contribution in #3204
- @5kahoisaac made their first contribution in #2954
- @vedantnn71 made their first contribution in #3211
Full Changelog: v0.20.1...v0.21.0
v0.20.1
What's Changed
- docs: remove
@latest
from yarn install cmd by @zanettin in #3195 - fix: server package by @manucorporat in #3196
- fix(qwik-city): type error by @cunzaizhuyi in #3197
- chore: release qwik-city by @manucorporat in #3199
- feat(global): kleur/colors for treeshaking by @cunzaizhuyi in #3201
- fix: q:key containing double quotes does not break elements on server side render by @christinatka in #3092
- fix: removed old hooks in warning by @shairez in #3205
- Add postcss integration to Qwik by @manuelsanchez2 in #3207
- fix: umd core build by @manucorporat in #3208
- perf: treeshake dep-free tasks by @manucorporat in #3213
New Contributors
- @christinatka made their first contribution in #3092
- @manuelsanchez2 made their first contribution in #3207
Full Changelog: v0.20.0...v0.20.1
v0.20.0
What's Changed
- fix: basePathname set by vite config by @adamdbradley in #3093
- docs: added London Community by @jmoont in #3113
- fix: drop import hoisted mode by @manucorporat in #3119
- docs: update RouteLocation type by @cunzaizhuyi in #3118
- docs: visitors to visitor's by @cunzaizhuyi in #3115
- docs: add code demo for api useDocumentHead by @cunzaizhuyi in #3117
- doc: refactor useClientEffect$ to useBrowserVisibleTask$ by @kerbelp in #3100
- docs: fix to GroupLink scoped styles by @jmoont in #3126
- fix: dev server base path by @adamdbradley in #3127
- fix: render base with basePathname by @adamdbradley in #3128
- refactor(starters): don't use deprecated
href
ofRouteLocation
by @arut-ji in #3121 - docs: fix bad link and remove unused headings by @forresst in #3114
- docs: adjust wording on qwik-city pages nested layout and head by @achyutkneupane in #3122
- fix: update qwik-dom css properties by @adamdbradley in #3135
- fix: entry file static when basePathname set by @adamdbradley in #3138
- fix: dont write when locked by @manucorporat in #3137
- fix: ssg include/exclude relative to fs routes dir by @adamdbradley in #3140
- fix: vercel static output from basePathname config by @adamdbradley in #3143
- Update index.mdx by @samijaber in #3144
- fix: only pages in sitemap.xml by @adamdbradley in #3145
- fix(qwik-auth): optional signin provider by @ulic75 in #3124
- fix(qwik-auth): await signout authAction by @ulic75 in #3125
- feat: refactor action/loader/server signature by @manucorporat in #3147
- feat: auto fix trailing slash in md by @manucorporat in #3152
- fix: action, loader linter🍹 by @manucorporat in #3154
- fix: set locale regression by @manucorporat in #3156
- chore: fix typo in DOMImplementation.js by @eltociear in #3148
- fix: move popstate handler to RouterOutlet by @manucorporat in #3151
- Feature/addreloadtolink by @manucorporat in #3155
- fix: deps tracking by @manucorporat in #3165
- docs(README): add
yarn
andpnpm
by @ImBIOS in #3167 - chore: release 0.19.3 by @manucorporat in #3166
- feat: specify core module by @manucorporat in #3175
- fix: action types by @manucorporat in #3173
- fix: component $ props in SSR by @manucorporat in #3176
- Update index.ts by @gilf in #3172
- docs: remove empty pages from qwik-city by @zanettin in #3169
- fix(docs): add missing import statement of qwik-city menu by @cunzaizhuyi in #3177
- docs: removed typo by @Bootstrap-Paradox in #3174
- chore(create-qwik): remove unnecessary eslint-disable no-console by @cunzaizhuyi in #3180
- feat(qwik-auth): support callbackUrl for signin and signout by @ulic75 in #3179
- fix: CLI directory validation by @zanettin in #3185
- docs: remove builder bar from examples/tutorial/playground by @mhevery in #3186
- fix: server$ in edge providers by @manucorporat in #3181
- chore: release 0.20.0 by @manucorporat in #3192
New Contributors
- @jmoont made their first contribution in #3113
- @arut-ji made their first contribution in #3121
- @achyutkneupane made their first contribution in #3122
- @Bootstrap-Paradox made their first contribution in #3174
Full Changelog: v0.19.2...v0.20.0
v0.19.2
What's Changed
- docs: useClientEffect to useBrowserVisibleTask by @cunzaizhuyi in #3103
- docs: fix typo Caveats by @forresst in #3107
- fix: should replace @builder.io/qwik with a path relative to dist when dts bundling by @await-ovo in #2629
- fix: inlining during .js mode by @manucorporat in #3110
- docs: update showcase by @manucorporat in #3111
- fix: docs playground by @manucorporat in #3108
New Contributors
- @await-ovo made their first contribution in #2629
Full Changelog: v0.19.1...v0.19.2
v0.19.1
What's Changed
- docs: rename useClientEffect to useBrowserVisibleTask task and adjusted Links by @georgeiliadis91 in #3065
- docs: update vite docs by @cunzaizhuyi in #3060
- style: render basic starter "buttons" without layout shift on hover by @darrylblake in #3055
- Add keyboardz to Qwik showcases by @vphventures in #3050
- fix(cli): ensure default projectName by @elylucas in #3067
- fix: server$ serialization by @manucorporat in #3073
- Update vite.config.ts by @gilf in #3072
- Rective doc by @fleish80 in #3070
- fix: test mode by @manucorporat in #3074
- docs: renamed cookies to cookie by @royboy789 in #3059
- Add Travelcalc to showcase by @deadenddeveloper in #3064
- feat: add id to loaders and actions by @manucorporat in #3076
- fix: custom srcDir by @manucorporat in #3080
- feat(qwik-react): update root example component by @jcfauchet in #2428
- fix: serialization of noop QRLs by @manucorporat in #3082
- fix: auto generation of exports by @manucorporat in #3084
- docs: replace useClientEffects to useBrowserVisibleTask by @cunzaizhuyi in #3077
- chore: prepare release 0.19.1 by @manucorporat in #3083
- fix: qwik-auth build by @manucorporat in #3085
- changed useClientEffect$ -> useBrowserVisibleTask$ by @the-r3aper7 in #3088
- fix: reactivity issue with deep: true by @manucorporat in #3089
- docs: prefer signal by @manucorporat in #3090
- feat: support this in QRLs by @manucorporat in #3096
- feat: inject html error when qwik crashes by @manucorporat in #3095
- fix: cli polish by @manucorporat in #3097
- docs: remove unused useStyle$ by @cunzaizhuyi in #3099
- docs: replace
Solid Start
toSolidStart
and add link by @cunzaizhuyi in #3098 - fix: specify required node range by @manucorporat in #3101
- chore: release qwik city by @manucorporat in #3105
New Contributors
- @darrylblake made their first contribution in #3055
- @vphventures made their first contribution in #3050
- @elylucas made their first contribution in #3067
- @royboy789 made their first contribution in #3059
- @deadenddeveloper made their first contribution in #3064
- @jcfauchet made their first contribution in #2428
Full Changelog: v0.19.0...v0.19.1
v0.19.0
What's Changed
- docs: update to latest qwik by @adamdbradley in #2977
- docs: fix signal tutorial page typos by @itsthesteve in #2979
- docs: removed
.use()
fromloader$
by @zanettin in #2981 - Add Playground as bug category by @samijaber in #2983
- refactor(create-qwik): enhanced create qwik cli by @zanettin in #2989
- fix: dashToTitlelCase to dashToTitleCase by @cunzaizhuyi in #2994
- chore: delete unnecessary eslint disable by @cunzaizhuyi in #2991
- Change starter to-do demo page title by @mousaAM in #3000
- fix: ensure fs directory when crawling routes by @adamdbradley in #3001
- fix: buildTypes never startsWith tsc by @cunzaizhuyi in #3005
- fix: delete unnecessary eslint disable rule no-console by @cunzaizhuyi in #3004
- Docs(pages.json): add new site to showcase room by @devagja in #2963
- Update path in SSG docs for generated vite.config.ts file by @itsthesteve in #3003
- feat: add hoist compiler mode by @manucorporat in #3009
- feat: allows referencing of module variables by @manucorporat in #3011
- feat: improve eslint messages by @manucorporat in #3010
- fix: prevent module reentrance in SSR by @manucorporat in #3012
- docs: use suffix instead of prefix for $ by @ubmit in #3013
- docs: fix bad link prefetching by @forresst in #3016
- docs: Improve link nested-layout by @forresst in #3014
- fix: incorrectly treeshaking entry/service-worker by @adamdbradley in #3018
- fix: qwik-react wakeup signal by @adamdbradley in #3020
- fix typo in eslint message by @literalpie in #3017
- fix(qwik-auth): use authjs convention of signout by @ulic75 in #3021
- feat: server$ like $ but in the server by @manucorporat in #2966
- fix: trailing slash with Link by @manucorporat in #3027
- fix: deprecated useClientEffect by @manucorporat in #3028
- Remove duplicate NOTE by @egmaleta in #3023
- fix: remove warning by @manucorporat in #3031
- fix: multiple styles scoped by @manucorporat in #3030
- fix: augment the PlatformQwikCity in each platform by @manucorporat in #3029
- docs: add specific type to Context example by @kerbelp in #2968
- Release 0 19 by @manucorporat in #3032
- feat: allow multiple JSX roots by @manucorporat in #3034
- docs: ie to i.e. by @cunzaizhuyi in #3042
- fix: fixed a broken gitignore file negation pattern in basic starter app by @harshrathod50 in #3036
- typo: non -> not by @the-r3aper7 in #3047
- changed useClientEffect$ -> useBrowserVisibleTask$ by @the-r3aper7 in #3049
- fix: set
@builder.io/qwik
to be >=0.18.0 forqwik-city
by @ahnpnl in #3054 - docs(contributing.md): updated the vscode extension name for containers by @camunoz2 in #3033
- docs(docs/src/routes/examples/[...id]/examples.css): fix scrolling an… by @georgeiliadis91 in #3041
- docs: Fix the href link - Cloudflare Page's function-invocation-routes config by @himorishige in #3038
- Update RequestHandler types in Cloudflare Pages example by @OzzieOrca in #3026
- fix: reactivity issue by @manucorporat in #3048
- Docs: Improved Context by @the-r3aper7 in #3057
- docs: fixed typo on import statement by @keuller in #3056
- feat: add nonce support by @DustinJSilk in #3002
- chore: release by @manucorporat in #3058
New Contributors
- @itsthesteve made their first contribution in #2979
- @ubmit made their first contribution in #3013
- @egmaleta made their first contribution in #3023
- @kerbelp made their first contribution in #2968
- @harshrathod50 made their first contribution in #3036
- @ahnpnl made their first contribution in #3054
- @camunoz2 made their first contribution in #3033
- @georgeiliadis91 made their first contribution in #3041
- @himorishige made their first contribution in #3038
- @OzzieOrca made their first contribution in #3026
- @keuller made their first contribution in #3056
Full Changelog: v0.18.1...v0.19.0
v0.18.1
What's Changed
- chore: update starters to qwik-city 0.2.1 by @adamdbradley in #2975
- fix: node build by @manucorporat in #2974
- 0.18.1 by @adamdbradley in #2976
Full Changelog: v0.18.0...v0.18.1
v0.18.0
What's Changed
- 🍧 by @manucorporat in #2869
- docs: add vercel edge functions to starters by @adamdbradley in #2870
- docs: code block style is ugly by @cunzaizhuyi in #2882
- feat(azure-swa): support binary data in the response by @derkoe in #2880
- docs(qwik-city): project-structure typo by @Craiqser in #2883
- fix: ssg config options by @adamdbradley in #2884
- fix: route match crash by @manucorporat in #2885
- fix: eslint prop interface by @manucorporat in #2887
- fix: code allows sitemapOutFile to be null but type is wrong by @felixsanz in #2886
- fix: prepare release by @manucorporat in #2888
- fix: create qwik documentation site by @flower-dc in #2891
- fix: deep store tracking with complex objects by @manucorporat in #2895
- fix: vite build config for edge by @manucorporat in #2896
- fix: context for unprojected content by @manucorporat in #2899
- feat: add build isDev by @manucorporat in #2900
- fix(qwikcity): nav() respects query and hash by @manucorporat in #2901
- fix: loader serialization issues by @manucorporat in #2903
- docs: use QwikCityProvider api by @cunzaizhuyi in #2902
- fix: write static endpoints during ssg by @adamdbradley in #2904
- fix: ensure static index.html directory by @adamdbradley in #2907
- fix(qwik-city): prevent duplicate call of resolve for response by @derkoe in #2908
- fix(azure-swa): cleaner handling of responses for Azure Functions by @derkoe in #2909
- fix: ensure static dir for pages/endpoints/qdata by @adamdbradley in #2913
- fix(azure-swa): handling of non-GET requests in Azure adapter by @derkoe in #2912
- fix(qwik-city): remove of logging 'undfined' on every request by @derkoe in #2910
- docs: fix ie to i.e. by @cunzaizhuyi in #2915
- refactor: use loaders syntax by @manucorporat in #2905
- fix: improve support for .js inside src dir by @manucorporat in #2917
- fix: loader$() streaming by @manucorporat in #2918
- perf: improve SPA link performance by @manucorporat in #2919
- fix: express vite settings by @manucorporat in #2921
- 🍪 by @manucorporat in #2923
- refactor: rename streaming to defer by @manucorporat in #2925
- fix: ssg worker error by @adamdbradley in #2929
- docs: fix some error by @cunzaizhuyi in #2922
- docs: fix Typo in documentation by @cwerner1 in #2920
- docs: custom 404 pages by @adamdbradley in #2932
- docs: update 404 page by @adamdbradley in #2933
- Add essential url fields to RouteLocation by @n8sabes in #2934
- Fix linting errors and warnings in starters. by @nnelgxorz in #2937
- docs: fix some errors in docs by @cunzaizhuyi in #2935
- docs: added vite docs by @zanettin in #2911
- tutorial: rewrite lite component tutorial by @zanettin in #2931
- Fixes issue on HTTP/2 headers for resolving origin by @genki in #2864
- refactor(core): change
createContext
tocreateContextId
by @shairez in #2898 - chore: fix word spelling error by @cunzaizhuyi in #2938
- Made some small fixes on the "progressive" doc by @fleish80 in #2879
- feat: @builder.io/qwik-auth by @manucorporat in #2945
- docs: update to correct package name by @shairez in #2947
- docs: Update CONTRIBUTING with troubleshooting steps by @shairez in #2946
- docs: fix CONTRIBUTING typo by @maxdevjs in #2953
- fix: slot switching by @manucorporat in #2958
- refactor: useClientEffect to useOnVisibleTask by @manucorporat in #2939
- feat: expose IncomingMessage req by @manucorporat in #2944
- fix: writable ssg stream by @adamdbradley in #2962
- BUGFIX GH#2948
useLocation().params
should have their values decoded usingdecodeURIComponent(...)
by @revintec in #2949 - chore: word spelling error by @cunzaizhuyi in #2957
- refactor: name getData to resolveValue by @manucorporat in #2964
- fix(azure-swa): issue with ssg of '/' for Azure SWA by @derkoe in #2956
- chore: prepare release by @manucorporat in #2916
- chore: disable express compress middleware by @adamdbradley in #2970
- chore: for better accesibility by @cunzaizhuyi in #2969
- Fix typo with useOnWindow and useOnDocument by @wfairclough in #2967
- docs: fix a broken link in the Qwik City data loader docs by @Jayphen in #2940
New Contributors
- @flower-dc made their first contribution in #2891
- @cwerner1 made their first contribution in #2920
- @fleish80 made their first contribution in #2879
- @maxdevjs made their first contribution in #2953
- @revintec made their first contribution in #2949
- @wfairclough made their first contribution in #2967
- @Jayphen made their first contribution in #2940
Full Changelog: v0.17.5...v0.18.0
v0.17.5
Server Loaders and Actions
- Previous iterations of loading data recommended using request handlers directly.
- The server loaders/action updates simplifies the connection between fetching data, rendering data, and submitting an update with an action.
- See the docs for more information.
Request Handlers
- Added
html()
json()
text()
andsend()
for simple HTTP response body content. - Added
getWritableStream()
to the Request event for low-level access to HTTP response streaming. - Request event’s
query
is now aURLSearchParam
instance (same asurl.searchParams
) - Added
cacheControl
to simplify cache-control response headers.
Renamed Adaptors🇬🇧
to Adapters🇺🇸
- Renamed to adapt
e
r for consistency. (No offense 🇬🇧, we still love ya) - The adapt
o
r name is deprecated and will continue to be provided until v1 is released. - This includes the package names, function names, and types.
- Rename your root
adaptors
directory toadapters
, and update the scripts inpackage.json
that call the Vite configs, such asbuild.server
.
"scripts": {
"build.server": "vite build -c adapters/static/vite.config.ts"
}
Static Site Generation (SSG) and SSR Adapters
- When building sites with server-side rendering (SSR), such as deploying a site to Netlify or Cloudflare, we also automatically generated pages that could be static. This was problematic and caused unpredictable behavior at times.
- Instead of auto-generating SSG pages, there’s a new
ssg
config for each adapter where you can optionally include (and exclude) pathnames and patterns which urls should always be static generated. - Static Site Generation from SSR Adapters is now opt-in, but starters will come preset with the homepage
/
included to be SSG’d.
// example adapter plugin
netifyEdgeAdapter({
ssg: {
include: ["/"],
},
})
What's Changed
- fix: package.json type field setting error by @cunzaizhuyi in #2824
- Added new site to showcase room by @adnanebrahimi in #2833
- docs: pnpm link --global by @cunzaizhuyi in #2832
- fix: misc loaders fixes by @manucorporat in #2840
- fix: misc loader fixes by @manucorporat in #2842
- fix: reactivity of store keys by @manucorporat in #2843
- fix: optimize prop shorthand by @manucorporat in #2844
- fix: dev-server menu.md rendering by @adamdbradley in #2847
- fix: spa context serialization by @manucorporat in #2845
- 0.17.5 by @manucorporat in #2846
- Suppress error of service worker at http connections. by @genki in #2853
- docs: add
<RenderOnce>
by @zanettin in #2848 - fix: docs invalid code by @manucorporat in #2858
- feat: global platform interface by @manucorporat in #2856
- refactor: rename adaptors to adapters by @adamdbradley in #2851
- chore: fix deploy env var by @adamdbradley in #2861
- docs: server functions by @manucorporat in #2722
- docs: add
<RenderOnce>
REVERT by @zanettin in #2863 - docs: add
dangerouslySetInnerHTML
by @zanettin in #2452 - 🔋 by @manucorporat in #2866
- fix(azure-swa): azure SWA request handling and generation of function.json by @derkoe in #2868
New Contributors
- @adnanebrahimi made their first contribution in #2833
- @genki made their first contribution in #2853
Full Changelog: v0.17.4...v0.17.5