Skip to content

v0.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Sep 08:54
· 645 commits to master since this release

Breaking changes

Cairo syntax changed

Cairo v0.10 changed language syntax, adding non-tuple function return types, replacing : ... end with braces, new structs syntax and adding semicolons after statements. You can migrate your projects automatically to new syntax, by calling the new command in your project's root directory:

$ protostar cairo-migrate

Note: Official Cairo migrator is known to fail without trailing new line in input files. protostar cairo-migrate fixes that.

Note: There are some new features in Cairo v0.10 release, like transactions v1 and fee estimation, that we have not exposed via Protostar yet. Expect these changes to land in next Protostar releases.

Python 3.9

If your hints depended on any features removed in Python 3.9 and 3.8, you have to manually upgrade your code. Consult Python's 3.9 and 3.8 release notes.

From Protostar's perspective, Python 3.8 has changed the execution strategy of the multiprocessing module on macOS, which Protostar heavily depends on. We have updated Protostar to the new environment, but if anything breaks in this release, we kindly ask to promptly submit issues to our bug tracker.

What's Changed

Full Changelog: v0.3.3...v0.4.0