Skip to content

Releases: niolabs/nio

3.4.1

23 Jan 01:34
Compare
Choose a tag to compare

Fixes/Changes

  • EnrichSignals mixin properties are now advanced

3.4.0

16 Jan 16:43
Compare
Choose a tag to compare

New Features

  • Adds a process_signal helper method to the Block base class. Use this method to easily operate on one signal at a time in your blocks

3.3.0

16 Jan 16:49
Compare
Choose a tag to compare

New Features

  • Adds is_user_set() helper method to nio.modules.security.access. Use this to detect whether a user has authenticated in the given thread
  • Adds body attribute to HTTPError in nio.modules.web.exceptions. You can now include a JSON/dict body in exceptions to be presented in the HTTP response
  • Blocks raise meaningful failure exceptions - Blocks now raise information about the block in start and configure failures. The core can interpret these messages to determine which block caused a service process to fail to start.
  • Flag values - Enum flags (nio.utils.flags_enum) can now be set to custom values rather than just True/False. Default behavior is the legacy boolean logic so it is fully backwards compatible.

3.2.1

16 Jan 16:51
Compare
Choose a tag to compare

Bug Fixes

  • Include exception text in published log messages for exceptions

3.2.0

16 Jan 16:53
Compare
Choose a tag to compare

New Features

  • Adds a CoreServiceAccount user to nio.modules.security.user that will be used for actions taken by the core, outside of the API thread. For example, core components that auto perform actions can authenticate as the CoreServiceAccount without requiring an incoming API request

3.1.2

16 Jan 16:58
Compare
Choose a tag to compare

New Features

Improvements/Bug Fixes

  • Faster parsing of nio block expressions

3.1.1

16 Jan 17:03
Compare
Choose a tag to compare

New Features

  • Report block status messages on service status API calls

Improvements/Bug Fixes

  • Router diagnostics reported as accurate UTC timestamps
  • Correctly save status messages on block status changes

3.1.0

16 Jan 17:16
Compare
Choose a tag to compare

New Features

  • Adds support for advanced properties in blocks - these properties will be hidden behind a toggle in the System Designer
  • Adds support for ordering block properties - Configure the order properties should appear in the block edit modal of the System Designer
  • Adds a set_status method to the block base class - This allows blocks to report status information to the router. For example, a block can report that it is in error or warning status and that information will be reflected in the service status API
  • Adds on_connected and on_disconnected callbacks and is_connected() method to the Publisher and Subscriber interfaces of the communication module
  • Allow for asynchronous configuring of blocks in a service - previously only start and stop could be asynchronous

Improvements/Fixes

  • Proper ISO-8601 formatting of log datetime strings
  • Monotonic clock used in logging publisher

3.0.0

25 Apr 22:11
Compare
Choose a tag to compare

Added:

  • Add Service 'id' property and make 'id' property play identity role #117 (f1401martin)
  • adding 'id' to block, making 'name' optional, having 'id' play former name-uniqueness role #115 (f1401martin)

Changed:

2.3.3

05 Jan 00:22
Compare
Choose a tag to compare

Fixes

  • Logger works with Python 3.6.4
  • Update safepickle to 1.0