Skip to content

Commit

Permalink
Merge pull request #2369 from fetchai/feature/v0.11.2
Browse files Browse the repository at this point in the history
Feature/v0.11.2
  • Loading branch information
DavidMinarsch authored Mar 17, 2021
2 parents 73b8f7a + ec9af2e commit 8a686d4
Show file tree
Hide file tree
Showing 190 changed files with 1,742 additions and 1,461 deletions.
16 changes: 16 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Release History

## 0.11.2 (2020-03-17)

- Fixes a package import issue
- Fixes an issue where `AgentLoop` did not teardown properly under certain conditions
- Fixes a bug in testing tools
- Fixes a bug where plugins are not loaded after installation in `MultiAgentManager`
- Adds unit tests for weather, thermometer and car park skills
- Fixes a missing dependency in Windows
- Improves SOEF connections' error handling
- Fixes bug in ML skills and adds unit tests
- Adds script to bump plugin versions
- Adds gas price strategy support in `aea-ledger-ethereum` plugin
- Adds CLI plugin for IPFS interactions (add/get)
- Adds support for CLI plugins to framework
- Multiple additional tests and test stability fixes

## 0.11.1 (2020-03-06)

- Bumps `aiohttp` to `>=3.7.4` to address a CVE affecting `http_server`, `http_client` and `webhook` connections
Expand Down
2 changes: 1 addition & 1 deletion aea/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
__title__ = "aea"
__description__ = "Autonomous Economic Agent framework"
__url__ = "https://github.com/fetchai/agents-aea.git"
__version__ = "0.11.1"
__version__ = "0.11.2"
__author__ = "Fetch.AI Limited"
__license__ = "Apache-2.0"
__copyright__ = "2019 Fetch.AI Limited"
1 change: 1 addition & 0 deletions aea/multiplexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ def _get_connection_id_from_envelope(
:param envelope_protocol_id: the protocol id of the message contained in the envelope
:return: public id if found
"""
self.logger.debug(f"Routing envelope: {envelope}")
# component to component messages are routed by their component id
if envelope.is_component_to_component_message:
connection_id = envelope.to_as_public_id
Expand Down
2 changes: 1 addition & 1 deletion deploy-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ENV PYTHONPATH "$PYTHONPATH:/usr/lib/python3.7/site-packages"
RUN apk add --no-cache go

RUN pip install --upgrade pip
RUN pip install --upgrade --force-reinstall aea[all]==0.11.1
RUN pip install --upgrade --force-reinstall aea[all]==0.11.2

# COPY ./packages /home/packages # enable to add packages dir
WORKDIR home
Expand Down
2 changes: 1 addition & 1 deletion deploy-image/docker-env.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Swap the following lines if you want to work with 'latest'
DOCKER_IMAGE_TAG=fetchai/aea-deploy:0.11.1
DOCKER_IMAGE_TAG=fetchai/aea-deploy:0.11.2
# DOCKER_IMAGE_TAG=fetchai/aea-deploy:latest

DOCKER_BUILD_CONTEXT_DIR=..
Expand Down
2 changes: 1 addition & 1 deletion develop-image/docker-env.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Swap the following lines if you want to work with 'latest'
DOCKER_IMAGE_TAG=fetchai/aea-develop:0.11.1
DOCKER_IMAGE_TAG=fetchai/aea-develop:0.11.2
# DOCKER_IMAGE_TAG=aea-develop:latest

DOCKER_BUILD_CONTEXT_DIR=..
Expand Down
2 changes: 1 addition & 1 deletion docs/api/crypto/plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Get the entry point path.
#### load`_`all`_`plugins

```python
load_all_plugins() -> None
load_all_plugins(is_raising_exception: bool = True) -> None
```

Load all plugins.
Expand Down
53 changes: 0 additions & 53 deletions docs/api/helpers/async_utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,59 +271,6 @@ Run a coroutine inside the event loop.

Stop event loop in thread.

<a name="aea.helpers.async_utils.ItemGetter"></a>
## ItemGetter Objects

```python
class ItemGetter()
```

Virtual queue like object to get items from getters function.

<a name="aea.helpers.async_utils.ItemGetter.__init__"></a>
#### `__`init`__`

```python
| __init__(getters: List[Callable]) -> None
```

Init ItemGetter.

**Arguments**:

- `getters`: List of couroutines to be awaited.

<a name="aea.helpers.async_utils.ItemGetter.get"></a>
#### get

```python
| async get() -> Any
```

Get item.

<a name="aea.helpers.async_utils.HandlerItemGetter"></a>
## HandlerItemGetter Objects

```python
class HandlerItemGetter(ItemGetter)
```

ItemGetter with handler passed.

<a name="aea.helpers.async_utils.HandlerItemGetter.__init__"></a>
#### `__`init`__`

```python
| __init__(getters: List[Tuple[Callable[[Any], None], Callable]]) -> None
```

Init HandlerItemGetter.

**Arguments**:

- `getters`: List of tuples of handler and couroutine to be awaiteed for an item.

<a name="aea.helpers.async_utils.Runnable"></a>
## Runnable Objects

Expand Down
80 changes: 80 additions & 0 deletions docs/api/plugins/aea_cli_ipfs/core.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<a name="plugins.aea-cli-ipfs.aea_cli_ipfs.core"></a>
# plugins.aea-cli-ipfs.aea`_`cli`_`ipfs.core

Core components for `ipfs cli command`.

<a name="plugins.aea-cli-ipfs.aea_cli_ipfs.core.ipfs"></a>
#### ipfs

```python
@click.group()
@click.pass_context
ipfs(click_context: click.Context) -> None
```

IPFS Commands

<a name="plugins.aea-cli-ipfs.aea_cli_ipfs.core.process_result"></a>
#### process`_`result

```python
@ipfs.resultcallback()
@click.pass_context
process_result(click_context: click.Context, *_: Any) -> None
```

Tear down command group.

<a name="plugins.aea-cli-ipfs.aea_cli_ipfs.core.add"></a>
#### add

```python
@ipfs.command()
@click.argument(
"dir_path",
type=click.Path(
exists=True, dir_okay=True, file_okay=False, resolve_path=True, readable=True
),
required=False,
)
@click.option("-p", "--publish", is_flag=True)
@click.option("--no-pin", is_flag=True)
@click.pass_context
add(click_context: click.Context, dir_path: Optional[str], publish: bool = False, no_pin: bool = False) -> None
```

Add directory to ipfs, if not directory specified the current one will be added.

<a name="plugins.aea-cli-ipfs.aea_cli_ipfs.core.remove"></a>
#### remove

```python
@ipfs.command()
@click.argument(
"hash_", metavar="hash", type=str, required=True,
)
@click.pass_context
remove(click_context: click.Context, hash_: str) -> None
```

Remove a directory from ipfs by it's hash.

<a name="plugins.aea-cli-ipfs.aea_cli_ipfs.core.download"></a>
#### download

```python
@ipfs.command()
@click.argument(
"hash_", metavar="hash", type=str, required=True,
)
@click.argument(
"target_dir",
type=click.Path(dir_okay=True, file_okay=False, resolve_path=True),
required=False,
)
@click.pass_context
download(click_context: click.Context, hash_: str, target_dir: Optional[str]) -> None
```

Download directory by it's hash, if not target directory specified will use current one.

Loading

0 comments on commit 8a686d4

Please sign in to comment.