This release adds support for latest SWC (compatible with @swc/core >= 1.8.0
& next >= 15.0.3
).
- 8fd8ffe: Support
swc_core
up to v6.0.0
- d04f60e: Update
node
dependencies
- b18c9d4: Fix propagating
name
when chaining methods (#25)
- cc41d2d: Update latest
swc_core
to 0.106.0 - dc89a22: Improve relative factories handling
- 48113f4: Make default factories check stricter
- The build process for the plugin now includes an additional optimization pass, reducing the size of unpacked plugin from 2.3 MB to just ~900 KB with no impact on performance.
- To improve NextJS compatibility, a list of supported versions was expanded. The
swc1.4.0
label has been reinstated, and two new labels were addedswc1.6.0
andswc1.7.0
. - We added an Additional documentation to support NextJS users, sharing details regarding setup and supported labels/versions.
- 0cbf8b8: Add
[email protected]
plugin build & return@0.89.x
build - 8f2f9e5: Add optimization pass to build script (
wasm-opt
)
- 48b7217: Remove
@effector/reflect
from default factories - d62f6d0: Update other usages of target to
wasip1
- f500a14: Remove
name
propagating through nested factories calls
swc1.4.0
tag (which is currently also latest) has been combined with swc1.3.106
.
- If you were using a newer
swc1.4.0
tag to install the plugin, you can either uselatest
orswc1.3.106
instead - If you were using an older
swc1.3.106
tag, there're no changes (you'll be using an updatedswc_core
)
swc1.4.0
in NPM will continue to point to v0.3.0
release without changes.
- 9c29f33: Update dependencies & keep up with SWC updates
- 65ac53b: Bump
ahash
to0.8.11
- 3378bab: Fix providing
forceScope
for nestedreflect
usage
- 6519220: Add a new
transformLegacyDomainMethods
option to configure transformingDomain
's unit creators
- ec44187: Bump dependencies & freeze
swc_core
version
- 8941803: Fix "AST schema version is not compatible with host's" in
[email protected]
(issue #10)
Added support for [email protected]
and @swc/[email protected]
.
- 45f4160: Enable support for
[email protected]
and@swc/[email protected]
This release brings two key improvements to forceScope
:
- all hooks from
effector-react
andeffector-solid
are now suppoted: PR #4. - React components created with
@effector/reflect
are now supported as well, with the help ofuseUnitConfig
(available in@effector/reflect
sincev9.0.0
): PR #6.
Additionally, the package size has been reduced from 4.04MB to 2.6MB.
- d9f814b: Extend
forceScope
support touseEvent
,useStore
,useStoreMap
,useGate
- 9845947: Improve plugin memory management
- 5038c5d:
forceScope
integration with@effector/reflect
- cce88df: Strip debug symbols in released binary
- 701512b:
forceScope
: optimizeuseStoreMap
handling - 97688ae: Remove explicit parser dependency & simplify build
- 883c5ea: Rework internal constants for factories & imports
- 4b3c28c: Fix factory import inserted before "use client"