Skip to content

v0.13.0

Choose a tag to compare

@BrianPugh BrianPugh released this 28 Nov 01:10
d9fe5fb

Features

  • CLI belay new <project-name> generates a directory structure suitable for most micropython projects using Belay.
  • belay.Device can now be subclassed, and methods can be marked with the decorator @belay.Device.task.
  • belay.Device now inherits from autoregistry.Registry, so it gains the benefit of easily indexing its children.

Breaking Changes

  • Multiple device decoration for functions has been removed. Use the new class-based approach instead.

Bug Fixes

  • Device.__call__(expression) now properly returns the results of the expression.