Skip to content

Commit 93e04d7

Browse files
theguild-botgithub-actions[bot]ardatan
authored
Upcoming Release Changes (#2480)
* chore(release): update monorepo packages versions * Fix context tests * Jit --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
1 parent 38abf4b commit 93e04d7

File tree

79 files changed

+449
-108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+449
-108
lines changed

.changeset/@envelop_core-2473-dependencies.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/@envelop_execute-subscription-event-2473-dependencies.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/@envelop_generic-auth-2473-dependencies.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/khaki-boats-obey.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/core/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @envelop/core
22

3+
## 5.2.1
4+
5+
### Patch Changes
6+
7+
- [#2473](https://github.com/n1ru4l/envelop/pull/2473)
8+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)
9+
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
10+
11+
- Updated dependency
12+
[`@whatwg-node/promise-helpers@^1.2.1` ↗︎](https://www.npmjs.com/package/@whatwg-node/promise-helpers/v/1.2.1)
13+
(from `^1.0.0`, in `dependencies`)
14+
15+
- [#2473](https://github.com/n1ru4l/envelop/pull/2473)
16+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)
17+
Thanks [@renovate](https://github.com/apps/renovate)! - Use Promise helpers
18+
319
## 5.2.0
420

521
### Minor Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@envelop/core",
3-
"version": "5.2.0",
3+
"version": "5.2.1",
44
"type": "module",
55
"repository": {
66
"type": "git",

packages/core/test/context.spec.ts

Lines changed: 17 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -140,34 +140,23 @@ describe('contextFactory', () => {
140140
schema,
141141
);
142142

143-
const execution = teskit.execute(query, {}, { test: true });
144-
return new Promise<void>((resolve, reject) => {
145-
if (execution instanceof Promise) {
146-
return execution.then().catch(() => {
147-
try {
148-
expect(registerContextErrorHandlerSpy).toHaveBeenCalledWith(
149-
expect.objectContaining({
150-
context: expect.objectContaining({
151-
contextSoFar: 'all good',
152-
document: expect.any(Object),
153-
operation: expect.any(String),
154-
request: expect.any(Object),
155-
test: true,
156-
variables: expect.any(Object),
157-
}),
158-
error: new Error('The server was about to step on a turtle'),
159-
setError: expect.any(Function),
160-
}),
161-
);
162-
} catch (e) {
163-
reject(e);
164-
}
165-
return resolve();
166-
});
167-
} else {
168-
return reject('Expected result of testkit.execute to return a promise');
169-
}
170-
});
143+
try {
144+
await teskit.execute(query, {}, { test: true });
145+
} catch {}
146+
expect(registerContextErrorHandlerSpy).toHaveBeenCalledWith(
147+
expect.objectContaining({
148+
context: expect.objectContaining({
149+
contextSoFar: 'all good',
150+
document: expect.any(Object),
151+
operation: expect.any(String),
152+
request: expect.any(Object),
153+
test: true,
154+
variables: expect.any(Object),
155+
}),
156+
error: new Error('The server was about to step on a turtle'),
157+
setError: expect.any(Function),
158+
}),
159+
);
171160
});
172161

173162
it('should preserve referential stability of the context', async () => {

packages/plugins/apollo-datasources/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @envelop/apollo-datasources
22

3+
## 5.1.1
4+
5+
### Patch Changes
6+
7+
- [#2473](https://github.com/n1ru4l/envelop/pull/2473)
8+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)
9+
Thanks [@renovate](https://github.com/apps/renovate)! - Use Promise helpers
10+
11+
- Updated dependencies
12+
[[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15),
13+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)]:
14+
- @envelop/core@5.2.1
15+
316
## 5.1.0
417

518
### Patch Changes

packages/plugins/apollo-datasources/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@envelop/apollo-datasources",
3-
"version": "5.1.0",
3+
"version": "5.1.1",
44
"type": "module",
55
"repository": {
66
"type": "git",

packages/plugins/apollo-federation/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @envelop/apollo-federation
22

3+
## 6.1.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
[[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15),
9+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)]:
10+
- @envelop/core@5.2.1
11+
312
## 6.1.0
413

514
### Patch Changes

packages/plugins/apollo-federation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@envelop/apollo-federation",
3-
"version": "6.1.0",
3+
"version": "6.1.1",
44
"type": "module",
55
"repository": {
66
"type": "git",

packages/plugins/apollo-server-errors/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @envelop/apollo-server-errors
22

3+
## 7.1.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
[[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15),
9+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)]:
10+
- @envelop/core@5.2.1
11+
312
## 7.1.0
413

514
### Patch Changes

packages/plugins/apollo-server-errors/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@envelop/apollo-server-errors",
3-
"version": "7.1.0",
3+
"version": "7.1.1",
44
"type": "module",
55
"repository": {
66
"type": "git",

packages/plugins/apollo-tracing/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @envelop/apollo-tracing
22

3+
## 7.1.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
[[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15),
9+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)]:
10+
- @envelop/core@5.2.1
11+
- @envelop/on-resolve@5.1.1
12+
313
## 7.1.0
414

515
### Patch Changes

packages/plugins/apollo-tracing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@envelop/apollo-tracing",
3-
"version": "7.1.0",
3+
"version": "7.1.1",
44
"type": "module",
55
"repository": {
66
"type": "git",

packages/plugins/auth0/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @envelop/auth0
22

3+
## 7.1.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
[[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15),
9+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)]:
10+
- @envelop/core@5.2.1
11+
312
## 7.1.0
413

514
### Patch Changes

packages/plugins/auth0/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@envelop/auth0",
3-
"version": "7.1.0",
3+
"version": "7.1.1",
44
"type": "module",
55
"repository": {
66
"type": "git",

packages/plugins/dataloader/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @envelop/dataloader
22

3+
## 7.1.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
[[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15),
9+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)]:
10+
- @envelop/core@5.2.1
11+
312
## 7.1.0
413

514
### Patch Changes

packages/plugins/dataloader/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@envelop/dataloader",
3-
"version": "7.1.0",
3+
"version": "7.1.1",
44
"type": "module",
55
"repository": {
66
"type": "git",

packages/plugins/depth-limit/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @envelop/depth-limit
22

3+
## 5.1.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
[[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15),
9+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)]:
10+
- @envelop/core@5.2.1
11+
312
## 5.1.0
413

514
### Patch Changes

packages/plugins/depth-limit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@envelop/depth-limit",
3-
"version": "5.1.0",
3+
"version": "5.1.1",
44
"type": "module",
55
"repository": {
66
"type": "git",

packages/plugins/disable-introspection/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @envelop/disable-introspection
22

3+
## 7.1.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
[[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15),
9+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)]:
10+
- @envelop/core@5.2.1
11+
312
## 7.1.0
413

514
### Patch Changes

packages/plugins/disable-introspection/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@envelop/disable-introspection",
3-
"version": "7.1.0",
3+
"version": "7.1.1",
44
"type": "module",
55
"repository": {
66
"type": "git",

packages/plugins/execute-subscription-event/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# @envelop/execute-subscription-event
22

3+
## 6.1.1
4+
5+
### Patch Changes
6+
7+
- [#2473](https://github.com/n1ru4l/envelop/pull/2473)
8+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)
9+
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
10+
11+
- Added dependency
12+
[`@whatwg-node/promise-helpers@^1.2.1` ↗︎](https://www.npmjs.com/package/@whatwg-node/promise-helpers/v/1.2.1)
13+
(to `dependencies`)
14+
15+
- [#2473](https://github.com/n1ru4l/envelop/pull/2473)
16+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)
17+
Thanks [@renovate](https://github.com/apps/renovate)! - Use Promise helpers
18+
19+
- Updated dependencies
20+
[[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15),
21+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)]:
22+
- @envelop/core@5.2.1
23+
324
## 6.1.0
425

526
### Patch Changes

packages/plugins/execute-subscription-event/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@envelop/execute-subscription-event",
3-
"version": "6.1.0",
3+
"version": "6.1.1",
44
"type": "module",
55
"repository": {
66
"type": "git",

packages/plugins/extended-validation/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @envelop/extended-validation
22

3+
## 5.1.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
[[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15),
9+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)]:
10+
- @envelop/core@5.2.1
11+
312
## 5.1.0
413

514
### Patch Changes

packages/plugins/extended-validation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@envelop/extended-validation",
3-
"version": "5.1.0",
3+
"version": "5.1.1",
44
"type": "module",
55
"repository": {
66
"type": "git",

packages/plugins/filter-operation-type/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @envelop/filter-operation-type
22

3+
## 7.1.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
[[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15),
9+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)]:
10+
- @envelop/core@5.2.1
11+
312
## 7.1.0
413

514
### Patch Changes

packages/plugins/filter-operation-type/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@envelop/filter-operation-type",
3-
"version": "7.1.0",
3+
"version": "7.1.1",
44
"type": "module",
55
"repository": {
66
"type": "git",

packages/plugins/fragment-arguments/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @envelop/fragment-arguments
22

3+
## 7.1.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
[[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15),
9+
[`90dd1a6`](https://github.com/n1ru4l/envelop/commit/90dd1a665e027ec309df4411f04a310806ee8f15)]:
10+
- @envelop/core@5.2.1
11+
312
## 7.1.0
413

514
### Patch Changes

0 commit comments

Comments
 (0)