Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

PyOTA v2.0.1

Compare
Choose a tag to compare
@todofixthis todofixthis released this 28 Oct 22:48
· 422 commits to master since this release
3c0cdf8

⚠️ 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 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 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 Creating a seed with more than 81 trytes now raises a warning (thanks @jinnerbichler!).
  • #72 Added Transfer alias for ProposedTransaction, to match naming convention of other IOTA API libraries (thanks @szepnapot!).
  • #83 More meaningful error message if setuptools version is too old to install PyOTA (thanks @HerrMuellerluedenscheid!).
  • #78 Partial documentation.

Bugfixes

  • #49 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:

Signature/Checksums

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

# 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 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 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 Creating a seed with more than 81 trytes now raises a warning (thanks @jinnerbichler!).
* #72 Added `Transfer` alias for `ProposedTransaction`, to match naming convention of other IOTA API libraries (thanks @szepnapot!).
* #83 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 `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

## Binary Distribution Checksums
* PyOTA-2.0.1-py2.py3-none-any.whl
    * sha256: c20f90b82331a0ac369391b246025d5f9280b78de48cc0270b275f30703c3a08
    * md5: b2b0cb08fc5e3c01c43b79496e697871
* PyOTA-2.0.1.tar.gz
    * sha256: ff69a22cbea8392bf6c8f3317ad3c10dc96d1c0739bcac137ea8bf7e8decda5c
    * md5: bd6f92a126e2001b5e581a2659be5cdb
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEc9vOP4UernObqSUWjIY/jl7U00MFAln1CMUACgkQjIY/jl7U
00Nu4xAA01zL7O3XHSHIzjF0H6h7XVOSTr6rU1mNPJ+dDtV3qq3ObPBSOzd491mR
lLBoNNMRTjE+UKB6dFFukyNFsnRgPH9kuaXXXDO8q6eexSQngJWgygJnp3XywoLR
r+D3W8TBB+o7fpAfS/MFoD8UR7i8wdwRNL3T/5WAO+ZecdWrlMMdVlPVA/w49qyn
RR6zmZLZwcp8iObNife/HLG3ZtTFgyfGWPt+N+WijVWpGAElYm4r2U5xMEtI9lZX
hDz3kOPs1hzRX+63zAOxqYcET3IJaF4DlfcUbEtR34SBUdfBqAoJAz6k6vZzfQSX
bSMp49iMCLFsg4E+jkhb5UX3gm7MZaJaOCd1BRfi2NRaC1vBFGR0mkmmd05+BMBF
IWzmroHBGz9JA1uQzwKPKe5vUB5P5t5k7YUS5u7IIo6ktE3XNbMk4yyPm/nJo+9C
FGUvqPihekeToaN7NFJRzA09HZ+N3hgxH4wNIexjINwmkXJd0Oa4jZdvyiT14Poq
u7+lmjPCxzUGRXB4dXleGo6TPkAiT1OK27ZBLPk3gv9hATnEHvq4bou9ycYkDJXR
/oDMMIKry2V1rvDNXSN+0R9fxbUkb9EoMBacGyJ6cXpn4c6N0vnNxV2QenJCXe83
mVZspgJiH2jvxsVCext1MrVxUk4HRIVKKO1TIrMNwqtqi5Tk4Ik=
=bIc7
-----END PGP SIGNATURE-----