unstale

npm / expo-modules-macros

expo-modules-macros

What changed in expo-modules-macros 0.1 to 0.39, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-29.

25 breaking1 deprecations22 new APIs and options1 performance35 behavior and defaults17 tooling38 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

expo-modules-macros 0.392 changes

Breaking changes 1

  • Free-form value props in @ViewProps are decoded, changing how developers can use those props.

    0.39.0release notes

New APIs and options 1

expo-modules-macros 0.382 changes

Breaking changes 1

  • The compile check now treats view event payloads as sending.

    0.38.1release notes

New APIs and options 1

  • @ExpoView can now be applied to SwiftUI view structs.

    0.38.0release notes

expo-modules-macros 0.374 changes

Breaking changes 3

  • Renames scan-modules to scan-packages.

    0.37.0release notes

  • Event props are bound with _bindEvents(to:).

    0.37.0release notes

  • Events named like bubbling React Native events are rejected.

    0.37.0release notes

Tooling 1

  • More macro errors include Fix-Its to help developers correct the reported issues.

    0.37.0release notes

expo-modules-macros 0.364 changes

New APIs and options 1

  • Pass a string argument to override the view name.

    0.36.0release notes

Behavior and default changes 3

  • @JS members are bound under symbols when using symbol:.

    0.36.0release notes

  • JavaScript names are read from the value of their string literal.

    0.36.0release notes

  • The runtime is passed to Void @JS bindings that use it.

    0.36.0release notes

expo-modules-macros 0.345 changes

New APIs and options 1

  • @JS functions and initializers can take the JavaScript runtime.

    0.34.0release notes

Behavior and default changes 1

  • The @ViewProps PropName enum is marked @frozen.

    0.34.0release notes

Fixes and other changes 3

  • propSet(for:) is empty for a @ViewProps struct without value props.

    0.34.0release notes

  • A removed prop is reset to its initial value.

    0.34.0release notes

  • Generated members and conformance are marked nonisolated.

    0.34.0release notes

expo-modules-macros 0.335 changes

Breaking changes 1

  • @ExpoView now requires ExpoNativeView and adds the AnyNativeView conformance.

    0.33.0release notes

Tooling 2

Fixes and other changes 2

  • The macro target is no longer included in the ExpoModulesMacrosPlugin product, fixing iOS builds in Xcode.

    0.33.0release notes

  • A parenthesized optional type is now treated as optional.

    0.33.0release notes

expo-modules-macros 0.326 changes

Breaking changes 3

  • More mistakes are diagnosed, including generic, static and misplaced members and reserved JavaScript names.

    0.32.0release notes

  • A @SharedObject without a superclass is diagnosed.

    0.32.0release notes

  • Generates _decode and init() and requires defaults in @ViewProps.

    0.32.0release notes

Fixes and other changes 3

  • More mistakes in @Event declarations are diagnosed.

    0.32.0release notes

  • More mistakes in @Record declarations are diagnosed.

    0.32.0release notes

  • More mistakes in @Union declarations are diagnosed.

    0.32.0release notes

expo-modules-macros 0.313 changes

Breaking changes 2

  • The .sync option is replaced by the .inline and .blocking options.

    0.31.0release notes

  • The .inline and .blocking options replace @Event(.sync).

    0.31.0release notes

Fixes and other changes 1

  • The fix operation now maps rewritten declarations, checks insertions, and writes files safely.

    0.31.0release notes

expo-modules-macros 0.305 changes

Breaking changes 1

  • Replace @Event(sync: true) with the .sync option.

    0.30.0release notes

Deprecations 1

  • A warning is emitted when an @ExpoModule or @SharedObject class isn't public.

    0.30.0release notes

New APIs and options 1

Tooling 1

  • The command now reports @SharedObject classes.

    0.30.0release notes

Fixes and other changes 1

  • JavaScript value parameters of .concurrent and .withAsync functions are diagnosed.

    0.30.0release notes

expo-modules-macros 0.292 changes

Tooling 2

  • The SwiftPM macro plugin can be built without the CLI.

    0.29.0release notes

  • The macro target is vendored to Swift packages, making it available to Swift package users.

    0.29.0release notes

expo-modules-macros 0.285 changes

Breaking changes 1

Behavior and default changes 2

  • @Record and @Union now generate nonisolated members and conformances.

    0.28.0release notes

  • @ExpoModule and @SharedObject now receive @unchecked Sendable conformance.

    0.28.0release notes

Fixes and other changes 2

  • @SharedObject subclasses now bind inherited @JS members.

    0.28.0release notes

  • scan-exports now reports inherited @JS members of @SharedObject subclasses.

    0.28.0release notes

expo-modules-macros 0.273 changes

New APIs and options 1

  • Adds a command that prints the code generated by the macros.

    0.27.0release notes

Behavior and default changes 1

Fixes and other changes 1

  • Sync @JS functions that return nothing are bound through the Void overload.

    0.27.1release notes

expo-modules-macros 0.267 changes

Fixes and other changes 7

  • Tuple types are converted in closure arguments.

    0.26.0release notes

  • Tuple types are converted in @Event payloads.

    0.26.0release notes

  • Tuple types, including nested tuples and containers of tuples, are converted in @JS members.

    0.26.0release notes

  • Tuple types are converted in @Record properties.

    0.26.0release notes

  • Tuple types are reported in scan-exports.

    0.26.0release notes

  • Tuple type aliases declared in @ExpoModule and @SharedObject classes are resolved.

    0.26.0release notes

  • Tuple types are converted in @Union payloads.

    0.26.0release notes

expo-modules-macros 0.253 changes

New APIs and options 1

  • An encode(_:into:in:) method is generated for @Union types.

    0.25.0release notes

Behavior and default changes 1

  • @Record properties and records are encoded through engine value slots.

    0.25.0release notes

Fixes and other changes 1

  • Sync @JS members are bound through HostFunctionClosure.

    0.25.0release notes

expo-modules-macros 0.241 changes

Behavior and default changes 1

  • @JS closure arguments are emplaced into the JavaScriptCallback arguments buffer, changing callback argument handling.

    0.24.0release notes

expo-modules-macros 0.236 changes

Breaking changes 2

  • AnyArgument was dropped from @Record.

    0.23.1release notes

  • @SharedObject stops emitting _synthesizedClassDefinition()`.

    0.23.0release notes

New APIs and options 1

Behavior and default changes 1

  • Supports SharedRef<T> subclasses in @SharedObject and scan-exports.

    0.23.0release notes

Fixes and other changes 2

  • Conformance assertions in generic types were fixed.

    0.23.1release notes

  • The object is moved into the result of @Record's encode with takeValue().

    0.23.0release notes

expo-modules-macros 0.224 changes

Breaking changes 1

  • Asserts the argument types of @JS init declarations, helping catch invalid argument types.

    0.22.0release notes

New APIs and options 1

  • Adds .withAsync("name") to @JS for binding a promise-returning variant.

    0.22.0release notes

Behavior and default changes 1

  • Skips the conformance assertion for containers of primitives.

    0.22.0release notes

Tooling 1

  • Reports @Record classes that aren't final or have an inheritance clause, helping developers identify invalid declarations.

    0.22.0release notes

expo-modules-macros 0.213 changes

Behavior and default changes 1

  • Generated @Record code now emits decode and encode witnesses.

    0.21.0release notes

Tooling 1

  • The plugin is now built and published for Linux.

    0.21.0release notes

Fixes and other changes 1

  • Reports @JS members that share a JS name on one object.

    0.21.0release notes

expo-modules-macros 0.204 changes

New APIs and options 1

Tooling 1

  • scan-exports reports platforms, deprecations, access levels, and default values.

    0.20.0release notes

Fixes and other changes 2

  • Closure types are reported in @Record properties and @Event and @Union payloads.

    0.20.0release notes

  • @JS functions and setters that return nothing are bound through the Void overload.

    0.20.0release notes

expo-modules-macros 0.193 changes

Behavior and default changes 3

  • The conformance assertion now accepts non-copyable types.

    0.19.1release notes

  • @JS now allows free-form Any return values and properties.

    0.19.0release notes

  • scan-exports now reports nested types.

    0.19.0release notes

expo-modules-macros 0.183 changes

Breaking changes 1

  • Drops ownership specifiers from parameters and rejects inout and isolated.

    0.18.0release notes

Behavior and default changes 1

  • Binds backticked member names under their bare JavaScript names.

    0.18.0release notes

Fixes and other changes 1

  • Reports backticked names without their backticks.

    0.18.0release notes

expo-modules-macros 0.172 changes

Behavior and default changes 1

Fixes and other changes 1

expo-modules-macros 0.163 changes

Behavior and default changes 1

  • Supports closure arguments in @JS functions and initializers.

    0.16.0release notes

Tooling 1

Fixes and other changes 1

  • Maps numeric Swift types to JS primitives in scan-exports.

    0.16.0release notes

expo-modules-macros 0.151 changes

Fixes and other changes 1

  • Only unowned @Union values are decoded, and decoding is gated on the payload's decodableKinds.

    0.15.0release notes

expo-modules-macros 0.142 changes

Breaking changes 2

expo-modules-macros 0.132 changes

Behavior and default changes 1

  • Accepts free-form Any property types, allowing @Record properties to use those types.

    0.13.0release notes

Fixes and other changes 1

  • Silences the optional-to-Any coercion warning in free-form encodes using @Record.

    0.13.1release notes

expo-modules-macros 0.124 changes

Fixes and other changes 4

  • Resolves ref type nodes against the scanned surface.

    0.12.0release notes

  • Reports @Event members in scan-exports, making them visible in scanned exports.

    0.12.0release notes

  • Reports Enumerable enums in scan-exports, making them visible in scanned exports.

    0.12.0release notes

  • Reports @Union types in scan-exports, making them visible in scanned exports.

    0.12.0release notes

expo-modules-macros 0.115 changes

Breaking changes 1

  • Reports each scanned module's platforms instead of filtering by one.

    0.11.0release notes

New APIs and options 3

  • Adds a macro that binds a view to its props type.

    0.11.0release notes

  • Adds a TypeScript wrapper around the scanner CLI.

    0.11.0release notes

  • Adds a macro that synthesizes PropName and PropSet.

    0.11.0release notes

Behavior and default changes 1

  • Async bindings emit try only for throwing @JS members.

    0.11.0release notes

expo-modules-macros 0.103 changes

New APIs and options 2

  • Adds a .concurrent option for running async members off the JS thread.

    0.10.0release notes

  • Adds a macro for typed N-case unions.

    0.10.0release notes

Tooling 1

  • Test and example directories are pruned from the scan walk.

    0.10.0release notes

expo-modules-macros 0.95 changes

New APIs and options 1

  • Accepts free-form Any argument types in @JS bindings.

    0.9.0release notes

Behavior and default changes 1

  • Answers canImport for curated SDK frameworks based on the target platform.

    0.9.0release notes

Tooling 3

  • Extends scan-modules output with autolinking metadata.

    0.9.0release notes

  • Evaluates #if conditions against a platform and defines.

    0.9.0release notes

  • Merges the scanner CLI into the macro plugin executable.

    0.9.0release notes

expo-modules-macros 0.81 changes

Behavior and default changes 1

  • Async @JS bindings now decode before the asynchronous boundary using two-phase emission.

    0.8.0release notes

expo-modules-macros 0.72 changes

Behavior and default changes 2

  • Async @JS return values are encoded on the JS thread.

    0.7.0release notes

  • Static shared-object members are bound to the _decorateSharedObject(constructor:) hook.

    0.7.0release notes

expo-modules-macros 0.67 changes

Breaking changes 2

  • Removed the unused appContext from synthesized JSI hooks.

    0.6.1release notes

  • Converts @JS bindings through JavaScriptCodable instead of dynamic types.

    0.6.0release notes

Behavior and default changes 2

  • Async @JS members are stamped with @JavaScriptActor.

    0.6.2release notes

  • Converts @Record JS-object fields through JavaScriptCodable.

    0.6.0release notes

Tooling 1

Fixes and other changes 2

  • The async @SharedObject receiver is unwrapped from an owning this.

    0.6.2release notes

  • Fixed invalid switch-expression code generation for omittable trailing arguments.

    0.6.1release notes

expo-modules-macros 0.52 changes

Behavior and default changes 1

  • Members of @SharedObject are bound directly into the JS object via _decorateSharedObject.

    0.5.0release notes

Fixes and other changes 1

  • Implicitly-unwrapped optional types are normalized before being spliced into expressions.

    0.5.0release notes

expo-modules-macros 0.42 changes

Behavior and default changes 1

  • Synchronous @JS bindings now emit unowned-this closures.

    0.4.0release notes

Tooling 1

  • Adds a CLI for scanning Swift source for Expo module macros.

    0.4.0release notes

expo-modules-macros 0.34 changes

Breaking changes 1

New APIs and options 1

  • Adds an accessor macro for typed module and shared-object events.

    0.3.0release notes

Behavior and default changes 2

  • Arity checks use ranges and throw ArgumentsRangeMismatch.

    0.3.0release notes

  • The module name is synthesized as _jsName.

    0.3.0release notes

expo-modules-macros 0.24 changes

Performance 1

  • Primitive-only @JS bindings no longer capture the unused appContext.

    0.2.1release notes

Behavior and default changes 3

  • Properties marked with @JS are bound directly into the JS object via _decorateModule.

    0.2.2release notes

  • Boundary types for @JS and @Record are checked for conformance at compile time.

    0.2.1release notes

  • @JS functions are bound directly into the JS object via _decorateModule.

    0.2.0release notes

expo-modules-macros 0.110 changes

Breaking changes 2

  • Autolinking has been removed.

    0.1.0release notes

  • Synthesized definition methods use synthesized instead of exposed.

    0.1.0release notes

New APIs and options 5

Behavior and default changes 2

  • @Record properties are synthesized even when they lack @Field.

    0.1.0release notes

  • Sync members marked with @JS are automatically stamped with @JavaScriptActor.

    0.1.0release notes

Tooling 1