Releases: software-mansion/starknet.py
v0.18.3
New version of starknet.py
is out (v0.18.3) π
- Update to RPC v0.5.1
- Remove
TESTNET2
support - Remove
cairo_version
parameter fromBaseAccount
- Add method
get_l1_message_hash
toFullNodeClient
Note
Please note that GatewayClient
will be removed with the next major version.
What's Changed
- Fix #1143 by @tomek0123456789 in #1189
- Fix #1154 by @tomek0123456789 in #1188
- Remove
TESTNET2
support by @tomek0123456789 in #1185 - RPC v0.5.0 by @tomek0123456789 in #1201
- Fix reverted error message in wait_for_tx by @ddoktorski in #1206
- Add method to get L1 message hash by @ddoktorski in #1205
- Add function to calculate checksum address by @ddoktorski in #1215
- Remove cairo_version parameter from BaseAccount by @ddoktorski in #1221
- Update RPC to v0.5.1 by @ddoktorski in #1223
New Contributors
- @ddoktorski made their first contribution in #1206
Migration guide: https://starknetpy.readthedocs.io/en/latest/migration_guide.html
Full Changelog: v0.18.2...v0.18.3
v0.18.2
New version of starknet.py
is OUT (v0.18.2) π«
- Added Trace API
- Added support for Cairo1 accounts
- Fixed a bug with resolving proxy contracts
What's Changed
- Trace API by @tomek0123456789 in #1175
- Change
cairo_version
into Account property by @tomek0123456789 in #1183 - Update regex in proxy checks by @tomek0123456789 in #1187
Full Changelog: v0.18.1...v0.18.2
v0.18.1
New version of starknet.py
is out! π’
- Fixed a bug when using
get_block
orget_state_update
on mainnet - added support to cairo1 account execute encoding
What's Changed
- add cairo_version to execute to support cairo1 calls encoding by @CremaFR in #1165
- Fix methods throwing on different starknet versions by @tomek0123456789 in #1167
New Contributors
Full Changelog: v0.18.0...v0.18.1
v0.18.0
NEW VERSION of starknet.py
is out (v0.18.0)
- Update to Starknet 0.12.2!
What's Changed
- Change
KeyPair
type fromint
toHash
by @tomek0123456789 in #1157 - Starknet v0.12.2 update by @tomek0123456789 in #1152
Full Changelog: v0.17.1...v0.18.0
v0.18.0-alpha
NEW VERSION of starknet.py
is out (v0.18.0-alpha) ποΈ
- Update to Starknet 0.12.1
- Support RPC v0.4.0
- Added missing fields to dataclasses
- Bugfixes π
What's Changed
- Update MinGW installation docs by @drknzz in #1124
- Invalid selector in AbiResolver by @drknzz in #1129
- Lower
check_interval
inwait_for_tx
by @drknzz in #1128 lstrip
indecode_shortstring
by @drknzz in #1127- Add missing fields to dataclasses by @tomek0123456789 in #1130
- Update to Starknet 0.12.1 by @drknzz in #1131
- Fix Contract Not Found Abi Resolver by @drknzz in #1132
- Fix
state_diff
typing by @drknzz in #1122 - Support RPC v0.4.0 by @tomek0123456789 in #1125
Migration guide: https://starknetpy.readthedocs.io/en/latest/migration_guide.html
Full Changelog: v0.17.1...v0.18.0-alpha
v0.17.1
Fix Client.wait_for_tx
not sleeping when transaction not found.
Full Changelog: v0.17.0...v0.17.1
v0.17.0
NEW VERSION of starknet.py
is out (v0.17.0) β
- Update to Starknet 0.12.0
- AbiParser for Cairo v2.0.0 syntax
- Deprecation of GatewayClient
- Add missing methods to FullNodeClient interface
- Changes to
Client.wait_for_tx
What's Changed
- Remove
Deployer.create_deployment_call
by @tomek0123456789 in #1086 - Integer in Felt field by @drknzz in #1091
- StarknetChainId, TransactionHashPrefix -> IntEnum by @drknzz in #1090
- Add
get_block_with_txs
andget_block_with_tx_hashes
to FullNodeClient by @tomek0123456789 in #1085 - Deprecate
GatewayClient
by @tomek0123456789 in #1087 - Migrate docs to FullNodeClient by @tomek0123456789 in #1092
- Add missing RPC methods by @drknzz in #1094
- Update to Starknet 0.12.0 by @drknzz in #1101
Migration guide:
https://starknetpy.readthedocs.io/en/latest/migration_guide.html
Full Changelog: v0.16.1...v0.17.0
0.17.0-alpha
What's Changed
- Support custom nonces by @drknzz in #1053
- Do not mutate
contract_class
incompute_class_hash
by @drknzz in #1061 - Parametrize block in Account.get_nonce by @drknzz in #1062
- Parametrize block in Account.get_balance by @drknzz in #1064
- Remove
compute_invoke_hash
by @drknzz in #1060 - RPC v0.3.0 update by @tomek0123456789 in #1065
- Change Windows installation section in docs, add migration guide by @tomek0123456789 in #1077
- Throw an error when
FullNodeClient
useswait_for_tx
withoutwait_for_acceptance=True
by @tomek0123456789 in #1078 - Support Cairo1 in
Contract
by @drknzz in #1069
Migration guide: https://starknetpy.readthedocs.io/en/latest/migration_guide.html
Full Changelog: v0.16.1...v0.17.0-alpha
0.16.1
Starknet.py v0.16.1 is out! β
- Windows OS Support
- Adapt FullNodeClient to RPC v0.3.0-rc1
Full Changelog: v0.16.0-alpha...v0.16.1
0.16.0-alpha
Starknet.py v0.16.0-alpha is out! β
- Added support for Python 3.8, 3.9, 3.10 and 3.11
- Removed
cairo-lang
package as a dependency - Optimized dependencies to include only necessary packages
Check out the migration guide for more in depth information π
What's Changed
- Use poseidon-py by @drknzz in #936
- Get rid of
parse_type
from cairo-lang by @war-in in #937 - Remove deprecated is_felt_pointer and DataTransformer by @war-in in #955
- Remove deprecated
Compiler
module by @war-in in #957 - Add
get_events
in FullNodeClient by @tomek0123456789 in #899 - fix Deployer to support the value 0 in salt by @yoga-braavos in #968
- Replace sign, verify, private_to_stark_key by @drknzz in #950
- Remove requirements.txt by @war-in in #970
- Make cairo-lang dev dependency by @drknzz in #977
- Support Python ^3.8 by @drknzz in #995
- Add
FullNodeClient
to tests whereGatewayClient
is tested by @tomek0123456789 in #979
New Contributors
- @yoga-braavos made their first contribution in #968
Full Changelog: v0.15.2...v0.16.0-alpha