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

1.2.0b1

Pre-release
Pre-release
Compare
Choose a tag to compare
@todofixthis todofixthis released this 16 Jul 01:26
· 537 commits to master since this release

PyOTA v1.2.0-beta1

⚠️ This is pre-release software! Do not use in production contexts! ⚠️

⚠️ This release contains several changes that are not backwards compatible with the previous version. Please review the Backwards-Incompatible Changes before upgrading! ⚠️

Backwards-Incompatible Changes

  • [#51] Removed address caches.
  • [#39] PyOTA now requires requests 2.4.1 or later.
  • Reversed the behavior of the head_to_tail parameter in Bundle.as_tryte_strings.
    • Previously, setting head_to_tail=True would return transactions in reverse order (and mutatis mutandis), which is incorrect. Now it returns the transactions in the correct order.
  • Digest now requires that its length be a multiple of 81 trytes.
  • Removed iota symlink at the top level of the package structure, renamed src to iota.
    • This only impacts developers who have cloned the repository; if you install PyOTA via pip, this will not affect you.

New Features

  • [#10] Implemented multisig support.
  • [#28] Added support for address security levels.
  • [#18] Added convert_value_to_standard_unit (thanks @vynes!).
  • Installing via pip now automatically installs iota-cli app into env path.
    • This replaces examples/repl.py.
  • Added support for pyota-ccurl extension (Python 3 only, for the moment).

Enhancements and Bugfixes

  • TryteString (and subclasses) now support creating new instances from unicode values.
    • It is no longer necessary to convert values into byte strings first.
  • [#44] Seed.random now generates 81-tryte seeds by default.
    • Previously, it was generating 82-tryte seeds.
  • [#42] Transaction.from_tryte_string now accepts optional hash argument (thanks @alon-e for reporting!).
  • [#41] Fixed error when invoking help(api) in the REPL script.
  • Address.with_valid_checksum now also copies balance, key_index and security_level.
  • No longer installs unnecessary dependencies on Python 3.
    • If you are using Python 3, you may uninstall the typing and mock libraries.
  • [#47] Added example script showing proof-of-concept for integrating with JS MAM library.
    • A Python implementation of MAM is coming; for now it is necessary to use the JS library.
  • Improved PyCurl performance by ~7%.
  • Split out the transactions module into its own package.
    • Existing imports should still work; please file an issue on the PyOTA Issue Tracker if you notice any broken imports.
  • Made JSON representations of certain objects more comprehensive.
  • Added IPython repr integrations.
  • Improved documentation, fixed a few minor issues.
  • Fixed incorrect behavior of examples/address_generator.py (thanks @ivoscc!).
  • Fixed node URI in examples/sandbox.py.
  • Added contributor guide.

Signature/Checksums

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

# PyOTA v1.2.0-beta1

**⚠️ This is pre-release software!  Do not use in production contexts! ⚠️**

**⚠️ This release contains several changes that are not backwards compatible with the previous version.  Please review the Backwards-Incompatible Changes before upgrading! ⚠️**

## Backwards-Incompatible Changes
* [#51] Removed address caches.
* [#39] PyOTA now requires `requests` 2.4.1 or later.
* Reversed the behavior of the `head_to_tail` parameter in `Bundle.as_tryte_strings`.
    * Previously, setting `head_to_tail=True` would return transactions in reverse order (and mutatis mutandis), which is incorrect.  Now it returns the transactions in the correct order.
* `Digest` now requires that its length be a multiple of 81 trytes.
* Removed `iota` symlink at the top level of the package structure, renamed `src` to `iota`.
    * This only impacts developers who have cloned the repository; if you install PyOTA via pip, this will not affect you.

## New Features
* [#10] Implemented multisig support.
* [#28] Added support for address security levels.
* [#18] Added `convert_value_to_standard_unit` (thanks @vynes!).
* Installing via pip now automatically installs `iota-cli` app into env path.
    * This replaces `examples/repl.py`.
* Added support for `pyota-ccurl` extension (Python 3 only, for the moment).

## Enhancements and Bugfixes
* `TryteString` (and subclasses) now support creating new instances from unicode values.
    * It is no longer necessary to convert values into byte strings first.
* [#44] `Seed.random` now generates 81-tryte seeds by default.
    * Previously, it was generating 82-tryte seeds.
* [#42] `Transaction.from_tryte_string` now accepts optional `hash` argument (thanks @alon-e for reporting!).
* [#41] Fixed error when invoking `help(api)` in the REPL script.
* `Address.with_valid_checksum` now also copies `balance`, `key_index` and `security_level`.
* No longer installs unnecessary dependencies on Python 3.
    * If you are using Python 3, you may uninstall the `typing` and `mock` libraries.
* [#47] Added example script showing proof-of-concept for integrating with JS MAM library.
    * A Python implementation of MAM is coming; for now it is necessary to use the JS library.
* Improved PyCurl performance by ~7%.
* Split out the `transactions` module into its own package.
    * Existing imports should still work; please file an issue on the [PyOTA Issue Tracker](https://github.com/iotaledger/iota.lib.py/issues/) if you notice any broken imports.
* Made JSON representations of certain objects more comprehensive.
* Added IPython repr integrations.
* Improved documentation, fixed a few minor issues.
* Fixed incorrect behavior of `examples/address_generator.py` (thanks @ivoscc!).
* Fixed node URI in `examples/sandbox.py`.
* Added contributor guide.

# Binary Distribution Checksums
* PyOTA-1.2.0b1-py2-none-any.whl
    * sha256: 233a89612552dbb834582b001d491a61fe6573b149e50913cd40285b5145d224
    * md5: 3f2920b3af10523d84a84ae1e5347297
* PyOTA-1.2.0b1-py3-none-any.whl
    * sha256: 1b0e0678bdcf804b513e3655f4f632c0123e5bc3dd4d95e18faf52ab71916aa1
    * md5: 254538835ace1f31f22fdd580217b76e
* PyOTA-1.2.0b1.tar.gz
    * sha256: e21c1f4ba03a7d1a2c458990b58d3a796f5bc22315e8d6338ff1879c38c92327
    * md5: f1543aa86a42e205f2dfa72100f585de
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJZasB4AAoJEIyGP45e1NNDu1YP/0K3XlqlYMlHCiQjBahdJ1es
LQDKveNBni3rQHjk7QwNv+kUHmeU5aFJjlE+AR8PgmPo2ax8OFdvgwD7VrV0f2uP
Eqan067kT6dkcVeGfZo3n4St4R2PoDRhxXeUTKGCIule3Kq337WuF4m65QaTK8pV
PXn0ytuQZzOBIcqaikU40m1KmuSWzKba9Rm8mK4Cf9C1s+Wfe9+TSIbpr3/SSLJz
YwP5wJkWMI+dv/CmXO3VEpeqHiuFAoAT7KdjhJ4XwmEAA1ZtjrUa5F4aauhTLhm9
GoP744Ti4GgThP9DstyXG/EPEm+I1HG5fGXsWUPmlUCRaH/jZZHMX0hJFJcpdl5K
6qYggLEJ+6EA7oSFrJ/GEEIbBmS5pCckxT9B8vCddzrt1Oq4ydHdioXtmb9XtqUv
9g/sPkf1ejxF1EZWDPnOi89DsjW8p2RuNshaEWUCO8faziX9dwwGzEY88ffyNvPb
/pK8fh44YWZDV55mnEGNfz9uBVYl2Ui2NtUffRyo+1AVMrsRwOoH9BtUVAPjKCKA
pR8x3KcbR2WLRakK1EHIMB6LJHdEzKaZ8RcjFspEEJntzW0cYzcfwMsDtkOQTSu5
heFnHPrydxW3xl9yOwVKqeGXMqRT888J3ns7wh0uL478xnPpRdKjxlcwlcGCQuOX
kWLwFEp2IRUM4tjkb0s8
=YgJ7
-----END PGP SIGNATURE-----