Releases: software-mansion/starknet.py
0.15.2
Starknet.py v0.15.2 brings a few dependency tweaks and some documentation enhances π
What's Changed
- Document missing API (hash and client_models) by @war-in in #914
- Add
create_casm_class
by @drknzz in #916 - Use cairo-lang = "^0.11.0.2", eth-utils = "^2.1.0" by @drknzz in #933
Full Changelog: v0.15.1...v0.15.2
0.15.1
0.15.0
0.15.0 is here to support Starknet
0.11.0 π
We highly encourage you to read through MigrationGuide to be up to date with all changes!
What's Changed
- Cairo1.0 contracts can be declared and deployed π₯
cairo-lang
dependency is partially removed!- deprecated AccountClient and l1<>l2 messaging module were removed
Note that this version does not support RPC 0.3.0
Full Changelog: 0.14.0-alpha...0.15.0
0.14.1-alpha
What's Changed
Full Changelog: 0.14.0-alpha...0.14.1-alpha
0.14.0-alpha
New version of StarkNet.py has been released π
Added
serialization
andabi
modules that will replace the olddata_transformer
.- New
Account.sign_for_fee_estimate
endpoint - Documentation improvement, including restructuring of the docs and code examples in the API section, properly documenting Contract's ProxyChecks
Fixed and changed
- Changed the multiplier used in
auto_estimate
methods to reduce transaction failures ContractDeployent
first parameter renamed tocall
from incorrectudc
Deprecations
utils.data_transformer
modulecompiler
module
See our migration guide for more details on these changes.
What's Changed
- Rename
ContractDeployment.udc
->ContractDeployment.call
by @war-in in #656 - Update ProxyChecks by @drknzz in #665
- Fix: typos by @omahs in #669
- Make Compiler module deprecated by @cptartur in #639
- Split guide into multiple pages by @Solpatium in #674
- Move migration guide into a single page by @Solpatium in #673
- Bump
Devnet
and setmarshmallow-dataclass
below 8.5.0 by @war-in in #675 - Improve the docs about ProxyChecks by @drknzz in #666
- Bump asgiref from 3.5.2 to 3.6.0 by @dependabot in #622
- Update docs by @cptartur in #682
- Rewrite data transformer by @Solpatium in #574
- Update data transformer docs by @cptartur in #688
- Bump black from 22.10.0 to 22.12.0 by @dependabot in #690
- Bump pyright from 1.1.281 to 1.1.290 by @dependabot in #691
- Bump setuptools from 65.6.3 to 65.7.0 by @dependabot in #692
- Add warning to development docs by @drknzz in #697
- Codesnippet match by @drknzz in #701
- Update checks by @war-in in #703
- Code examples! (demo) by @war-in in #676
GatewayClient
examples by @war-in in #699FullNodeClient
examples by @war-in in #707Account
examples by @war-in in #710- Update contract in README by @drknzz in #717
- Fix build badge in README by @drknzz in #718
- Bump isort from 5.11.4 to 5.12.0 by @dependabot in #724
- Bump pyright from 1.1.290 to 1.1.291 by @dependabot in #725
- Add docs about
client.call_contract
by @drknzz in #723 - Cache compiled contracts by @drknzz in #720
- Change fee estimate multiplier by @drknzz in #711
- Update
Account creation
docs by @war-in in #715 - Fix API docs (order and undocumented members) by @war-in in #714
- 0.14.0 migration guide by @cptartur in #696
- Add signing transactions for fee estimations by @cptartur in #693
- v0.14.0-alpha by @cptartur in #730
New Contributors
Full Changelog: 0.13.0-alpha...0.14.0-alpha
0.13.0-alpha
New version of StarkNet.py has been released bringing major changes to the SDK, notably:
- Introduced new
Account
class that will replace now deprecatedAccountClient
, - removed
version
parameter fromContract
methods - now version from Account will be used instead, - deprecated Starknet<>Ethereum messaging module,
and more. See our migration guide to familiarize yourself with 0.13.0 changes and deprecations.
Examples in guide and quickstart have also been updated to showcase the new Account
.
Please note, that while AccountClient
is still available to use, we strongly encourage all users to migrate to new Account
as it will become the only supported Account in the future versions.
What's Changed
- Remove unused
TransactionStatus
import from cairo-lang by @war-in in #578 - Deprecate l1<>l2 messaging module by @war-in in #591
- Improve installation docs by @cptartur in #598
- Remove deprecated note from the
Account creation
by @war-in in #608 - Remove deprecated
invoke_tx
Client.call_contract
parameter by @war-in in #609 - Deprecate PreparedFunctionCall.arguments by @Solpatium in #610
- Change docs theme by @war-in in #623
- Unify error messages by @drknzz in #616
- Add docs configuration by @drknzz in #615
- Account refactor by @cptartur in #499
- 0.13.0 Migration guide by @war-in in #641
Full Changelog: 0.12.0-alpha...0.13.0-alpha
0.12.0-alpha
StarkNet.py has been updated to support cairo-lang 0.10.3 and also supports Testnet2!
What's Changed
- Added
TESTNET2
predefined network - Replaced cairo-lang
StarknetChainId
with our implementation - Added
StarknetChainId.TESTNET2
For details, see the migration guide.
Full Changelog: 0.11.0-alpha...0.12.0-alpha
0.11.0-alpha
The Deploy
transaction was officially blocked! The new version of StarkNet.py is here to help you with the new deployment flow π₯
What's Changed
Deploy
transaction is removed from the library π’ But can be fetched from the old blocks!- Since now we recommend using
Invoke
instead ofInvokeFunction
PreparedFunctionCall.estimate_fee
does not throw an error whenmax_fee
is set- Improvements in the documentation (all available methods are present in the API section)
Please read through the Migration Guide to be up to date with the API changes!
Full Changelog: 0.10.2-alpha...0.11.0-alpha
0.10.2-alpha
What's Changed
- Update cairo-lang to 0.10.2 by @drknzz in #536
estimate_fee_bulk
method was added to theGatewayClient
Full Changelog: 0.10.1-alpha...0.10.2-alpha
0.10.1-alpha
What's Changed
Full Changelog: 0.10.0-alpha...0.10.1-alpha