Skip to content

Commit

Permalink
Upcoming Release Changes (#49)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Apr 25, 2022
1 parent 074d9b8 commit 97a2852
Show file tree
Hide file tree
Showing 26 changed files with 97 additions and 106 deletions.
5 changes: 0 additions & 5 deletions .changeset/khaki-snakes-cross.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/mean-beers-matter.md

This file was deleted.

26 changes: 0 additions & 26 deletions .changeset/orange-toys-hope copy.md

This file was deleted.

23 changes: 0 additions & 23 deletions .changeset/orange-toys-hope.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/real-pants-cheat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rude-games-compare.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/short-buses-draw.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-ways-flash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/smooth-pans-sneeze.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wicked-fireants-notice.md

This file was deleted.

4 changes: 2 additions & 2 deletions examples/apollo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
},
"dependencies": {
"@apollo/client": "3.5.10",
"@graphprotocol/client-apollo": "0.0.2",
"@graphprotocol/client-apollo": "0.0.3",
"graphql": "16.3.0",
"react": "17.0.2",
"react-dom": "17.0.2"
},
"devDependencies": {
"@graphprotocol/client-cli": "0.0.4",
"@graphprotocol/client-cli": "0.0.5",
"@types/react": "17.0.33",
"@types/react-dom": "17.0.10",
"@vitejs/plugin-react": "1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/composition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"graphiql": "graphclient serve-dev"
},
"dependencies": {
"@graphprotocol/client-cli": "0.0.4",
"@graphprotocol/client-cli": "0.0.5",
"@graphql-mesh/transform-prefix": "0.11.34",
"@graphql-mesh/transform-rename": "0.12.35",
"@graphql-mesh/transform-type-merging": "0.3.44",
Expand Down
2 changes: 1 addition & 1 deletion examples/execute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"react-dom": "17.0.2"
},
"devDependencies": {
"@graphprotocol/client-cli": "0.0.4",
"@graphprotocol/client-cli": "0.0.5",
"@types/react": "17.0.33",
"@types/react-dom": "17.0.10",
"@vitejs/plugin-react": "1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"react-dom": "17.0.2"
},
"devDependencies": {
"@graphprotocol/client-cli": "0.0.4",
"@graphprotocol/client-cli": "0.0.5",
"@types/node": "17.0.26",
"@types/react": "17.0.41",
"eslint": "8.14.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"check": "tsc --pretty --noEmit"
},
"dependencies": {
"@graphprotocol/client-cli": "0.0.4",
"@graphprotocol/client-cli": "0.0.5",
"concurrently": "7.1.0",
"graphql": "16.3.0",
"nodemon": "2.0.15",
Expand Down
4 changes: 2 additions & 2 deletions examples/urql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"graphiql": "graphclient serve-dev"
},
"dependencies": {
"@graphprotocol/client-urql": "0.0.2",
"@graphprotocol/client-urql": "0.0.3",
"graphql": "16.3.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"urql": "2.2.0"
},
"devDependencies": {
"@graphprotocol/client-cli": "0.0.4",
"@graphprotocol/client-cli": "0.0.5",
"@types/react": "17.0.33",
"@types/react-dom": "17.0.10",
"@vitejs/plugin-react": "1.3.1",
Expand Down
6 changes: 6 additions & 0 deletions packages/apollo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @graphprotocol/client-apollo

## 0.0.3

### Patch Changes

- 074d9b8: Update internal dependencies

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphprotocol/client-apollo",
"version": "0.0.2",
"version": "0.0.3",
"description": "",
"repository": {
"type": "git",
Expand Down
28 changes: 28 additions & 0 deletions packages/auto-pagination/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# @graphprotocol/client-auto-pagination

## 0.0.1

### Patch Changes

- 063dc0b: #### Auto Pagination Transform

`graph-client` implements automatic pagination using `first:` and `after:` filters of `graph-node`.

At the moment, `graph-node` allow fetching only 1000 records per query. This transfomer allow you to run queries with any limit, and the breaks it automatically to multiple concurrent requests, then merges the responses into a single response.

This feature is implemented in `@graphprotocol/client-auto-pagination` and installed automatically with the `graph-client` CLI package.

### Usage Example

```yaml
# .graphclientrc.yml
sources:
- name: uniswap
handler:
graphql:
endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2
transforms:
- autoPagination:
validateSchema: true # Validates that the schema source actually contains the required input filters.
limitOfRecords: 1000 # Default is 1000, you can change if you indexer has different configuration in GRAPH_GRAPHQL_MAX_FIRST var.
```
2 changes: 1 addition & 1 deletion packages/auto-pagination/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphprotocol/client-auto-pagination",
"version": "0.0.0",
"version": "0.0.1",
"description": "",
"repository": {
"type": "git",
Expand Down
25 changes: 25 additions & 0 deletions packages/block-tracking/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# @graphprotocol/client-block-tracking

## 0.0.1

### Patch Changes

- 063dc0b: #### Block Tracking Transform

`graph-client` implements automatic block tracking using `number_gte` filter of `graph-node`. This automates the process [of fetching and tracking the block number of entites](https://thegraph.com/docs/en/developer/distributed-systems/#polling-for-updated-data).

This feature is implemented in `@graphprotocol/client-block-tracking` and installed automatically with the `graph-client` CLI package.

### Usage Example

```yaml
# .graphclientrc.yml
sources:
- name: uniswap
handler:
graphql:
endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2
transforms: # The following section will make sure to automatically fetch the block information, and then use it for tracking in future queries.
- blockTracking:
validateSchema: true # Validates that the schema source actually contains _meta and input block filters.
```
2 changes: 1 addition & 1 deletion packages/block-tracking/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphprotocol/client-block-tracking",
"version": "0.0.0",
"version": "0.0.1",
"description": "",
"repository": {
"type": "git",
Expand Down
17 changes: 17 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @graphprotocol/client-cli

## 0.0.5

### Patch Changes

- 074d9b8: Upgrade internal GraphQL-Mesh deps to have better cross-platform support (node/browser)
- 074d9b8: Improve logging experience
- 074d9b8: Update internal dependencies
- 074d9b8: Use GraphQL Yoga internally in Mesh CLI and have an improved execution layer
- 074d9b8: Update internal GraphQL Mesh dependecies in order to allow custom package prefixes besides @graphql-mesh/\*
- 074d9b8: Update core GraphQL-Mesh version for a better compatibility for browser/Node envs
- 074d9b8: Update internal GraphiQL and have better interal GraphQL server (based on Yoga) in CLI commands
- 074d9b8: Bump internal GraphQL-Tools deps for an improve error handling
- Updated dependencies [063dc0b]
- Updated dependencies [063dc0b]
- @graphprotocol/client-auto-pagination@0.0.1
- @graphprotocol/client-block-tracking@0.0.1

## 0.0.4

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphprotocol/client-cli",
"version": "0.0.4",
"version": "0.0.5",
"description": "",
"repository": {
"type": "git",
Expand Down Expand Up @@ -52,8 +52,8 @@
"@graphql-mesh/cli": "0.68.0",
"@graphql-mesh/graphql": "0.23.8",
"tslib": "2.4.0",
"@graphprotocol/client-auto-pagination": "0.0.0",
"@graphprotocol/client-block-tracking": "0.0.0"
"@graphprotocol/client-auto-pagination": "0.0.1",
"@graphprotocol/client-block-tracking": "0.0.1"
},
"devDependencies": {
"graphql": "16.3.0"
Expand Down
6 changes: 6 additions & 0 deletions packages/urql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @graphprotocol/client-urql

## 0.0.3

### Patch Changes

- 074d9b8: Update internal dependencies

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/urql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphprotocol/client-urql",
"version": "0.0.2",
"version": "0.0.3",
"description": "",
"repository": {
"type": "git",
Expand Down

0 comments on commit 97a2852

Please sign in to comment.