wownero-python/docs/source/release_notes.rst
2019-09-13 17:16:48 +02:00

28 lines
1.1 KiB
ReStructuredText

Release Notes
=============
0.6
---
With version 0.6 the package name on PyPi has changed from `monero-python` to just `monero`.
Backward-incompatible changes:
1. The ``.new_address()`` method of both ``Wallet`` and ``Account`` returns a 2-element tuple of
(`subaddress`, `index`) where the additional element is the index of the subaddress within
current account.
0.5
---
Backward-incompatible changes:
1. The ``ringsize`` parameter is gone from ``.transfer()`` and ``.transfer_multiple()`` methods of
both ``Wallet`` and ``Account``. Since Monero 0.13 the ring size is of constant value 11.
2. The class hierarchy in ``monero.address`` has been reordered. ``Address`` now represents only
master address of a wallet. ``SubAddress`` doesn't inherit after it anymore, but all classes
share the common base of ``BaseAddress``.
In particular, make sure that your code doesn't check a presence of Monero address by checking
``isinstance(x, monero.address.Address)``. That will not work for sub-addresses anymore.
Replace it by ``isinstance(x, monero.address.BaseAddress)``.