Scalecodec

Latest version: v1.2.8

Safety actively analyzes 623343 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 39

1.0.0a3

| ⚠️ This alpha release is not backwards compatible with earlier releases |
|-----------------------------------------|

This version is a pre-release and compatible with upcoming `MetadataV14` and `PortableRegistry`.

It has the following breaking changes:

- All properties of `Struct` objects in existing type-registries are now converted from CamelCase to snake_case, to be compatible with generated `PortableRegistry` structs
- `scale_obj.value` always contains a serialised version in Python primitives
- `scale_obj.serialize()` will contain a human readable format
- `scale_obj.value_object` contains the full nested SCALE objects if applicable. A short-hand of `scale_obj.value_object[‘accounts’].value_object[0].ss58_address` is `scale_obj[‘accounts’][0].ss58_address`. If the `scale_obj` is a `Vec` this will also act as an iterable.
- Reformatting of value attributes of many `ScaleType` classes; in particular `Extrinsic` and `Event`
- Metadata decoding has been completely refactored and should use `MetadataVersioned` in stead of removed `MetadataDecoder`
- All `ScaleType` classes moved to `types` sub-package; `block` sub-package is removed

1.0.0a2

| ⚠️ This alpha release is not backwards compatible with earlier releases |
|-----------------------------------------|

This version is a pre-release and compatible with upcoming `MetadataV14` and `PortableRegistry`.

It has the following breaking changes:

- All properties of `Struct` objects in existing type-registries are now converted from CamelCase to snake_case, to be compatible with generated `PortableRegistry` structs
- `scale_obj.value` always contains a serialised version in Python primitives
- `scale_obj.serialize()` will contain a human readable format
- `scale_obj.value_object` contains the full nested SCALE objects if applicable. A short-hand of `scale_obj.value_object[‘accounts’].value_object[0].ss58_address` is `scale_obj[‘accounts’][0].ss58_address`. If the `scale_obj` is a `Vec` this will also act as an iterable.
- Reformatting of value attributes of many `ScaleType` classes; in particular `Extrinsic` and `Event`
- Metadata decoding has been completely refactored and should use `MetadataVersioned` in stead of removed `MetadataDecoder`
- All `ScaleType` classes moved to `types` sub-package; `block` sub-package is removed

1.0.0a1

| ⚠️ This alpha release is not backwards compatible with earlier releases |
|-----------------------------------------|

This version is a pre-release and compatible with upcoming `MetadataV14` and `PortableRegistry`.

It has the following breaking changes:

- All properties of `Struct` objects in existing type-registries are now converted from CamelCase to snake_case, to be compatible with generated `PortableRegistry` structs
- `scale_obj.value` always contains a serialised version in Python primitives
- `scale_obj.serialize()` will contain a human readable format
- `scale_obj.value_object` contains the full nested SCALE objects if applicable. A short-hand of `scale_obj.value_object[‘accounts’].value_object[0].ss58_address` is `scale_obj[‘accounts’][0].ss58_address`. If the `scale_obj` is a `Vec` this will also act as an iterable.
- Reformatting of value attributes of many `ScaleType` classes; in particular `Extrinsic` and `Event`
- Metadata decoding has been completely refactored and should use `MetadataVersioned` in stead of removed `MetadataDecoder`
- All `ScaleType` classes moved to `types` sub-package; `block` sub-package is removed

0.11.24

Added alias for type `xcm::latest::Outcome`

0.11.23

Kusama and Rococo type registry update

0.11.22

Changed base URL to online type registries

Page 12 of 39

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.