Skip to content

Releases: polkadot-js/common

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

v9.4.1

04 Jun 05:11
Compare
Choose a tag to compare

Changes:

  • Add nextTick to @polkadot/util to defer execution to the queue
  • Upgrade dependencies to latest stable versions

v9.3.1

29 May 06:49
Compare
Choose a tag to compare

Contributed:

Changes:

  • Adjust u8aToU8a checks with better isU8a shortcut
  • Adjust compact conversion with unrolled loops
  • Adjust string{Camel, Pascal}Case with loop (no map)
  • Add compactFromU8aLim variant with Uint8Array-only inputs
  • Add u8aConcatStrict variant with Uint8Array-only inputs
  • Internal code maintainability enhancements
  • Upgrade dependencies to latest stable versions

v9.2.1

13 May 19:21
Compare
Choose a tag to compare

Contributed:

Changes:

  • Optimize u8aToHex with direct (non-hex) conversion
  • Change all occurences of .substr(...) to .substring(...)
  • Sync with upstream Substrate ss58 registry
  • Mark deprecated function signatures (no removals)
  • Re-enable auto init of cryptoWaitReady()
  • Upgrade to @polkadot/wasm-crypto 6.1.1

v9.1.1

30 Apr 05:33
Compare
Choose a tag to compare

Contributed:

Changes:

  • Adjust/dedupe output from detectPackage
  • Adjust isHex performance test
  • Add field-level comments to some *Options structures
  • Add new Rococo genesisHash (reset)

v9.0.1

09 Apr 07:47
Compare
Choose a tag to compare
  • Breaking change In this major version the commonjs outputs are moved to a sub-folder. Since the export map and main field in package.json does reflect this change, there should be no usage changes. However the packages here will all need to be on the same version for internal linkage.

Changes:

  • Be explicit in @polkadot/util-crypto re-exports from @polkadot/networks
  • Output commonjs files under the cjs/** root
  • Upgrade to @polkadot/wasm-crypto 6.0.1

v8.7.1

27 Mar 07:29
Compare
Choose a tag to compare

Changes:

  • Fix race-condition with wasm overrides, make cryptoWaitReady lazy
  • Additional tests for BN & BigInt negative conversions
  • Upgrade to @polkadot/wasm-crypto 5.1.1

v8.6.1

19 Mar 08:22
Compare
Choose a tag to compare

Important This contains an upgraded version of @polkadot/wasm-crypto. For users of asm.js, e.g. React Native, there are some additional upgrade instructions in the release notes for this version https://github.com/polkadot-js/wasm/releases/tag/v5.0.1

Contributed:

Changes:

  • Ensure invalid secp256k1 publicKeys are not returned
  • Cater for Expo v41+ in RN random value generation
  • Fixed for RN environment imports
  • Internal split of details in @polkadot/networks
  • Additional workaround for Vite bundling
  • Upgrade to @polkadot/wasm-crypto 5.0.1