Starknet-py

Latest version: v0.22.0

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

Scan your dependencies

Page 1 of 11

0.22.0

- Remove `Goerli` support
- Add method to convert `EstimatedFee` to `ResourceBoundsMapping`
- Support `ByteArray` serialization

What's Changed
* Remove Goerli and migrate network tests on sepolia by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1328
* Move compiling contracts on github actions by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1322
* Simplifies using a custom network by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1327
* Use pre-compiled devnet binary from release assets by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1345
* Support serialization of ByteArrays by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1344
* Add method to convert `EstimatedFee` to `ResourceBoundsMapping` by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1347
* Make `execution_resources` required in `L1HandlerTransactionTrace` by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1348

**Migration Guide**: https://starknetpy.readthedocs.io/en/latest/migration_guide.html

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/v0.21.0...v0.22.0

0.21.0

What's Changed
* Add missing event context fields by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1308
* Support RPC 0.7.0 by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1307
* Add support for declaring contract compiled with cairo 2.6 by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1314
* Add parsed_abi property to SierraContractClass by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1313
* Ignoring unknown keys in RPC responses by default by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1312


**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/v0.20.0...v0.21.0

0.21.0alpha

What's Changed
* Add missing event context fields by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1308
* Support RPC 0.7.0 by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1307

**Migration guide**: https://starknetpy.readthedocs.io/en/latest/migration_guide.html

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/v0.20.0...v0.21.0-alpha

0.20.0

New version of starknet.py is out (v0.20.0) :airplane:
* Support for Python `3.12`
* Add `Account.estimate_fee` method
* Bugfixes

What's Changed
* Add support for Python `3.12` by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1272
* Add `estimate_fee` method to `Account` class by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1279
* Refactor code for creating broadcasted transaction by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1288
* Remove `StarknetEthProxyCheck` by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1292
* Move Abi V0 files to `starknet_py/abi/v0` by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1299
* Add missing `segment_arena_builtin` field to `ExecutionResources` by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1301
* Fix parsing ABIs with multiple `l1_handler` entries by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1302

**Migration guide**: https://starknetpy.readthedocs.io/en/latest/migration_guide.html

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/v0.19.0...v0.20.0

0.19.0

* Support RPC v0.6.0 and Starknet v0.13.0
* Remove `GatewayClient`
* Rename method names in `Account` and `Contract` classes to include the transaction version that will be executed
* Refactor transaction classes to incorporate version postfix in their names

What's Changed
* Support Sepolia network by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1256
* Add warning message to Windows installation section by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1257
* Fix `serializer_for_event` for events from contracts in version v2 by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1263
* Add `Account.deploy_account_v3` static method by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1265
* Support V3 transactions in the `Contract` class by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1262
* Split deprecated schemas to their respective classes based on versions by Jonatan-Chaverri in https://github.com/software-mansion/starknet.py/pull/1259
* Add Missing `EventType` in `serializer_for_type` by tkumor3 in https://github.com/software-mansion/starknet.py/pull/1269
* Remove `supported_transaction_version` property by tomek0123456789 in https://github.com/software-mansion/starknet.py/pull/1088
* Remove `wait_for_accept` parameter by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1276
* Drop 'transaction' word from sign methods in `Account` class by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1278

New Contributors
* Jonatan-Chaverri made their first contribution in https://github.com/software-mansion/starknet.py/pull/1258
* tkumor3 made their first contribution in https://github.com/software-mansion/starknet.py/pull/1257

Migration guide: https://starknetpy.readthedocs.io/en/latest/migration_guide.html

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/v0.18.3...v0.19.0

0.19.0alpha

New version of `starknet.py` is out (v0.19.0-alpha) :rocket:
- Remove `GatewayClient`
- Support RPC v0.6.0 and Starknet v0.13.0
- Add `data` information to `ClientError`

> [!WARNING]
> `Contract` class does not support V3 transactions in the pre-release

What's Changed
* Remove `GatewayClient` by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1225
* Fix typos by xiaolou86 in https://github.com/software-mansion/starknet.py/pull/1229
* Update `starknet-devnet` by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1239
* Support RPC v0.6.0 by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1243
* Add `data` info to RPC error message by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1244
* Add `Uint64` and `Uint128` classes by ddoktorski in https://github.com/software-mansion/starknet.py/pull/1247

New Contributors
* xiaolou86 made their first contribution in https://github.com/software-mansion/starknet.py/pull/1229

**Migration guide**: https://starknetpy.readthedocs.io/en/latest/migration_guide.html

**Full Changelog**: https://github.com/software-mansion/starknet.py/compare/v0.18.3...v0.19.0-alpha

Page 1 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.