Skip to content

Commit 3f5a8e9

Browse files
authored
Merge pull request #316 from input-output-hk/release/2.1.0
chore(release): 2.1.0
2 parents f2a57d2 + ee65484 commit 3f5a8e9

File tree

10 files changed

+54
-19
lines changed

10 files changed

+54
-19
lines changed

CHANGELOG.md

+37-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
1-
Changelog
2-
=========
1+
# Changelog
2+
3+
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.
4+
5+
## [2.1.0](https://github.com/input-output-hk/cardano-graphql/compare/2.0.0...2.1.0) (2020-09-17)
6+
7+
### Compatible with:
8+
9+
- [`cardano-node`: `1.19.1`](https://github.com/input-output-hk/cardano-node/releases/tag/1.19.1)
10+
- [`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.
11+
12+
### Features
13+
14+
* **api-cardano-db-hasura:** add custom $SECRET_DIR support for docker image ([ff79b10](https://github.com/input-output-hk/cardano-graphql/commit/ff79b10e9a14ec457c5515fe68c2ec27cd2207ba))
15+
* **api-cardano-db-hasura:** add Epoch.fees ([4482338](https://github.com/input-output-hk/cardano-graphql/commit/4482338138b417eccb4cff9dd75d0bf9bd9e36af))
16+
* **api-cardano-db-hasura:** add Transaction.deposit ([2726d80](https://github.com/input-output-hk/cardano-graphql/commit/2726d8052760aa4ccba8f679d4c938754887f61f))
17+
* Add build arg to include genesis files ([c06912d](https://github.com/input-output-hk/cardano-graphql/commit/c06912d3203e9592e3b707c3919056acdef5a6a7))
18+
* Improve logging during retry attempts ([e24df95](https://github.com/input-output-hk/cardano-graphql/commit/e24df95dabad423f925ca061ffd668a7f1d05be2))
19+
* replace DB polling with postgres notification listener for migrations ([e42eb3d](https://github.com/input-output-hk/cardano-graphql/commit/e42eb3d331c9a28c71e9e1bbd1fb9aebdad35eb6))
20+
21+
### Bug Fixes
22+
23+
* add missing GraphQL model for Delegation.transaction ([3ac55b1](https://github.com/input-output-hk/cardano-graphql/commit/3ac55b13cddb1bffe7c6335a3e80f4ec96dd2b3d))
24+
* address ordering type mismatch in GraphQL schema ([45f3c73](https://github.com/input-output-hk/cardano-graphql/commit/45f3c737b3316e87fbb5482b7f415b195f3b796a))
25+
* ensure migration is run before introspection ([079a248](https://github.com/input-output-hk/cardano-graphql/commit/079a248eaa10de9a31f193c420988ada49661c30))
26+
* include @types/* packages in workspace devDependencies ([6c5f075](https://github.com/input-output-hk/cardano-graphql/commit/6c5f075de8541c7983f01cc3194bcc04664b375c))
27+
* include pools without metadata in StakePool view ([d978094](https://github.com/input-output-hk/cardano-graphql/commit/d978094dda3b504205e468822e6f42141214fd99))
28+
* **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)
29+
* 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)
30+
* **api-cardano-db-hasura:** improve error handling with Cardano query delegation ([4e532a3](https://github.com/input-output-hk/cardano-graphql/commit/4e532a357b084b82b2a35aa7f021ba14e2744a37))
31+
* **api-cardano-db-hasura:** Move each query to separate test ([3b29f48](https://github.com/input-output-hk/cardano-graphql/commit/3b29f484c6bb6e7b876cdce7e879d7e41037600b))
32+
* **api-cardano-db-hasura:** Properly model and relate StakePoolRetirements ([a5fef40](https://github.com/input-output-hk/cardano-graphql/commit/a5fef4073cc3cb9f6424856e5f90aa39a31c8cf9))
33+
* **api-cardano-db-hasura:** Support 28 byte hex encoded hashes ([9e28ffa](https://github.com/input-output-hk/cardano-graphql/commit/9e28ffa6686fd28ea72a374c4eb45b0aa7b5efe9))
34+
* **server:** better align server config options ([30a7534](https://github.com/input-output-hk/cardano-graphql/commit/30a753435c06a06cd6fe6725bb40e9a74682010a))
35+
* **server:** rename whitelist to allow-list ([eeeafa9](https://github.com/input-output-hk/cardano-graphql/commit/eeeafa9acb30e480e1f9cb73495eeee6574b9c5a))
36+
* **server:** return HTTP 403 errors when rejecting disallowed queries ([b8892ca](https://github.com/input-output-hk/cardano-graphql/commit/b8892ca171164271d04018d2e039b333c74f40ee))
37+
338

439
## 2.0.0
540
This new major version brings the first round of Shelley-era features to the API,

docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ services:
7373
hasura:
7474
build:
7575
context: ./packages/api-cardano-db-hasura/hasura
76-
image: inputoutput/cardano-graphql-hasura:${CARDANO_GRAPHQL_VERSION:-2.0.0}
76+
image: inputoutput/cardano-graphql-hasura:${CARDANO_GRAPHQL_VERSION:-2.1.0}
7777
ports:
7878
- ${HASURA_PORT:-8090}:8080
7979
depends_on:
@@ -103,7 +103,7 @@ services:
103103
target: server
104104
args:
105105
- NETWORK=${NETWORK:-mainnet}
106-
image: inputoutput/cardano-graphql:${CARDANO_GRAPHQL_VERSION:-2.0.0}
106+
image: inputoutput/cardano-graphql:${CARDANO_GRAPHQL_VERSION:-2.1.0}
107107
environment:
108108
- ALLOW_INTROSPECTION=true
109109
- CACHE_ENABLED=true

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "cardano-graphql",
33
"description": "A TypeScript monorepo. Includes a server package and API modules for flexible implementation",
4-
"version": "2.0.0",
4+
"version": "2.1.0",
55
"private": true,
66
"workspaces": [
77
"packages/*"

packages/api-cardano-db-hasura/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cardano-graphql/api-cardano-db-hasura",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "Module for interfacing with the Cardano DB, populated by cardano-db-sync-extended that utilises Hasura for a powerful query interface",
55
"main": "dist/index.js",
66
"typings": "dist/index.d.ts",
@@ -32,7 +32,7 @@
3232
"schema.graphql"
3333
],
3434
"dependencies": {
35-
"@cardano-graphql/util": "2.0.0",
35+
"@cardano-graphql/util": "2.1.0",
3636
"@graphql-tools/delegate": "^6.0.10",
3737
"@graphql-tools/schema": "^6.0.9",
3838
"@graphql-tools/wrap": "^6.0.9",
@@ -51,7 +51,7 @@
5151
"pg-listen": "^1.6.0"
5252
},
5353
"devDependencies": {
54-
"@cardano-graphql/util-dev": "2.0.0",
54+
"@cardano-graphql/util-dev": "2.1.0",
5555
"@graphql-codegen/cli": "^1.15.2",
5656
"@graphql-codegen/typescript": "^1.15.2",
5757
"@graphql-codegen/typescript-graphql-files-modules": "^1.15.2",

packages/api-genesis/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cardano-graphql/api-genesis",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "Query the network genesis",
55
"main": "dist/index.js",
66
"typings": "dist/index.d.ts",
@@ -38,7 +38,7 @@
3838
"graphql-scalars": "^1.2.2"
3939
},
4040
"devDependencies": {
41-
"@cardano-graphql/util-dev": "2.0.0",
41+
"@cardano-graphql/util-dev": "2.1.0",
4242
"@graphql-codegen/cli": "^1.15.2",
4343
"@graphql-codegen/typescript": "^1.15.2",
4444
"@graphql-codegen/typescript-graphql-files-modules": "^1.15.2",

packages/cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cardano-graphql/cli",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "Management tool for managing a Cardano GraphQL deployment",
55
"main": "./dist/index.js",
66
"bin": {

packages/client-ts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cardano-graphql/client-ts",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "A client package for Cardano GraphQL, including the GraphQL schema and TypeScript definitions generated from it",
55
"repository": {
66
"type": "git",

packages/server/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cardano-graphql/server",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "Serve the Cardano GraphQL API over HTTP",
55
"main": "dist/index.js",
66
"typings": "dist/index.d.ts",
@@ -24,8 +24,8 @@
2424
},
2525
"homepage": "https://github.com/input-output-hk/cardano-graphql/blob/master/packages/server/README.md",
2626
"dependencies": {
27-
"@cardano-graphql/api-cardano-db-hasura": "2.0.0",
28-
"@cardano-graphql/api-genesis": "2.0.0",
27+
"@cardano-graphql/api-cardano-db-hasura": "2.1.0",
28+
"@cardano-graphql/api-genesis": "2.1.0",
2929
"@graphql-tools/merge": "^6.0.10",
3030
"apollo-metrics": "^1.0.1",
3131
"apollo-server-core": "^2.14.3",
@@ -41,7 +41,7 @@
4141
"ts-custom-error": "^3.1.1"
4242
},
4343
"devDependencies": {
44-
"@cardano-graphql/util-dev": "2.0.0",
44+
"@cardano-graphql/util-dev": "2.1.0",
4545
"@types/fs-extra": "^9.0.1",
4646
"@types/graphql-depth-limit": "^1.1.2",
4747
"@types/node": "^14.0.13",

packages/util-dev/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cardano-graphql/util-dev",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "Common development utilities",
55
"main": "dist/index.js",
66
"typings": "dist/index.d.ts",
@@ -22,7 +22,7 @@
2222
},
2323
"homepage": "https://github.com/input-output-hk/cardano-graphql/blob/master/packages/util-dev/README.md",
2424
"devDependencies": {
25-
"@cardano-graphql/util": "2.0.0",
25+
"@cardano-graphql/util": "2.1.0",
2626
"shx": "^0.3.2"
2727
},
2828
"directories": {

packages/util/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cardano-graphql/util",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "Common utilities",
55
"main": "dist/index.js",
66
"typings": "dist/index.d.ts",

0 commit comments

Comments
 (0)