Skip to content

Releases: valory-xyz/open-aea

v1.27.0.post1

04 Jan 11:58
d6c6c4d
Compare
Choose a tag to compare

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

28 Dec 17:38
00c0671
Compare
Choose a tag to compare

AEA:

  • Adds auto-generated protobuf *_pb2.py and *_pb2_*.py files to coveragerc ignore template for aea test command.
  • Fixes comparison operators __eq__, __ne__, __lt__, __le__, __gt__, __ge__ for multiple classes including PackageVersion.
  • Adds support to test packages command for the --all flag and switches default behaviour to only run tests on dev 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

15 Dec 12:19
b4f9edd
Compare
Choose a tag to compare

AEA:

  • Adds support for hashing byte strings on IPFSHashOnly tool
  • Introduces CliTest tool to help with the CLI 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 on aea test packages command
  • Updates the BasePackageManager.add_package to fetch packages recursively

Plugins:

  • Updates the cosmos and fetchai ledger plugins to use PyCryptodome for ripemd160 hash generation
  • Adds support for publishing byte strings directly to IPFS daemons without intermediate file storage on the IPFS plugin

Chores:

  • Pins tox version using tomte in the CI to maintain version consistency
  • Pins go version to v1.17.7 on the CI

V1.25.0

02 Dec 05:03
bbd8fc0
Compare
Choose a tag to compare

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 as click.ClickExceptions on command definitions
  • Extends CliRunner to allow usage of capfd 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 by aea packages lock command

Tests:

  • Updates libp2p tests to use capsys to read stdout instead of patching sys.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

17 Nov 04:56
e2e7c33
Compare
Choose a tag to compare

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 to error on Exception 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 new packages.json format

v1.23.0

09 Nov 10:23
85f841e
Compare
Choose a tag to compare

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 skip open-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 on v2.0.0 so make sure to update your projects to use the new format.

v1.22.0

02 Nov 04:52
0bd521a
Compare
Choose a tag to compare

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

29 Sep 10:22
1f33a54
Compare
Choose a tag to compare

AEA:

  • Updates aea scaffold contract to include contract ABIs

Packages:

  • Adds support for running local ACN nodes
  • Converts ledger and http_client connections and http, ledger_api and contract_api protocols to valory packages and syncs them with open-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

20 Sep 11:46
69cb44f
Compare
Choose a tag to compare

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
  • 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 on IPFSHashOnly 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
  • Introduces test_libp2p connection package to test libp2p integration

Chores:

  • Fixes docstring formatting to make sure doc generator works fine
  • Updated check_ipfs_hashes.py script to use packages.json instead of hashes.csv
  • Updates the command regex to align with the latest version

v1.19.0

14 Sep 10:27
0a883d0
Compare
Choose a tag to compare

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 repository
    • aea packages lock command to lock all available packages and create packages.json file
    • aea 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