Skip to content

Releases: polkadot-js/common

v12.1.1

29 Apr 05:52
Compare
Choose a tag to compare

Changes:

  • Add shareable identity & noop functions
  • Flatten Buffer | Uint8Array types (as used) to base-only Uint8Array
  • Apply readonly specifiers to private class fields where applicable
  • Adjust compilation output for __internal__ class fields
  • Remove unused types from util
  • Upgrade dependencies to latest stable versions

v12.0.1

22 Apr 07:48
Compare
Choose a tag to compare

Contributed:

Changes:

  • Swap secp256k1 functionality to @noble/curves
  • Swap ed25519 functionality to @noble/curves
  • Replace tweetnacl secretbox usage with slimmer local version
  • Adjust isCodec helper with closer API alignment
  • Initial steps to multi-language bip39 support
  • Use Node webcrypto for Node getRandomValues support
  • Upgrade dependencies to latest stable versions
  • Drop support for Node 14 (EOL 30 Apr 2023)

v11.1.3

01 Apr 07:16
Compare
Choose a tag to compare

Contributed:

Changes:

  • Allow empty string as valid base32/base58/base64 decoder input
  • Add additional/missing /*#__PURE__*/ annotations
  • Upgrade dependencies to latest stable versions

v11.1.2

25 Mar 07:21
Compare
Choose a tag to compare

Changes:

  • Expand error details for invalid publicKeys in secp256k1 compress/expand operations
  • Expand @polkadot/hw-ledger with specific per-method JSDoc
  • Upgrade dependencies to latest stable versions

v11.1.1

18 Mar 12:26
Compare
Choose a tag to compare

Contributed:

Changes:

  • Remove support for encrypt/decrypt functionality on keypair
  • Upgrade dependencies to latest stable versions

v11.0.2

11 Mar 09:12
Compare
Choose a tag to compare

Changes:

  • Use consistent .js imports in source files (TS moduleResolution)
  • Remove TS resolveJsonModule option
  • Upgrade to @polkadot/wasm-crypto 7.0.3

v11.0.1

04 Mar 15:29
Compare
Choose a tag to compare

Changes:

  • Change @polkadot/x-ws to use ws package (previous: websocket)
  • Add /*#__PURE__*/ annotations for @polkadot/x-* packages
  • Swap TS -> JS compiler to use tsc (from babel)
  • Adjust all tests to use node:test runner (ESM variants)
  • Move cryptoWaitReady() top-level in test files
  • Upgrade to @polkadot/wasm-crypto 7.0.1

v10.4.2

19 Feb 08:21
Compare
Choose a tag to compare

Contributed:

Changes:

  • Ensure u8aToU8a correctly unwraps Buffer value (check ordering)
  • Upgrade dependencies to latest stable versions

v10.4.1

12 Feb 09:53
Compare
Choose a tag to compare

Contributed:

Changes:

  • Add isClass helper (checks if input is actual Class Constructor)
  • Adjust isChildClass to rely on new isClass
  • Upgrade dependencies to latest stable versions

v10.3.1

28 Jan 07:14
Compare
Choose a tag to compare

Contributed:

Changes:

  • Expand arrayChunk tests
  • Adjust output for Ledger sanity checks
  • Expand exported bigint constants to match with those in BN
  • Adjust internal character maps to operate on Uint8Array instad of Array<number>
  • Upgrade dependencies to latest stable versions