github software-mansion/scarb v2.12.0-rc.1

latest releases: cairo-lang-macro/v0.2.1, cairo-lang-macro-attributes/v0.2.1, v2.12.1...
pre-releaseone month ago

Cairo release notes ➡️

Welcome to the release notes for Scarb v2.12.0-rc.1!
This release finally brings full pre-release of the new procedural macros API.

  • Scarb toml dependency specification - will now reject unknown fields during parsing. If the field is not in the spec, an error will be returned. See specifying dependencies for valid configuration options.
  • Registry yanking - A bug that caused yanked package versions to be used regardless of the yank has been fixed.
  • Shell completions installation - If you install Scarb via starkup or the installation script, it will automatically install Scarb shell completions on your system.

Scarb doc groups

When writing docs for your package, you can now instruct Scarb doc to group some doc items in a separate, collapsible section. This can be done with help of #[doc(group: "group name")] attribute. This can be helpful to make the docs easier to navigate for the user, if your documentation contains a lot of items of the same kind that cannot be moved to separate modules.

New procedural macros API release candidate

The new API has been promoted to release candidate!
This means, you can try it out by using Scarb 2.12.0-rc.1 (or newer) and cairo-lang-macro 0.2.0-rc.1.
Note that the older macro API is still supported by Scarb.
The new macro API brings some quality of life improvements (like the quote! macro) and support for propper diagnostics locations in the macro-generated code.

Cairo Version

This version of Scarb comes with Cairo v2.12.0-rc.1.

What's Changed

Full Changelog: v2.12.0-rc.0...v2.12.0-rc.1

Don't miss a new scarb release

NewReleases is sending notifications on new releases.