Skip to content

Commit

Permalink
Upcoming Release Changes (#331)
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
theguild-bot and github-actions[bot] authored Dec 13, 2024
1 parent 23b8987 commit c417be8
Show file tree
Hide file tree
Showing 42 changed files with 282 additions and 103 deletions.
7 changes: 0 additions & 7 deletions .changeset/@graphql-hive_gateway-runtime-322-dependencies.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/@graphql-mesh_transport-common-322-dependencies.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/@graphql-tools_delegate-322-dependencies.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/@graphql-tools_executor-http-322-dependencies.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/late-socks-repeat.md

This file was deleted.

50 changes: 0 additions & 50 deletions .changeset/witty-candles-whisper.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/abort-signal-any/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @graphql-hive/gateway-abort-signal-any

## 0.0.1

### Patch Changes

- [#322](https://github.com/graphql-hive/gateway/pull/322) [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2) Thanks [@ardatan](https://github.com/ardatan)! - New package
2 changes: 1 addition & 1 deletion packages/abort-signal-any/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-hive/gateway-abort-signal-any",
"version": "0.0.0",
"version": "0.0.1",
"type": "module",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/batch-delegate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @graphql-tools/batch-delegate

## 9.0.24

### Patch Changes

- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]:
- @graphql-tools/delegate@10.2.8

## 9.0.23

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/batch-delegate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/batch-delegate",
"version": "9.0.23",
"version": "9.0.24",
"type": "module",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
Expand Down
8 changes: 8 additions & 0 deletions packages/delegate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @graphql-tools/delegate

## 10.2.8

### Patch Changes

- [#322](https://github.com/graphql-hive/gateway/pull/322) [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:

- Updated dependency [`@graphql-tools/executor@^1.3.8` ↗︎](https://www.npmjs.com/package/@graphql-tools/executor/v/1.3.8) (from `^1.3.6`, in `dependencies`)

## 10.2.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/delegate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/delegate",
"version": "10.2.7",
"version": "10.2.8",
"type": "module",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
Expand Down
11 changes: 11 additions & 0 deletions packages/executors/http/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @graphql-tools/executor-http

## 1.2.1

### Patch Changes

- [#322](https://github.com/graphql-hive/gateway/pull/322) [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:

- Added dependency [`@graphql-hive/gateway-abort-signal-any@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/gateway-abort-signal-any/v/workspace:^) (to `dependencies`)

- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]:
- @graphql-hive/gateway-abort-signal-any@0.0.1

## 1.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/executors/http/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/executor-http",
"version": "1.2.0",
"version": "1.2.1",
"type": "module",
"description": "A set of utils for faster development of GraphQL tools",
"repository": {
Expand Down
10 changes: 10 additions & 0 deletions packages/federation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @graphql-tools/federation

## 3.0.2

### Patch Changes

- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]:
- @graphql-tools/delegate@10.2.8
- @graphql-tools/executor-http@1.2.1
- @graphql-tools/stitch@9.4.10
- @graphql-tools/wrap@10.0.26

## 3.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/federation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-tools/federation",
"version": "3.0.1",
"version": "3.0.2",
"type": "module",
"description": "Useful tools to create and manipulate GraphQL schemas.",
"repository": {
Expand Down
12 changes: 12 additions & 0 deletions packages/fusion-runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @graphql-mesh/fusion-runtime

## 0.10.21

### Patch Changes

- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]:
- @graphql-mesh/transport-common@0.7.23
- @graphql-tools/delegate@10.2.8
- @graphql-tools/federation@3.0.2
- @graphql-tools/stitch@9.4.10
- @graphql-tools/stitching-directives@3.1.23
- @graphql-tools/wrap@10.0.26

## 0.10.20

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/fusion-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-mesh/fusion-runtime",
"version": "0.10.20",
"version": "0.10.21",
"type": "module",
"description": "Runtime for GraphQL Mesh Fusion Supergraph",
"repository": {
Expand Down
61 changes: 61 additions & 0 deletions packages/gateway/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,66 @@
# @graphql-hive/gateway

## 1.7.0

### Minor Changes

- [#322](https://github.com/graphql-hive/gateway/pull/322) [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2) Thanks [@ardatan](https://github.com/ardatan)! - New Retry and Timeout plugins;

- Retry plugin: Retry a request if it fails

It respects the `Retry-After` HTTP header, [See more about this HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After)

```ts
export const gatewayConfig = defineConfig({
upstreamRetry: {
// The maximum number of retries to attempt.
maxRetries: 3, // required
// The delay between retries in milliseconds.
retryDelay: 1000, // default
/**
* A function that determines whether a response should be retried.
* If the upstream returns `Retry-After` header, the request will be retried.
*/
shouldRetry: ({ response }) => response?.status >= 500 || response?.status === 429
}
// or you can configure it by subgraph name
upstreamRetry({ subgraphName }) {
if (subgraphName === 'my-rate-limited-subgraph') {
return {
maxRetries: 3,
}
}
return { maxRetries: 10 }
}
})
```

- Timeout plugin: Timeout a request if it takes too long

```ts
export const gatewayConfig = defineConfig({
// The maximum time in milliseconds to wait for a response from the upstream.
upstreamTimeout: 1000, // required
// or you can configure it by subgraph name
upstreamTimeout({ subgraphName }) {
if (subgraphName === 'my-slow-subgraph') {
return 1000;
}
},
});
```

### Patch Changes

- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]:
- @graphql-hive/gateway-runtime@1.4.0
- @graphql-mesh/plugin-opentelemetry@1.3.28
- @graphql-mesh/plugin-prometheus@1.3.16
- @graphql-mesh/hmac-upstream-signature@1.2.17
- @graphql-mesh/transport-http@0.6.27
- @graphql-mesh/transport-http-callback@0.5.14
- @graphql-mesh/transport-ws@0.4.12

## 1.6.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/gateway/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-hive/gateway",
"version": "1.6.8",
"version": "1.7.0",
"type": "module",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/plugins/hmac-upstream-signature/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @graphql-mesh/hmac-upstream-signature

## 1.2.17

### Patch Changes

- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]:
- @graphql-mesh/transport-common@0.7.23

## 1.2.16

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/hmac-upstream-signature/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-mesh/hmac-upstream-signature",
"version": "1.2.16",
"version": "1.2.17",
"type": "module",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions packages/plugins/opentelemetry/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @graphql-mesh/plugin-opentelemetry

## 1.3.28

### Patch Changes

- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]:
- @graphql-hive/gateway-runtime@1.4.0
- @graphql-mesh/transport-common@0.7.23

## 1.3.27

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/opentelemetry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-mesh/plugin-opentelemetry",
"version": "1.3.27",
"version": "1.3.28",
"type": "module",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/plugins/prometheus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @graphql-mesh/plugin-prometheus

## 1.3.16

### Patch Changes

- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]:
- @graphql-hive/[email protected]

## 1.3.15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/prometheus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-mesh/plugin-prometheus",
"version": "1.3.15",
"version": "1.3.16",
"type": "module",
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit c417be8

Please sign in to comment.