New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ydb-sdk

Package Overview
Dependencies
Maintainers
2
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ydb-sdk - npm Package Versions

1
11

3.4.0

Diff

Changelog

Source

3.4.0 (2022-08-12)

Features

  • introduce new type aliases: Types.BYTES & Types.TEXT (61c17dc)

Bug Fixes

  • the expected type of TypedData.yson() arg should be Buffer (cd327de)
ydb-platform
published 3.3.2 •

Changelog

Source

3.3.2 (2022-05-27)

Bug Fixes

  • correctly access internal certs from compiled sources (f7e520d), closes #163
ydb-platform
published 3.3.1 •

Changelog

Source

3.3.1 (2022-05-26)

Bug Fixes

  • correctly access package.json (5bba0d9)
ydb-platform
published 3.3.0 •

Changelog

Source

3.3.0 (2022-05-20)

Features

  • add esnext target to support using library via ES modules (09deade), closes #145
ydb-platform
published 3.2.0 •

Changelog

Source

3.2.0 (2022-05-20)

Features

  • process 'session-close' server hint from trailing metadata (d9c15ba)

Bug Fixes

  • acquire new session once free slot becomes available in pool (4500226)
ydb-platform
published 3.1.1 •

Changelog

Source

3.1.1 (2022-05-13)

Bug Fixes

  • add muteNonExistingTableErrors to DropTableSettings class (c2f6037), closes #141
ydb-platform
published 3.1.0 •

Changelog

Source

3.1.0 (2022-05-12)

Features

  • use newer @yandex-cloud/nodejs-sdk package based on grpc-js (2d37272), closes #146
ydb-platform
published 3.0.0 •

Changelog

Source

3.0.0 (2022-03-02)

⚠ BREAKING CHANGES

  • all signatures of SchemeClient's methods now have optional settings parameter instead of operationParams.
    • Before: makeDirectory(path, operationParams?) After: makeDirectory(path, {operationParams: ...}?)
    • Before: removeDirectory(path, operationParams?) After: removeDirectory(path, {operationParams: ...}?)
    • Before: listDirectory(path, operationParams?) After: listDirectory(path, {operationParams: ...}?)
    • Before: describePath(path, operationParams?) After: describePath(path, {operationParams: ...}?)
    • Before: modifyPermissions(path, ..., ..., operationParams?) After: modifyPermissions(path, ..., ..., {operationParams: ...}?)
  • TypedData fields have identity conversion to YDB column names instead of camelCase to snake_case. Use @withTypeOptions({namesConversion:snakeToCamelCaseConversion}) for backward compatibility.
  • several types have changed their representation, namely
    • struct value is present as object instead of array
    • decimal value is present as string instead of bigint (it wasn't working for float values before)
    • fix uuid and tz-date types conversion (it wasn't working before)
  • signatures of most methods in TableSession are changed:
    • executeQuery Before: (query, params, txControl, operationParams?, settings?, collectStats?) After: (query, params, txControl, settings?)
    • describeTable Before: (tablePath: string, operationParams?)|(tablePath, describeTableParams?) After: (tablePath, settings?)
    • commitTransaction Before: (txControl, operationParams?) After: (txControl, settings?) (and collectStats support)
    • createTable, alterTable, dropTable, beginTransaction, rollbackTransaction, prepareQuery, bulkUpsert Before: (<required params>, operationParams?) After: (<required params>, settings?)
  • tablePath in bulkUpsert and readTable methods must be without database prefix
  • Primitive class is renamed to TypedValues
  • signatures of Driver, getCredentialsFromEnv and *AuthService classes are changed:
    • Driver: Before: new Driver(entryPoint, dbName, authService, ...) After: new Driver({connectionString: "...", authService: ..., ...}) or new Driver({endpoint: "...", database: "...", authService: ..., ...})
    • *AuthService - database and sslCredentials are no longer needed in *AuthService constructors (ssl credentials option is now initialized in the driver if it's necessary) Before: const authService = new MetadataAuthService(dbName, sslCredentials); After: const authService = new MetadataAuthService();
    • getCredentialsFromEnv: Before: const authService = getCredentialsFromEnv(endpoint, database, logger); After: const authService = getCredentialsFromEnv(); (logger is optional)
  • old environment variables are no longer supported. Use YDB_ACCESS_TOKEN_CREDENTIALS instead of YDB_TOKEN, YDB_SERVICE_ACCOUNT_KEY_FILE_CREDENTIALS instead of SA_ID, SA_PRIVATE_KEY_FILE, SA_ACCESS_KEY_ID and SA_JSON_FILE.

Features

  • add more methods and fields to type helper classes (82f26ea)
  • implement Types and TypedValues helper classes (029db0e)
  • implement new type conversions and fix existing type conversions (0edbcdd)
  • reorganize Driver and credentials to simplify SDK usage (6526378)
  • replace grpc with @grpc/grpc-js (1bd8d06)

Bug Fixes

  • don't use database in tablePath for bulkUpsert and readTable methods (d416d59)
  • error message in test-utils (af39fd1)
  • little fixes in examples (9c19b95)

Miscellaneous

  • drop support of old environment variables (963819a)
  • reorganize signature of SchemeClient's methods (734d57a)
  • reorganize signatures of TableSession's methods (431f149)
  • use identity names conversion in TypedData (275598a)
ydb-platform
published 2.9.2 •

Changelog

Source

2.9.2 (2022-02-09)

Bug Fixes

  • MetadataAuthService: remove ssl defaults for grpc scheme (40523f7)
ydb-platform
published 2.9.1 •

Changelog

Source

2.9.1 (2022-01-21)

Bug Fixes

  • package.json: move pino-pretty to dependencies (bf739d2)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc