0.11.0a4
Pre-release
Pre-release
Breaking Changes
- Attempting to overwrite an
Attributenow raises aRuntimeError, even if the type and access mode match. To statically type hint anAttributeto be validated during initialisation, only specify the type hint on the class - do not create a default instance, e.g.attr: AttrRW[int], notattr = AttrRW(Int()). Controller.attributesis now a read-only view. UseController.add_attribute("<attr_name>", <attr>)or direct assignment (controller.<attr_name> = <attr>) to createAttributes, which will perform validation and attach them to the controller to use in the interactive shell.
What's Changed
- validate hinted attributes on subcontrollers by @jsouter in #209
- Add timeouts to tests by @hyperrealist in #266
- Fix warnings in tests by @hyperrealist in #267
- Hinted attribute validation by @GDYendell in #268
- Add logging to tutorial by @GDYendell in #269
- Increase docs snippet test timeout by @GDYendell in #270
- Fix alarm status on Command PVs by @GDYendell in #265
Full Changelog: 0.11.0a3...0.11.0a4