Releases: refring/monero-rpc-php
Releases · refring/monero-rpc-php
0.7.4
0.7.3
Accept a TransferPriority enum for the priority param in the sweepAll and sweepSingle WalletRpcClient methods to make the api more consistent
Full Changelog: 0.7.2...0.7.3
0.7.2
0.7.1
The square/pjson package was updated to v0.4.0 which allows the latest version of monero-rpc-php to be installed without setting minimum-stability to dev.
Full Changelog: 0.7.0...0.7.1
0.7.0
This marks the first release where the API is deemed reasonably stable and the warning about the API being prone to big changes has been removed from the README.
With this release all the rpc methods have now been implemented, except for the 'daemon other' binary methods.
Added
- Amount class for representing piconeros
- Renamed Recipient to Destination and it now requires an Amount object
- Better handling of bigint (de)serialization
- DaemonRpcClient:: sendRawTransaction()
- DaemonRpcClient::getAltBlocksHashes()
- DaemonRpcClient::isKeyImageSpent()
- DaemonRpcClient::startMining()
- DaemonRpcClient::stopMining()
- DaemonRpcClient::miningStatus()
- DaemonRpcClient::saveBlockchain()
- DaemonRpcClient::setLogHashRate()
- DaemonRpcClient::setLogLevel()
- DaemonRpcClient::setLogCategories()
- DaemonRpcClient::setLimit()
- DaemonRpcClient::getLimit()
- DaemonRpcClient::outPeers()
- DaemonRpcClient::inPeers()
- DaemonRpcClient::getPeerList()
- DaemonRpcClient::update()
- DaemonRpcClient::setBootstrapDaemon()
- DaemonRpcClient::getTransactionPoolStats()
- DaemonRpcClient::getOuts()
- DaemonRpcClient::getTransactions()
- DaemonRpcClient::stopDaemon()
- DaemonRpcClient::getTransactionPool()
- InvalidDestinationException
- BigInt class
- Peer class
- TransferType::BLOCK
- REGTEST/fakechain nettype
- SpentStatus enum
Changed
- Packagist package name is now refring/monero-rpc-php
- WalletRpcClient::getTransfers() will now return all types of transfer by default
- Made accountIndex 0 the default for various methods
- Many Model classes have been moved into wallet/daemon specific namespaces
- Always initialize Response class array properties with an empty array
- Renamed PeerStructure class to SyncPeer
- Renamed DaemonBaseResponse trait to DaemonBaseResponse
- Renamed RpcAccessBaseResponse trait to DaemonStandardResponseFields
- Renamed GetLastBlockHeaderBaseResponse to GetLastBlockHeaderResponse
Fixed
- Set default ringsize to 16 for WalletRpcClient::transfer()
- Reset endpoint after callign an 'other' daemon rpc method
Full changelog: 0.6.0...0.7.0
0.6.0
Added
- DaemonRpcClient::getHeight()
- Errors: IndexOutOfRangeException, InvalidAddressException, InvalidOriginalPasswordException and InvalidPaymentIdException
- Github Actions: dependabot config for keeping actions and composer deps up to date
- Github Actions: symfonycorp/security-checker-action for checking security vulnerabilities in deps
- Integration tests: addressbook methods, integrated address methods, restore_deterministic_wallet and query_key
Changed
- Removed DaemonOtherClient and moved methods to DaemonRpcClient
- Removed RegtestRpcClient and moved method generateblocks to DaemonRpcClient::generateBlocks()
- addAuxPow() now returns AuxPow objects instead of a generic array
- Some cosmetic changes like better and more consistent comments
- AddressBook methods no longer have paymentId
- Tests: Work with mnemonics instead of private spend keys
- Tests: NonEmptyBlockchainTest now reset the chain after running so the tests can be run again without errors
0.5.0
Added
- Support for the "other" Daemon rpc requests through DaemonOtherClient
- Support for logging
- DaemonOtherClient::popBlocks()
- DaemonOtherClient::getNetStats()
- AddressIndexOutOfBoundException
- AttributeNotFoundException
- TagNotFoundException
- KeyPairHelper for tests
- A bunch of integration tests for the wallet
Changed
- Renamed Builder to ClientBuilder
- WalletRpcClient::validateAddress() now also takes a string as $address
- WalletRpcClient::untagAccounts() now also takes an int as $accounts
0.4.0
Added
- DaemonBaseResponse class
- RpcAccessBaseResponse class
- HardforkInformation class
Changed
- Many changes based on core_rpc_server_commands_defs.h definitions from the main Monero repo from the main Monero repo
- WalletRpcClient::transfer() now accepts a single Recipient as well as an array of Recipient
- Connection was renamed to ConnectionInfo
- Chain was renamed to ChainInformation
0.3.0
Added
- Enum NetType
- Enum SignatureType
- Enum IncomingTransferType
- Class KeyImageList
Changed
- Many changes based on wallet_rpc_server_commands_defs.h from the main Monero repo
- Renamed Tranfer to IncomingTransfer
- Many wallet-rpc Response classes got changed
- Renamed TransferDestination to Recipient
- Some Response classes now extend other Response classes because they were identical
0.2.0
Added
- Added Address class for representing base58 addresses
- WalletExistsException
- InvalidLanguageException
- NoWalletFileException
- OpenWalletException
- BlockHash class
- Various wallet integration tests
Changed
- composer requirements changed a bit
- Renamed KeyImage to SignedKeyImage
- All files include strict_types=1 now