Skip to content

chore: Release 2026-04-03 09:43:07#2368

Merged
colinaaa merged 1 commit intomainfrom
changeset-release/main
Apr 6, 2026
Merged

chore: Release 2026-04-03 09:43:07#2368
colinaaa merged 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Mar 24, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@lynx-js/rspeedy@0.14.0

Minor Changes

  • feat: add Minify.mainThreadOptions and Minify.backgroundOptions for thread-specific minifier. (#2336)

Patch Changes

  • Bump Rsbuild v1.7.4 with Rspack v1.7.10. (#2384)

  • Updated dependencies []:

    • @lynx-js/web-rsbuild-server-middleware@0.20.0

@lynx-js/lynx-bundle-rslib-config@0.3.0

Minor Changes

  • BREAKING CHANGE: (#2370)

    Simplify the API for external bundle builds by externalsPresets and externalsPresetDefinitions.

Patch Changes

  • Preserve the default external-bundle output.minify.jsOptions when users set output.minify: true in defineExternalBundleRslibConfig, so required minifier options are not lost. (#2390)

@lynx-js/external-bundle-rsbuild-plugin@0.1.0

Minor Changes

  • BREAKING CHANGE: (#2370)

    Simplify the API for external bundle builds by externalsPresets and externalsPresetDefinitions.

Patch Changes

  • Updated dependencies [7b7a0c6]:
    • @lynx-js/externals-loading-webpack-plugin@0.1.0

@lynx-js/react-rsbuild-plugin@0.14.0

Minor Changes

  • feat: support optimizeBundleSize option to remove unused code for main-thread and background. (#2336)

    • If optimizeBundleSize is true or optimizeBundleSize.background is true, lynx.registerDataProcessors calls will be marked as pure for the background thread output.
    • If optimizeBundleSize is true or optimizeBundleSize.mainThread is true, NativeModules.call and lynx.getJSModule calls will be marked as pure for the main-thread output.

Patch Changes

  • refactor: remove modifyWebpackChain since Rsbuild 2.0 dropped webpack support (#2397)

  • Updated dependencies [9193711]:

    • @lynx-js/template-webpack-plugin@0.10.7
    • @lynx-js/css-extract-webpack-plugin@0.7.0
    • @lynx-js/react-webpack-plugin@0.8.0
    • @lynx-js/react-alias-rsbuild-plugin@0.14.0
    • @lynx-js/use-sync-external-store@1.5.0
    • @lynx-js/react-refresh-webpack-plugin@0.3.5

@lynx-js/web-core@0.20.0

Minor Changes

  • This is a breaking change (#2322)

    Architectural Upgrade: web-core-wasm replaces web-core

    This release marks a major architectural upgrade for the web platform. The experimental, WASM-powered engine formerly known as web-core-wasm has been fully stabilized and merged into the main branch, completely replacing the previous pure JS/TS based web-core implementation. This consolidation massively improves execution performance and aligns the API boundaries of the Web platform directly with other native Lynx implementations.

    🎉 Added Features

    • Core API Enhancements: Successfully exposed and supported __QuerySelector and __InvokeUIMethod methods.
    • Security & CSP Compliance: Added a nonce attribute to the iframe's srcdoc script execution, strengthening Content Security Policy (CSP) compliance.
    • <lynx-view> Parameter Enhancements:
      • Added the browser-config attribute and property to <lynx-view>. Development environments can now supply a BrowserConfig object (e.g., configuring pixelRatio, pixelWidth, pixelHeight) allowing the systemInfo payload to be dynamically configured at the instance level.

    🔄 Changed Features

    • Legacy JSON Backwards Compatibility: Delivered comprehensive fixes and optimizations to deeply support legacy JSON output templates:

      • Added support for lazy loading execution mode (lazy usage).
      • Implemented the correct decoding and handling of @keyframe animation rules.
      • Rectified rule scoping matching including scoped CSS, root selectors, and type selectors.
    • Ecosystem Migration: Updated testing and ecosystem applications (such as web-explorer and shell-project) to migrate away from obsolete fragmented dependencies. The new WASM architecture seamlessly integrates Element APIs and CSS directly inside the core client module, requiring a much simpler initialization footprint.

      Before (Legacy web-core + web-elements):

      // Required multiple imports to assemble the environment
      import "@lynx-js/web-core/client";
      import type { LynxViewElement as LynxView } from "@lynx-js/web-core";
      
      // Had to manually import separate elements and their CSS
      import "@lynx-js/web-elements/index.css";
      import "@lynx-js/web-elements/all";
      
      const lynxView = document.createElement("lynx-view") as LynxView;
      // ...

      After (New web-core unified architecture):

      // The new engine natively registers Web Components and injects fundamental CSS
      import "@lynx-js/web-core/client";
      import type { LynxViewElement as LynxView } from "@lynx-js/web-core/client";
      
      const lynxView = document.createElement("lynx-view") as LynxView;
      // ...

      (Applications can now drop @lynx-js/web-elements entirely from their package.json dependencies).

    • Dependency & Boot Sequence Improvements: Re-architected module loading pathways. Promoted wasm-feature-detect directly to a core dependency, and hardened the web worker count initialization assertions.

    • Initialization Optimizations: Converted SERVER_IN_SHADOW_CSS initialization bounds to use compilation-time constant expressions for better optimization.

    🗑️ Deleted Features & Structural Deprecations

    • <lynx-view> Parameter Removals:
      • Removed the thread-strategy property and attribute. Historically, this permitted consumers to toggle between 'multi-thread' and 'all-on-ui' modes depending on how they wanted the background logic to be executed. The WASM-driven architecture enforces a consolidated concurrency model, deprecating this <lynx-view> attribute entirely.
      • Removed the overrideLynxTagToHTMLTagMap property/attribute. HTML tag overriding mechanism has been deprecated in the new engine.
      • Removed the customTemplateLoader property handler from <lynx-view>.
      • Removed the inject-head-links property and attribute (injectHeadLinks), which previously was used to automatically inject <link rel="stylesheet"> tags from the document head into the lynx-view shadow root.
    • Fragmented Packages Removal: The new cohesive WASM architecture native to @lynx-js/web-core handles cross-thread communication, worker boundaries, and rendering loops uniformly. Consequently, multiple obsolete packages have been completely removed from the workspace:
      • @lynx-js/web-mainthread-apis
      • @lynx-js/web-worker-runtime
      • @lynx-js/web-core-server
      • @lynx-js/web-core-wasm-e2e (transitioned into standard test suites)
  • Added support for rpx unit (#2377)

    This is a breaking change

    The following Styles has been added to web-core

    lynx-view {
      width: 100%;
      container-name: lynx-view;
      container-type: inline-size;
      --rpx-unit: 1cqw;
    }

    Check MDN for the details about these styles:

    how it works?

    For the following code

    <view style="height:1rpx"></view>

    it will be transformed to

    <view style="height:calc(1 * var(--rpx-unit))"></view>

    Therefore you could use any <length> value to replace the unit, for example:

    <lynx-view style="--rpx-unit:1px"></lynx-view>

    By default, the --rpx-unit value is 1cqw

  • Added support for transform vw and vh unit (#2377)

    Add transform-vw and transform-vh attributes and properties on <lynx-view>.

    For the following code

    <view style="height:1vw"></view>

    If the transform-vw is enabled <lynx-view transform-vw="true">, it will be transformed to

    <view style="height:calc(1 * var(--vw-unit))"></view>

    Therefore you could use any <length> value to replace the unit, for example:

    <lynx-view style="--vw-unit:1px"></lynx-view>

Patch Changes

  • feat(web-core): add is_bubble parameter to common_event_handler to properly handle non-bubbling events like window.Event('click', { bubbles: false }). (#2399)

  • chore: update readme (#2380)

  • fix: the output format should be module (#2388)

  • opt: use opt-level 3 to compile wasm (#2371)

  • fix(web-core): avoid partial bundle loading and double fetching when fetchBundle is called concurrently for the same url. (#2386)

  • fix(web-core): fallback to the original export chunk when processEvalResult is absent during queryComponent execution (#2399)

  • fix: tokenizing inline style values correctly to support rpx and ppx unit conversion (#2381)

    This fixes an issue where the transform_inline_style_key_value_vec API bypassed the CSS tokenizer, preventing dimension units like rpx or ppx from being successfully transformed into calc strings when specified via inline styles.

  • feat: add mts lynx.querySelectorAll API (#2382)

  • fix: mts in lazy component (#2375)

  • fix: enableJSDataProcessor not work (#2372)

  • feat: add ppx unit support for CSS, transforming to calc(... * var(--ppx-unit)) directly. (#2381)

  • Updated dependencies []:

    • @lynx-js/web-worker-rpc@0.20.0

@lynx-js/externals-loading-webpack-plugin@0.1.0

Minor Changes

  • BREAKING CHANGE: (#2370)

    Simplify the API for external bundle builds by externalsPresets and externalsPresetDefinitions.

@lynx-js/devtool-connector@0.1.1

Patch Changes

  • fix: align GlobalKeys with Android DevToolSettings keys and filter global switch responses (#2392)

@lynx-js/devtool-mcp-server@0.5.1

Patch Changes

  • Updated dependencies [95fff27]:
    • @lynx-js/devtool-connector@0.1.1

@lynx-js/react@0.117.1

Patch Changes

  • Update preact version to simplify setProperty implementation (#2367)

@lynx-js/react-umd@0.117.1

Patch Changes

  • Add a new entry export to @lynx-js/react-umd for reuse by wrapper libraries of @lynx-js/react. (#2370)

create-rspeedy@0.14.0

Patch Changes

  • Add optional Lynx DevTool skill. (#2421)

  • move Vitest integration to create-rstack extraTools and merge the Vitest templates into a single incremental overlay (#2408)

@lynx-js/kitten-lynx-test-infra@0.1.2

Patch Changes

  • Updated dependencies [95fff27]:
    • @lynx-js/devtool-connector@0.1.1

@lynx-js/template-webpack-plugin@0.10.7

Patch Changes

@lynx-js/react-alias-rsbuild-plugin@0.14.0

upgrade-rspeedy@0.14.0

@lynx-js/web-rsbuild-server-middleware@0.20.0

@lynx-js/web-worker-rpc@0.20.0

@github-actions github-actions bot changed the title chore: Release 2026-03-24 04:58:40 chore: Release 2026-03-24 07:59:35 Mar 24, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 5bc7ff0 to aa54d57 Compare March 24, 2026 07:59
@github-actions github-actions bot changed the title chore: Release 2026-03-24 07:59:35 chore: Release 2026-03-25 03:54:15 Mar 25, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from aa54d57 to d344be9 Compare March 25, 2026 03:54
@github-actions github-actions bot changed the title chore: Release 2026-03-25 03:54:15 chore: Release 2026-03-25 06:07:36 Mar 25, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from d344be9 to b22e0cf Compare March 25, 2026 06:07
@github-actions github-actions bot changed the title chore: Release 2026-03-25 06:07:36 chore: Release 2026-03-25 06:19:26 Mar 25, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from b22e0cf to 0fbf344 Compare March 25, 2026 06:19
@github-actions github-actions bot changed the title chore: Release 2026-03-25 06:19:26 chore: Release 2026-03-25 06:20:24 Mar 25, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 0fbf344 to 1864c33 Compare March 25, 2026 06:20
@github-actions github-actions bot changed the title chore: Release 2026-03-25 06:20:24 chore: Release 2026-03-25 07:04:36 Mar 25, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 1864c33 to e9efdda Compare March 25, 2026 07:04
@github-actions github-actions bot requested review from HuJean, Yradex and hzy as code owners March 25, 2026 07:04
@github-actions github-actions bot changed the title chore: Release 2026-03-25 07:04:36 chore: Release 2026-03-26 03:42:29 Mar 26, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from e9efdda to 2ef2ab6 Compare March 26, 2026 03:42
@github-actions github-actions bot changed the title chore: Release 2026-03-26 03:42:29 chore: Release 2026-03-26 06:11:20 Mar 26, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 2ef2ab6 to 66f80ac Compare March 26, 2026 06:11
@github-actions github-actions bot changed the title chore: Release 2026-03-26 06:11:20 chore: Release 2026-03-26 06:27:14 Mar 26, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 66f80ac to 3d1885e Compare March 26, 2026 06:27
@github-actions github-actions bot changed the title chore: Release 2026-03-26 06:27:14 chore: Release 2026-03-26 06:30:44 Mar 26, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 3d1885e to 2a7b5f6 Compare March 26, 2026 06:30
@github-actions github-actions bot changed the title chore: Release 2026-03-26 06:30:44 chore: Release 2026-03-26 07:03:32 Mar 26, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 2a7b5f6 to 9798810 Compare March 26, 2026 07:03
@github-actions github-actions bot force-pushed the changeset-release/main branch from f21b537 to 536c73e Compare March 27, 2026 09:34
@github-actions github-actions bot changed the title chore: Release 2026-03-27 09:34:27 chore: Release 2026-03-27 09:52:24 Mar 27, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 536c73e to 2df484a Compare March 27, 2026 09:52
@github-actions github-actions bot changed the title chore: Release 2026-03-27 09:52:24 chore: Release 2026-03-27 13:45:43 Mar 27, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 2df484a to 1410408 Compare March 27, 2026 13:45
@github-actions github-actions bot changed the title chore: Release 2026-03-27 13:45:43 chore: Release 2026-03-27 14:24:49 Mar 27, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 1410408 to f1e21ab Compare March 27, 2026 14:25
@github-actions github-actions bot changed the title chore: Release 2026-03-27 14:24:49 chore: Release 2026-03-27 14:25:57 Mar 27, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from f1e21ab to b4306db Compare March 27, 2026 14:26
@github-actions github-actions bot changed the title chore: Release 2026-03-27 14:25:57 chore: Release 2026-03-28 02:25:36 Mar 28, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from b4306db to 1eaa9b6 Compare March 28, 2026 02:25
@github-actions github-actions bot changed the title chore: Release 2026-03-28 02:25:36 chore: Release 2026-03-28 04:00:18 Mar 28, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 1eaa9b6 to dfca560 Compare March 28, 2026 04:00
@github-actions github-actions bot changed the title chore: Release 2026-03-28 04:00:18 chore: Release 2026-03-28 04:01:49 Mar 28, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from dfca560 to c702cbe Compare March 28, 2026 04:02
@github-actions github-actions bot changed the title chore: Release 2026-03-28 04:01:49 chore: Release 2026-03-28 04:11:54 Mar 28, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from c702cbe to 40c55a3 Compare March 28, 2026 04:12
@github-actions github-actions bot changed the title chore: Release 2026-03-28 04:11:54 chore: Release 2026-03-28 07:09:40 Mar 28, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 40c55a3 to 0af4310 Compare March 28, 2026 07:09
@github-actions github-actions bot changed the title chore: Release 2026-03-28 07:09:40 chore: Release 2026-03-28 12:32:36 Mar 28, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 0af4310 to cbf85ba Compare March 28, 2026 12:32
@github-actions github-actions bot changed the title chore: Release 2026-03-28 12:32:36 chore: Release 2026-03-29 09:42:53 Mar 29, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from cbf85ba to da0abb6 Compare March 29, 2026 09:43
@github-actions github-actions bot changed the title chore: Release 2026-03-29 09:42:53 chore: Release 2026-03-30 12:18:15 Mar 30, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from da0abb6 to 73f0092 Compare March 30, 2026 12:18
@github-actions github-actions bot changed the title chore: Release 2026-03-30 12:18:15 chore: Release 2026-03-30 12:19:21 Mar 30, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 73f0092 to 06e2be3 Compare March 30, 2026 12:19
@github-actions github-actions bot changed the title chore: Release 2026-03-30 12:19:21 chore: Release 2026-03-30 12:32:12 Mar 30, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 06e2be3 to 65182fd Compare March 30, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant