|
1 | 1 | # Version changelog |
2 | 2 |
|
| 3 | +## Release v1.1.0 |
| 4 | + |
| 5 | +### New Features and Improvements |
| 6 | + |
| 7 | +- Arrow Flight ingestion promoted to Beta. Mirrors the Rust SDK 2.0 |
| 8 | + promotion. The API is stabilising but may still change before reaching GA. |
| 9 | + The `arrow-flight` feature is no longer labelled experimental/unsupported |
| 10 | + in docs and examples. |
| 11 | +- macOS pre-built binaries. Added `@databricks/zerobus-ingest-sdk-darwin-x64` |
| 12 | + and `@databricks/zerobus-ingest-sdk-darwin-arm64` to `optionalDependencies`, |
| 13 | + so `npm install` on Intel and Apple Silicon Macs now fetches a pre-built |
| 14 | + `.node` binary instead of falling back to a source build. |
| 15 | +- `waitForOffset` precision. Replaced the `Number(bigint)` round-trip |
| 16 | + with napi-rs's lossless `BigInt::get_i64()`. Both gRPC and Arrow streams |
| 17 | + now error cleanly on offsets that exceed `i64` range instead of silently |
| 18 | + truncating past `2^53 - 1`. |
| 19 | + |
| 20 | +### Bug Fixes |
| 21 | + |
| 22 | +- Fixed bogus `apache-arrow` peer dependency. v1.0.x declared |
| 23 | + `apache-arrow: "^56.0.0"`, which doesn't exist on npm (56 was a Rust |
| 24 | + crate version copied by mistake). Corrected to `^18.0.0` to match the |
| 25 | + current dev dep range. |
| 26 | + |
| 27 | +### Internal Changes |
| 28 | + |
| 29 | +- Depends on Rust SDK 2.0.1. The wrapper now goes through |
| 30 | + `sdk.stream_builder()` (Rust 2.0 removed the legacy |
| 31 | + `create_stream_with_headers_provider` / `create_arrow_stream` / |
| 32 | + `ingest_record` / `ingest_records` methods). The TS-facing API is |
| 33 | + unchanged — the v1 deprecated `ingestRecord` / `ingestRecords` methods |
| 34 | + still resolve after server ack (now via `ingest_record_offset` + |
| 35 | + `wait_for_offset` under the hood). |
| 36 | +- Arrow crates bumped 56.2.0 → 58.2 to match the Rust SDK 2.0 |
| 37 | + workspace. `bytes` added so the wrapper can hand IPC payloads to |
| 38 | + `ingest_ipc_batch` as `Bytes`. |
| 39 | +- `napi6` feature on `napi-rs` so `BigInt::get_i64()` is available. |
| 40 | +- CI install step switched from `npm ci` to `npm install --no-audit |
| 41 | + --no-fund`. `npm ci`'s strict lockfile validation rejects |
| 42 | + `optionalDependencies` referencing a not-yet-published version (every |
| 43 | + napi-rs major-version bump hits this); `npm install` tolerates it. |
| 44 | + |
3 | 45 | ## Release v1.0.2 |
4 | 46 |
|
5 | 47 | ### Bug Fixes |
|
0 commit comments