Release/2.0.1
PyOTA v2.0.1
Backwards-Incompatible Changes
- Moved
iota.types.int_from_trits
andiota.types.trits_from_int
to newiota.trits
module.- If you were previously importing these symbols from
iota.types
, you will need to update your imports:- Change
from iota.types import int_from_trits
tofrom iota import int_from_trits
- Change
from iota.types import trits_from_int
tofrom iota import trits_from_int
- Change
- If you were previously importing these symbols from
iota
, you do not have to make any changes.
- If you were previously importing these symbols from
-
#62 (closed) The
trytes
codec has been renamed totrytes_ascii
.- The
trytes
codec will still work, but it generates a deprecation warning, and it will be removed in PyOTA v2.1.
- The
New Functionality
-
#84 (closed) PyOTA is now compatible with IRI v1.4.1
- Now adds
X-IOTA-API-Version
header to HTTP requests. - Adds support for preventing insecure bundle hashes.
- Now adds
- #45 (closed) Creating a seed with more than 81 trytes now raises a warning (thanks @jinnerbichler!).
-
#72 (closed) Added
Transfer
alias forProposedTransaction
, to match naming convention of other IOTA API libraries (thanks @szepnapot!). - #83 (closed) More meaningful error message if setuptools version is too old to install PyOTA (thanks @HerrMuellerluedenscheid!).
-
#78 Partial documentation.
- Documentation is uploaded to https://pyota.readthedocs.io/ automatically after each production release.
- Documentation for the latest development version is available at https://pyota.readthedocs.io/en/develop/
Bugfixes
-
#49 (closed)
trits_from_int(0)
now returns[0]
by default. - Fixed incorrect PEP-484 type hints.
Thanks to the following individuals for their help with this release:
- @HerrMuellerluedenscheid
- @jinnerbichler
- @szepnapot
- @th0br0