Skip to content

Commit a579b23

Browse files
[Typescript] Version 1.1.0 - Arrow Flight Beta (#292)
Signed-off-by: teodordelibasic-db <teodor.delibasic@databricks.com>
1 parent 0a74bab commit a579b23

14 files changed

Lines changed: 584 additions & 914 deletions

File tree

.github/workflows/ci-typescript.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
shell: powershell
8282

8383
- name: Install dependencies
84-
run: npm ci
84+
run: npm install --no-audit --no-fund
8585

8686
- name: Build
8787
run: npm run build -- --target ${{ matrix.target }}
@@ -151,10 +151,10 @@ jobs:
151151
shell: powershell
152152

153153
- name: Install dependencies
154-
run: npm ci
154+
run: npm install --no-audit --no-fund
155155

156156
- name: Build
157157
run: npm run build:debug
158158

159159
- name: Test
160-
run: npm run test:unit
160+
run: npm run test:unit

.github/workflows/release-typescript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
6161
6262
- name: Install dependencies
63-
run: npm ci
63+
run: npm install --no-audit --no-fund
6464

6565
- name: Build
6666
run: npm run build -- --target ${{ matrix.target }}

typescript/CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,47 @@
11
# Version changelog
22

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+
345
## Release v1.0.2
446

547
### Bug Fixes

0 commit comments

Comments
 (0)