Skip to content

3.3.0

Compare
Choose a tag to compare
@mattdodge mattdodge released this 16 Jan 16:49
· 24 commits to master since this release

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.