Skip to content

Commit

Permalink
feat: bump latest Airnode to v0.14.1 and OIS to v2.3.2 (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcroote authored Apr 2, 2024
1 parent 523e682 commit cf5f387
Show file tree
Hide file tree
Showing 35 changed files with 75 additions and 73 deletions.
4 changes: 2 additions & 2 deletions docs/guides/airnode/deploy-airnode/deploy-aws/src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
},
"logFormat": "plain",
"logLevel": "DEBUG",
"nodeVersion": "0.14.0",
"nodeVersion": "0.14.1",
"stage": "quick-aws"
},
"triggers": {
Expand All @@ -97,7 +97,7 @@
"templates": [],
"ois": [
{
"oisFormat": "2.3.1",
"oisFormat": "2.3.2",
"title": "CoinGecko Basic Request",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
},
"logFormat": "plain",
"logLevel": "DEBUG",
"nodeVersion": "0.14.0",
"nodeVersion": "0.14.1",
"stage": "quick-container"
},
"triggers": {
Expand All @@ -95,7 +95,7 @@
"templates": [],
"ois": [
{
"oisFormat": "2.3.1",
"oisFormat": "2.3.2",
"title": "CoinGecko Basic Request",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/airnode/deploy-airnode/deploy-gcp/src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
},
"logFormat": "plain",
"logLevel": "DEBUG",
"nodeVersion": "0.14.0",
"nodeVersion": "0.14.1",
"stage": "quick-gcp"
},
"triggers": {
Expand All @@ -98,7 +98,7 @@
"templates": [],
"ois": [
{
"oisFormat": "2.3.1",
"oisFormat": "2.3.2",
"title": "CoinGecko Basic Request",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/airnode/post-processing/src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
},
"logFormat": "plain",
"logLevel": "DEBUG",
"nodeVersion": "0.11.2",
"nodeVersion": "0.14.1",
"stage": "quick-container"
},
"triggers": {
Expand All @@ -95,7 +95,7 @@
"templates": [],
"ois": [
{
"oisFormat": "2.1.0",
"oisFormat": "2.3.2",
"title": "API3 coin data",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Binary file modified docs/public/zip-files/quick-start-aws.zip
Binary file not shown.
Binary file modified docs/public/zip-files/quick-start-container.zip
Binary file not shown.
Binary file modified docs/public/zip-files/quick-start-gcp.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ An object containing general deployment parameters of an Airnode.
```json
// nodeSettings
{
"nodeVersion": "0.14.0",
"nodeVersion": "0.14.1",
"cloudProvider": {
"type": "gcp",
"region": "us-east1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
},
"logFormat": "plain",
"logLevel": "INFO",
"nodeVersion": "0.14.0",
"nodeVersion": "0.14.1",
"stage": "dev"
},
"triggers": {
Expand Down Expand Up @@ -97,7 +97,7 @@
"templates": [],
"ois": [
{
"oisFormat": "2.0.0",
"oisFormat": "2.3.2",
"title": "CoinGecko Requests",
"version": "1.0.0",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
},
"logFormat": "plain",
"logLevel": "INFO",
"nodeVersion": "0.14.0",
"nodeVersion": "0.14.1",
"stage": "dev"
},
"triggers": {
Expand All @@ -71,7 +71,7 @@
"templates": [],
"ois": [
{
"oisFormat": "2.0.0",
"oisFormat": "2.3.2",
"version": "1.2.3",
"title": "Currency Converter API",
"apiSpecifications": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ not generated for client deployments (deploying to a Docker container).
"disableConcurrencyReservations": false
},
"stage": "starter-example",
"nodeVersion": "0.14.0",
"nodeVersion": "0.14.1",
"timestamp": "2022-03-26T02:37:55.506Z"
},
"success": true
Expand All @@ -75,7 +75,7 @@ not generated for client deployments (deploying to a Docker container).
"projectId": "api3-753118"
},
"stage": "dev",
"nodeVersion": "0.14.0",
"nodeVersion": "0.14.1",
"timestamp": "2022-03-26T02:37:55.506Z"
},
"success": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ as a reference while building a config.json file.
},
"logFormat": "json",
"logLevel": "INFO",
"nodeVersion": "0.14.0",
"nodeVersion": "0.14.1",
"stage": "<FILL_*>"
},
"triggers": {
Expand Down Expand Up @@ -170,7 +170,7 @@ as a reference while building a config.json file.
],
"ois": [
{
"oisFormat": "2.0.0",
"oisFormat": "2.3.2",
"version": "<FILL_*>",
"title": "<FILL_OIS_TITLE>",
"apiSpecifications": {
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/airnode/latest/docker/admin-cli-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ npx @api3/airnode-admin get-sponsor-status \
--requester-address 0x2c2e12...

# Docker
docker run api3/airnode-admin:0.14.0 get-sponsor-status \
docker run api3/airnode-admin:0.14.1 get-sponsor-status \
--provider-url https://eth-goerli.gateway.pokt.network/v1/lb/<APP_ID> \
--sponsor-address 0x9Ec6C4... \
--requester-address 0x2c2e12...
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/airnode/latest/docker/client-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,21 @@ Use the following command to run Airnode:
docker run \
--volume $(pwd):/app/config \
--name airnode \
api3/airnode-client:0.14.0
api3/airnode-client:0.14.1
```

```powershell [Windows PowerShell]
docker run \
--volume $(pwd):/app/config \
--name airnode \
api3/airnode-client:0.14.0
api3/airnode-client:0.14.1
```

```batch [Windows]
docker run ^
--volume %cd%:/app/config ^
--name airnode ^
api3/airnode-client:0.14.0
api3/airnode-client:0.14.1
```

:::
Expand Down
34 changes: 17 additions & 17 deletions docs/reference/airnode/latest/docker/deployer-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,14 @@ some deployment information and is used to remove the Airnode.
docker run -it --rm \
-e USER_ID=$(id -u) -e GROUP_ID=$(id -g) \
-v "$(pwd):/app/config" \
api3/airnode-deployer:0.14.0 deploy
api3/airnode-deployer:0.14.1 deploy
```

```batch [Windows]
# For Windows, use CMD (not PowerShell).
docker run -it --rm ^
-v "%cd%:/app/config" ^
api3/airnode-deployer:0.14.0 deploy
api3/airnode-deployer:0.14.1 deploy
```

:::
Expand Down Expand Up @@ -145,7 +145,7 @@ Use the following example to avoid the automatic removal of the Airnode.
docker run -it --rm \
-e USER_ID=$(id -u) -e GROUP_ID=$(id -g) \
-v "$(pwd):/app/config" \
api3/airnode-deployer:0.14.0 deploy --auto-remove false
api3/airnode-deployer:0.14.1 deploy --auto-remove false
```

### `list`
Expand All @@ -162,14 +162,14 @@ and/or `gcp.json` (for GCP).
```sh [Linux/Mac/WSL2]
docker run -it --rm \
-v "$(pwd):/app/config" \
api3/airnode-deployer:0.14.0 list
api3/airnode-deployer:0.14.1 list
```

```batch [Windows]
# For Windows, use CMD (not PowerShell).
docker run -it --rm ^
-v "%cd%:/app/config" ^
api3/airnode-deployer:0.14.0 list
api3/airnode-deployer:0.14.1 list
```

:::
Expand All @@ -183,14 +183,14 @@ just the cloud providers you want the deployer to list from.
```sh [Linux/Mac/WSL2]
docker run -it --rm \
-v "$(pwd):/app/config" \
api3/airnode-deployer:0.14.0 list --cloud-providers aws
api3/airnode-deployer:0.14.1 list --cloud-providers aws
```

```batch [Windows]
# For Windows, use CMD (not PowerShell).
docker run -it --rm ^
-v "%cd%:/app/config" ^
api3/airnode-deployer:0.14.0 list --cloud-providers aws
api3/airnode-deployer:0.14.1 list --cloud-providers aws
```

:::
Expand All @@ -211,14 +211,14 @@ run correctly: `aws.env` (for AWS) and/or `gcp.json` (for GCP).
```sh [Linux/Mac/WSL2]
docker run -it --rm \
-v "$(pwd):/app/config" \
api3/airnode-deployer:0.14.0 info aws2c6ef2b3
api3/airnode-deployer:0.14.1 info aws2c6ef2b3
```

```batch [Windows]
# For Windows, use CMD (not PowerShell).
docker run -it --rm ^
-v "%cd%:/app/config" ^
api3/airnode-deployer:0.14.0 info aws2c6ef2b3
api3/airnode-deployer:0.14.1 info aws2c6ef2b3
```

:::
Expand All @@ -242,14 +242,14 @@ version using its configuration. Check this with the
```sh [Linux/Mac/WSL2]
docker run -it --rm \
-v "$(pwd):/app/config" \
api3/airnode-deployer:0.14.0 rollback aws2c6ef2b3 3580a278
api3/airnode-deployer:0.14.1 rollback aws2c6ef2b3 3580a278
```

```batch [Windows]
# For Windows, use CMD (not PowerShell).
docker run -it --rm ^
-v "%cd%:/app/config" ^
api3/airnode-deployer:0.14.0 rollback aws2c6ef2b3 3580a278
api3/airnode-deployer:0.14.1 rollback aws2c6ef2b3 3580a278
```

:::
Expand Down Expand Up @@ -279,14 +279,14 @@ GCP).
```sh [Linux/Mac/WSL2]
docker run -it --rm \
-v "$(pwd):/app/config" \
api3/airnode-deployer:0.14.0 fetch-files aws2c6ef2b3
api3/airnode-deployer:0.14.1 fetch-files aws2c6ef2b3
```

```batch [Windows]
# For Windows, use CMD (not PowerShell).
docker run -it --rm ^
-v "%cd%:/app/config" ^
api3/airnode-deployer:0.14.0 fetch-files aws2c6ef2b3
api3/airnode-deployer:0.14.1 fetch-files aws2c6ef2b3
```

:::
Expand All @@ -309,14 +309,14 @@ the recommended way to remove a deployment, but an alternative is the
```sh [Linux/Mac/WSL2]
docker run -it --rm \
-v "$(pwd):/app/config" \
api3/airnode-deployer:0.14.0 remove aws2c6ef2b3
api3/airnode-deployer:0.14.1 remove aws2c6ef2b3
```

```batch [Windows]
# For Windows, use CMD (not PowerShell).
docker run -it --rm ^
-v "%cd%:/app/config" ^
api3/airnode-deployer:0.14.0 remove aws2c6ef2b3
api3/airnode-deployer:0.14.1 remove aws2c6ef2b3
```

:::
Expand All @@ -335,14 +335,14 @@ are needed for the command to run correctly: `aws.env` (for AWS) or `gcp.json`
```sh [Linux/Mac/WSL2]
docker run -it --rm \
-v "$(pwd):/app/config" \
api3/airnode-deployer:0.14.0 remove-with-receipt
api3/airnode-deployer:0.14.1 remove-with-receipt
```

```batch [Windows]
# For Windows, use CMD (not PowerShell).
docker run -it --rm ^
-v "%cd%:/app/config" ^
api3/airnode-deployer:0.14.0 remove-with-receipt
api3/airnode-deployer:0.14.1 remove-with-receipt
```

:::
Expand Down
12 changes: 6 additions & 6 deletions docs/reference/airnode/latest/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,27 @@ services related to Airnode, such as airnode-deployer, airnode-admin, etc.
## Changes to `config.json`

The following assumes a valid v0.13 `config.json` file. All changes listed below
must be implemented in order to migrate to Airnode v0.14.0.
must be implemented in order to migrate to Airnode v0.14.1.

1. `nodeSettings.nodeVersion`

Updated to "0.14.0"
Updated to "0.14.1"

```diff
{
- "nodeVersion": "0.13.0"
+ "nodeVersion": "0.14.0"
+ "nodeVersion": "0.14.1"
}
```

2. `ois[n].oisFormat`

Updated to "2.3.1".
Updated to "2.3.2".

```diff
{
- "oisFormat": "2.2.1"
+ "oisFormat": "2.3.1"
+ "oisFormat": "2.3.2"
}
```

Expand All @@ -63,7 +63,7 @@ for completeness.

## New features and fixes

- In conjunction with OIS v2.3.1, there is now a version 2 of pre-processing and
- In conjunction with OIS v2.3.2, there is now a version 2 of pre-processing and
post-processing. More details can be found in the
[OIS reference](/reference/ois/latest/processing.md#v2).
- OEV gateway AWS lambda memory has been increased from 256 MB to 2048 MB
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/airnode/latest/packages/admin-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ npx @api3/airnode-admin $COMMAND --help
Use the Admin CLI docker image as an alternative to `npx`:

```sh
docker run api3/airnode-admin:0.14.0 --help
docker run api3/airnode-admin:0.14.1 --help
```

View the parameters of a command:

```sh
docker run api3/airnode-admin:0.14.0 $COMMAND --help
docker run api3/airnode-admin:0.14.1 $COMMAND --help
```

## SDK
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/airnode/latest/packages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ systems for development. If you are using Windows, consider
The `airnode-ois` monorepo package was removed from the Airnode repo and is now
in its own repo (`ois`) starting with Airnode `v0.8`.

- [ois:](https://github.com/api3dao/ois/tree/v2.3.1) Types for
- [ois:](https://github.com/api3dao/ois/tree/v2.3.2) Types for
[Oracle Integration Specification (OIS)](/reference/ois/latest/specification.md).

<FlexEndTag/>
Loading

0 comments on commit cf5f387

Please sign in to comment.