Releases: software-mansion/starknet.py
v0.22.0
New version of starknet.py
is out (v0.22.0) β¨
- Remove
Goerli
support - Add method to convert
EstimatedFee
toResourceBoundsMapping
- Support
ByteArray
serialization
What's Changed
- Remove Goerli and migrate network tests on sepolia by @tkumor3 in #1328
- Move compiling contracts on github actions by @tkumor3 in #1322
- Simplifies using a custom network by @tkumor3 in #1327
- Use pre-compiled devnet binary from release assets by @ddoktorski in #1345
- Support serialization of ByteArrays by @ddoktorski in #1344
- Add method to convert
EstimatedFee
toResourceBoundsMapping
by @ddoktorski in #1347 - Make
execution_resources
required inL1HandlerTransactionTrace
by @ddoktorski in #1348
Migration Guide: https://starknetpy.readthedocs.io/en/latest/migration_guide.html
Full Changelog: v0.21.0...v0.22.0
v0.21.0
What's Changed
- Add missing event context fields by @ddoktorski in #1308
- Support RPC 0.7.0 by @ddoktorski in #1307
- Add support for declaring contract compiled with cairo 2.6 by @tkumor3 in #1314
- Add parsed_abi property to SierraContractClass by @tkumor3 in #1313
- Ignoring unknown keys in RPC responses by default by @tkumor3 in #1312
Full Changelog: v0.20.0...v0.21.0
v0.21.0-alpha
What's Changed
- Add missing event context fields by @ddoktorski in #1308
- Support RPC 0.7.0 by @ddoktorski in #1307
Migration guide: https://starknetpy.readthedocs.io/en/latest/migration_guide.html
Full Changelog: v0.20.0...v0.21.0-alpha
v0.20.0
New version of starknet.py is out (v0.20.0)
- Support for Python
3.12
- Add
Account.estimate_fee
method - Bugfixes
What's Changed
- Add support for Python
3.12
by @tkumor3 in #1272 - Add
estimate_fee
method toAccount
class by @tkumor3 in #1279 - Refactor code for creating broadcasted transaction by @tkumor3 in #1288
- Remove
StarknetEthProxyCheck
by @tkumor3 in #1292 - Move Abi V0 files to
starknet_py/abi/v0
by @tkumor3 in #1299 - Add missing
segment_arena_builtin
field toExecutionResources
by @tkumor3 in #1301 - Fix parsing ABIs with multiple
l1_handler
entries by @ddoktorski in #1302
Migration guide: https://starknetpy.readthedocs.io/en/latest/migration_guide.html
Full Changelog: v0.19.0...v0.20.0
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