Skip to content

1.1.0rc1

Phoenix requested to merge develop into master

IMPORTANT: This version includes several changes that are not backwards-compatible with v1.0.x!

Backwards-Incompatible Changes

  • Dropped support for IRI nodes below v1.1.2.4.
  • [#13 (closed)] Removed support for udp:// API URLs. Use http:// instead.
  • getNewAddresses now returns a dict. All API commands now have consistent return types.
  • Restricted which commands each API class can create (StrictIota can only create core commands; Iota can create core+extended).
    • __getattr__ now raises an InvalidCommand error if an unsupported command is requested (previously it would return a CustomCommand instance).
    • Implemented create_command method to create CustomCommand objects.

New Features

Enhancements/Fixes

  • [#6 (closed)] addNeighbors and removeNeighbors now only accept udp:// URIs.
  • [#7 (closed)] Added support for https:// API URLs.
  • Improved handling of non-200 responses from nodes.
  • Adapters now use urlsplit to parse URIs.
  • Adapters now provide more context vars when raising BadApiResponse.
  • discover_commands now also returns all command objects that it finds.
  • Changed requests dependency to requests[security].
  • Cleaned up code in examples/shell.py.
  • General documentation cleanup and fixes.

Merge request reports