Releases: oceanprotocol/ocean.py
Releases · oceanprotocol/ocean.py
v0.8.2
- Added compute-to-data flow README;
- Fixed marketplace-flow README;
- Fixed block_confirmations logic for ganache;
- Update all READMEs to use ExampleConfig.
v0.8.1
v0.8.0
Breaking Changes
- The following methods no longer return the compute job results URL.
OceanCompute.result()
DataServiceProvider.get_compute_status()
DataServiceProvider.get_compute_result()
Non-breaking changes
- Added support for the
computeResult
endpoint for getting the compute job results URL:OceanCompute.result_file()
DataServiceProvider.compute_job_result_file()
- Replace Travis with GitHub Actions
v0.7.0
Breaking Changes
- Add
block_confirmations
attribute toWallet
Non-breaking changes
- Add
wait_for_transaction_receipt_and_block_confirmations
function. Called any time a transaction is sent, thus making all transactions "blocking". - Add
block_confirmations
attribute toConfig
- Add
BLOCK_CONFIRMATIONS
envvar - Add
eth-network.block_confirmations
config.ini option - Add
send_dummy_transactions
andStoppableThread
for use in unit tests. Needed for testingwait_for_transaction_receipt_and_block_confirmations
because Ganache doesn't mine new blocks unless new transactions are sent. - Add
Integer
wrapper class to allow passingint
by reference. Use case: The user creates aWallet
usingconfig.block_confirmations
but then changes theconfig.block_confirmations
attribute value, TheWallet
will use the new value. - Add hard-coded
BLOCK_NUMBER_POLL_INTERVAL
which maps chain_id to poll interval. - Use c2d address in pay for service.
- Fix OceanPool._get_all_liquidity_records method()
- Fix typo in marketplace-flow.md
- Add get_web3() utility that injects geth-poa-middleware when on Rinkeby
v0.6.1
v0.6.0
Breaking changes
- remove unnecessary properties across ocean.py models, unused and obsolete functions
- remove possibility of creating a wallet with encrypted key and password
- replace NETWORK_URL env var with OCEAN_NETWORK_URL
- add a wei interface and replace all amounts to wei. The ocean.py wei interface now supports custom number of decimals and helps with amount conversion.
- more strict variable type enforcement
- changed ganache keys in readmes, pytest.ini and tox.ini
Non-breaking changes
- added supplementary check for provider URLs. Make sure there’s a Provider-like interface at the other end, not only that the link works.
- README improvements
- accomodate publisherTrustedAlgorithmPublishers in DataServiceProvider and OceanCompute, allowing algorithms to be trusted based on their publisher, not only on their individual DIDs
- add support for Moonbeam Alpha network
- add asset encryption
- implemented a function that searches the exchange by data token address
- replace underlying usage of get_event_logs with getLogs
- remove obsolete Sphinx documentation
- optimise tests
v0.5.30
v0.5.29
v0.5.28
This version of Ocean lib brings important new features:
- Blocking calls: failed and delayed transactions were previously a source of issues for users. Now, the library uses blocking calls to prevent inconsistencies.
- Strong typing: as of now, Ocean contains type hints and type enforcements on almost every component and function. This is done to regulate proper usage. Please adapt to using the correct types starting this version.
- rename the CONFIG_FILE environment variable to OCEAN_CONFIG_FILE, to avoid clashes with other config files you might set inside the same environment.
Other changes:
- documentation improvements
- removing unused code
v0.5.27
-
Added support for BSC
-
Fix code and logic duplication in event retrieval
-
Fix address_file() - return address.json file, not artifacts directory
-
Remove ABI Mismatch warnings