Skip to content

v15.0.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@monitz87 monitz87 released this 31 May 15:00
· 1151 commits to alpha since this release
54e3c91

15.0.0-alpha.1 (2022-05-31)

Bug Fixes

  • 馃悰 disregard pallets without calls (af684ae)

  • 馃悰 Fix asset.settlement.canTransfer method (6f32e4d)

  • 馃悰 Remove polymeshApi Proxy in Context (fdd14a8)

  • 馃悰 Undo postProcess augment-rpc (c758e08)

  • 馃悰 use proper type for document URIs (615782a)

  • Da 179/upgrade 5.0.0 (#742) (2450467), closes #742

Features

  • 馃幐 (WIP) Add support for 5.0.0 rc-1 (7a4e503)
  • 馃幐 (WIP) Add support for 5.0.0 rc-1 (a7d7a8b)
  • 馃幐 Add guard to Asset.investorCount if stat is not enabled (3cfcc58)
  • 馃幐 Bump supported version range to 5.0.x (44ec9f5)
  • 馃幐 expose transaction index within block (e6c6983)
  • 馃幐 log a warning for minor and patch version mismatch (30dd691)
  • 馃幐 Refactor code to use new trasnfer restrictions api (37b146a)
  • 馃幐 Support 5.0.0-rc-1 (33b77e4)
  • 馃幐 Support callback for getSecondaryAccounts (1a9c6fe)
  • 馃幐 throw an error when fetching an asset identity (8949e13)
  • 馃幐 Update granular permissions results for new types (fe2b072)
  • 馃幐 Upgrade polkadot SDK along with 5.0.0 chain types (2e9ee2c)
  • 馃幐 Use batching fully for add restriction (5bd29d5)
  • 馃幐 Use names prefixed with PolymeshPrimitives and Pallet (7874b57)
  • 馃幐 Use proper batching for setTransferRestriction (f895ec8)
  • 馃幐 validate chain spec version when connecting (af76f93)
  • 馃幐 WIP Update transfer restrictions to create stats (32d7d94)

BREAKING CHANGES

  • 馃Ж Asset.investorCount throws if stat is not enabled

  • fix: 馃悰 Remove polymeshApi Proxy in Context

polkadot.js began using a private accesor (e.g. #registry) internally.
This causes an error to be thrown when called by a proxied instance.
Context Proxy was used to guard against having no signer which is taken
care of by the singning manager, so this shouldn't cause any behavior to
change

  • feat: 馃幐 Bump supported version range to 5.0.x

  • chore: 馃 use stored metadata to generate country code enum

  • chore: 馃 remove country code generation from definitions script

  • feat: 馃幐 expose transaction index within block

Also fix compilation errors that arise in sandbox

  • fix: 馃悰 disregard pallets without calls

  • fix: 馃悰 use proper type for document URIs

Also fixed documentHash conversion util tests

  • feat: 馃幐 validate chain spec version when connecting

  • 馃Ж throw an error instead of a warning when the chain versions aren't
    within the expected ranges

  • refactor: 馃挕 Eliminate RPC specific conversion functions

Modify the schema object to make its types compatible with the rest of
the api. This elminates snake case conversion functions to DRY the code
base

Update types to use PolymeshPrimitivesIdentityId instead of IdentityId

  • feat: 馃幐 log a warning for minor and patch version mismatch

Co-authored-by: Jeremias Diaz monitz87@gmail.com
Co-authored-by: Victor Vicente VictorVicente@users.noreply.github.com

  • 馃Ж throw an error instead of a warning when the chain versions aren't
    within the expected ranges
  • 馃Ж Asset.investorCount throws if stat is not enabled