1.1.0rc1
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. Usehttp://
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 anInvalidCommand
error if an unsupported command is requested (previously it would return aCustomCommand
instance). - Implemented
create_command
method to createCustomCommand
objects.
-
New Features
- [#19 (closed)] Implemented support for sandbox nodes.
Enhancements/Fixes
- [#6 (closed)]
addNeighbors
andremoveNeighbors
now only acceptudp://
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 torequests[security]
.- See https://github.com/kennethreitz/requests/issues/1995 for more info.
- Cleaned up code in
examples/shell.py
. - General documentation cleanup and fixes.