This repository was archived by the owner on Mar 6, 2026. It is now read-only.
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.Pinnerin all FFI functions that pass Go slices to Rust - Updated
streamIngestProtoRecords,streamIngestProtoRecord,streamIngestJSONRecords,sdkCreateStream, andsdkCreateStreamWithHeadersProvider - Uses
unsafe.SliceData()for safe pointer conversion (requires Go 1.20+) - Pins data before passing to Rust, ensuring pointers remain valid during FFI calls