Releases: UltraCart/rest_api_v2_sdk_javascript_bigquery
Releases · UltraCart/rest_api_v2_sdk_javascript_bigquery
Release list
v0.1.0
First public release of @ultracart/bigquery-sdk — query the UltraCart data warehouse in BigQuery and get back native UltraCart JS SDK model instances (Order, Customer, AutoOrder, …).
Published from GitHub Actions via OIDC trusted publishing with a signed provenance attestation (no long-lived tokens).
Added
- Initial release:
UltraCartBigQueryclient that streams UltraCart data-warehouse rows and hydrates them into nativeultra_cart_rest_api_v2SDK model instances. - Async-iterator
query()with constant-memory pagination (default page size 50,000). - Default
maximumBytesBilledcap (10 GB, overridable;0disables) anddryRun()cost estimation. - Generic, schema-driven row transformer: BigQuery
DATETIME→ ISO 8601 (UTCZ); single-valueREPEATED RECORD→ primitive array; numeric normalization. toBigQueryDatetime()helper for filteringDATETIMEcolumns (inverse of the read-side date transform).projectIdForMerchant()andresolveDataset()helpers; dataset constants.- Schema-drift guard (
scripts/check-schema-drift.js,npm run check:schema) comparing SDK model field trees to the warehouse schema, with a reviewed baseline inschemas/known-sdk-only.json. - Per-entity examples for full backfill and change-data-capture (orders, customers, auto orders, items), plus the extraction guide in
docs/EXTRACTION.md.
Install
npm install @ultracart/bigquery-sdk ultra_cart_rest_api_v2 @google-cloud/bigquery📦 npm: https://www.npmjs.com/package/@ultracart/bigquery-sdk