Open
Conversation
66d6952 to
8730590
Compare
8730590 to
faa418b
Compare
faa418b to
aa38f9b
Compare
aa38f9b to
b3d0c23
Compare
b3d0c23 to
e209e21
Compare
e209e21 to
c089ff1
Compare
c089ff1 to
ad94051
Compare
ad94051 to
181ee5f
Compare
181ee5f to
628fc14
Compare
628fc14 to
6eae0be
Compare
6eae0be to
9422989
Compare
9422989 to
256c025
Compare
256c025 to
0e7e1fd
Compare
0e7e1fd to
b03f2d3
Compare
b03f2d3 to
17b5e00
Compare
17b5e00 to
2c5e98e
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/react@0.118.0
Minor Changes
refactor: create SnapshotInstance in renderToString directly (#2393)
Add
removeCallfor shake function calls. Its initial default value matches the hooks that were previously inremoveCallParams, andremoveCallParamsnow defaults to empty. (#2423)removeCallremoves matched runtime hook calls entirely, replacing them withundefinedin expression positions and dropping them in statement positions.removeCallParamskeeps the existing behavior of preserving the call while stripping its arguments.Patch Changes
Improve
shake.removeCallandshake.removeCallParamsin the React transform so they also match aliased runtime imports such asimport { useEffect as myUseEffect } ...and member calls such asReactLynxRuntime.useEffect(...)from default or namespace runtime imports. (#2437)Create element without ref for suspense in main thread. (#2426)
refactor: make
useEffect,useLayoutEffectanduseImperativeHandleno-op on the main thread (#2424)@lynx-js/react-rsbuild-plugin@0.15.0
Minor Changes
Add
removeCallfor shake function calls. Its initial default value matches the hooks that were previously inremoveCallParams, andremoveCallParamsnow defaults to empty. (#2423)removeCallremoves matched runtime hook calls entirely, replacing them withundefinedin expression positions and dropping them in statement positions.removeCallParamskeeps the existing behavior of preserving the call while stripping its arguments.Patch Changes
Support
@lynx-js/react0.118.0. (#2432)Updated dependencies [
1f4f117]:@lynx-js/react-webpack-plugin@0.9.0
Minor Changes
Add
removeCallfor shake function calls. Its initial default value matches the hooks that were previously inremoveCallParams, andremoveCallParamsnow defaults to empty. (#2423)removeCallremoves matched runtime hook calls entirely, replacing them withundefinedin expression positions and dropping them in statement positions.removeCallParamskeeps the existing behavior of preserving the call while stripping its arguments.@lynx-js/rspeedy@0.14.1
Patch Changes
create-rspeedy@0.14.1
Patch Changes
@lynx-js/lynx-bundle-rslib-config@0.3.1
Patch Changes
156d64d,59d11b2]:@lynx-js/config-rsbuild-plugin@0.0.2
Patch Changes
@lynx-js/rspeedy0.14.0. (#2431)@lynx-js/css-serializer@0.1.5
Patch Changes
feat: add support for @media, @supports, and @layer at-rules (#2330)
Add support for additional CSS at-rules in the CSS serializer:
@media- for media queries@supports- for feature queries@layer- for cascade layers (both named and anonymous)The parser now handles these at-rules with proper recursive parsing support for nested at-rules.
feat: support custom property declaration in keyframe rule (#2429)
@lynx-js/web-core@0.20.1
Patch Changes
Added support for the
global-bindevent handling modifier in the web platform runtime. (#2438)This mechanism enables seamless cross-element event communication without requiring a formal DOM tree relationship, allowing decoupled elements to observe and respond to standard events occurring anywhere within the component tree.
Usage
Global bindings allow an observer element to react to events triggered on another target element.
1. Define the Global Subscription
Attach
global-bindTap(or any equivalent standard event alias) to your observer element:2. Trigger the Event anywhere
The event will be triggered via normal user interaction (such as
tap) on any other constituent elements:feat(web-core): add support for configurable rem unit transform (#2403)
Description: Added a new configuration option
transformREM(also exposed astransform_remon the Rust layer) to the Web Core renderer. When enabled, it recursively converts staticremunit values in your styles into dynamic CSS custom properties (calc(VALUE * var(--rem-unit))) during template decoding and evaluation. This enables developers to implement responsive font scaling and layout sizing dynamically on the client side simply by modifying the root CSS variable--rem-unit.Usage:
You can enable this feature when working with
LynxViewby settingtransformREMtotrue, or directly as an HTML attributetransform-rem:With this enabled, a CSS declaration like
font-size: 1.5rem;is transparently evaluated asfont-size: calc(1.5 * var(--rem-unit));by the runtime engine.Updated dependencies [
156d64d,59d11b2]:@lynx-js/template-webpack-plugin@0.10.8
Patch Changes
156d64d,5151fcf,b630df2,59d11b2]:@lynx-js/react-umd@0.118.0
@lynx-js/react-alias-rsbuild-plugin@0.15.0
upgrade-rspeedy@0.14.1
@lynx-js/web-rsbuild-server-middleware@0.20.1
@lynx-js/web-worker-rpc@0.20.1