Conversation
5bc7ff0 to
aa54d57
Compare
aa54d57 to
d344be9
Compare
d344be9 to
b22e0cf
Compare
b22e0cf to
0fbf344
Compare
0fbf344 to
1864c33
Compare
1864c33 to
e9efdda
Compare
e9efdda to
2ef2ab6
Compare
2ef2ab6 to
66f80ac
Compare
66f80ac to
3d1885e
Compare
3d1885e to
2a7b5f6
Compare
2a7b5f6 to
9798810
Compare
f21b537 to
536c73e
Compare
536c73e to
2df484a
Compare
2df484a to
1410408
Compare
1410408 to
f1e21ab
Compare
f1e21ab to
b4306db
Compare
b4306db to
1eaa9b6
Compare
1eaa9b6 to
dfca560
Compare
dfca560 to
c702cbe
Compare
c702cbe to
40c55a3
Compare
40c55a3 to
0af4310
Compare
0af4310 to
cbf85ba
Compare
cbf85ba to
da0abb6
Compare
da0abb6 to
73f0092
Compare
73f0092 to
06e2be3
Compare
06e2be3 to
65182fd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Minify.mainThreadOptionsandMinify.backgroundOptionsfor thread-specific minifier. (#2336)Patch Changes
Bump Rsbuild v1.7.4 with Rspack v1.7.10. (#2384)
Updated dependencies []:
@lynx-js/lynx-bundle-rslib-config@0.3.0
Minor Changes
BREAKING CHANGE: (#2370)
Simplify the API for external bundle builds by
externalsPresetsandexternalsPresetDefinitions.Patch Changes
output.minify.jsOptionswhen users setoutput.minify: trueindefineExternalBundleRslibConfig, 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
externalsPresetsandexternalsPresetDefinitions.Patch Changes
7b7a0c6]:@lynx-js/react-rsbuild-plugin@0.14.0
Minor Changes
feat: support
optimizeBundleSizeoption to remove unused code for main-thread and background. (#2336)optimizeBundleSizeistrueoroptimizeBundleSize.backgroundistrue,lynx.registerDataProcessorscalls will be marked as pure for the background thread output.optimizeBundleSizeistrueoroptimizeBundleSize.mainThreadistrue,NativeModules.callandlynx.getJSModulecalls will be marked as pure for the main-thread output.Patch Changes
refactor: remove
modifyWebpackChainsince Rsbuild 2.0 dropped webpack support (#2397)Updated dependencies [
9193711]:@lynx-js/web-core@0.20.0
Minor Changes
This is a breaking change (#2322)
Architectural Upgrade:
web-core-wasmreplacesweb-coreThis release marks a major architectural upgrade for the web platform. The experimental, WASM-powered engine formerly known as
web-core-wasmhas been fully stabilized and merged into the main branch, completely replacing the previous pure JS/TS basedweb-coreimplementation. This consolidation massively improves execution performance and aligns the API boundaries of the Web platform directly with other native Lynx implementations.🎉 Added Features
__QuerySelectorand__InvokeUIMethodmethods.nonceattribute to the iframe'ssrcdocscript execution, strengthening Content Security Policy (CSP) compliance.<lynx-view>Parameter Enhancements:browser-configattribute and property to<lynx-view>. Development environments can now supply aBrowserConfigobject (e.g., configuringpixelRatio,pixelWidth,pixelHeight) allowing thesystemInfopayload 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:
lazy usage).@keyframeanimation rules.Ecosystem Migration: Updated testing and ecosystem applications (such as
web-explorerandshell-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):After (New
web-coreunified architecture):(Applications can now drop
@lynx-js/web-elementsentirely from theirpackage.jsondependencies).Dependency & Boot Sequence Improvements: Re-architected module loading pathways. Promoted
wasm-feature-detectdirectly to a core dependency, and hardened the web worker count initialization assertions.Initialization Optimizations: Converted
SERVER_IN_SHADOW_CSSinitialization bounds to use compilation-time constant expressions for better optimization.🗑️ Deleted Features & Structural Deprecations
<lynx-view>Parameter Removals:thread-strategyproperty 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.overrideLynxTagToHTMLTagMapproperty/attribute. HTML tag overriding mechanism has been deprecated in the new engine.customTemplateLoaderproperty handler from<lynx-view>.inject-head-linksproperty and attribute (injectHeadLinks), which previously was used to automatically inject<link rel="stylesheet">tags from the document head into thelynx-viewshadow root.@lynx-js/web-corehandles 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
rpxunit (#2377)This is a breaking change
The following Styles has been added to
web-coreCheck MDN for the details about these styles:
how it works?
For the following code
it will be transformed to
Therefore you could use any
<length>value to replace the unit, for example:By default, the --rpx-unit value is
1cqwAdded support for transform
vwandvhunit (#2377)Add
transform-vwandtransform-vhattributes and properties on<lynx-view>.For the following code
If the
transform-vwis enabled<lynx-view transform-vw="true">, it will be transformed toTherefore you could use any
<length>value to replace the unit, for example:Patch Changes
feat(web-core): add
is_bubbleparameter tocommon_event_handlerto properly handle non-bubbling events likewindow.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
processEvalResultis absent duringqueryComponentexecution (#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_vecAPI bypassed the CSS tokenizer, preventing dimension units likerpxorppxfrom being successfully transformed intocalcstrings 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
ppxunit support for CSS, transforming tocalc(... * var(--ppx-unit))directly. (#2381)Updated dependencies []:
@lynx-js/externals-loading-webpack-plugin@0.1.0
Minor Changes
BREAKING CHANGE: (#2370)
Simplify the API for external bundle builds by
externalsPresetsandexternalsPresetDefinitions.@lynx-js/devtool-connector@0.1.1
Patch Changes
@lynx-js/devtool-mcp-server@0.5.1
Patch Changes
95fff27]:@lynx-js/react@0.117.1
Patch Changes
setPropertyimplementation (#2367)@lynx-js/react-umd@0.117.1
Patch Changes
entryexport to@lynx-js/react-umdfor 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
95fff27]:@lynx-js/template-webpack-plugin@0.10.7
Patch Changes
use path.posix.format instead of path.format to ensure consistent path separators across platforms (#2359)
Updated dependencies [
75960cd,518c310,863469e,dc18c5c,7d242f3,62bebcf,75960cd,182f568,1aa051d,6b46f7e,fcda36a,182f568,138f727,138f727]:@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