Skip to content

0.11.0a4

Pre-release
Pre-release

Choose a tag to compare

@GDYendell GDYendell released this 18 Nov 15:28
· 24 commits to main since this release
7ddd7d2

Breaking Changes

  • Attempting to overwrite an Attribute now raises a RuntimeError, even if the type and access mode match. To statically type hint an Attribute to be validated during initialisation, only specify the type hint on the class - do not create a default instance, e.g. attr: AttrRW[int], not attr = AttrRW(Int()).
  • Controller.attributes is now a read-only view. Use Controller.add_attribute("<attr_name>", <attr>) or direct assignment (controller.<attr_name> = <attr>) to create Attributes, which will perform validation and attach them to the controller to use in the interactive shell.

What's Changed

Full Changelog: 0.11.0a3...0.11.0a4