Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/afraid-chairs-share.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cold-camels-taste.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/element-animate-papi.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/fix-lazy-bundle-sourcemap.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-spread-undefined-ref.md

This file was deleted.

3 changes: 0 additions & 3 deletions .changeset/fresh-dingos-hide.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/funny-weeks-stand.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/green-insects-rule.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/green-plums-wave.md

This file was deleted.

3 changes: 0 additions & 3 deletions .changeset/lazy-beds-doubt.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lemon-bugs-grab.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/olive-readers-turn.md

This file was deleted.

3 changes: 0 additions & 3 deletions .changeset/petite-jeans-cut.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/poor-colts-peel.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/react-externals-setup-umd.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sharp-dragons-search.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/short-ants-fetch.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/six-readers-cover.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/swift-pots-teach.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/thirty-cycles-find.md

This file was deleted.

3 changes: 0 additions & 3 deletions .changeset/weak-towns-mix.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/react-umd/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @lynx-js/react-umd

## 0.117.0

### Minor Changes

- Add standalone UMD build of the ReactLynx runtime. ([#2331](https://github.com/lynx-family/lynx-stack/pull/2331))
2 changes: 1 addition & 1 deletion packages/react-umd/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/react-umd",
"version": "0.116.5",
"version": "0.117.0",
"description": "UMD build for ReactLynx",
"keywords": [
"ReactLynx",
Expand Down
34 changes: 34 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# @lynx-js/react

## 0.117.0

### Minor Changes

- feat: export `GlobalPropsProvider`, `GlobalPropsConsumer`, `useGlobalProps` and `useGlobalPropsChanged` for `__globalProps` ([#2346](https://github.com/lynx-family/lynx-stack/pull/2346))

- `GlobalPropsProvider`: A Provider component that accepts `children`. It is used to provide the `lynx.__globalProps` context.
- `GlobalPropsConsumer`: A Consumer component that accepts a function as a child. It is used to consume the `lynx.__globalProps` context.
- `useGlobalProps`: A hook that returns the `lynx.__globalProps` object. It triggers a re-render when `lynx.__globalProps` changes.
- `useGlobalPropsChanged`: A hook that accepts a callback function. The callback is invoked when `lynx.__globalProps` changes.

Note: When `globalPropsMode` is not set to `'event'` (default is `'reactive'`), these APIs will be ineffective (pass-through) and will log a warning in development mode, as updates are triggered automatically by full re-render.

- **BREAKING CHANGE**: ([#2319](https://github.com/lynx-family/lynx-stack/pull/2319))

Change preact package from `@hongzhiyuan/preact` to `@lynx-js/internal-preact`.

Upgrade preact from [f7693b72](https://github.com/preactjs/preact/commit/f7693b72ecb4a40c66e6e47f54e2d4edc374c9f0) to [55254ef7](https://github.com/preactjs/preact/commit/55254ef7021e563cc1a86fb816058964a1b6a29a), see diffs at [f7693b72...55254ef7](https://github.com/preactjs/preact/compare/f7693b72ecb4a40c66e6e47f54e2d4edc374c9f0...preactjs:preact:55254ef7021e563cc1a86fb816058964a1b6a29a?expand=1).

- feat: add `globalPropsMode` option to `PluginReactLynxOptions` ([#2346](https://github.com/lynx-family/lynx-stack/pull/2346))

- When configured to `"event"`, `updateGlobalProps` will only trigger a global event and skip the `runWithForce` flow.
- Defaults to `"reactive"`, which means `updateGlobalProps` will trigger re-render automatically.

### Patch Changes

- Add `__BACKGROUND__` guard on `onBackgroundSnapshotInstanceUpdateId` event to prevent bundling to main-thread on dev environment. ([#2332](https://github.com/lynx-family/lynx-stack/pull/2332))

- refactor: extract static string in template literal ([#2334](https://github.com/lynx-family/lynx-stack/pull/2334))

- fix: avoid crash when spread undefined ref ([#2333](https://github.com/lynx-family/lynx-stack/pull/2333))

- Avoid registering lifecycle refs for main-thread functions (MTF) that have not received an `execId` during `renderPage()` first-screen binding. ([#2320](https://github.com/lynx-family/lynx-stack/pull/2320))

## 0.116.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/react",
"version": "0.116.5",
"version": "0.117.0",
"description": "ReactLynx is a framework for developing Lynx applications with familiar React.",
"repository": {
"type": "git",
Expand Down
10 changes: 10 additions & 0 deletions packages/rspeedy/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @lynx-js/rspeedy

## 0.13.6

### Patch Changes

- Rename Web Preview label to fix URL alignment ([#2355](https://github.com/lynx-family/lynx-stack/pull/2355))

- Updated dependencies [[`799fda8`](https://github.com/lynx-family/lynx-stack/commit/799fda8bc1cc14af2fd340eb806f5cfbac3c3fe3)]:
- @lynx-js/cache-events-webpack-plugin@0.0.3
- @lynx-js/web-rsbuild-server-middleware@0.19.9

## 0.13.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/rspeedy/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/rspeedy",
"version": "0.13.5",
"version": "0.13.6",
"description": "A webpack/rspack-based frontend toolchain for Lynx",
"keywords": [
"webpack",
Expand Down
2 changes: 2 additions & 0 deletions packages/rspeedy/create-rspeedy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# create-rspeedy

## 0.13.6

## 0.13.5

## 0.13.4
Expand Down
2 changes: 1 addition & 1 deletion packages/rspeedy/create-rspeedy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-rspeedy",
"version": "0.13.5",
"version": "0.13.6",
"description": "Create Rspeedy-powered ReactLynx apps with one command",
"keywords": [
"webpack",
Expand Down
6 changes: 6 additions & 0 deletions packages/rspeedy/lynx-bundle-rslib-config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @lynx-js/lynx-bundle-rslib-config

## 0.2.3

### Patch Changes

- Fix snapshot not found error when dev with external bundle ([#2316](https://github.com/lynx-family/lynx-stack/pull/2316))

## 0.2.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/rspeedy/lynx-bundle-rslib-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/lynx-bundle-rslib-config",
"version": "0.2.2",
"version": "0.2.3",
"description": "The rsbuild config for building Lynx bundle",
"keywords": [
"Rsbuild",
Expand Down
7 changes: 7 additions & 0 deletions packages/rspeedy/plugin-external-bundle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @lynx-js/external-bundle-rsbuild-plugin

## 0.0.4

### Patch Changes

- Updated dependencies [[`ed566f0`](https://github.com/lynx-family/lynx-stack/commit/ed566f0fe6a14ffae59d21bd2c5e5dd2755f28a4)]:
- @lynx-js/externals-loading-webpack-plugin@0.0.5

## 0.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/rspeedy/plugin-external-bundle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/external-bundle-rsbuild-plugin",
"version": "0.0.3",
"version": "0.0.4",
"description": "An rsbuild plugin for loading lynx external bundles.",
"keywords": [
"rsbuild",
Expand Down
2 changes: 2 additions & 0 deletions packages/rspeedy/plugin-react-alias/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @lynx-js/react-alias-rsbuild-plugin

## 0.13.0

## 0.12.10

## 0.12.9
Expand Down
2 changes: 1 addition & 1 deletion packages/rspeedy/plugin-react-alias/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/react-alias-rsbuild-plugin",
"version": "0.12.10",
"version": "0.13.0",
"description": "A rsbuild plugin for making alias in ReactLynx",
"keywords": [
"rsbuild",
Expand Down
25 changes: 25 additions & 0 deletions packages/rspeedy/plugin-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# @lynx-js/react-rsbuild-plugin

## 0.13.0

### Minor Changes

- **BREAKING CHANGE**: ([#2319](https://github.com/lynx-family/lynx-stack/pull/2319))

Change preact package from `@hongzhiyuan/preact` to `@lynx-js/internal-preact`.

Upgrade preact from [f7693b72](https://github.com/preactjs/preact/commit/f7693b72ecb4a40c66e6e47f54e2d4edc374c9f0) to [55254ef7](https://github.com/preactjs/preact/commit/55254ef7021e563cc1a86fb816058964a1b6a29a), see diffs at [f7693b72...55254ef7](https://github.com/preactjs/preact/compare/f7693b72ecb4a40c66e6e47f54e2d4edc374c9f0...preactjs:preact:55254ef7021e563cc1a86fb816058964a1b6a29a?expand=1).

- feat: add `globalPropsMode` option to `PluginReactLynxOptions` ([#2346](https://github.com/lynx-family/lynx-stack/pull/2346))

- When configured to `"event"`, `updateGlobalProps` will only trigger a global event and skip the `runWithForce` flow.
- Defaults to `"reactive"`, which means `updateGlobalProps` will trigger re-render automatically.

### Patch Changes

- Updated dependencies [[`f1129ea`](https://github.com/lynx-family/lynx-stack/commit/f1129ea0a84096354a86bc3436c7b0efc109d768), [`27f1cff`](https://github.com/lynx-family/lynx-stack/commit/27f1cffbea99585b547aff669b8e230533987036), [`ed566f0`](https://github.com/lynx-family/lynx-stack/commit/ed566f0fe6a14ffae59d21bd2c5e5dd2755f28a4), [`402ec2b`](https://github.com/lynx-family/lynx-stack/commit/402ec2b34bce286181493e171f95e6a4257a1907)]:
- @lynx-js/react-webpack-plugin@0.8.0
- @lynx-js/react-refresh-webpack-plugin@0.3.5
- @lynx-js/react-alias-rsbuild-plugin@0.13.0
- @lynx-js/use-sync-external-store@1.5.0
- @lynx-js/template-webpack-plugin@0.10.6
- @lynx-js/css-extract-webpack-plugin@0.7.0

## 0.12.10

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/rspeedy/plugin-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/react-rsbuild-plugin",
"version": "0.12.10",
"version": "0.13.0",
"description": "A rsbuild plugin for ReactLynx",
"keywords": [
"rsbuild",
Expand Down
2 changes: 2 additions & 0 deletions packages/rspeedy/upgrade-rspeedy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# upgrade-rspeedy

## 0.13.6

## 0.13.5

## 0.13.4
Expand Down
2 changes: 1 addition & 1 deletion packages/rspeedy/upgrade-rspeedy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "upgrade-rspeedy",
"version": "0.13.5",
"version": "0.13.6",
"description": "Upgrade Rspeedy-related packages",
"keywords": [
"webpack",
Expand Down
9 changes: 9 additions & 0 deletions packages/testing-library/kitten-lynx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# @lynx-js/kitten-lynx-test-infra

## 0.1.1

### Patch Changes

- feat: support page.screenshot() ([#2364](https://github.com/lynx-family/lynx-stack/pull/2364))

- feat: initial commit ([#2272](https://github.com/lynx-family/lynx-stack/pull/2272))
2 changes: 1 addition & 1 deletion packages/testing-library/kitten-lynx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/kitten-lynx-test-infra",
"version": "0.1.0",
"version": "0.1.1",
"description": "A testing framework executing the Lynx explorer Android application",
"keywords": [
"Lynx",
Expand Down
6 changes: 6 additions & 0 deletions packages/testing-library/testing-environment/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @lynx-js/testing-environment

## 0.1.12

### Patch Changes

- Implement `__ElementAnimate` PAPI for web platform animation lifecycle ([#2329](https://github.com/lynx-family/lynx-stack/pull/2329))

## 0.1.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/testing-library/testing-environment/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lynx-js/testing-environment",
"version": "0.1.11",
"version": "0.1.12",
"description": "A subset of a Lynx environment to be useful for testing",
"keywords": [
"Lynx",
Expand Down
Loading