Releases: niolabs/nio
Releases · niolabs/nio
v2.0.0rc4
Potentially Breaking Changes
- Removed
ServerAlreadyExists
exception - no longer raised
New Features
- Can add multiple web servers on the same host/port. If a server already exists on that host/port it will be returned to you. This allows you to listen on the same port but different endpoints in different blocks. Note that the servers are not shared across services so if you try to listen on the same host/port in a different service you will likely get an exception indicating the port is in use.
- Allows validation of block properties but ignoring allow None violations. This is useful if you want to validate that the properties you've saved for a block are the right type (i.e. not a string in an integer property) but not ensure that you've provided every property you need to.
- Includes serialization of file-based projects
Fixes
- Allows creation of incomplete blocks again. Previously, creating a new block on the builder that didn't have all of the properties filled in (e.g. Publisher, Subscriber) would raise an exception
v2.0.0rc3
v2.0.0rc2
2.0.0rc1
v2.0.0b12
v2.0.0b11
v2.0.0b10
v2.0.0-beta.9
Potentially Breaking Changes
- Blocks are discoverable by default (without @DISCOVERABLE decorator)
New Features
- Blocks that should not be discovered can use @not_discoverable decorator
- Add get_headers method to Request interface
- Allow configuration of block to start and stop asynchronously in a service: blocks_async_start, blocks_async_stop
Fixes
- Allow blocks that spawn threads to stop properly by joining threads in service stop
v2.0.0-beta.8
Potentially Breaking Changes
- Change WebEngine.get to WebEngine.add_server
New Features
- Allow configuration of publisher ready time and wait time
Fixes
- Ensure log publisher handler initialization at startup
- Remove unneeded methods from Web module interface
- Add ModuleNotInitialized exception and raise it when creating a publisher that is not yet proxied
v2.0.0-beta.7
Potentially Breaking Changes
- None
New Features
- Add 'groups' command to GroupBy block mixin
Fixes
- Retry block mixin properly stops when block is stopping
- ObjectProperty uses obj_type instance when default is not specified
- Fix block name in various log messages
- Allow router to configure when block has not default output yet it's output list is empty
- Fix version dependency checks