Releases: software-mansion/starknet.py
v0.19.0
New version of starknet.py
is out (v0.19.0) π₯
- Support RPC v0.6.0 and Starknet v0.13.0
- Remove
GatewayClient
- Rename method names in
Account
andContract
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 #1256
- Add warning message to Windows installation section by @tkumor3 in #1257
- Fix
serializer_for_event
for events from contracts in version v2 by @tkumor3 in #1263 - Add
Account.deploy_account_v3
static method by @ddoktorski in #1265 - Support V3 transactions in the
Contract
class by @ddoktorski in #1262 - Split deprecated schemas to their respective classes based on versions by @Jonatan-Chaverri in #1259
- Add Missing
EventType
inserializer_for_type
by @tkumor3 in #1269 - Remove
supported_transaction_version
property by @tomek0123456789 in #1088 - Remove
wait_for_accept
parameter by @ddoktorski in #1276 - Drop 'transaction' word from sign methods in
Account
class by @ddoktorski in #1278
New Contributors
- @Jonatan-Chaverri made their first contribution in #1258
- @tkumor3 made their first contribution in #1257
Migration guide: https://starknetpy.readthedocs.io/en/latest/migration_guide.html
Full Changelog: v0.18.3...v0.19.0
v0.19.0-alpha
New version of starknet.py
is out (v0.19.0-alpha) π
- Remove
GatewayClient
- Support RPC v0.6.0 and Starknet v0.13.0
- Add
data
information toClientError
Warning
Contract
class does not support V3 transactions in the pre-release
What's Changed
- Remove
GatewayClient
by @ddoktorski in #1225 - Fix typos by @xiaolou86 in #1229
- Update
starknet-devnet
by @ddoktorski in #1239 - Support RPC v0.6.0 by @ddoktorski in #1243
- Add
data
info to RPC error message by @ddoktorski in #1244 - Add
Uint64
andUint128
classes by @ddoktorski in #1247
New Contributors
- @xiaolou86 made their first contribution in #1229
Migration guide: https://starknetpy.readthedocs.io/en/latest/migration_guide.html
Full Changelog: v0.18.3...v0.19.0-alpha
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