Skip to content

26.1.0

Choose a tag to compare

@mootz12 mootz12 released this 08 Jun 13:53
175aa41

What's Changed

Deprecations

  • Deprecate and ignore export for spec generation in spec shaking v2 — When experimental_spec_shaking_v2 is enabled, the export argument on contracttype, contracterror, and contractevent is ignored. A deprecation warning is emitted if used. (#1876)

Improvements

  • Fix cfg handling for contracttrait and contractimpl blocks#[contractimpl] methods with cfg attributes now correctly gate their generated args helpers and testutils registration. cfg-gated override methods in #[contractimpl(contracttrait)] blocks are also properly supported. Both cfg and cfg_attr result in compiler errors when used on #[contracttrait] default functions. (#1871)

All Changes

Full Changelog: v26.0.1...v26.1.0