Skip to content

Releases: polkadot-js/common

v10.1.3

05 Aug 13:36
Compare
Choose a tag to compare

Changes:

  • Optimization for empty arrayFlatten case
  • Coding cleanups for logger (no as casting)
  • Optiomizations in assertion checks

v10.1.2

29 Jul 10:09
Compare
Choose a tag to compare

Changes:

  • Upgrade dependencies to latest stable versions

v10.1.1

21 Jul 05:43
Compare
Choose a tag to compare

Changes:

  • Add arrayUnzip as reverse of arrayZip
  • Adjust objectSpread to natively handle Map entries spreads
  • Adjust isAscii check to disallow \t, \n, & \r characters
  • Adjust nobody zero-key pair with pre-computed address
  • Align objectProperty & lazyMethod call signatures (backwards compatible)
  • Various internal speed optimizations
  • Upgrade dependencies to latest stable versions

v10.0.2

10 Jul 06:37
Compare
Choose a tag to compare

Changes:

  • Adjust async import in x-fetch to be Jest-friendly

v10.0.1

08 Jul 05:33
Compare
Choose a tag to compare
  • Breaking change In this major version version previously deprecated function signatures have been removed. If still using the old forms for either bnToHex, bnToU8a, formatBalance, hexToBn or u8aToBn, please update and only pass through an options object as the second parameter.

Contributed:

Changes:

  • Remove deprecated signatures for bnToHex, bnToU8a, formatBalance, hexToBn, u8aToBn
  • Align option handling of n* (BigInt) functions with bn* (BN)
  • Allow for usage without @types/node installed
  • Adjust for available ESM-only dependencies
  • Upgrade dependencies to latest stable versions
  • Upgrade to @polkadot/wasm-crypto 6.2.3

v9.7.2

04 Jul 06:27
Compare
Choose a tag to compare

Changes:

  • Upgrade to @polkadot/wasm-crypto 6.2.2

v9.7.1

01 Jul 14:46
Compare
Choose a tag to compare

Changes:

  • Update signatures where readonly arrays are used
  • Upgrade dependencies to latest stable versions
  • Upgrade to @polkadot/wasm-crypto 6.2.1

v9.6.2

25 Jun 05:31
Compare
Choose a tag to compare

Changes:

  • Fix hexToU8a where 0x is not correctly converted

v9.6.1

23 Jun 08:25
Compare
Choose a tag to compare

Changes:

  • Add floatToU8a and u8aToFloat (both 32 & 64-bit, le & be)
  • Adjust isUndefined check (local variable available)
  • Adjust use of assert, isUndefined & isNull

v9.5.1

18 Jun 11:37
Compare
Choose a tag to compare

Contributed:

Changes:

  • Add u8aToNumber (limited, <= 48 bits) function
  • Use ~~ as bitwise/faster Math.floor replacement
  • Remove unneeded objectSpread option expansions
  • Optimize hexToU8a operations
  • Optimize stringCamelCase operations
  • Optimize u8aToBn operations
  • Additional internal/external comments (as missing)
  • Upgrade dependencies to latest stable versions