Skip to content

v2.0.0rc4

Pre-release
Pre-release
Compare
Choose a tag to compare
@mattdodge mattdodge released this 07 Feb 02:32
· 220 commits to master since this release

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