Skip to content

Release/2.0.1

Phoenix requested to merge release/2.0.1 into master

PyOTA v2.0.1

️ This version contains a change that is not backwards-compatible with v2.0.0. Please review the Backwards-Incompatible Changes before updating!

Backwards-Incompatible Changes

  • Moved iota.types.int_from_trits and iota.types.trits_from_int to new iota.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 to from iota import int_from_trits
      • Change from iota.types import trits_from_int to from iota import trits_from_int
    • If you were previously importing these symbols from iota, you do not have to make any changes.
  • #62 (closed) The trytes codec has been renamed to trytes_ascii.
    • The trytes codec will still work, but it generates a deprecation warning, and it will be removed in PyOTA v2.1.

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.
  • #45 (closed) Creating a seed with more than 81 trytes now raises a warning (thanks @jinnerbichler!).
  • #72 (closed) Added Transfer alias for ProposedTransaction, 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.

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:

Merge request reports