Skip to content

Release 1.1.0

Choose a tag to compare

@pcisar pcisar released this 01 Dec 16:07
· 64 commits to master since this release
  • New module: signal - Callback system based on Signals and Slots, and "Delphi events"

  • firebird.base.config module:

    • New class ApplicationDirectoryScheme
    • Config.load_config(): raises error when section is missing, better error handling when exception is raised while loading options
    • PyCallableOption signature argument could be inspect.Signature or Callable
    • Introduced .PROTO_CONFIG constant with fully qualified name for ConfigProto protobuf
    • Optional argument to_default in Option.clear() is now keyword-only.
  • firebird.base.logging module:

    • get_logging_id() uses 'qualname' instead 'name'
  • firebird.base.protobuf module:

    • Added direct support for key well-known data types Empty, Any, Duration, Timestamp, Struct, Value, ListValue and FieldMask. They are automatically registered. New constants PROTO_ with fully qualified names.
    • create_message() has new optional serialized argument with bytes that should be parsed into newly created message instance.
    • New functions struct2dict() and dict2struct()
  • firebird.base.trace module:

    • TraceFlag value DISABLED was renamed to NONE.

    • Added support for trace configuration based on firebird.base.config, using new classes BaseTraceConfig, TracedMethodConfig, TracedClassConfig and TraceConfig.

    • New methods in TraceManager:

      • load_config() to update trace from configuration.
      • set_flag() and clear_flag().
  • firebird.base.types module:

    • MIME now handles access to properties more efficiently and faster.
    • New function load().
  • Changes in documentation.