Skip to content

Commit

Permalink
Merge pull request #316 from input-output-hk/release/2.1.0
Browse files Browse the repository at this point in the history
chore(release): 2.1.0
  • Loading branch information
rhyslbw committed Sep 17, 2020
2 parents f2a57d2 + ee65484 commit 3f5a8e9
Show file tree
Hide file tree
Showing 10 changed files with 54 additions and 19 deletions.
39 changes: 37 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
Changelog
=========
# Changelog

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.

## [2.1.0](https://github.com/input-output-hk/cardano-graphql/compare/2.0.0...2.1.0) (2020-09-17)

### Compatible with:

- [`cardano-node`: `1.19.1`](https://github.com/input-output-hk/cardano-node/releases/tag/1.19.1)
- [`cardano-db-sync`: `5.0.0`](https://github.com/input-output-hk/cardano-db-sync/releases/tag/5.0.0) - Note: The database must be recreated using the new version.

### Features

* **api-cardano-db-hasura:** add custom $SECRET_DIR support for docker image ([ff79b10](https://github.com/input-output-hk/cardano-graphql/commit/ff79b10e9a14ec457c5515fe68c2ec27cd2207ba))
* **api-cardano-db-hasura:** add Epoch.fees ([4482338](https://github.com/input-output-hk/cardano-graphql/commit/4482338138b417eccb4cff9dd75d0bf9bd9e36af))
* **api-cardano-db-hasura:** add Transaction.deposit ([2726d80](https://github.com/input-output-hk/cardano-graphql/commit/2726d8052760aa4ccba8f679d4c938754887f61f))
* Add build arg to include genesis files ([c06912d](https://github.com/input-output-hk/cardano-graphql/commit/c06912d3203e9592e3b707c3919056acdef5a6a7))
* Improve logging during retry attempts ([e24df95](https://github.com/input-output-hk/cardano-graphql/commit/e24df95dabad423f925ca061ffd668a7f1d05be2))
* replace DB polling with postgres notification listener for migrations ([e42eb3d](https://github.com/input-output-hk/cardano-graphql/commit/e42eb3d331c9a28c71e9e1bbd1fb9aebdad35eb6))

### Bug Fixes

* add missing GraphQL model for Delegation.transaction ([3ac55b1](https://github.com/input-output-hk/cardano-graphql/commit/3ac55b13cddb1bffe7c6335a3e80f4ec96dd2b3d))
* address ordering type mismatch in GraphQL schema ([45f3c73](https://github.com/input-output-hk/cardano-graphql/commit/45f3c737b3316e87fbb5482b7f415b195f3b796a))
* ensure migration is run before introspection ([079a248](https://github.com/input-output-hk/cardano-graphql/commit/079a248eaa10de9a31f193c420988ada49661c30))
* include @types/* packages in workspace devDependencies ([6c5f075](https://github.com/input-output-hk/cardano-graphql/commit/6c5f075de8541c7983f01cc3194bcc04664b375c))
* include pools without metadata in StakePool view ([d978094](https://github.com/input-output-hk/cardano-graphql/commit/d978094dda3b504205e468822e6f42141214fd99))
* **api-cardano-db-hasura:** harden schema introspection ([3ca88b4](https://github.com/input-output-hk/cardano-graphql/commit/3ca88b4dd126ba0400ddb04e4cb0ef1fdb053b7a)), closes [#281](https://github.com/input-output-hk/cardano-graphql/issues/281)
* scope allow list to graphql path ([bee2005](https://github.com/input-output-hk/cardano-graphql/commit/bee2005730f8058d8f5363501e361b84b1ab79d8)), closes [#303](https://github.com/input-output-hk/cardano-graphql/issues/303)
* **api-cardano-db-hasura:** improve error handling with Cardano query delegation ([4e532a3](https://github.com/input-output-hk/cardano-graphql/commit/4e532a357b084b82b2a35aa7f021ba14e2744a37))
* **api-cardano-db-hasura:** Move each query to separate test ([3b29f48](https://github.com/input-output-hk/cardano-graphql/commit/3b29f484c6bb6e7b876cdce7e879d7e41037600b))
* **api-cardano-db-hasura:** Properly model and relate StakePoolRetirements ([a5fef40](https://github.com/input-output-hk/cardano-graphql/commit/a5fef4073cc3cb9f6424856e5f90aa39a31c8cf9))
* **api-cardano-db-hasura:** Support 28 byte hex encoded hashes ([9e28ffa](https://github.com/input-output-hk/cardano-graphql/commit/9e28ffa6686fd28ea72a374c4eb45b0aa7b5efe9))
* **server:** better align server config options ([30a7534](https://github.com/input-output-hk/cardano-graphql/commit/30a753435c06a06cd6fe6725bb40e9a74682010a))
* **server:** rename whitelist to allow-list ([eeeafa9](https://github.com/input-output-hk/cardano-graphql/commit/eeeafa9acb30e480e1f9cb73495eeee6574b9c5a))
* **server:** return HTTP 403 errors when rejecting disallowed queries ([b8892ca](https://github.com/input-output-hk/cardano-graphql/commit/b8892ca171164271d04018d2e039b333c74f40ee))


## 2.0.0
This new major version brings the first round of Shelley-era features to the API,
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ services:
hasura:
build:
context: ./packages/api-cardano-db-hasura/hasura
image: inputoutput/cardano-graphql-hasura:${CARDANO_GRAPHQL_VERSION:-2.0.0}
image: inputoutput/cardano-graphql-hasura:${CARDANO_GRAPHQL_VERSION:-2.1.0}
ports:
- ${HASURA_PORT:-8090}:8080
depends_on:
Expand Down Expand Up @@ -103,7 +103,7 @@ services:
target: server
args:
- NETWORK=${NETWORK:-mainnet}
image: inputoutput/cardano-graphql:${CARDANO_GRAPHQL_VERSION:-2.0.0}
image: inputoutput/cardano-graphql:${CARDANO_GRAPHQL_VERSION:-2.1.0}
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
@@ -1,7 +1,7 @@
{
"name": "cardano-graphql",
"description": "A TypeScript monorepo. Includes a server package and API modules for flexible implementation",
"version": "2.0.0",
"version": "2.1.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": "2.0.0",
"version": "2.1.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": "2.0.0",
"@cardano-graphql/util": "2.1.0",
"@graphql-tools/delegate": "^6.0.10",
"@graphql-tools/schema": "^6.0.9",
"@graphql-tools/wrap": "^6.0.9",
Expand All @@ -51,7 +51,7 @@
"pg-listen": "^1.6.0"
},
"devDependencies": {
"@cardano-graphql/util-dev": "2.0.0",
"@cardano-graphql/util-dev": "2.1.0",
"@graphql-codegen/cli": "^1.15.2",
"@graphql-codegen/typescript": "^1.15.2",
"@graphql-codegen/typescript-graphql-files-modules": "^1.15.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/api-genesis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cardano-graphql/api-genesis",
"version": "2.0.0",
"version": "2.1.0",
"description": "Query the network genesis",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -38,7 +38,7 @@
"graphql-scalars": "^1.2.2"
},
"devDependencies": {
"@cardano-graphql/util-dev": "2.0.0",
"@cardano-graphql/util-dev": "2.1.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": "2.0.0",
"version": "2.1.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": "2.0.0",
"version": "2.1.0",
"description": "A client package for Cardano GraphQL, including the GraphQL schema and TypeScript definitions generated from it",
"repository": {
"type": "git",
Expand Down
8 changes: 4 additions & 4 deletions packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cardano-graphql/server",
"version": "2.0.0",
"version": "2.1.0",
"description": "Serve the Cardano GraphQL API over HTTP",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand All @@ -24,8 +24,8 @@
},
"homepage": "https://github.com/input-output-hk/cardano-graphql/blob/master/packages/server/README.md",
"dependencies": {
"@cardano-graphql/api-cardano-db-hasura": "2.0.0",
"@cardano-graphql/api-genesis": "2.0.0",
"@cardano-graphql/api-cardano-db-hasura": "2.1.0",
"@cardano-graphql/api-genesis": "2.1.0",
"@graphql-tools/merge": "^6.0.10",
"apollo-metrics": "^1.0.1",
"apollo-server-core": "^2.14.3",
Expand All @@ -41,7 +41,7 @@
"ts-custom-error": "^3.1.1"
},
"devDependencies": {
"@cardano-graphql/util-dev": "2.0.0",
"@cardano-graphql/util-dev": "2.1.0",
"@types/fs-extra": "^9.0.1",
"@types/graphql-depth-limit": "^1.1.2",
"@types/node": "^14.0.13",
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": "2.0.0",
"version": "2.1.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": "2.0.0",
"@cardano-graphql/util": "2.1.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": "2.0.0",
"version": "2.1.0",
"description": "Common utilities",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down

0 comments on commit 3f5a8e9

Please sign in to comment.