Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Release v0.3.0

Latest

Choose a tag to compare

@teodordelibasic-db teodordelibasic-db released this 06 Mar 14:31
· 0 commits to main since this release

Release v0.3.0

Deprecates the zerobus-sdk-go repo. The code has been ported to the zerobus-sdk monorepo (Previously the Rust SDK repo).

Bug Fixes

Fixed memory safety issue where Go garbage collector could move data while Rust FFI was reading it, causing crashes:

  • Implemented proper memory pinning using runtime.Pinner in all FFI functions that pass Go slices to Rust
  • Updated streamIngestProtoRecords, streamIngestProtoRecord, streamIngestJSONRecords, sdkCreateStream, and sdkCreateStreamWithHeadersProvider
  • Uses unsafe.SliceData() for safe pointer conversion (requires Go 1.20+)
  • Pins data before passing to Rust, ensuring pointers remain valid during FFI calls