Releases: software-mansion/starknet.py
v0.24.2
New version of starknet.py
is out (v0.24.2) π
- Added random key pair generation.
- Deploying contracts is now possible without providing abi.
- Fix bounded int parsing post cairo 2.8.0
What's Changed
- Add random key pair generation by @franciszekjob in #1421
- Enable deploying contracts without providing abi by @kkawula in #1452
- Update readme by @kkawula in #1462
- Fix bounded int parsing post cairo 2.8.0 by @feltroidprime in #1463
New Contributors
- @feltroidprime made their first contribution in #1463
- @droserasprout made their first contribution in #1392
Full Changelog: v0.24.1...v0.24.2
v0.24.1
New version of starknet.py
is out (v0.24.1) β¨
- Fixed parsing ABI that contains
u96
data type. - Fixed
l1_address
deserialization inL2toL1MessageSchema
.
What's Changed
- Fix
l1_address
deserialization inL2toL1MessageSchema
by @franciszekjob in #1435 - Add BoundedInt terminal to grammar definition for parsing ABI by @kkawula in #1449
Migration Guide: https://starknetpy.readthedocs.io/en/latest/migration_guide.html
Full Changelog: v0.24.0...v0.24.1
v0.24.0
New version of starknet.py
is out (v0.24.0) π
DevnetClient
has been implemented to interact with additional features of the starknet-devnet-rsLedgerSigner
has been implemented to enable signing with Ledger hardware wallet
What's Changed
- Add DevnetClient implementation by @kkawula in #1393
- Support Ledger signer by @franciszekjob in #1402
New Contributors
Full Changelog: v0.23.0...v0.24.0
v0.23.0
New version of starknet.py
is out (v0.23.0) β¨
- Update
TypedData
in line with SNIP-12 - Add
KeyPair.from_keystore
method
What's Changed
- Change default cairo version to 1 by @tserg in #1352
- Accept
typed_data
param asTypedData
dataclass by @franciszekjob in #1362 - feat: from_keystore method by @EvolveArt in #1371
- Update
TypedData
in line with SNIP-12 by @franciszekjob in #1360, #1363, #1369, #1370, #1380, #1383, #1382, #1377
New Contributors
- @tserg made their first contribution in #1352
- @EvolveArt made their first contribution in #1371
Full Changelog: v0.22.0...v0.23.0
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