NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
Code generator for auto_interop — auto-generates type-safe Dart bindings from native package APIs (npm, CocoaPods, Gradle).
Last release 7 months ago
04 Mar 2026
Too new to tell
only 1 release windows
Nearly every release is documented
notes for 6 of 6 stable releases
Nothing withdrawn
no release was ever pulled
7 months old
6 releases · first in 2026
One column per month.
The generator example requires Flutter SDK, so dart pub get fails without --no-example. Also skip integration tests that need Flutter.
The generator example requires Flutter SDK, so dart pub get fails
without --no-example. Also skip integration tests that need Flutter.
nativeName field — Added nativeName to UtsType, UtsEnum, and UtsClass to preserve original native type names (e.g., SHA2.Variant, UInt8) through the Dart mapping round-trip._prefixEnum and _prefixClass now set nativeName to the dotted form (e.g., SHA2.Variant) when flattening nested types for Dart compatibility.enumType kind instead of object.UInt8, Int16, Float, and other sub-integer Swift types now preserve their native name through the int/double Dart mapping, preventing UInt8 → Int loss in generated glue code.nativeName (e.g., SHA2.Variant, UInt8) instead of flattened Dart names.UInt8 → UByte, Int16 → Short, etc.)._addToRunnerGroup now correctly matches pbxproj structures where children appears before path/name = Runner.Sealed class → enum fallback when subclasses undefined in schema
HMAC.Variant with cases md5, sha1, sha2) now generate a Dart enum instead of a broken sealed class with undefined fromMap references.? on nullable create() params — Fixed List<int>?? regression by checking if toDartType() already ends with ? before appending another.toMap() on unknown types — _serializeExpr now only calls .toMap() on types defined in schema.types, preventing calls on opaque types like Mode that don't have toMap()._enumsNeededByAutoGeneratedMethods and _typesNeededByAutoGeneratedMethods now scan constructorParameters, generating missing decoder helpers like decodeSHA2Variant().[Any] → [UInt8] for Swift, List<*> → List<Int> for Kotlin) so native APIs receive correctly typed arrays._addToRunnerGroup to handle projects where the Runner group uses name = Runner or path = Runner attributes.Fix 10 parser & generator bugs for constructor params and nested type…
Fix 10 parser & generator bugs for constructor params and nested type…
constructorParameters instead of generating a spurious static create method. Distinguishes no-init (null), parameterless init ([]), and parameterized init.SHA2.Variant → SHA2Variant).MemberTypeSyntax (e.g., SHA2.Variant) is now flattened to the full joined name instead of taking only the last component.kind: "object" are resolved to kind: "enumType" when the name matches a known enum.constructorThrows field — New boolean field on UtsClass tracks whether a Swift init can throw, enabling try/catch wrapping in glue code._writeCreateCase — Now uses schema-aware type mapping, argument conversions, native arg list builder, and try/catch for throwing inits._writeCreateCase — Mirrors Swift improvements: schema-aware types, argument conversions, native arg list, and try/catch for throwing constructors.nativeObject type handling — UtsTypeKind.nativeObject now maps to String (handle-based) instead of falling through to Any.create method — Methods loop skips the spurious create method when constructorParameters is set._addToSourcesBuildPhase now iterates all PBXSourcesBuildPhase matches and selects the Runner target (not RunnerTests).Preserve multi-line doc comments (/// and / */) instead of collapsing
/// and /** */ documentation instead of collapsing to a single line.create method: Skip emitting a create method in the methods loop when one is already generated as a factory constructor.fromMap, or toMap for abstract interface classes (protocols without instance methods).SHA2.Variant becomes SHA2Variant).Outer.Inner to OuterInner) throughout the schema, including enum type promotion.constructorParameters: Distinguish "no public init found" (null) from "parameterless init" ([]). Classes without public initializers no longer emit broken create() factories.case/when labels for overloaded methods.Version bump to accompany auto_interop 0.2.1 (no generator changes).
auto_interop 0.2.1 (no generator changes).AST parsers as default — All three parsers now use real compiler APIs for accurate parsing, with automatic regex fallback on failure:
kotlinc -script with compiler-embeddable#if compiler(>=6.0)) selects SwiftSyntax 600+ on Swift 6.x, 510 on Swift 5.x. Supports SwiftSyntax 602 API changes via #if compiler(>=6.2).fun String.isValidEmail()) are folded into matching classes or emitted as top-level functions with the receiver as the first parameter.throws propagation — Throwing functions are marked isAsync: true in the schema so Dart generators wrap them in Future with error handling. Supports typed throws (throws(NetworkError))..kt and .java files are parsed in parallel: Kotlin via AST, Java via regex. Results are merged into a single schema.export default class/interface/type/enum declarations are now correctly parsed.Package.swift or Sources/main.swift change (similar to make).setup command — dart run auto_interop_generator:generate setup pre-warms all AST helper caches (downloads Maven deps, compiles Swift binary).dart:async imports from AST parser files.Your coding agent can read these notes before it upgrades. Set up the MCP server →