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)
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