Releases: valory-xyz/open-aea
Releases · valory-xyz/open-aea
v1.27.0.post1
AEA:
- Enables the loading of the agent packages at the runtime to avoid import errors when running tests for the agent package
Plugins:
- Removes the unwanted exception raising in the
aea_cli_ipfs.ipfs_utils.IPFSTool.download
method
Tests:
- Fixes the tests for
update_aea_version_range
method to perform check on a range rather than performing a strict version check
v1.27.0
AEA:
- Adds auto-generated protobuf
*_pb2.py
and*_pb2_*.py
files tocoveragerc
ignore template for aea test command. - Fixes comparison operators
__eq__
,__ne__
,__lt__
,__le__
,__gt__
,__ge__
for multiple classes includingPackageVersion
. - Adds support to
test packages
command for the--all
flag and switches default behaviour to only run tests ondev
packages. - Fixes miscellaneous issues on base test classes and adds consistency checks via meta classes.
Plugins:
- Updates
open-aea-cli-ipfs
to retry in case an IPFS download fails
Tests:
- Fills coverage gaps on core
aea
- Fills coverage gaps on multiple packages
- Fills coverage gaps on all plugins
Chores:
- Merges the coverage checks with unit tests and removes the extra test coverage CI run.
- Cleans up release flow.
- Adds workflow for image building.
v1.26.0
AEA:
- Adds support for hashing byte strings on
IPFSHashOnly
tool - Introduces
CliTest
tool to help with theCLI
testing - Extends aea packages lock command to update fingerprints
- Adds support for appending test coverage with previous runs on
aea test
command and fixes the coverage onaea test packages
command - Updates the
BasePackageManager.add_package
to fetch packages recursively
Plugins:
- Updates the
cosmos
andfetchai
ledger plugins to usePyCryptodome
forripemd160
hash generation - Adds support for publishing byte strings directly to IPFS daemons without intermediate file storage on the
IPFS
plugin
Chores:
- Pins
tox
version usingtomte
in the CI to maintain version consistency - Pins
go
version tov1.17.7
on the CI
V1.25.0
AEA:
- Fixes the mechanism to convert the
json
path to environment variable string - Updates the process of agent subprocess termination to make sure we properly terminate agents across the various operating systems
- Introduces
reraise_as_click_exception
to re-raise exceptions asclick.ClickExceptions
on command definitions - Extends
CliRunner
to allow usage ofcapfd
to capture test output - Introduces
generate_env_vars_recursively
method to auto generate the environment variable names for component overrides - Extends
aea generate-key
to support creating multiple keys - Extends the package manager API to
- Update the hashes for third party packages with a warning
- Update the dependency hashes when locking packages
- Verifying the dependency hashes when verifying packages
- Adds deprecation warning for
aea hash all
command since the same functionality is now being provided byaea packages lock
command
Tests:
- Updates
libp2p
tests to usecapsys
to readstdout
instead of patchingsys.stdout
- Re enables tests skipped with
# need remote registry
comment - Adds tests for package manager API
Chores:
- Updates the
tox
environment setting for unit tests to report duration of tests - Deprecates the usage of
aea hash all
command from the workflow
v1.24.0
AEA:
- Adds deprecation warning for
--aev
flag - Makes the usage of environment variables default
- Extends
push-all
command to push only the development packages - Adds support for generating environment variable names if not provided by default
- Changes log level from
debug
toerror
onException
handling - Updates the configuration loader classes to make sure path string serialization is deterministic across the various platforms
Test:
- Fixes the tests skipped because of the wrongly configures ledger ID
- Adds tests to check if path string serialization is deterministic across the various platforms
Chores:
- Updates
scripts/check_ipfs_hashes_pushed.py
to use newpackages.json
format
v1.23.0
AEA:
- Extracts package manager implementation into core module
- Extends the package manager implementation to introduce separation between development and third party packages
- Extends aea packages lock command to work with new
packages.json
format - Extends aea packages sync command with
--dev
,--third-party
,--all
flags to specify what packages to sync avoid updating hashes for third party packages - Updates the
check-packages
command to make sure we skipopen-aea
when generating list for third party packages in package dependency check - Adds proper exception handling on
aea fetch
command for bad packages
Chores:
- Updates dependencies in Dockerfile for documentation
Upgrade guide:
- This release introduces a new format for
packages.json
file, the older version is still supported but will be deprecated onv2.0.0
so make sure to update your projects to use the new format.
v1.22.0
AEA:
- Updates the cert request serialisation process to maintain consistency across different operating systems
- Updates the
get_or_create_cli_config
method to return default config instead of creating one - Introduces the
copy_class
utility function for testing different setup configurations - Updates the overridable policies for the configuration classes
Packages:
- Removes the unwanted autonomy dependency from the ledger connection
Tests:
- Updates the cli config fixture to retain user config
- Fixes outbox check test
- Adds test coverage for
aea/cli
aea/configurations
aea/helpers
aea/test_tools
aea/manager
Docs:
- Adds documentation on the usage of component overrides
Chores:
- Adds a script to automatically generate a package table for the docs
- Introduces the usage of
tomte
to maintain third party dependency version consistency - Updates the script to check the broken links to use parallelisation
v1.21.0
AEA:
- Updates
aea scaffold contract
to include contract ABIs
Packages:
- Adds support for running local ACN nodes
- Converts
ledger
andhttp_client
connections andhttp
,ledger_api
andcontract_api
protocols to valory packages and syncs them withopen-autonomy
versions of the same packages - Extends
ledger
connection to automatically handle contract calls to methods not implemented in the contract package, redirecting them to a default contract method.
Plugins:
- Introduces test tools module for IPFS cli plugin
Tests:
- Fixes flaky timeout tests
- Fixes flaky
DHT (ACN/Libp2p)
tests on windows - Introduces test for assessing robustness of the ACN setup without agents
Docs:
- Adds a guide on implementing contract packages
v1.20.0
AEA:
- Ensures author and year in copyright headers are updated in scaffolded components
- Updates
check-packages
- to check the presence of the constant
PUBLIC_ID
for connections and skills. - to validate author
- to check the presence of the constant
- Fixes CLI help message for
aea config set
command - Extends test command to support consistency check skips and to run tests for a specific author
- Adds proper exception raising and error handling
- Exception handling when downloading from IPFS nodes
- Better error message when the
--aev
flag is not provided
- Fixes file sorting to maintain consistency of links on
PBNode
object onIPFSHashOnly
tool
Plugins:
- Updates the IPFS plugin to make make sure we don't use the local IPFS node unless explicitly specified
Packages:
- Ports
libp2p
connection packages tests- Ports
p2p_libp2p_mailbox
tests - Ports
p2p_libp2p_client
tests - Ports
p2p_libp2p
tests
- Ports
- Introduces
test_libp2p
connection package to testlibp2p
integration
Chores:
- Fixes docstring formatting to make sure doc generator works fine
- Updated
check_ipfs_hashes.py
script to usepackages.json
instead ofhashes.csv
- Updates the command regex to align with the latest version
v1.19.0
AEA:
- Updates the
aea init
command to set the local as default registry and IPFS as default remote registry - Updates the
aea test packages
to include the agent tests - Introduces
aea packages
command group to manage local packages repositoryaea packages lock
command to lock all available packages and createpackages.json
fileaea packages sync
command to synchronize the local packages repository
Chores:
- Fix README header link
- Removes
shebangs
from non-script files - Adds a command validator for docs and Makefile
- Deprecates the usage of
hashes.csv
to maintain packages consistency
Tests:
- Fixes test failures introduced on
v1.18.0