Skip to content

Commit dcaa3ae

Browse files
Add migration guide from v0.28.1 (#1675)
1 parent 6590b9a commit dcaa3ae

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

docs/migration_guide.rst

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Migration guide
99
--------------------
1010

1111
1. Fixed parsing ABI that contains signed integers (e.g. ``i128``).
12-
2. Fixed logic for choosing hash method used to calculated CASM class hash.
12+
2. Fixed logic for choosing hash method used in CASM class hash computation.
1313

1414
***************************
1515
0.29.0-rc.0 Migration guide
@@ -25,6 +25,26 @@ Version 0.29.0-rc.0 of **starknet.py** comes with support for RPC 0.10.0-rc.1.
2525
4. Hash function for contract declaration is now automatically selected based on node's RPC version: Blake2s for RPC >= 0.10.0-rc.0, Poseidon for older versions.
2626
5. :class:`EmittedEvent` has new fields: ``transaction_index`` and ``event_index``.
2727

28+
***************************
29+
0.28.1 Migration guide
30+
***************************
31+
32+
1. This version adds support for Blake hash used in CASM class hash computation.
33+
34+
0.28.1 Targeted versions
35+
------------------------
36+
- Starknet - `0.14.0 <https://docs.starknet.io/learn/cheatsheets/version-notes#starknet-v0-14-0-september-1>`_ and `0.14.1 <https://docs.starknet.io/learn/cheatsheets/version-notes#starknet-v0-14-1-tbd>`_
37+
- RPC - `0.9.0 <https://github.com/starkware-libs/starknet-specs/releases/tag/v0.9.0>`_
38+
39+
0.28.1 Breaking changes
40+
-----------------------
41+
42+
.. py:currentmodule:: starknet_py.hash.compiled_class_hash_objects
43+
44+
1. :meth:`BytecodeSegmentStructure.hash` has new param ``hash_method``.
45+
2. :meth:`BytecodeLeaf.hash` has new param ``hash_method``.
46+
3. :meth:`BytecodeSegmentedNode.hash` has new param ``hash_method``.
47+
2848
***************************
2949
0.28.0 Migration guide
3050
***************************

0 commit comments

Comments
 (0)