v0.4.0
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
- Protostar now works on Cairo v0.10 🎉 by @mkaput, @Arcticae & @MaksymilianDemitraszek
- Upgraded Python to v3.9.13 by @mkaput
- Fixed sharing state between fuzz test (#527) by @Radinyn
Full Changelog: v0.3.3...v0.4.0