chore(deps): update lynx #89
Open
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 contains the following updates:
0.3.6
->0.4.0
0.109.0
->0.111.0
0.10.1
->0.10.6
0.9.7
->0.10.0
Release Notes
lynx-family/lynx-stack (@lynx-js/qrcode-rsbuild-plugin)
v0.4.0
Compare Source
Minor Changes
lynx-family/lynx-stack (@lynx-js/react)
v0.111.0
Compare Source
Minor Changes
Allow some
<list-item/>
s to be deferred and rendered in the background thread. (#204)Use the following syntax:
You should render your heavyweight components with the
defer
attribute to avoid blocking the main thread.Patch Changes
Add missing alias of
@lynx-js/react
andpreact
in testing library, it will fix theFailed to resolve import "@​lynx-js/react/internal"
error in node_modules. (#1182)Allow any types of
dataProcessors
inlynx.registerDataProcessors
. (#1200)Make
loadLazyBundle
being able to render the content on the first screen of the background thread. (#1212)Fixed: An issue where the
lynxViewDidUpdate
callback did not trigger when data was updated from native. (#1171)Notice:
updateData()
, thelynxViewDidUpdate
callback will still be triggered.lynxViewDidUpdate
callback will be triggered per render cycle. Consequently, if multipleupdateData()
calls are made within a single cycle but the data updates are batched, the number oflynxViewDidUpdate
callbacks triggered may be less than the number ofupdateData()
calls.Supports
act
in testing library. (#1182)v0.110.1
Compare Source
Patch Changes
<list/>
. (#1144)v0.110.0
Compare Source
Minor Changes
Fixed closure variable capture issue in effect hooks to prevent stale values and ensured proper execution order between refs, effects, and event handlers. (#770)
Breaking Changes:
ref
,useEffect()
callback,componentDidMount
,componentDidUpdate
,componentWillUnmount
and the callback ofsetState
have been moved forward. These effects will now execute before hydration is complete, rather than waiting for the main thread update to complete.<list />
,ref
callbacks will now be triggered during background thread rendering, regardless of component visibility. If your code depends on component visibility timing, usemain-thread:ref
instead of regularref
.Patch Changes
Fixed two memory leaks: (#1071)
When JSX is rendered on the main thread and removed, FiberElement can still be referenced by
__root.__jsx
throughprops.children
;When the SnapshotInstance tree is removed from the root node, its child nodes form a cycle reference because the
__previousSibling
and__nextSibling
properties point to each other, thus causing a FiberElement leak.Optimize the error message when snapshots cannot be found in the main thread. (#1083)
Fix a problem causing
MainThreadRef
s to not be updated correctly during hydration when they are set tomain-thread:ref
s. (#1001)Add snapshot id report when throwing
snapshotPatchApply failed: ctx not found
error. (#1107)Fix a bug in ReactLynx Testing Library that rendered snapshot of inline style was normalized incorrectly (eg.
flex:1
was normalized toflex: 1 1 0%;
incorrectly). (#1040)v0.109.2
Compare Source
Patch Changes
Support for locating errors in the source code directly on the device when exceptions occur when using MTS. (#1019)
This requires Lynx engine v3.4 or later.
Fix the "main-thread.js exception: ReferenceError:
__webpack_require__
is not defined" error in HMR. (#985)This error occurred when setting
output.iife: true
, which is the default value in@lynx-js/rspeedy
v0.9.8.v0.109.1
Compare Source
Patch Changes
Support the 'main-thread' directive as an alias for 'main thread'. (#970)
Reduce calls to
__AddInlineStyle
by pass non-literal object directly to__SetInlineStyles
. (#941)lynx-family/lynx-stack (@lynx-js/react-rsbuild-plugin)
v0.10.6
Compare Source
Patch Changes
Be compat with
@lynx-js/react
v0.111.0 (#204)Updated dependencies [
99a3557
]:v0.10.5
Compare Source
Patch Changes
Avoid IIFE in
main-thread.js
to resolve memory leak when using<list />
. (#1176)Enable fine-grained control for
output.inlineScripts
(#883)Updated dependencies [
51cb73d
,69fb042
,a7e8b5b
]:v0.10.4
Compare Source
Patch Changes
Support
@lynx-js/react
v0.110.0. (#770)Updated dependencies [
f84a1cc
,0d151db
,0d151db
,51676ed
,0d151db
,a43ae05
,0a0ef40
,9b61210
]:v0.10.3
Compare Source
Patch Changes
Better zustand support by creating an alias for
use-sync-external-store
. (#980)See lynx-family/lynx-stack#893 for more details.
Updated dependencies [
acc0d80
]:v0.10.2
Compare Source
Patch Changes
Fix lazy bundle build failed on Rspeedy v0.9.8 (with
output.iife: true
). (#972)Updated dependencies [
81361f3
,7097f52
,43cd520
]:lynx-family/lynx-stack (@lynx-js/rspeedy)
v0.10.0
Compare Source
Minor Changes
Bump Rsbuild v1.4.3 with Rspack v1.4.2. (#1204)
See Announcing Rspack 1.4 for more details.
Deprecated
output.distPath.intermediate
(#1154)This option is never read and will be removed in the future version.
v0.9.11
Compare Source
Patch Changes
Enable fine-grained control for
output.inlineScripts
(#883)docs: remove chunks: 'all' in comments (#1168)
v0.9.10
Compare Source
v0.9.9
Compare Source
Patch Changes
Set
optimization.emitOnErrors
whenDEBUG
is enabled. (#1000)This is useful for debugging PrimJS Syntax error.
v0.9.8
Compare Source
Patch Changes
Fix the "SyntaxError: invalid redefinition of parameter name" error. (#949)
Remove the default
output.iife: false
from Rspack.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.