Skip to content

Commit 2ccccc1

Browse files
committed
release: 1.0.0
1 parent 696c40f commit 2ccccc1

34 files changed

+442
-892
lines changed

CHANGELOG.md

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,17 @@
11
# Changelog and release notes
22

3-
## Unreleased
3+
<!-- ## Unreleased -->
44
<!-- here goes all the unreleased changes descriptions -->
5-
- **Breaking Change**: update `graphql-js` peer dependency to `^15.3.0`
6-
- update `graphql-query-complexity` dependency to `^0.7.0`
7-
8-
## v1.0.0-rc.3
9-
### Features
10-
- **Breaking Change**: remove legacy array inference - now explicit array syntax (`[Item]`) is required
11-
- **Breaking Change**: update `graphql-js` peer dependency to `^15.1.0`
12-
- update deps to newest major versions (`tslib`, `graphql-query-complexity`)
135

14-
## v1.0.0-rc.2
15-
### Features
16-
- expose `createResolversMap` utility that generates apollo-like resolvers object
17-
- support IoC containers which `.get()` method returns a `Promise` of resolver instance
18-
### Fixes
19-
- properly inherit directives while extending `@InputType` or `@ObjectType` classes (#626)
20-
- skip transforming empty array items into input classes
21-
22-
## v1.0.0-rc.1
6+
## v1.0.0
237
### Features
248
- **Breaking Change**: emit in schema only types actually used by provided resolvers classes (#415)
25-
- **Breaking Change**: update `graphql-js` peer dependency to `^15.0.0`
26-
- **Breaking Change**: update `graphql-query-complexity` dependency to `^0.5.0` and drop support for `fieldConfigEstimator` (use `fieldExtensionsEstimator` instead)
9+
- **Breaking Change**: update `graphql-js` peer dependency to `^15.3.0`
10+
- **Breaking Change**: update `graphql-query-complexity` dependency to `^0.7.0` and drop support for `fieldConfigEstimator` (use `fieldExtensionsEstimator` instead)
2711
- **Breaking Change**: introduce `sortedSchema` option in `PrintSchemaOptions` and emit sorted schema file by default
2812
- **Breaking Change**: make `class-validator` a peer dependency of version `>=0.12.0` that needs to be installed manually (#366)
2913
- **Breaking Change**: remove `CannotDetermineTypeError` and make other error messages more detailed and specific
14+
- **Breaking Change**: remove legacy array inference - now explicit array syntax (`[Item]`) is required
3015
- update `TypeResolver` interface to match with `GraphQLTypeResolver` from `graphql-js`
3116
- add basic support for directives with `@Directive()` decorator (#369)
3217
- add possibility to tune up the performance and disable auth & middlewares stack for simple field resolvers (#479)
@@ -35,10 +20,13 @@
3520
- add support for defining arguments and implementing resolvers for interface types fields (#579)
3621
- add `{ autoRegisterImplementations: false }` option to prevent automatic emitting in schema all the object types that implements used interface type (#595)
3722
- allow interfaces to implement other interfaces (#602)
23+
- expose `createResolversMap` utility that generates apollo-like resolvers object
24+
- support IoC containers which `.get()` method returns a `Promise` of resolver instance
25+
- update deps to newest major versions (`tslib`, `graphql-query-complexity`)
3826
### Fixes
3927
- **Breaking Change**: stop returning null for `GraphQLTimestamp` and `GraphQLISODateTime` scalars when returned value is not a `Date` instance - now it throws explicit error instead
28+
- **Breaking Change**: fix transforming and validating nested inputs and arrays (#462)
4029
- refactor union types function syntax handling to prevent possible errors with circular refs
41-
- fix transforming and validating nested inputs and arrays (#462)
4230
- remove duplicated entries for resolver classes that use inheritance (#499)
4331
- fix using `name` option on interface fields (#567)
4432
- fix not calling `authChecker` during subscribe phase for subscriptions (#578)
@@ -47,6 +35,8 @@
4735
- fix calling field resolver without providing resolver class to `buildSchema`
4836
- fix generated TS union type for union type of object type classes extending themselves (#587)
4937
- fix using shared union and interface types in multiple schemas when `resolveType` is used
38+
- properly inherit directives while extending `@InputType` or `@ObjectType` classes (#626)
39+
- skip transforming empty array items into input classes
5040
### Others
5141
- **Breaking Change**: change build config to ES2018 - drop support for Node.js < 10.3
5242
- **Breaking Change**: remove deprecated `DepreciationOptions` interface

website/i18n/en.json

Lines changed: 31 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -374,87 +374,78 @@
374374
"version-0.17.6/version-0.17.6-custom-decorators": {
375375
"title": "Custom decorators"
376376
},
377-
"version-1.0.0-rc.1/version-1.0.0-rc.1-bootstrap": {
377+
"version-1.0.0/version-1.0.0-bootstrap": {
378378
"title": "Bootstrapping"
379379
},
380-
"version-1.0.0-rc.1/version-1.0.0-rc.1-browser-usage": {
380+
"version-1.0.0/version-1.0.0-browser-usage": {
381381
"title": "Browser usage"
382382
},
383-
"version-1.0.0-rc.1/version-1.0.0-rc.1-complexity": {
383+
"version-1.0.0/version-1.0.0-complexity": {
384384
"title": "Query complexity"
385385
},
386-
"version-1.0.0-rc.1/version-1.0.0-rc.1-custom-decorators": {
386+
"version-1.0.0/version-1.0.0-custom-decorators": {
387387
"title": "Custom decorators"
388388
},
389-
"version-1.0.0-rc.1/version-1.0.0-rc.1-dependency-injection": {
389+
"version-1.0.0/version-1.0.0-dependency-injection": {
390390
"title": "Dependency injection"
391391
},
392-
"version-1.0.0-rc.1/version-1.0.0-rc.1-directives": {
392+
"version-1.0.0/version-1.0.0-directives": {
393393
"title": "Directives"
394394
},
395-
"version-1.0.0-rc.1/version-1.0.0-rc.1-emit-schema": {
395+
"version-1.0.0/version-1.0.0-emit-schema": {
396396
"title": "Emitting the schema SDL"
397397
},
398-
"version-1.0.0-rc.1/version-1.0.0-rc.1-examples": {
398+
"version-1.0.0/version-1.0.0-examples": {
399399
"title": "Examples",
400400
"sidebar_label": "List of examples"
401401
},
402-
"version-1.0.0-rc.1/version-1.0.0-rc.1-extensions": {
402+
"version-1.0.0/version-1.0.0-extensions": {
403403
"title": "Extensions"
404404
},
405-
"version-1.0.0-rc.1/version-1.0.0-rc.1-generic-types": {
405+
"version-1.0.0/version-1.0.0-generic-types": {
406406
"title": "Generic Types"
407407
},
408-
"version-1.0.0-rc.1/version-1.0.0-rc.1-getting-started": {
408+
"version-1.0.0/version-1.0.0-getting-started": {
409409
"title": "Getting started"
410410
},
411-
"version-1.0.0-rc.1/version-1.0.0-rc.1-installation": {
411+
"version-1.0.0/version-1.0.0-installation": {
412412
"title": "Installation"
413413
},
414-
"version-1.0.0-rc.1/version-1.0.0-rc.1-interfaces": {
414+
"version-1.0.0/version-1.0.0-interfaces": {
415415
"title": "Interfaces"
416416
},
417-
"version-1.0.0-rc.1/version-1.0.0-rc.1-middlewares": {
417+
"version-1.0.0/version-1.0.0-middlewares": {
418418
"title": "Middleware and guards"
419419
},
420-
"version-1.0.0-rc.1/version-1.0.0-rc.1-performance": {
420+
"version-1.0.0/version-1.0.0-nestjs": {
421+
"title": "NestJS Integration",
422+
"sidebar_label": "NestJS"
423+
},
424+
"version-1.0.0/version-1.0.0-performance": {
421425
"title": "Performance"
422426
},
423-
"version-1.0.0-rc.1/version-1.0.0-rc.1-resolvers": {
427+
"version-1.0.0/version-1.0.0-prisma": {
428+
"title": "Prisma 2 Integration",
429+
"sidebar_label": "Prisma 2"
430+
},
431+
"version-1.0.0/version-1.0.0-resolvers": {
424432
"title": "Resolvers"
425433
},
426-
"version-1.0.0-rc.1/version-1.0.0-rc.1-subscriptions": {
434+
"version-1.0.0/version-1.0.0-scalars": {
435+
"title": "Scalars"
436+
},
437+
"version-1.0.0/version-1.0.0-subscriptions": {
427438
"title": "Subscriptions"
428439
},
429-
"version-1.0.0-rc.1/version-1.0.0-rc.1-types-and-fields": {
440+
"version-1.0.0/version-1.0.0-types-and-fields": {
430441
"title": "Types and Fields"
431442
},
432-
"version-1.0.0-rc.1/version-1.0.0-rc.1-unions": {
443+
"version-1.0.0/version-1.0.0-unions": {
433444
"title": "Unions"
434445
},
435-
"version-1.0.0-rc.1/version-1.0.0-rc.1-validation": {
446+
"version-1.0.0/version-1.0.0-validation": {
436447
"title": "Argument and Input validation",
437448
"sidebar_label": "Validation"
438-
},
439-
"version-1.0.0-rc.2/version-1.0.0-rc.2-examples": {
440-
"title": "Examples",
441-
"sidebar_label": "List of examples"
442-
},
443-
"version-1.0.0-rc.3/version-1.0.0-rc.3-bootstrap": {
444-
"title": "Bootstrapping"
445-
},
446-
"version-1.0.0-rc.3/version-1.0.0-rc.3-browser-usage": {
447-
"title": "Browser usage"
448-
},
449-
"version-1.0.0-rc.3/version-1.0.0-rc.3-examples": {
450-
"title": "Examples",
451-
"sidebar_label": "List of examples"
452-
},
453-
"version-1.0.0-rc.3/version-1.0.0-rc.3-resolvers": {
454-
"title": "Resolvers"
455-
},
456-
"version-1.0.0-rc.3/version-1.0.0-rc.3-types-and-fields": {
457-
"title": "Types and Fields"
458449
}
459450
},
460451
"links": {

website/versioned_docs/version-1.0.0-rc.1/bootstrap.md

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

website/versioned_docs/version-1.0.0-rc.1/browser-usage.md

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

website/versioned_docs/version-1.0.0-rc.1/examples.md

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

0 commit comments

Comments
 (0)