Skip to content
Open
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/all-crabs-smell.md

This file was deleted.

3 changes: 0 additions & 3 deletions .changeset/calm-zebras-smile.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/debug-metadata.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/easy-waves-pump.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fair-guests-visit.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fair-horses-worry.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/fair-plums-share.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/fix-duplicate-loadscript-calls.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/fix-rstest-jsx-runtime-alias.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/fix-rstest-testing-loader-compat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-touch-detail.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-wasmcontext-memory-leak.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/full-walls-behave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/metal-carrots-itch.md

This file was deleted.

3 changes: 0 additions & 3 deletions .changeset/mighty-buckets-train.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ninety-pants-tease.md

This file was deleted.

26 changes: 0 additions & 26 deletions .changeset/red-lamps-arrive.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/refactor-weakref-webcore.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sharp-icons-guess.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/short-planes-cut.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/soft-pumas-push.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/ten-lions-accept.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/tidy-buttons-tie.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-clubs-wink.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/web-core-unique-id.md

This file was deleted.

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

## 0.119.0

## 0.118.0

## 0.117.1
Expand Down
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.118.0",
"version": "0.119.0",
"description": "UMD build for ReactLynx",
"keywords": [
"ReactLynx",
Expand Down
44 changes: 44 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# @lynx-js/react

## 0.119.0

### Minor Changes

- Simplify hooks for main-thread runtime, which only can run during the first screen. ([#2441](https://github.com/lynx-family/lynx-stack/pull/2441))

### Patch Changes

- Remove stale gestures when gestures are removed ([#2297](https://github.com/lynx-family/lynx-stack/pull/2297))

- Trace refactor ([#2466](https://github.com/lynx-family/lynx-stack/pull/2466))

- Remove `ReactLynx::renderOpcodes` from the trace
- Use `ReactLynx::transferRoot` to measure the time spent transferring the root to the background thread

- refactor: set state of suspense to render fallback ([#2450](https://github.com/lynx-family/lynx-stack/pull/2450))

- Support rstest for testing library, you can use rstest with RLTL now: ([#2328](https://github.com/lynx-family/lynx-stack/pull/2328))

Create a config file `rstest.config.ts` with the following content:

```ts
import { defineConfig } from '@rstest/core';
import { withLynxConfig } from '@lynx-js/react/testing-library/rstest-config';

export default defineConfig({
extends: withLynxConfig(),
});
```

`@lynx-js/react/testing-library/rstest-config` will automatically load your `lynx.config.ts` and apply the same configuration to rstest, so you can keep your test environment consistent with your development environment.

And then use rstest as usual:

```bash
$ rstest
```

For more usage detail, see https://rstest.rs/

- Update preact version ([#2456](https://github.com/lynx-family/lynx-stack/pull/2456))

- Add `nodeIndex` to generated FiberElement creation calls and expose React transform debug metadata as `uiSourceMapRecords`. ([#2402](https://github.com/lynx-family/lynx-stack/pull/2402))

## 0.118.0

### Minor 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.118.0",
"version": "0.119.0",
"description": "ReactLynx is a framework for developing Lynx applications with familiar React.",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/rspeedy/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @lynx-js/rspeedy

## 0.14.2

### Patch Changes

- Updated dependencies []:
- @lynx-js/web-rsbuild-server-middleware@0.20.2

## 0.14.1

### 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.14.1",
"version": "0.14.2",
"description": "A webpack/rspack-based frontend toolchain for Lynx",
"keywords": [
"webpack",
Expand Down
6 changes: 6 additions & 0 deletions packages/rspeedy/create-rspeedy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# create-rspeedy

## 0.14.2

### Patch Changes

- Add Rstest ReactLynx Testing Library template. ([#2328](https://github.com/lynx-family/lynx-stack/pull/2328))

## 0.14.1

### Patch Changes
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.14.1",
"version": "0.14.2",
"description": "Create Rspeedy-powered ReactLynx apps with one command",
"keywords": [
"webpack",
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.1.1

### Patch Changes

- Updated dependencies [[`3262ca8`](https://github.com/lynx-family/lynx-stack/commit/3262ca88e93f66a1b745d4cc12b98959d20e9413)]:
- @lynx-js/externals-loading-webpack-plugin@0.1.1

## 0.1.0

### Minor 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.1.0",
"version": "0.1.1",
"description": "An rsbuild plugin for loading lynx external bundles.",
"keywords": [
"rsbuild",
Expand Down
12 changes: 12 additions & 0 deletions packages/rspeedy/plugin-react-alias/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @lynx-js/react-alias-rsbuild-plugin

## 0.16.0

### Minor Changes

- Simplify hooks for main-thread runtime, which only can run during the first screen. ([#2441](https://github.com/lynx-family/lynx-stack/pull/2441))

### Patch Changes

- fix(rstest): add global fallback aliases for `@lynx-js/react/jsx-runtime` and `@lynx-js/react/jsx-dev-runtime` ([#2464](https://github.com/lynx-family/lynx-stack/pull/2464))

`pluginReactAlias` only aliased these entries inside layer-specific rules (`issuerLayer: BACKGROUND/MAIN_THREAD`). In rstest mode there are no layers, so JSX transformed by the testing loader—which emits `import { jsx } from '@lynx-js/react/jsx-runtime'`—could not be resolved, causing a `Cannot find module '@lynx-js/react/jsx-runtime'` error. Added global (non-layer-specific) fallback aliases pointing to the background jsx-runtime.

## 0.15.0

## 0.14.0
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.15.0",
"version": "0.16.0",
"description": "A rsbuild plugin for making alias in ReactLynx",
"keywords": [
"rsbuild",
Expand Down
22 changes: 22 additions & 0 deletions packages/rspeedy/plugin-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @lynx-js/react-rsbuild-plugin

## 0.16.0

### Minor Changes

- Simplify hooks for main-thread runtime, which only can run during the first screen. ([#2441](https://github.com/lynx-family/lynx-stack/pull/2441))

### Patch Changes

- Support rstest for testing library using a dedicated testing loader. ([#2328](https://github.com/lynx-family/lynx-stack/pull/2328))

- Fix `environments.lynx.performance.profile` so it overrides the default profile behavior for the current environment. ([#2468](https://github.com/lynx-family/lynx-stack/pull/2468))

- Add `enableUiSourceMap` option to enable UI source map generation and debug-metadata asset emission. ([#2402](https://github.com/lynx-family/lynx-stack/pull/2402))

- Updated dependencies [[`a9f8d05`](https://github.com/lynx-family/lynx-stack/commit/a9f8d0548664ea32ebae2072c13f2cf6fee676eb), [`b1ad1b9`](https://github.com/lynx-family/lynx-stack/commit/b1ad1b98ed8d4635ad89fac42fe2fbb7e8e56c39), [`f6184f3`](https://github.com/lynx-family/lynx-stack/commit/f6184f32c3eb160d16ee852da4955765b5ad1398), [`f6184f3`](https://github.com/lynx-family/lynx-stack/commit/f6184f32c3eb160d16ee852da4955765b5ad1398), [`a9f8d05`](https://github.com/lynx-family/lynx-stack/commit/a9f8d0548664ea32ebae2072c13f2cf6fee676eb), [`f542d9c`](https://github.com/lynx-family/lynx-stack/commit/f542d9c98b376d340443b4683ed0c7707beeb5ad)]:
- @lynx-js/template-webpack-plugin@0.10.9
- @lynx-js/react-webpack-plugin@0.9.1
- @lynx-js/react-alias-rsbuild-plugin@0.16.0
- @lynx-js/css-extract-webpack-plugin@0.7.0
- @lynx-js/react-refresh-webpack-plugin@0.3.5
- @lynx-js/use-sync-external-store@1.5.0

## 0.15.0

### Minor 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.15.0",
"version": "0.16.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.14.2

## 0.14.1

## 0.14.0
Expand Down
Loading