Skip to content

Releases: polkadot-js/common

v6.0.4

07 Mar 15:09
Compare
Choose a tag to compare

Contributed:

Changes:

  • Dedupe & optimize logger process.env checks

v6.0.3

05 Mar 22:19
Compare
Choose a tag to compare

Changes:

  • Add import indirection for both CJS & ESM (where generated source file is commonjs)

v6.0.2

05 Mar 15:58
Compare
Choose a tag to compare

Changes:

  • Fix @polkadot/x-rxjs ESM exports for Node environments (now different due to the ESM conversion)

v6.0.1

05 Mar 15:11
Compare
Choose a tag to compare

Important In the 6.0 version the default package type has been changed to ESM modules by default. This should not affect usage, however since the output formats changed, a new major version is required.

Contributed:

Changes:

  • Build to ESM by default (with cjs versions via export map)
  • Allow addition or raw pairs on the keyring via {add, create}FromPair
  • Extract re-usable json encryption/decryption functions

v5.9.2

28 Feb 10:18
Compare
Choose a tag to compare

Changes:

  • Fix package detection for @polkadot/networks (no dependencies)

v5.9.1

28 Feb 07:57
Compare
Choose a tag to compare

Changes:

  • Expand detectPackage with optional param allowing checks for monorepo versions
  • Export logger format function directly as loggerFormat
  • Expand tests and checks for hdValidatePath
  • Remove hdEthereum class-based approach, simplify
  • Cleanup formatting on nested conditionals in the @polkadot/x- packages
  • All packages now export packageInfo from the root

v5.8.1

26 Feb 07:19
Compare
Choose a tag to compare

Contributed:

Changes:

  • Adjust base64 encoding/decoding to not rely on Buffer being available
  • Rework Ethereum derivation to only use Uint8Array internally
  • Shared HD path validation for Ledger & Ethereum
  • Additional derivation, encoding and decoding tests on keyring
  • Align networks with upstream ss58 registry
  • @polkadot/wasm-crypto 3.2.4

v5.7.1

21 Feb 12:00
Compare
Choose a tag to compare

Breaking change The signature of pair.verify now requires the signer public key as a parameter. If using pair.verify pass the publicKey (hex or Uint8Array) of the signer.

Changes:

  • The signature on the keyring for .verify now explicitly requires the publicKey of the signer. Previously it only verified against an own public key.
  • Add additional ss58 test vectors (against chains with >63 prefixes in the Substrate registry)

v5.6.3

16 Feb 11:25
Compare
Choose a tag to compare

Contributed:

Changes:

  • Add unlock(password) to keypair (less confusing than only having decodePkcs8, equivalent to lock())
  • Change use of detectPackage to use packageInfo.ts
  • Align with upstream ss58 registry
  • @polkadot/wasm-crypto 3.2.3

v5.6.2

08 Feb 16:52
Compare
Choose a tag to compare

Changes:

  • @polkadot/networks now filters the new upstream-introduced null networks