Skip to content

Commit 9006d02

Browse files
Merge pull request #1865 from fetchai/feature/prep_release
Feature/prep release
2 parents 54882a4 + 09b59f9 commit 9006d02

25 files changed

Lines changed: 104 additions & 28 deletions

HISTORY.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Release History
22

3+
## 0.7.0 (2020-10-22)
4+
5+
- Adds two AEAs for Agent World 1
6+
- Adds support to apply config overrides to CLI calls transfer and get-wealth
7+
- Adds install scripts to install AEA and dependencies on all major OS (Windows, MacOs, Ubuntu)
8+
- Adds developer mailing list opt-in step to CLI init
9+
- Modifies custom configs in aea-config to use public id
10+
- Adds all non-optional fields in aea-config by default
11+
- Fixes upgrade command to properly handle dependencies of non-vendor packages
12+
- Remove all distributed packages and add them to registry
13+
- Adds public ids to all skill init files and makes it a requirement
14+
- Adds primitive benchmarks for libp2p node
15+
- Adds Prometheus monitoring to libp2p node
16+
- Makes body a private attribute in message base class
17+
- Renames bodyy to body in http protocol
18+
- Adds support for abstract connections
19+
- Refactors protobuf schemas for protocols to avoid code duplication
20+
- Multiple docs updates based on user feedback
21+
- Multiple additional tests and test stability fixes
22+
323
## 0.6.3 (2020-10-16)
424

525
- Adds skill testing tools and documentation

aea/crypto/ethereum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ def _try_get_wealth(address: Address) -> None:
546546
response = requests.get(ETHEREUM_TESTNET_FAUCET_URL + address)
547547
if response.status_code // 100 == 5:
548548
_default_logger.error("Response: {}".format(response.status_code))
549-
elif response.status_code // 100 in [3, 4]:
549+
elif response.status_code // 100 in [3, 4]: # pragma: nocover
550550
response_dict = json.loads(response.text)
551551
_default_logger.warning(
552552
"Response: {}\nMessage: {}".format(

docs/api/aea_builder.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,16 @@ the AEA object.
757757

758758
- `ValueError`: if we cannot
759759

760+
<a name="aea.aea_builder.AEABuilder.find_component_directory_from_component_id"></a>
761+
#### find`_`component`_`directory`_`from`_`component`_`id
762+
763+
```python
764+
| @staticmethod
765+
| find_component_directory_from_component_id(aea_project_directory: Path, component_id: ComponentId) -> Path
766+
```
767+
768+
Find a component directory from component id.
769+
760770
<a name="aea.aea_builder.AEABuilder.set_from_configuration"></a>
761771
#### set`_`from`_`configuration
762772

docs/api/configurations/project.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Init project with public_id and project's path.
2626

2727
```python
2828
| @classmethod
29-
| load(cls, working_dir: str, public_id: PublicId, is_local: bool = False, registry_path: str = "packages") -> "Project"
29+
| load(cls, working_dir: str, public_id: PublicId, is_local: bool = False, registry_path: str = "packages", skip_consistency_check: bool = False) -> "Project"
3030
```
3131

3232
Load project with given public_id to working_dir.
@@ -36,6 +36,8 @@ Load project with given public_id to working_dir.
3636
- `working_dir`: the working directory
3737
- `public_id`: the public id
3838
- `is_local`: whether to fetch from local or remote
39+
- `registry_path`: the path to the registry locally
40+
- `skip_consistency_check`: consistency checks flag
3941

4042
<a name="aea.configurations.project.Project.remove"></a>
4143
#### remove

docs/api/crypto/ledger_apis.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,17 @@ Get the hash of a message.
233233

234234
the hash of the message.
235235

236+
<a name="aea.crypto.ledger_apis.LedgerApis.is_valid_address"></a>
237+
#### is`_`valid`_`address
238+
239+
```python
240+
| @staticmethod
241+
| is_valid_address(identifier: str, address: Address) -> bool
242+
```
243+
244+
Check if the address is valid.
245+
246+
**Arguments**:
247+
248+
- `address`: the address to validate
249+

docs/aries-cloud-agent-demo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ Finally run **Alice_AEA**:
258258
aea run
259259
```
260260

261-
Once you see a message of the form `My libp2p addresses: ['SOME_ADDRESS']` take note of the address. We will refer to this as **Alice_AEA's p2p address**.
261+
Once you see a message of the form `To join its network use multiaddr: ['SOME_ADDRESS']` take note of the address. We will refer to this as **Alice_AEA's p2p address**.
262262

263263
### Faber_AEA
264264

docs/car-park-skills.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ First, run the car data seller AEA:
154154
aea run
155155
```
156156

157-
Once you see a message of the form `My libp2p addresses: ['SOME_ADDRESS']` take note of the address.
157+
Once you see a message of the form `To join its network use multiaddr: ['SOME_ADDRESS']` take note of the address.
158158

159159
Then, update the configuration of the car data buyer AEA's p2p connection (in `vendor/fetchai/connections/p2p_libp2p/connection.yaml`) replace the following:
160160

docs/cli-commands.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
| `login USERNAME [--password password]` | Login to a registry account with credentials. |
2828
| `logout` | Logout from registry account. |
2929
| `publish` | Publish the AEA to registry. Needs to be executed from an AEA project.`publish --local` to publish to local `packages` directory. |
30-
| `push [protocol_type] [public_id]` | Push connection, protocol, or skill with `public_id` to registry. `push --local` to push to local `packages` directory. |
31-
| `remove [protocol_type] [name]` | Remove connection, protocol, or skill, called `name`, from AEA. |
30+
| `push [package_type] [public_id]` | Push connection, protocol, or skill with `public_id` to registry. `push --local` to push to local `packages` directory. |
31+
| `remove [package_type] [name]` | Remove connection, protocol, or skill, called `name`, from AEA. |
3232
| `run {using [connections, ...]}` | Run the AEA on the Fetch.ai network with default or specified connections. |
33-
| `search [protocol_type]` | Search for components in the registry. `search --local [protocol_type] [--query searching_query]` to search in local `packages` directory. |
34-
| `scaffold [protocol_type] [name]` | Scaffold a new connection, protocol, or skill called `name`. |
33+
| `search [package_type]` | Search for components in the registry. `search --local [package_type] [--query searching_query]` to search in local `packages` directory. |
34+
| `scaffold [package_type] [name]` | Scaffold a new connection, protocol, or skill called `name`. |
3535
| `-v DEBUG run` | Run with debugging. |
3636

3737
<!--

docs/cli-vs-programmatic-aeas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ aea add-key fetchai fetchai_private_key.txt --connection
5454
aea run
5555
```
5656

57-
Once you see a message of the form `My libp2p addresses: ['SOME_ADDRESS']` take note of the address.
57+
Once you see a message of the form `To join its network use multiaddr: ['SOME_ADDRESS']` take note of the address.
5858

5959
### Create the weather client AEA
6060

docs/erc1155-skills.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ First, run the deployer AEA.
166166
aea run
167167
```
168168

169-
Once you see a message of the form `My libp2p addresses: ['SOME_ADDRESS']` take note of the address.
169+
Once you see a message of the form `To join its network use multiaddr: ['SOME_ADDRESS']` take note of the address.
170170

171171
It will perform the following steps:
172172
- deploy the smart contract

0 commit comments

Comments
 (0)