@databricks/zerobus-ingest-sdk 1.0.2 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "zerobus-sdk-ts"
3
- version = "1.0.2"
3
+ version = "1.2.0"
4
4
  authors = ["Databricks"]
5
5
  edition = "2021"
6
6
  license = "Apache-2.0"
@@ -11,44 +11,37 @@ repository = "https://github.com/databricks/zerobus-sdk"
11
11
  crate-type = ["cdylib"]
12
12
 
13
13
  [dependencies]
14
- # NAPI-RS for Node.js bindings
15
- napi = { version = "2", features = ["async", "tokio_rt", "serde-json"] }
14
+ # NAPI-RS for Node.js bindings. `napi6` enables `BigInt::get_i64()` for the
15
+ # lossless bigint i64 path used by `waitForOffset`.
16
+ napi = { version = "2", features = ["async", "tokio_rt", "serde-json", "napi6"] }
16
17
  napi-derive = "2"
17
18
 
18
- # The Rust SDK we're wrapping
19
- databricks-zerobus-ingest-sdk = "1.0.0"
19
+ databricks-zerobus-ingest-sdk = { path = "../rust/sdk", version = "2.7.1" }
20
20
 
21
- # Async runtime (same as the Rust SDK)
22
- tokio = { version = "1.42", features = ["macros", "rt-multi-thread"] }
21
+ tokio = { version = "1.52", features = ["macros", "rt-multi-thread"] }
23
22
 
24
- # Protobuf support
25
- prost = "0.13.3"
26
- prost-types = "0.13.3"
23
+ prost = "0.14"
24
+ prost-types = "0.14"
27
25
 
28
- # Serialization
29
26
  serde = { version = "1.0", features = ["derive"] }
30
27
  serde_json = "1.0"
31
28
 
32
- # Error handling
33
29
  thiserror = "1.0"
34
-
35
- # Base64 encoding/decoding
36
30
  base64 = "0.21"
37
-
38
- # Async trait support
39
31
  async-trait = "0.1"
32
+ # `Bytes` is the input type for the Rust SDK's `ingest_ipc_batch` entry.
33
+ bytes = "1"
40
34
 
41
- # Arrow dependencies (only used when arrow-flight feature is enabled)
42
- arrow-array = { version = "56.2.0", optional = true }
43
- arrow-schema = { version = "56.2.0", optional = true }
44
- arrow-ipc = { version = "56.2.0", features = ["lz4", "zstd"], optional = true }
35
+ arrow-array = { version = "59.2", optional = true }
36
+ arrow-schema = { version = "59.2", optional = true }
37
+ arrow-ipc = { version = "59.2", features = ["lz4", "zstd"], optional = true }
45
38
 
46
39
  [build-dependencies]
47
40
  napi-build = "2"
48
41
 
49
42
  [features]
50
43
  default = []
51
- # Arrow Flight is experimental/unsupported - enable with: npm run build:arrow
44
+ # Arrow Flight is in Beta - enable with: npm run build:arrow
52
45
  arrow-flight = [
53
46
  "databricks-zerobus-ingest-sdk/arrow-flight",
54
47
  "dep:arrow-array",
package/LICENSE CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright [yyyy] [name of copyright owner]
189
+ Copyright (2025) Databricks, Inc.
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.