Releases: polkascan/py-substrate-interface
Releases · polkascan/py-substrate-interface
v1.0.5 release
Fixed several helper functions #146
Full Changelog: v1.0.4...v1.0.5
v1.0.4 release
Changes
- Fixed issues decoding/encoding nested Calls #143
- Skip unnecessary type conversion for scale_info type registries (performance boost
MetadataV14
) - Fixed issue with decoding certain
Compact
types
Full Changelog: v1.0.3...v1.0.4
v1.0.3 release
What's Changed
- Fixed incorrect reload of type registry when PortableRegistry is present
- Fixing calculation of total fee amount when event is a balances/deposit by @ilkericyuz in #142
- Fixed MetadataV14 block author retrieval #138
- Fixed exception when event had no attributes
- Fixed exception when Call has no args
- Pallet index is explicitly stored in metadata
- Added alias for type xcm::latest::Outcome
- Incorrect processing of BTreeMap types in MetadataV14
Full Changelog: v1.0.2...v1.0.3
v1.0.2 release
Kusama and Rococo type registry update
v1.0.1 release
Added Contract compatibility with MetadataV14 runtimes
v1.0.0 release
Support for MetadataV14
and PortableRegistry
.
It has the following breaking changes:
- All properties of
Struct
SCALE-objects in existing type-registries are now converted from CamelCase to snake_case, to be compatible with generatedPortableRegistry
structs scale_obj.value
always contains a serialised version in Python primitivesscale_obj.serialize()
will contain a human readable formatscale_obj.value_object
contains the full nested SCALE objects if applicable. A short-hand ofscale_obj.value_object[‘accounts’].value_object[0].ss58_address
isscale_obj[‘accounts’][0].ss58_address
. If thescale_obj
is aVec
this will also act as an iterable.- Reformatting of value attributes of many
ScaleType
classes; in particularExtrinsic
andEvent
- Metadata decoding has been completely refactored and should use
MetadataVersioned
in stead of removedMetadataDecoder
- Output format of metadata functions changed
- All
ScaleType
classes moved totypes
sub-package;block
sub-package is removed
v0.13.13 release
- Added ws_options kwarg in constructor to pass connection options to websocket-client
- scalecodec version bump
v1.0.0a2 alpha release
This version is a pre-release and compatible with upcoming MetadataV14
and PortableRegistry
.
It has the following breaking changes:
- All properties of
Struct
SCALE-objects in existing type-registries are now converted from CamelCase to snake_case, to be compatible with generatedPortableRegistry
structs scale_obj.value
always contains a serialised version in Python primitivesscale_obj.serialize()
will contain a human readable formatscale_obj.value_object
contains the full nested SCALE objects if applicable. A short-hand ofscale_obj.value_object[‘accounts’].value_object[0].ss58_address
isscale_obj[‘accounts’][0].ss58_address
. If thescale_obj
is aVec
this will also act as an iterable.- Reformatting of value attributes of many
ScaleType
classes; in particularExtrinsic
andEvent
- Metadata decoding has been completely refactored and should use
MetadataVersioned
in stead of removedMetadataDecoder
- Output format of metadata functions changed
- All
ScaleType
classes moved totypes
sub-package;block
sub-package is removed
v1.0.0a1 alpha release
This version is a pre-release and compatible with upcoming MetadataV14
and PortableRegistry
.
It has the following breaking changes:
- All properties of
Struct
SCALE-objects in existing type-registries are now converted from CamelCase to snake_case, to be compatible with generatedPortableRegistry
structs scale_obj.value
always contains a serialised version in Python primitivesscale_obj.serialize()
will contain a human readable formatscale_obj.value_object
contains the full nested SCALE objects if applicable. A short-hand ofscale_obj.value_object[‘accounts’].value_object[0].ss58_address
isscale_obj[‘accounts’][0].ss58_address
. If thescale_obj
is aVec
this will also act as an iterable.- Reformatting of value attributes of many
ScaleType
classes; in particularExtrinsic
andEvent
- Metadata decoding has been completely refactored and should use
MetadataVersioned
in stead of removedMetadataDecoder
- Output format of metadata functions changed
- All
ScaleType
classes moved totypes
sub-package;block
sub-package is removed
v0.13.12 release
- Fix call to generate_storage_hash() in get_storage()
- Scalecodec version bump