From 16f46c7a5a13f7b1786a77723fc04a9073582c63 Mon Sep 17 00:00:00 2001 From: Rhys Bartels-Waller Date: Thu, 2 Feb 2023 18:21:23 +0100 Subject: [PATCH] chore: bump version, update changelog --- CHANGELOG.md | 30 +++++++++++++++++++++ README.md | 20 +++++++------- docker-compose.yml | 6 ++--- package.json | 2 +- packages/api-cardano-db-hasura/package.json | 6 ++--- packages/cli/package.json | 2 +- packages/client-ts/package.json | 2 +- packages/server/package.json | 6 ++--- packages/util-dev/package.json | 4 +-- packages/util/package.json | 2 +- 10 files changed, 55 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22add2e1..d0646e2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,36 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +--- +## [8.0.0](https://github.com/input-output-hk/cardano-graphql/compare/7.0.2...8.0.0) (2023-02-03) + +### Compatible with: + +- [`cardano-node`: `1.35.5`](https://github.com/input-output-hk/cardano-node/releases/tag/1.35.5) +- [`cardano-ogmios`: `v5.5.8`](https://github.com/CardanoSolutions/ogmios/releases/tag/v5.5.8) +- [`cardano-db-sync`: `13.0.5`](https://github.com/input-output-hk/cardano-db-sync/releases/tag/13.0.5) +- [`hasura/graphql-engine`: `2.17.1`](https://github.com/hasura/graphql-engine/releases/tag/v2.17.1) + +### ⚠ BREAKING CHANGES + +* drop support for average aggregation fields +* align GraphQL types to conform with database and Hasura string casts +* **api-cardano-db-hasura:** separate DB and Hasura management tasks to new process + +### Features + +* **api-cardano-db-hasura:** separate DB and Hasura management tasks to new process ([8acb58f](https://github.com/input-output-hk/cardano-graphql/commit/8acb58fa2a8907a1b98eb3c5d1a04ba91257ae77)) +* improve uncaught exception logging ([800a587](https://github.com/input-output-hk/cardano-graphql/commit/800a587788dac6810bc64ef249a5653e0d936f01)) + + +### Bug Fixes + +* **api-cardano-db-hasura:** remove VARCHAR limits from Asset table ([a4092f8](https://github.com/input-output-hk/cardano-graphql/commit/a4092f878e8b548d34f9fc0c5bddaa559d5a16f5)) +* **api-cardano-db-hasura:** retry initialization of data fetcher ([d5a794d](https://github.com/input-output-hk/cardano-graphql/commit/d5a794d257f09c4373a938f9828597d11d523370)) +* **server:** avoid producing NaN in asset sync percentage calc, and clamp to max 100% ([b48e804](https://github.com/input-output-hk/cardano-graphql/commit/b48e80439cf7c6930b3cf144f02e542f779c8b0b)) +* align GraphQL types to conform with database and Hasura string casts ([ad4e736](https://github.com/input-output-hk/cardano-graphql/commit/ad4e736e528160acbed52b5e14722f6c35ec0332)) +* drop support for average aggregation fields ([3cd6445](https://github.com/input-output-hk/cardano-graphql/commit/3cd6445e6c1c26718f218409df722c54c28c011d)) + ### [7.0.2](https://github.com/input-output-hk/cardano-graphql/compare/7.0.1...7.0.2) (2022-10-03) ### Compatible with: diff --git a/README.md b/README.md index bde9c7ab..52d99751 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Check the [releases] for the latest version. ``` console git clone \ --single-branch \ - --branch 7.0.2 \ + --branch 8.0.0 \ --recurse-submodules \ https://github.com/input-output-hk/cardano-graphql.git \ && cd cardano-graphql @@ -114,9 +114,9 @@ your use-case. Get the most recent weekly snapshot link [here](https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#11/), and set it as `RESTORE_SNAPSHOT` below, or omit if you wish to sync from genesis. ``` console export NETWORK=mainnet &&\ -docker pull inputoutput/cardano-graphql-server:7.0.2-${NETWORK} &&\ -docker pull inputoutput/cardano-graphql-background:7.0.2-${NETWORK} &&\ -docker pull inputoutput/cardano-graphql-hasura:7.0.2 &&\ +docker pull inputoutput/cardano-graphql-server:8.0.0-${NETWORK} &&\ +docker pull inputoutput/cardano-graphql-background:8.0.0-${NETWORK} &&\ +docker pull inputoutput/cardano-graphql-hasura:8.0.0 &&\ docker pull cardanosolutions/cardano-node-ogmios:v5.5.8_1.35.5-${NETWORK} &&\ RESTORE_SNAPSHOT=https://update-cardano-mainnet.iohk.io/cardano-db-sync/13/db-sync-snapshot-schema-13-block-8291499-x86_64.tgz \ docker compose up -d &&\ @@ -129,9 +129,9 @@ docker compose logs -f ``` console export NETWORK=preprod &&\ -docker pull inputoutput/cardano-graphql-server:7.0.2-${NETWORK} &&\ -docker pull inputoutput/cardano-graphql-background:7.0.2-${NETWORK} &&\ -docker pull inputoutput/cardano-graphql-hasura:7.0.2 &&\ +docker pull inputoutput/cardano-graphql-server:8.0.0-${NETWORK} &&\ +docker pull inputoutput/cardano-graphql-background:8.0.0-${NETWORK} &&\ +docker pull inputoutput/cardano-graphql-hasura:8.0.0 &&\ docker pull cardanosolutions/cardano-node-ogmios:v5.5.8_1.35.5-${NETWORK} &&\ API_PORT=3101 \ HASURA_PORT=8091 \ @@ -148,9 +148,9 @@ docker compose -p ${NETWORK} logs -f ``` console export NETWORK=preview &&\ -docker pull inputoutput/cardano-graphql-server:7.0.2-${NETWORK} &&\ -docker pull inputoutput/cardano-graphql-background:7.0.2-${NETWORK} &&\ -docker pull inputoutput/cardano-graphql-hasura:7.0.2 &&\ +docker pull inputoutput/cardano-graphql-server:8.0.0-${NETWORK} &&\ +docker pull inputoutput/cardano-graphql-background:8.0.0-${NETWORK} &&\ +docker pull inputoutput/cardano-graphql-hasura:8.0.0 &&\ docker pull cardanosolutions/cardano-node-ogmios:v5.5.8_1.35.5-${NETWORK} &&\ API_PORT=3102 \ HASURA_PORT=8092 \ diff --git a/docker-compose.yml b/docker-compose.yml index 152465d2..d1231df7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -79,7 +79,7 @@ services: hasura: build: context: ./packages/api-cardano-db-hasura/hasura - image: inputoutput/cardano-graphql-hasura:${CARDANO_GRAPHQL_VERSION:-7.0.2} + image: inputoutput/cardano-graphql-hasura:${CARDANO_GRAPHQL_VERSION:-8.0.0} ports: - ${HASURA_PORT:-8090}:8080 depends_on: @@ -103,7 +103,7 @@ services: cache_from: [ inputoutput/cardano-graphql-background:latest ] context: . target: background - image: inputoutput/cardano-graphql-background:${CARDANO_GRAPHQL_VERSION:-7.0.2}-${NETWORK:-mainnet} + image: inputoutput/cardano-graphql-background:${CARDANO_GRAPHQL_VERSION:-8.0.0}-${NETWORK:-mainnet} depends_on: - "hasura" - "postgres" @@ -128,7 +128,7 @@ services: cache_from: [ inputoutput/cardano-graphql-server:latest ] context: . target: server - image: inputoutput/cardano-graphql-server:${CARDANO_GRAPHQL_VERSION:-7.0.2}-${NETWORK:-mainnet} + image: inputoutput/cardano-graphql-server:${CARDANO_GRAPHQL_VERSION:-8.0.0}-${NETWORK:-mainnet} environment: - ALLOW_INTROSPECTION=true - CACHE_ENABLED=true diff --git a/package.json b/package.json index 5de89445..7ecefd1c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "engines": { "node": ">=14.15.0" }, - "version": "7.0.2", + "version": "8.0.0", "private": true, "workspaces": [ "packages/*" diff --git a/packages/api-cardano-db-hasura/package.json b/packages/api-cardano-db-hasura/package.json index 47699516..18db607b 100644 --- a/packages/api-cardano-db-hasura/package.json +++ b/packages/api-cardano-db-hasura/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-graphql/api-cardano-db-hasura", - "version": "7.0.2", + "version": "8.0.0", "description": "Module for interfacing with the Cardano DB, populated by cardano-db-sync that utilises Hasura for a powerful query interface", "main": "dist/index.js", "typings": "dist/index.d.ts", @@ -34,7 +34,7 @@ "schema.graphql" ], "dependencies": { - "@cardano-graphql/util": "7.0.2", + "@cardano-graphql/util": "8.0.0", "@cardano-ogmios/client": "5.5.7", "@cardanosolutions/json-bigint": "^1.0.0", "@emurgo/cip14-js": "^2.0.0", @@ -66,7 +66,7 @@ "ts-log": "^2.2.3" }, "devDependencies": { - "@cardano-graphql/util-dev": "7.0.2", + "@cardano-graphql/util-dev": "8.0.0", "@graphql-codegen/cli": "^1.15.2", "@graphql-codegen/typescript": "^1.15.2", "@graphql-codegen/typescript-graphql-files-modules": "^1.15.2", diff --git a/packages/cli/package.json b/packages/cli/package.json index 1712251c..d7597a6a 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-graphql/cli", - "version": "7.0.2", + "version": "8.0.0", "description": "Management tool for managing a Cardano GraphQL deployment", "main": "./dist/index.js", "bin": { diff --git a/packages/client-ts/package.json b/packages/client-ts/package.json index e84992d0..5454f0c1 100644 --- a/packages/client-ts/package.json +++ b/packages/client-ts/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-graphql/client-ts", - "version": "7.0.2", + "version": "8.0.0", "description": "A client package for Cardano GraphQL, including the GraphQL schema and TypeScript definitions generated from it", "repository": { "type": "git", diff --git a/packages/server/package.json b/packages/server/package.json index 0dd1b4cf..dc5bce9a 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-graphql/server", - "version": "7.0.2", + "version": "8.0.0", "description": "Serve the Cardano GraphQL API over HTTP", "main": "dist/index.js", "typings": "dist/index.d.ts", @@ -24,7 +24,7 @@ }, "homepage": "https://github.com/input-output-hk/cardano-graphql/blob/master/packages/server/README.md", "dependencies": { - "@cardano-graphql/api-cardano-db-hasura": "7.0.2", + "@cardano-graphql/api-cardano-db-hasura": "8.0.0", "@cardano-ogmios/schema": "5.5.7", "@graphql-tools/merge": "^6.0.10", "apollo-metrics": "^1.0.1", @@ -46,7 +46,7 @@ "ts-log": "^2.2.3" }, "devDependencies": { - "@cardano-graphql/util-dev": "7.0.2", + "@cardano-graphql/util-dev": "8.0.0", "@graphql-codegen/cli": "^1.15.2", "@types/death": "^1.1.1", "@types/fs-extra": "^9.0.1", diff --git a/packages/util-dev/package.json b/packages/util-dev/package.json index 900ce926..81dc46a3 100644 --- a/packages/util-dev/package.json +++ b/packages/util-dev/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-graphql/util-dev", - "version": "7.0.2", + "version": "8.0.0", "description": "Common development utilities", "main": "dist/index.js", "typings": "dist/index.d.ts", @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/input-output-hk/cardano-graphql/blob/master/packages/util-dev/README.md", "devDependencies": { - "@cardano-graphql/util": "7.0.2", + "@cardano-graphql/util": "8.0.0", "shx": "^0.3.2" }, "directories": { diff --git a/packages/util/package.json b/packages/util/package.json index c9c65f34..e0947097 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-graphql/util", - "version": "7.0.2", + "version": "8.0.0", "description": "Common utilities", "main": "dist/index.js", "typings": "dist/index.d.ts",