Skip to content

Release/0.1.16

Compare
Choose a tag to compare
@github-actions github-actions released this 03 May 10:31
aa1f9cc

Contents

Breaking changes

  • Rename Service.__init__ parameter id to service_id to avoid built-in name clash
  • Move deployment package into cloud package

Dependencies

  • Use newest version of twined to support python>=3.6

Minor improvements

  • Remove duplicate code and unnecessary comments from Runner
  • Raise error if SERVICE_ID envvar is missing from deployment environment
  • Disallow non-None empty values as Service IDs
  • Add base class for service backends; update docstrings

Fixes

  • Use OctueJSONEncoder in JSON serialisation inside Service.answer to ensure numpy arrays are serialised

Testing

  • Add tests for Topic and Subscription
  • Add extra test for Service
  • Shorten runtime of cli.start test