Releases: valory-xyz/open-aea
Releases · valory-xyz/open-aea
v1.29.0.post1
Packages:
- Adds
pytest-asyncio
as dependency for the ledger connection
v1.29.0
AEA:
- Adds support for retries on the
aea push-all
command using--retries
flag - Updates the
aea test
command to load dependencies for an agent when running test for an agent package - Updated the protocol generator to generate tests
- Fixes for process termination in the test tools on windows
Packages:
- Replaces the usage of
time.sleep
withasyncio.sleep
in asynchronous functions
Test:
- Adds more tests for
aea test
command group
v1.28.0.post1
AEA:
- Fixes the module import issue on the
aea test
command by removing the usage of spawned process to run the pytest command
Plugins:
- Pins proper version for cosmos plugin on the ledger plugin
- Updates the
LedgerApi.update_with_gas_estimation
method to raise instead of logging the error if specified by the user
Chores:
- Pins
pywin32
to>=304
v1.28.0
AEA:
- Adds checks to make sure the author name and the package name are in snake case only
- Adds tools for automating the protocol tests
- Updates the test command to spawn a process for running the pytest command to make sure there are no issues with the test coverage
- Fixes a race condition found in the
AsyncMultiplexer
Plugins:
- Makes the fetchai ledger plugin dependent on the cosmos plugin to prevent code duplication
Tests:
- Adds a test to showcase a race condition in
AsyncMultiplexer
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.