diff --git a/.changeset/bitter-pumas-sort.md b/.changeset/bitter-pumas-sort.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/bitter-pumas-sort.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/bright-loops-walk.md b/.changeset/bright-loops-walk.md deleted file mode 100644 index da6700265a..0000000000 --- a/.changeset/bright-loops-walk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lynx-js/chunk-loading-webpack-plugin": minor ---- - -**BREAKING CHANGE**: Requires `@rspack/core` v1.3.0. diff --git a/.changeset/bumpy-apples-stay.md b/.changeset/bumpy-apples-stay.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/bumpy-apples-stay.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/cold-doodles-matter.md b/.changeset/cold-doodles-matter.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/cold-doodles-matter.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/curvy-wasps-count.md b/.changeset/curvy-wasps-count.md deleted file mode 100644 index 3096cceacd..0000000000 --- a/.changeset/curvy-wasps-count.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lynx-js/web-elements": patch ---- - -feat: add `layoutchange` event support for x-view and x-text diff --git a/.changeset/deep-swans-melt.md b/.changeset/deep-swans-melt.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/deep-swans-melt.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/every-turkeys-study.md b/.changeset/every-turkeys-study.md deleted file mode 100644 index 1b535ca4bb..0000000000 --- a/.changeset/every-turkeys-study.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@lynx-js/rspeedy": minor ---- - -Bundle Rspeedy with Rslib for faster start-up times. - -This would be a **BREAKING CHANGE** for using [global version of Rspeedy](https://lynxjs.org/rspeedy/cli#using-the-global-rspeedy-version). - -Please ensure that you update your globally installed version of Rspeedy: - -```bash -npm install --global @lynx-js/rspeedy@latest -``` diff --git a/.changeset/four-shoes-cry.md b/.changeset/four-shoes-cry.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/four-shoes-cry.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/honest-chefs-mix.md b/.changeset/honest-chefs-mix.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/honest-chefs-mix.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/icy-parrots-stare.md b/.changeset/icy-parrots-stare.md deleted file mode 100644 index ce1e1df7e5..0000000000 --- a/.changeset/icy-parrots-stare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lynx-js/react": patch ---- - -Do some global var initialize in hydrate, which fixes error like `cannot read property '-21' of undefined` and some style issue. diff --git a/.changeset/modern-keys-spend.md b/.changeset/modern-keys-spend.md deleted file mode 100644 index 551b310e7d..0000000000 --- a/.changeset/modern-keys-spend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lynx-js/rspeedy": patch ---- - -Support cli flag `--base` to specify the base path of the server. diff --git a/.changeset/ninety-zoos-dream.md b/.changeset/ninety-zoos-dream.md deleted file mode 100644 index b08e3b8e5b..0000000000 --- a/.changeset/ninety-zoos-dream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lynx-js/rspeedy": patch ---- - -Support cli option `--environment` to specify the name of environment to build diff --git a/.changeset/olive-corners-work.md b/.changeset/olive-corners-work.md deleted file mode 100644 index c47bb651c4..0000000000 --- a/.changeset/olive-corners-work.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@lynx-js/web-core": patch ---- - -docs: fix documents about lynx-view's properties - -Attributes should be hyphen-name: 'init-data', 'global-props'. - -now all properties has corresponding attributes. diff --git a/.changeset/open-cities-know.md b/.changeset/open-cities-know.md deleted file mode 100644 index 392a748973..0000000000 --- a/.changeset/open-cities-know.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lynx-js/qrcode-rsbuild-plugin": patch ---- - -Build with Rslib diff --git a/.changeset/petite-bobcats-travel.md b/.changeset/petite-bobcats-travel.md deleted file mode 100644 index 1899806897..0000000000 --- a/.changeset/petite-bobcats-travel.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@lynx-js/react": patch ---- - -fix: ensure ref lifecycle events run after firstScreen in the background thread - -This patch fixes an issue where ref lifecycle events were running before firstScreen events in the background thread async render mode, which could cause refs to be undefined when components try to access them. diff --git a/.changeset/real-hounds-tan.md b/.changeset/real-hounds-tan.md deleted file mode 100644 index 6a515f46a1..0000000000 --- a/.changeset/real-hounds-tan.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@lynx-js/rspeedy": patch ---- - -Select the most appropriate network interface. - -This is a port of [webpack/webpack-dev-server#5411](https://github.com/webpack/webpack-dev-server/pull/5411). diff --git a/.changeset/slick-pianos-beg.md b/.changeset/slick-pianos-beg.md deleted file mode 100644 index c575b306ac..0000000000 --- a/.changeset/slick-pianos-beg.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@lynx-js/rspeedy": patch ---- - -Support Node.js v23.6+ native TypeScript. - -See [Node.js - TypeScript](https://nodejs.org/api/typescript.html) for more details. diff --git a/.changeset/slick-wasps-raise.md b/.changeset/slick-wasps-raise.md deleted file mode 100644 index 74e4d01540..0000000000 --- a/.changeset/slick-wasps-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lynx-js/css-extract-webpack-plugin": patch ---- - -Fix CSS HMR not working with nested entry name. diff --git a/.changeset/small-beans-error.md b/.changeset/small-beans-error.md deleted file mode 100644 index 4c6d6c9d93..0000000000 --- a/.changeset/small-beans-error.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lynx-js/rspeedy": minor ---- - -Bump Rsbuild v1.3.2 with Rspack v1.3.1 diff --git a/.changeset/smooth-maps-check.md b/.changeset/smooth-maps-check.md deleted file mode 100644 index 001f557b4b..0000000000 --- a/.changeset/smooth-maps-check.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -"@lynx-js/chunk-loading-webpack-plugin": minor ---- - -**BREAKING CHANGE**: Remove the deprecated `ChunkLoadingRspackPlugin`, use `ChunkLoadingWebpackPlugin` with `output.chunkLoading: 'lynx'` instead. - -```js -import { ChunkLoadingWebpackPlugin } from '@lynx-js/chunk-loading-webpack-plugin'; - -export default { - output: { - chunkLoading: 'lynx', - }, - plugins: [ - new ChunkLoadingWebpackPlugin(), - ], -}; -``` diff --git a/.changeset/solid-otters-live.md b/.changeset/solid-otters-live.md deleted file mode 100644 index 2dfe1c5965..0000000000 --- a/.changeset/solid-otters-live.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@lynx-js/web-constants": patch -"@lynx-js/web-core": patch -"@lynx-js/web-worker-runtime": patch ---- - -feat: onNapiModulesCall function add new param: `dispatchNapiModules`, napiModulesMap val add new param: `handleDispatch`. - -Now you can use them to actively communicate to napiModules (background thread) in onNapiModulesCall (ui thread). diff --git a/.changeset/sour-spies-eat.md b/.changeset/sour-spies-eat.md deleted file mode 100644 index 9ee55f50a5..0000000000 --- a/.changeset/sour-spies-eat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lynx-js/rspeedy": patch ---- - -Support cli option `--env-mode` to specify the env mode to load the `.env.[mode]` file. diff --git a/.changeset/sweet-crabs-travel.md b/.changeset/sweet-crabs-travel.md deleted file mode 100644 index dc73d6ca94..0000000000 --- a/.changeset/sweet-crabs-travel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lynx-js/rspeedy": patch ---- - -Support `dev.hmr` and `dev.liveReload`. diff --git a/.changeset/tame-moons-buy.md b/.changeset/tame-moons-buy.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/tame-moons-buy.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/tender-lemons-film.md b/.changeset/tender-lemons-film.md deleted file mode 100644 index 31536ff2bb..0000000000 --- a/.changeset/tender-lemons-film.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@lynx-js/css-extract-webpack-plugin": patch -"@lynx-js/template-webpack-plugin": patch -"@lynx-js/react-rsbuild-plugin": patch ---- - -fix: add enableCSSInvalidation for encodeCSS of css HMR, this will fix pseudo-class (such as `:active`) not working in HMR. diff --git a/.changeset/tender-pigs-brake.md b/.changeset/tender-pigs-brake.md deleted file mode 100644 index a845151cc8..0000000000 --- a/.changeset/tender-pigs-brake.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/tired-lamps-attend.md b/.changeset/tired-lamps-attend.md deleted file mode 100644 index 6ede347f35..0000000000 --- a/.changeset/tired-lamps-attend.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@lynx-js/rspeedy": minor ---- - -**BREAKING CHANGE**: Added explicit TypeScript peer dependency requirement of 5.1.6 - 5.8.x. - -This formalizes the existing TypeScript version requirement in `peerDependencies` (marked as optional since it is only needed for TypeScript configurations). The actual required TypeScript version has not changed. - -Note: This may cause installation to fail if you have strict peer dependency checks enabled. - -Node.js v22.7+ users can bypass TypeScript installation using `--experimental-transform-types` or `--experimental-strip-types` flags. Node.js v23.6+ users don't need any flags. See [Node.js - TypeScript](https://nodejs.org/api/typescript.html) for details. diff --git a/.changeset/violet-days-beam.md b/.changeset/violet-days-beam.md deleted file mode 100644 index 8da9e973ee..0000000000 --- a/.changeset/violet-days-beam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@lynx-js/react-rsbuild-plugin": patch ---- - -Disable `module.generator.json.JSONParse` option as it increases the bundle size of `main-thread.js`. For more detail, please see this [issue](https://github.com/webpack/webpack/issues/19319). diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 162e5625ed..b6ca662702 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,15 @@ # @lynx-js/react +## 0.106.3 + +### Patch Changes + +- Do some global var initialize in hydrate, which fixes error like `cannot read property '-21' of undefined` and some style issue. ([#461](https://github.com/lynx-family/lynx-stack/pull/461)) + +- fix: ensure ref lifecycle events run after firstScreen in the background thread ([#434](https://github.com/lynx-family/lynx-stack/pull/434)) + + This patch fixes an issue where ref lifecycle events were running before firstScreen events in the background thread async render mode, which could cause refs to be undefined when components try to access them. + ## 0.106.2 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 247544ed71..95d547d782 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@lynx-js/react", - "version": "0.106.2", + "version": "0.106.3", "description": "ReactLynx is a framework for developing Lynx applications with familiar React.", "repository": { "type": "git", diff --git a/packages/rspeedy/core/CHANGELOG.md b/packages/rspeedy/core/CHANGELOG.md index 82093018bf..985ef96048 100644 --- a/packages/rspeedy/core/CHANGELOG.md +++ b/packages/rspeedy/core/CHANGELOG.md @@ -1,5 +1,50 @@ # @lynx-js/rspeedy +## 0.9.0 + +### Minor Changes + +- Bundle Rspeedy with Rslib for faster start-up times. ([#395](https://github.com/lynx-family/lynx-stack/pull/395)) + + This would be a **BREAKING CHANGE** for using [global version of Rspeedy](https://lynxjs.org/rspeedy/cli#using-the-global-rspeedy-version). + + Please ensure that you update your globally installed version of Rspeedy: + + ```bash + npm install --global @lynx-js/rspeedy@latest + ``` + +- Bump Rsbuild v1.3.2 with Rspack v1.3.1 ([#446](https://github.com/lynx-family/lynx-stack/pull/446)) + +- **BREAKING CHANGE**: Added explicit TypeScript peer dependency requirement of 5.1.6 - 5.8.x. ([#480](https://github.com/lynx-family/lynx-stack/pull/480)) + + This formalizes the existing TypeScript version requirement in `peerDependencies` (marked as optional since it is only needed for TypeScript configurations). The actual required TypeScript version has not changed. + + Note: This may cause installation to fail if you have strict peer dependency checks enabled. + + Node.js v22.7+ users can bypass TypeScript installation using `--experimental-transform-types` or `--experimental-strip-types` flags. Node.js v23.6+ users don't need any flags. See [Node.js - TypeScript](https://nodejs.org/api/typescript.html) for details. + +### Patch Changes + +- Support cli flag `--base` to specify the base path of the server. ([#387](https://github.com/lynx-family/lynx-stack/pull/387)) + +- Support cli option `--environment` to specify the name of environment to build ([#462](https://github.com/lynx-family/lynx-stack/pull/462)) + +- Select the most appropriate network interface. ([#457](https://github.com/lynx-family/lynx-stack/pull/457)) + + This is a port of [webpack/webpack-dev-server#5411](https://github.com/webpack/webpack-dev-server/pull/5411). + +- Support Node.js v23.6+ native TypeScript. ([#481](https://github.com/lynx-family/lynx-stack/pull/481)) + + See [Node.js - TypeScript](https://nodejs.org/api/typescript.html) for more details. + +- Support cli option `--env-mode` to specify the env mode to load the `.env.[mode]` file. ([#453](https://github.com/lynx-family/lynx-stack/pull/453)) + +- Support `dev.hmr` and `dev.liveReload`. ([#458](https://github.com/lynx-family/lynx-stack/pull/458)) + +- Updated dependencies [[`df63722`](https://github.com/lynx-family/lynx-stack/commit/df637229e8dafda938aba73e10f3c8d95afc7dce), [`df63722`](https://github.com/lynx-family/lynx-stack/commit/df637229e8dafda938aba73e10f3c8d95afc7dce)]: + - @lynx-js/chunk-loading-webpack-plugin@0.2.0 + ## 0.8.7 ### Patch Changes diff --git a/packages/rspeedy/core/package.json b/packages/rspeedy/core/package.json index 8e6249524b..fd63026317 100644 --- a/packages/rspeedy/core/package.json +++ b/packages/rspeedy/core/package.json @@ -1,6 +1,6 @@ { "name": "@lynx-js/rspeedy", - "version": "0.8.7", + "version": "0.9.0", "description": "A webpack/rspack-based frontend toolchain for Lynx", "keywords": [ "webpack", diff --git a/packages/rspeedy/create-rspeedy/CHANGELOG.md b/packages/rspeedy/create-rspeedy/CHANGELOG.md index 9f77c4e509..36c81c00fb 100644 --- a/packages/rspeedy/create-rspeedy/CHANGELOG.md +++ b/packages/rspeedy/create-rspeedy/CHANGELOG.md @@ -1,5 +1,7 @@ # create-rspeedy +## 0.9.0 + ## 0.8.7 ## 0.8.6 diff --git a/packages/rspeedy/create-rspeedy/package.json b/packages/rspeedy/create-rspeedy/package.json index 2728039ce2..36b501974e 100644 --- a/packages/rspeedy/create-rspeedy/package.json +++ b/packages/rspeedy/create-rspeedy/package.json @@ -1,6 +1,6 @@ { "name": "create-rspeedy", - "version": "0.8.7", + "version": "0.9.0", "description": "Create Rspeedy-powered ReactLynx apps with one command", "keywords": [ "webpack", diff --git a/packages/rspeedy/plugin-qrcode/CHANGELOG.md b/packages/rspeedy/plugin-qrcode/CHANGELOG.md index 2a6330fff7..ac4ea9caaa 100644 --- a/packages/rspeedy/plugin-qrcode/CHANGELOG.md +++ b/packages/rspeedy/plugin-qrcode/CHANGELOG.md @@ -1,5 +1,11 @@ # @lynx-js/qrcode-rsbuild-plugin +## 0.3.5 + +### Patch Changes + +- Build with Rslib ([#396](https://github.com/lynx-family/lynx-stack/pull/396)) + ## 0.3.4 ### Patch Changes diff --git a/packages/rspeedy/plugin-qrcode/package.json b/packages/rspeedy/plugin-qrcode/package.json index f34901416e..07823bf549 100644 --- a/packages/rspeedy/plugin-qrcode/package.json +++ b/packages/rspeedy/plugin-qrcode/package.json @@ -1,6 +1,6 @@ { "name": "@lynx-js/qrcode-rsbuild-plugin", - "version": "0.3.4", + "version": "0.3.5", "description": "A rsbuild plugin for printing QRCode in terminal", "keywords": [ "rsbuild", diff --git a/packages/rspeedy/plugin-react-alias/CHANGELOG.md b/packages/rspeedy/plugin-react-alias/CHANGELOG.md index 94a321ff28..f7c536ebfa 100644 --- a/packages/rspeedy/plugin-react-alias/CHANGELOG.md +++ b/packages/rspeedy/plugin-react-alias/CHANGELOG.md @@ -1,5 +1,7 @@ # @lynx-js/react-alias-rsbuild-plugin +## 0.9.5 + ## 0.9.4 ## 0.9.3 diff --git a/packages/rspeedy/plugin-react-alias/package.json b/packages/rspeedy/plugin-react-alias/package.json index d555a0a0d3..4d9c709c07 100644 --- a/packages/rspeedy/plugin-react-alias/package.json +++ b/packages/rspeedy/plugin-react-alias/package.json @@ -1,6 +1,6 @@ { "name": "@lynx-js/react-alias-rsbuild-plugin", - "version": "0.9.4", + "version": "0.9.5", "description": "A rsbuild plugin for making alias in ReactLynx", "keywords": [ "rsbuild", diff --git a/packages/rspeedy/plugin-react/CHANGELOG.md b/packages/rspeedy/plugin-react/CHANGELOG.md index 6e1f23568a..fc87d98561 100644 --- a/packages/rspeedy/plugin-react/CHANGELOG.md +++ b/packages/rspeedy/plugin-react/CHANGELOG.md @@ -1,5 +1,21 @@ # @lynx-js/react-rsbuild-plugin +## 0.9.5 + +### Patch Changes + +- fix: add enableCSSInvalidation for encodeCSS of css HMR, this will fix pseudo-class (such as `:active`) not working in HMR. ([#435](https://github.com/lynx-family/lynx-stack/pull/435)) + +- Disable `module.generator.json.JSONParse` option as it increases the bundle size of `main-thread.js`. For more detail, please see this [issue](https://github.com/webpack/webpack/issues/19319). ([#402](https://github.com/lynx-family/lynx-stack/pull/402)) + +- Updated dependencies [[`3e7988f`](https://github.com/lynx-family/lynx-stack/commit/3e7988f3af4b4f460eaf5add29cca19537dc1a6b), [`7243242`](https://github.com/lynx-family/lynx-stack/commit/7243242801e3a8ca0213c0ef642f69a22c39960e)]: + - @lynx-js/css-extract-webpack-plugin@0.5.3 + - @lynx-js/template-webpack-plugin@0.6.8 + - @lynx-js/react-alias-rsbuild-plugin@0.9.5 + - @lynx-js/react-refresh-webpack-plugin@0.3.2 + - @lynx-js/react-webpack-plugin@0.6.10 + - @lynx-js/web-webpack-plugin@0.6.3 + ## 0.9.4 ### Patch Changes diff --git a/packages/rspeedy/plugin-react/package.json b/packages/rspeedy/plugin-react/package.json index eb1d7bcf9c..8114fe7d33 100644 --- a/packages/rspeedy/plugin-react/package.json +++ b/packages/rspeedy/plugin-react/package.json @@ -1,6 +1,6 @@ { "name": "@lynx-js/react-rsbuild-plugin", - "version": "0.9.4", + "version": "0.9.5", "description": "A rsbuild plugin for ReactLynx", "keywords": [ "rsbuild", diff --git a/packages/rspeedy/upgrade-rspeedy/CHANGELOG.md b/packages/rspeedy/upgrade-rspeedy/CHANGELOG.md index 5f8088751f..9105bb4aaf 100644 --- a/packages/rspeedy/upgrade-rspeedy/CHANGELOG.md +++ b/packages/rspeedy/upgrade-rspeedy/CHANGELOG.md @@ -1,5 +1,7 @@ # upgrade-rspeedy +## 0.9.0 + ## 0.8.7 ## 0.8.6 diff --git a/packages/rspeedy/upgrade-rspeedy/package.json b/packages/rspeedy/upgrade-rspeedy/package.json index 80d0f60120..17df98f58b 100644 --- a/packages/rspeedy/upgrade-rspeedy/package.json +++ b/packages/rspeedy/upgrade-rspeedy/package.json @@ -1,6 +1,6 @@ { "name": "upgrade-rspeedy", - "version": "0.8.7", + "version": "0.9.0", "description": "Upgrade Rspeedy-related packages", "keywords": [ "webpack", diff --git a/packages/web-platform/web-constants/CHANGELOG.md b/packages/web-platform/web-constants/CHANGELOG.md index 223136a47a..1f45dfa934 100644 --- a/packages/web-platform/web-constants/CHANGELOG.md +++ b/packages/web-platform/web-constants/CHANGELOG.md @@ -1,5 +1,16 @@ # @lynx-js/web-constants +## 0.10.1 + +### Patch Changes + +- feat: onNapiModulesCall function add new param: `dispatchNapiModules`, napiModulesMap val add new param: `handleDispatch`. ([#414](https://github.com/lynx-family/lynx-stack/pull/414)) + + Now you can use them to actively communicate to napiModules (background thread) in onNapiModulesCall (ui thread). + +- Updated dependencies []: + - @lynx-js/web-worker-rpc@0.10.1 + ## 0.10.0 ### Minor Changes diff --git a/packages/web-platform/web-constants/package.json b/packages/web-platform/web-constants/package.json index e3bc0ac93c..e4bdd92bcc 100644 --- a/packages/web-platform/web-constants/package.json +++ b/packages/web-platform/web-constants/package.json @@ -1,6 +1,6 @@ { "name": "@lynx-js/web-constants", - "version": "0.10.0", + "version": "0.10.1", "private": false, "description": "", "keywords": [], diff --git a/packages/web-platform/web-core/CHANGELOG.md b/packages/web-platform/web-core/CHANGELOG.md index 11e98c6a0f..02f2a1fa4b 100644 --- a/packages/web-platform/web-core/CHANGELOG.md +++ b/packages/web-platform/web-core/CHANGELOG.md @@ -1,5 +1,24 @@ # @lynx-js/web-core +## 0.10.1 + +### Patch Changes + +- docs: fix documents about lynx-view's properties ([#412](https://github.com/lynx-family/lynx-stack/pull/412)) + + Attributes should be hyphen-name: 'init-data', 'global-props'. + + now all properties has corresponding attributes. + +- feat: onNapiModulesCall function add new param: `dispatchNapiModules`, napiModulesMap val add new param: `handleDispatch`. ([#414](https://github.com/lynx-family/lynx-stack/pull/414)) + + Now you can use them to actively communicate to napiModules (background thread) in onNapiModulesCall (ui thread). + +- Updated dependencies [[`1af3b60`](https://github.com/lynx-family/lynx-stack/commit/1af3b6052ab27f98bf0e4d1b0ec9f7d9e88e0afc)]: + - @lynx-js/web-constants@0.10.1 + - @lynx-js/web-worker-runtime@0.10.1 + - @lynx-js/web-worker-rpc@0.10.1 + ## 0.10.0 ### Minor Changes diff --git a/packages/web-platform/web-core/package.json b/packages/web-platform/web-core/package.json index facb459690..23254f97d1 100644 --- a/packages/web-platform/web-core/package.json +++ b/packages/web-platform/web-core/package.json @@ -1,6 +1,6 @@ { "name": "@lynx-js/web-core", - "version": "0.10.0", + "version": "0.10.1", "private": false, "description": "", "keywords": [], diff --git a/packages/web-platform/web-elements/CHANGELOG.md b/packages/web-platform/web-elements/CHANGELOG.md index 8e85023937..2fcddc0c33 100644 --- a/packages/web-platform/web-elements/CHANGELOG.md +++ b/packages/web-platform/web-elements/CHANGELOG.md @@ -1,5 +1,11 @@ # @lynx-js/web-elements +## 0.5.3 + +### Patch Changes + +- feat: add `layoutchange` event support for x-view and x-text ([#408](https://github.com/lynx-family/lynx-stack/pull/408)) + ## 0.5.2 ### Patch Changes diff --git a/packages/web-platform/web-elements/package.json b/packages/web-platform/web-elements/package.json index 6c66d6aa29..4ca736d793 100644 --- a/packages/web-platform/web-elements/package.json +++ b/packages/web-platform/web-elements/package.json @@ -1,6 +1,6 @@ { "name": "@lynx-js/web-elements", - "version": "0.5.2", + "version": "0.5.3", "private": false, "repository": { "type": "git", diff --git a/packages/web-platform/web-mainthread-apis/CHANGELOG.md b/packages/web-platform/web-mainthread-apis/CHANGELOG.md index 3e8c775c21..0959ae7ced 100644 --- a/packages/web-platform/web-mainthread-apis/CHANGELOG.md +++ b/packages/web-platform/web-mainthread-apis/CHANGELOG.md @@ -1,5 +1,12 @@ # @lynx-js/web-mainthread-apis +## 0.10.1 + +### Patch Changes + +- Updated dependencies [[`1af3b60`](https://github.com/lynx-family/lynx-stack/commit/1af3b6052ab27f98bf0e4d1b0ec9f7d9e88e0afc)]: + - @lynx-js/web-constants@0.10.1 + ## 0.10.0 ### Minor Changes diff --git a/packages/web-platform/web-mainthread-apis/package.json b/packages/web-platform/web-mainthread-apis/package.json index fec675c676..6cb5eca3df 100644 --- a/packages/web-platform/web-mainthread-apis/package.json +++ b/packages/web-platform/web-mainthread-apis/package.json @@ -1,6 +1,6 @@ { "name": "@lynx-js/web-mainthread-apis", - "version": "0.10.0", + "version": "0.10.1", "private": false, "description": "", "keywords": [], diff --git a/packages/web-platform/web-worker-rpc/CHANGELOG.md b/packages/web-platform/web-worker-rpc/CHANGELOG.md index 6a7f68ad43..b7c6d316c1 100644 --- a/packages/web-platform/web-worker-rpc/CHANGELOG.md +++ b/packages/web-platform/web-worker-rpc/CHANGELOG.md @@ -1,5 +1,7 @@ # @lynx-js/web-worker-rpc +## 0.10.1 + ## 0.10.0 ### Patch Changes diff --git a/packages/web-platform/web-worker-rpc/package.json b/packages/web-platform/web-worker-rpc/package.json index 5031000d45..522446a3e0 100644 --- a/packages/web-platform/web-worker-rpc/package.json +++ b/packages/web-platform/web-worker-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@lynx-js/web-worker-rpc", - "version": "0.10.0", + "version": "0.10.1", "private": false, "description": "", "keywords": [], diff --git a/packages/web-platform/web-worker-runtime/CHANGELOG.md b/packages/web-platform/web-worker-runtime/CHANGELOG.md index e7ed7a4a8d..adc2820667 100644 --- a/packages/web-platform/web-worker-runtime/CHANGELOG.md +++ b/packages/web-platform/web-worker-runtime/CHANGELOG.md @@ -1,5 +1,18 @@ # @lynx-js/web-worker-runtime +## 0.10.1 + +### Patch Changes + +- feat: onNapiModulesCall function add new param: `dispatchNapiModules`, napiModulesMap val add new param: `handleDispatch`. ([#414](https://github.com/lynx-family/lynx-stack/pull/414)) + + Now you can use them to actively communicate to napiModules (background thread) in onNapiModulesCall (ui thread). + +- Updated dependencies [[`1af3b60`](https://github.com/lynx-family/lynx-stack/commit/1af3b6052ab27f98bf0e4d1b0ec9f7d9e88e0afc)]: + - @lynx-js/web-constants@0.10.1 + - @lynx-js/web-mainthread-apis@0.10.1 + - @lynx-js/web-worker-rpc@0.10.1 + ## 0.10.0 ### Minor Changes diff --git a/packages/web-platform/web-worker-runtime/package.json b/packages/web-platform/web-worker-runtime/package.json index a3cdabddfb..ed47dd8c35 100644 --- a/packages/web-platform/web-worker-runtime/package.json +++ b/packages/web-platform/web-worker-runtime/package.json @@ -1,6 +1,6 @@ { "name": "@lynx-js/web-worker-runtime", - "version": "0.10.0", + "version": "0.10.1", "private": false, "description": "", "keywords": [], diff --git a/packages/webpack/chunk-loading-webpack-plugin/CHANGELOG.md b/packages/webpack/chunk-loading-webpack-plugin/CHANGELOG.md index a6f273709d..76fddfca98 100644 --- a/packages/webpack/chunk-loading-webpack-plugin/CHANGELOG.md +++ b/packages/webpack/chunk-loading-webpack-plugin/CHANGELOG.md @@ -1,5 +1,24 @@ # @lynx-js/chunk-loading-webpack-plugin +## 0.2.0 + +### Minor Changes + +- **BREAKING CHANGE**: Requires `@rspack/core` v1.3.0. ([#400](https://github.com/lynx-family/lynx-stack/pull/400)) + +- **BREAKING CHANGE**: Remove the deprecated `ChunkLoadingRspackPlugin`, use `ChunkLoadingWebpackPlugin` with `output.chunkLoading: 'lynx'` instead. ([#400](https://github.com/lynx-family/lynx-stack/pull/400)) + + ```js + import { ChunkLoadingWebpackPlugin } from '@lynx-js/chunk-loading-webpack-plugin'; + + export default { + output: { + chunkLoading: 'lynx', + }, + plugins: [new ChunkLoadingWebpackPlugin()], + }; + ``` + ## 0.1.7 ### Patch Changes diff --git a/packages/webpack/chunk-loading-webpack-plugin/package.json b/packages/webpack/chunk-loading-webpack-plugin/package.json index e5ff03e708..6502a8b00b 100644 --- a/packages/webpack/chunk-loading-webpack-plugin/package.json +++ b/packages/webpack/chunk-loading-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@lynx-js/chunk-loading-webpack-plugin", - "version": "0.1.7", + "version": "0.2.0", "private": false, "description": "A webpack plugin to generate chunk loading runtime for Lynx.", "keywords": [ diff --git a/packages/webpack/css-extract-webpack-plugin/CHANGELOG.md b/packages/webpack/css-extract-webpack-plugin/CHANGELOG.md index 8a916603b7..9f8e5a618f 100644 --- a/packages/webpack/css-extract-webpack-plugin/CHANGELOG.md +++ b/packages/webpack/css-extract-webpack-plugin/CHANGELOG.md @@ -1,5 +1,13 @@ # @lynx-js/css-extract-webpack-plugin +## 0.5.3 + +### Patch Changes + +- Fix CSS HMR not working with nested entry name. ([#456](https://github.com/lynx-family/lynx-stack/pull/456)) + +- fix: add enableCSSInvalidation for encodeCSS of css HMR, this will fix pseudo-class (such as `:active`) not working in HMR. ([#435](https://github.com/lynx-family/lynx-stack/pull/435)) + ## 0.5.2 ### Patch Changes diff --git a/packages/webpack/css-extract-webpack-plugin/package.json b/packages/webpack/css-extract-webpack-plugin/package.json index 27a7c0bd0d..146c35405e 100644 --- a/packages/webpack/css-extract-webpack-plugin/package.json +++ b/packages/webpack/css-extract-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@lynx-js/css-extract-webpack-plugin", - "version": "0.5.2", + "version": "0.5.3", "description": "This plugin extracts CSS into separate files. It creates a CSS file per JS file which contains CSS.", "keywords": [ "webpack", diff --git a/packages/webpack/template-webpack-plugin/CHANGELOG.md b/packages/webpack/template-webpack-plugin/CHANGELOG.md index eaf0e1fa7b..aca0695683 100644 --- a/packages/webpack/template-webpack-plugin/CHANGELOG.md +++ b/packages/webpack/template-webpack-plugin/CHANGELOG.md @@ -1,5 +1,11 @@ # @lynx-js/template-webpack-plugin +## 0.6.8 + +### Patch Changes + +- fix: add enableCSSInvalidation for encodeCSS of css HMR, this will fix pseudo-class (such as `:active`) not working in HMR. ([#435](https://github.com/lynx-family/lynx-stack/pull/435)) + ## 0.6.7 ### Patch Changes diff --git a/packages/webpack/template-webpack-plugin/package.json b/packages/webpack/template-webpack-plugin/package.json index 13dde32c5c..3fb0206664 100644 --- a/packages/webpack/template-webpack-plugin/package.json +++ b/packages/webpack/template-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@lynx-js/template-webpack-plugin", - "version": "0.6.7", + "version": "0.6.8", "description": "Simplifies creation of Lynx template files to serve your webpack bundles", "keywords": [ "webpack",