0.9.2 (2023-12-06)
- Upgrade from Vite 4 to Vite 5
- add
getMerger
method in@vise-ssr/shared
0.9.1 (2023-10-14)
- Added HMR support for 'server-hooks.ts' related change
- remove axios dependencies
0.9.0 (2023-10-12)
- Upgrade from Vite 3 to Vite 4
- Use "@vitejs/plugin-react-swc" to replace "@vitejs/plugin-react"
- Upgrade other npm package version
- Added 'legacy' option in vise config;
- Missing pre-build bundle on the first dev run;
0.8.1 (2022-12-16)
- Merge vite config in vise config:
- Merge config fields in vise.config.ts come from vite such as 'hmrPort', 'ssr', 'resolve', 'build', 'plugins' into viteConfig.
- Finish english version of vise config file doc.
- Using airbnb eslint config:
- Update eslint to version 8;
- Change main eslint config to eslint-config-airbnb;
- Split eslintrc config into packages;
- Project created by vise now use airbnb eslint config;
- Fixed all eslint error;
- Change data structure in RenderContext: move extra.initState to meta.initState
- Added 'generateCsrHtml' option in vise config;
- SsrFetchConfig, SsrFetchResult & SsrFetchResultOf removed;
- "Data Fetch & Transportation" translated: finish English version of "Data Fetch & Transportation"
- refactor mergeConfig, better array merge: now can merge
T|T[]
type value intoT[]
; add and change all comments to English; add more fp flavor; - Better render error report in dev-server;
- Better console.log management;
- Added axios dependency in template;
- Remove core's dependency to axios
- Project create by vise use English now
- Fix phantom dependency issue in template to support pnpm;
- Fix cyclic dependency bug;
- Fix dependency deprecated issue;
0.8.0 (2022-10-25)
- Vise react SSRContext: All pages in vise-react apps will receive an ssrContext attribute, for accessing and updating values in RenderContext.meta and RenderContext.extra. For example title of the page could be changed via RenderContext.meta.title
- meta and extra in RenderContext: Now RenderContext has RenderContext.meta which contains all metadata used by Vise, and RenderContext.extra which contains all user custom data used in server-hooks; They used to be both on RenderContext.extra
- SsrBundleSuccess simplified: Then render result type of SsrBundleSuccess used to have 'app', 'html', 'template', 'preloadLinks' properties, now only 'html'. Other rendered pieces are moved to RenderContext.meta.
- hook-logger: Now the hook-logger has shorter default output by reducing logged HTTP headers.
- fetch hooks in vue component removed.
- Related document updated.
- fix a cache bug in express-server.
0.7.2 (2022-10-13)
- using vitest to replace jest
- add unit test to vise created template projects
- fix a bug in vise create caused by random execute order of copy
0.7.0 (2022-10-09)
- upgrade vite 2.0 to vite 3.0
- using pnpm to replace yarn
- phantom dependencies;
- prebundle dependencies missing issue;
0.6.3 (2022-09-23)
- fix wrong parameter in server-hooks.ts of react template.
0.6.2 (2022-08-30)
- fix wrong dependencies config of @vise-ssr/vue3
- update for documents on npm and github
0.6.0 (2022-08-24)
- First public npm package: vise-ssr
- documents: https://stauren.github.io/vise-ssr/
- use
vise dev
to start dev server - use
vise build
to build production bundles - use
vise create
to initialize apps - use
vise serve
to start HTTP SSR service with built bundles more - Provide Vise hooks API: use server-hooks.ts to customize apps server logic
- supported UI library: Vue3, React
- @vise-ssr/express-server uses sub-process to do page rendering to avoid memory leak