Skip to content

v0.9.0

Choose a tag to compare

@lynnswap lynnswap released this 13 Oct 01:55
2318a7d

ABIBridge v0.9.0

Breaking Changes

  • Unify lookup APIs for Swift, C, C++, and Objective-C under async resolve… and synchronous resolve…AndWait.
  • Rename synchronous symbol lookup from resolve to resolveAndWait.
  • Rename synchronous replacement preparation from prepareVirtualReplacement to prepareVirtualReplacementAndWait.
  • Expose removeCachedResults() as a nonisolated synchronous API.

New Features

  • Support lookup and call preparation without explicit prepare.
  • Run search, image acquisition, and call ABI preparation for async resolvers on worker queues.
  • Run Swift hook and replacement preparation, and initial ABI preparation for host-created async closures, on worker queues.
  • Add prepareImportedReplacementAndWait.
  • Add APIs to copy enum payloads, tuple elements, and concrete existential values from NativeSwiftValue.
  • Add resolveClosure(as:) / resolveClosureAndWait(as:) for stored Swift closures.
  • Support @MainActor signatures in NativeSwiftClosure invocation.

Bug Fixes

  • Fix valueABIs handling for runtime-only Swift values nested in generic types.
  • Fix getter resolution for protocol-existential results represented by NativeSwiftValue.

Migration Guide: API migration guide

Full Changelog: v0.8.2...v0.9.0