Skip to content

Commit

Permalink
chore: bump version, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyslbw committed Feb 3, 2023
1 parent 4ea5755 commit 16f46c7
Show file tree
Hide file tree
Showing 10 changed files with 55 additions and 25 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 &&\
Expand All @@ -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 \
Expand All @@ -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 \
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"engines": {
"node": ">=14.15.0"
},
"version": "7.0.2",
"version": "8.0.0",
"private": true,
"workspaces": [
"packages/*"
Expand Down
6 changes: 3 additions & 3 deletions packages/api-cardano-db-hasura/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/client-ts/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/server/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/util-dev/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/util/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 16f46c7

Please sign in to comment.