Skip to content

Releases: ydb-platform/ydb-js-sdk

@ydbjs/query@6.0.5

04 Nov 21:01

Choose a tag to compare

Patch Changes

  • Reduce npm package size by limiting published files to dist, README.md, and CHANGELOG.md only
  • Updated dependencies
    • @ydbjs/api@6.0.5
    • @ydbjs/core@6.0.5
    • @ydbjs/debug@6.0.5
    • @ydbjs/error@6.0.5
    • @ydbjs/retry@6.0.5
    • @ydbjs/value@6.0.5

@ydbjs/error@6.0.5

04 Nov 21:01

Choose a tag to compare

Patch Changes

  • Reduce npm package size by limiting published files to dist, README.md, and CHANGELOG.md only
  • Updated dependencies
    • @ydbjs/api@6.0.5

@ydbjs/debug@6.0.5

04 Nov 21:01

Choose a tag to compare

Patch Changes

  • Reduce npm package size by limiting published files to dist, README.md, and CHANGELOG.md only

@ydbjs/core@6.0.5

04 Nov 21:01

Choose a tag to compare

Patch Changes

  • Reduce npm package size by limiting published files to dist, README.md, and CHANGELOG.md only
  • Updated dependencies
    • @ydbjs/abortable@6.0.5
    • @ydbjs/api@6.0.5
    • @ydbjs/auth@6.0.5
    • @ydbjs/debug@6.0.5
    • @ydbjs/error@6.0.5
    • @ydbjs/retry@6.0.5

@ydbjs/auth@6.0.5

04 Nov 21:01

Choose a tag to compare

Patch Changes

  • Reduce npm package size by limiting published files to dist, README.md, and CHANGELOG.md only
  • Updated dependencies
    • @ydbjs/api@6.0.5
    • @ydbjs/debug@6.0.5
    • @ydbjs/error@6.0.5
    • @ydbjs/retry@6.0.5

@ydbjs/auth-yandex-cloud@0.1.2

04 Nov 21:01

Choose a tag to compare

Patch Changes

  • Reduce npm package size by limiting published files to dist, README.md, and CHANGELOG.md only
  • Updated dependencies
    • @ydbjs/auth@6.0.5
    • @ydbjs/debug@6.0.5
    • @ydbjs/retry@6.0.5

@ydbjs/auth-yandex-cloud@0.1.1

04 Nov 20:48

Choose a tag to compare

Patch Changes

  • a48d01c: Fix Service Account provider: clean private key in constructor
    • Move private key cleaning from JWT creation to constructor for better performance
    • Remove unnecessary log about warning line detection
    • Add key ID to debug logs for better traceability
    • Directly modify key.private_key instead of creating new object

@ydbjs/api@6.0.5

04 Nov 21:01

Choose a tag to compare

Patch Changes

  • Reduce npm package size by limiting published files to dist, README.md, and CHANGELOG.md only

@ydbjs/abortable@6.0.5

04 Nov 21:01

Choose a tag to compare

Patch Changes

  • Reduce npm package size by limiting published files to dist, README.md, and CHANGELOG.md only

v6.0.0-alpha.1

24 Apr 14:28
a8f7855

Choose a tag to compare

v6.0.0-alpha.1 Pre-release
Pre-release

YDB JavaScript SDK [first αlpha]

We are excited to introduce the first alpha of our revamped SDK for interacting with YDB databases in JavaScript and TypeScript!

🚀 What's new

Monorepo & Modular Packages

  • Monorepo setup: The SDK is now structured as a monorepo, with independent, logically separated packages:
    @ydbjs/api – Generated protobuf messages (using Buf)
    @ydbjs/core – Driver creation, client-side balancing (can be disabled for single-endpoint/serverless), gRPC client setup
    @ydbjs/auth – Token providers for authentication: token, login+password, metadata service, anonymous
    @ydbjs/error – Unified YDBError wrapper based on operation status
    @ydbjs/retry – Flexible, pluggable operation retries; sensible defaults according to YDB client policies
    @ydbjs/value – Convenient YDB type wrappers and helpers for casting/inferring types between native and server representations
    @ydbjs/query – Query service client for YQL queries with template string support, strong typing, flexible result modes (object, string array, raw), and typed parameterization.
  • NPM Release under @ydbjs: All packages are published to npm under the @ydbjs organization. After v6, the main ydb-sdk will become a proxy package aggregating these.

Drivers, Endpoints & Balancer

  • Dynamic endpoint set: The driver actualizes the available endpoints every minute for resilience.
  • Client-side balancer: Toggle balancer off to connect to a single endpoint—ideal for serverless functions!

Authentication

  • Multiple auth modes: Token, login/password, metadata service, or anonymous – all through pluggable providers.

Error Handling

  • Consistent error wrapper: Always receive errors in the unified YDBError format.

Query Service

  • Type-safe YQL: Write YQL queries with full type support and safe template strings, plus parameterization.
  • Flexible outputs: Choose between structured objects, plain string arrays, or raw results.
  • Automatic retries: All query operations use the SDK’s robust, configurable retry policies.

Toolbox & Development

  • Developer-friendly setup: DevContainers support – a database instance is automatically launched for you alongside the IDE!
  • Testing: Core test suite in place, with initial integration and end-to-end tests.