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 Oct 9, 2021
1 parent c99676c commit a4f20c0
Show file tree
Hide file tree
Showing 13 changed files with 43 additions and 25 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

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.

## [6.0.0](https://github.com/input-output-hk/cardano-graphql/compare/5.1.0...6.0.0) (2021-10-03)

### ⚠ BREAKING CHANGES

* `Reward.stakePool` is now nullable to handle rewards of type `treasury` or `reserves`.

### Features

* include all reward types in Reward model, adds `type` field ([6f1ddd9](https://github.com/input-output-hk/cardano-graphql/commit/6f1ddd9b482b746eaf2940c41f9150e84244727c))
* `Reward.receivedIn` ([e9e5715](https://github.com/input-output-hk/cardano-graphql/commit/e9e5715847fad3d27a426d13186833a4aecf4e2d))
* `TransactionInput_order_by.transaction` ([f775c45](https://github.com/input-output-hk/cardano-graphql/commit/f775c451c32b74c62bb6291c18c8bee8f16f6ba1))
* use Asset table sync status to determine Server readiness ([dfff8d5](https://github.com/input-output-hk/cardano-graphql/commit/dfff8d53dd76c72b5695ca35cc3c4d545fec4571))

### Bug Fixes

* add permission to Reward.type, and index the column ([6f157a5](https://github.com/input-output-hk/cardano-graphql/commit/6f157a5b46944ca2693e17580f72af39ab9a961b))
* make METADATA_SERVER_URI required config ([552c5e8](https://github.com/input-output-hk/cardano-graphql/commit/552c5e8550d96f9820cede6f2b471b16cdc074b7))

### [5.1.0](https://github.com/input-output-hk/cardano-graphql/compare/5.1.0-beta.1...5.1.0) (2021-08-27)

### Compatible with:
Expand Down
14 changes: 7 additions & 7 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 5.1.0 \
--branch 6.0.0 \
--recurse-submodules \
https://github.com/input-output-hk/cardano-graphql.git \
&& cd cardano-graphql
Expand Down Expand Up @@ -98,9 +98,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:5.1.0-${NETWORK} &&\
docker pull inputoutput/cardano-graphql-hasura:5.1.0 &&\
docker pull cardanosolutions/cardano-node-ogmios:v4.0.0-beta.9-${NETWORK} &&\
docker pull inputoutput/cardano-graphql:6.0.0-${NETWORK} &&\
docker pull inputoutput/cardano-graphql-hasura:6.0.0 &&\
docker pull cardanosolutions/cardano-node-ogmios:v4.1.0-${NETWORK} &&\
RESTORE_SNAPSHOT=https://update-cardano-mainnet.iohk.io/cardano-db-sync/11/db-sync-snapshot-schema-11-block-6278640-x86_64.tgz \
docker-compose up -d &&\
docker-compose logs -f
Expand All @@ -113,9 +113,9 @@ docker-compose logs -f
Get the most recent weekly snapshot link [here](https://updates-cardano-testnet.s3.amazonaws.com/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=testnet &&\
docker pull inputoutput/cardano-graphql:5.1.0-${NETWORK} &&\
docker pull inputoutput/cardano-graphql-hasura:5.1.0 &&\
docker pull cardanosolutions/cardano-node-ogmios:v4.0.0-beta.9-${NETWORK} &&\
docker pull inputoutput/cardano-graphql:6.0.0-${NETWORK} &&\
docker pull inputoutput/cardano-graphql-hasura:6.0.0 &&\
docker pull cardanosolutions/cardano-node-ogmios:v4.1.0-${NETWORK} &&\
RESTORE_SNAPSHOT=https://updates-cardano-testnet.s3.amazonaws.com/cardano-db-sync/11/db-sync-snapshot-schema-11-block-2944498-x86_64.tgz \
API_PORT=3101 \
HASURA_PORT=8091 \
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ services:
hasura:
build:
context: ./packages/api-cardano-db-hasura/hasura
image: inputoutput/cardano-graphql-hasura:${CARDANO_GRAPHQL_VERSION:-5.1.0}
image: inputoutput/cardano-graphql-hasura:${CARDANO_GRAPHQL_VERSION:-6.0.0}
ports:
- ${HASURA_PORT:-8090}:8080
depends_on:
Expand All @@ -103,7 +103,7 @@ services:
cache_from: [ inputoutput/cardano-graphql:latest ]
context: .
target: server
image: inputoutput/cardano-graphql:${CARDANO_GRAPHQL_VERSION:-5.1.0}-${NETWORK:-mainnet}
image: inputoutput/cardano-graphql:${CARDANO_GRAPHQL_VERSION:-6.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"
},
"version": "5.1.0",
"version": "6.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": "5.1.0",
"version": "6.0.0",
"description": "Module for interfacing with the Cardano DB, populated by cardano-db-sync-extended that utilises Hasura for a powerful query interface",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -32,7 +32,7 @@
"schema.graphql"
],
"dependencies": {
"@cardano-graphql/util": "5.1.0",
"@cardano-graphql/util": "6.0.0",
"@cardano-ogmios/client": "^4.1.0",
"@cardanosolutions/json-bigint": "^1.0.0",
"@emurgo/cardano-serialization-lib-nodejs": "^6.0.0",
Expand Down Expand Up @@ -65,7 +65,7 @@
"ts-log": "^2.2.3"
},
"devDependencies": {
"@cardano-graphql/util-dev": "5.1.0",
"@cardano-graphql/util-dev": "6.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/chain-follower/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ services:
cache_from: [inputoutput/cardano-graphql-chain-follower:latest]
context: ../../
target: chain-follower
image: inputoutput/cardano-graphql-chain-follower:${CARDANO_GRAPHQL_VERSION:-5.1.0}-${NETWORK:-mainnet}
image: inputoutput/cardano-graphql-chain-follower:${CARDANO_GRAPHQL_VERSION:-6.0.0}-${NETWORK:-mainnet}
environment:
- LOGGER_MIN_SEVERITY=${LOGGER_MIN_SEVERITY:-info}
restart: on-failure
Expand Down
4 changes: 2 additions & 2 deletions packages/chain-follower/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
"NOTICE"
],
"dependencies": {
"@cardano-graphql/util": "5.1.0",
"@cardano-graphql/util": "6.0.0",
"@cardano-ogmios/client": "^4.1.0",
"@cardanosolutions/json-bigint": "^1.0.0",
"@emurgo/cip14-js": "^2.0.0",
"ts-custom-error": "^3.2.0",
"ts-log": "^2.2.3"
},
"devDependencies": {
"@cardano-graphql/util-dev": "5.1.0",
"@cardano-graphql/util-dev": "6.0.0",
"@types/node": "^14.0.13",
"shx": "^0.3.2",
"typescript": "^3.9.5"
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": "5.1.0",
"version": "6.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": "5.1.0",
"version": "6.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": "5.1.0",
"version": "6.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": "5.1.0",
"@cardano-graphql/api-cardano-db-hasura": "6.0.0",
"@cardano-ogmios/schema": "^4.1.0",
"@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": "5.1.0",
"@cardano-graphql/util-dev": "6.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": "5.1.0",
"version": "6.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": "5.1.0",
"@cardano-graphql/util": "6.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": "5.1.0",
"version": "6.0.0",
"description": "Common utilities",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"NOTICE"
],
"dependencies": {
"@cardano-graphql/util": "5.1.0",
"@cardano-graphql/util": "6.0.0",
"amqplib": "^0.8.0",
"bunyan": "^1.8.15",
"death": "^1.1.0",
Expand Down

0 comments on commit a4f20c0

Please sign in to comment.