Release Notes¶
0.7¶
Backward-incompatible changes:
- The
Transaction.blob
changes from hexadecimal to raw binary data (bytes
in Python 3,str
in Python 2).
Deprecations:
monero.const
has been introduced. Transaction priority consts will move tomonero.const.PRIO_*
. Themonero.prio
submodule has been deprecated and will be gone in 0.8.- Methods
.is_mainnet()
,.is_testnet()
,.is_stagenet()
have been deprecated and new.net
property has been added to allmonero.address.Address
instances. The values are from amongmonero.const.NET_*
and have string representation of"main"
,"test"
and"stage"
respectively. Likewise,monero.seed.Seed.public_address()
accepts those new values. All deprecated uses will raise proper warnings in 0.7.x and will be gone with 0.8.
0.6¶
With version 0.6 the package name on PyPi has changed from monero-python to just monero.
Backward-incompatible changes:
- The
.new_address()
method of bothWallet
andAccount
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:
The
ringsize
parameter is gone from.transfer()
and.transfer_multiple()
methods of bothWallet
andAccount
. Since Monero 0.13 the ring size is of constant value 11.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 ofBaseAddress
.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 byisinstance(x, monero.address.BaseAddress)
.