Skip to content

Commit

Permalink
release: 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalLytek committed Aug 19, 2020
1 parent 696c40f commit 2ccccc1
Show file tree
Hide file tree
Showing 34 changed files with 442 additions and 892 deletions.
32 changes: 11 additions & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,17 @@
# Changelog and release notes

## Unreleased
<!-- ## Unreleased -->
<!-- here goes all the unreleased changes descriptions -->
- **Breaking Change**: update `graphql-js` peer dependency to `^15.3.0`
- update `graphql-query-complexity` dependency to `^0.7.0`

## v1.0.0-rc.3
### Features
- **Breaking Change**: remove legacy array inference - now explicit array syntax (`[Item]`) is required
- **Breaking Change**: update `graphql-js` peer dependency to `^15.1.0`
- update deps to newest major versions (`tslib`, `graphql-query-complexity`)

## v1.0.0-rc.2
### Features
- expose `createResolversMap` utility that generates apollo-like resolvers object
- support IoC containers which `.get()` method returns a `Promise` of resolver instance
### Fixes
- properly inherit directives while extending `@InputType` or `@ObjectType` classes (#626)
- skip transforming empty array items into input classes

## v1.0.0-rc.1
## v1.0.0
### Features
- **Breaking Change**: emit in schema only types actually used by provided resolvers classes (#415)
- **Breaking Change**: update `graphql-js` peer dependency to `^15.0.0`
- **Breaking Change**: update `graphql-query-complexity` dependency to `^0.5.0` and drop support for `fieldConfigEstimator` (use `fieldExtensionsEstimator` instead)
- **Breaking Change**: update `graphql-js` peer dependency to `^15.3.0`
- **Breaking Change**: update `graphql-query-complexity` dependency to `^0.7.0` and drop support for `fieldConfigEstimator` (use `fieldExtensionsEstimator` instead)
- **Breaking Change**: introduce `sortedSchema` option in `PrintSchemaOptions` and emit sorted schema file by default
- **Breaking Change**: make `class-validator` a peer dependency of version `>=0.12.0` that needs to be installed manually (#366)
- **Breaking Change**: remove `CannotDetermineTypeError` and make other error messages more detailed and specific
- **Breaking Change**: remove legacy array inference - now explicit array syntax (`[Item]`) is required
- update `TypeResolver` interface to match with `GraphQLTypeResolver` from `graphql-js`
- add basic support for directives with `@Directive()` decorator (#369)
- add possibility to tune up the performance and disable auth & middlewares stack for simple field resolvers (#479)
Expand All @@ -35,10 +20,13 @@
- add support for defining arguments and implementing resolvers for interface types fields (#579)
- add `{ autoRegisterImplementations: false }` option to prevent automatic emitting in schema all the object types that implements used interface type (#595)
- allow interfaces to implement other interfaces (#602)
- expose `createResolversMap` utility that generates apollo-like resolvers object
- support IoC containers which `.get()` method returns a `Promise` of resolver instance
- update deps to newest major versions (`tslib`, `graphql-query-complexity`)
### Fixes
- **Breaking Change**: stop returning null for `GraphQLTimestamp` and `GraphQLISODateTime` scalars when returned value is not a `Date` instance - now it throws explicit error instead
- **Breaking Change**: fix transforming and validating nested inputs and arrays (#462)
- refactor union types function syntax handling to prevent possible errors with circular refs
- fix transforming and validating nested inputs and arrays (#462)
- remove duplicated entries for resolver classes that use inheritance (#499)
- fix using `name` option on interface fields (#567)
- fix not calling `authChecker` during subscribe phase for subscriptions (#578)
Expand All @@ -47,6 +35,8 @@
- fix calling field resolver without providing resolver class to `buildSchema`
- fix generated TS union type for union type of object type classes extending themselves (#587)
- fix using shared union and interface types in multiple schemas when `resolveType` is used
- properly inherit directives while extending `@InputType` or `@ObjectType` classes (#626)
- skip transforming empty array items into input classes
### Others
- **Breaking Change**: change build config to ES2018 - drop support for Node.js < 10.3
- **Breaking Change**: remove deprecated `DepreciationOptions` interface
Expand Down
71 changes: 31 additions & 40 deletions website/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -374,87 +374,78 @@
"version-0.17.6/version-0.17.6-custom-decorators": {
"title": "Custom decorators"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-bootstrap": {
"version-1.0.0/version-1.0.0-bootstrap": {
"title": "Bootstrapping"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-browser-usage": {
"version-1.0.0/version-1.0.0-browser-usage": {
"title": "Browser usage"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-complexity": {
"version-1.0.0/version-1.0.0-complexity": {
"title": "Query complexity"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-custom-decorators": {
"version-1.0.0/version-1.0.0-custom-decorators": {
"title": "Custom decorators"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-dependency-injection": {
"version-1.0.0/version-1.0.0-dependency-injection": {
"title": "Dependency injection"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-directives": {
"version-1.0.0/version-1.0.0-directives": {
"title": "Directives"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-emit-schema": {
"version-1.0.0/version-1.0.0-emit-schema": {
"title": "Emitting the schema SDL"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-examples": {
"version-1.0.0/version-1.0.0-examples": {
"title": "Examples",
"sidebar_label": "List of examples"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-extensions": {
"version-1.0.0/version-1.0.0-extensions": {
"title": "Extensions"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-generic-types": {
"version-1.0.0/version-1.0.0-generic-types": {
"title": "Generic Types"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-getting-started": {
"version-1.0.0/version-1.0.0-getting-started": {
"title": "Getting started"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-installation": {
"version-1.0.0/version-1.0.0-installation": {
"title": "Installation"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-interfaces": {
"version-1.0.0/version-1.0.0-interfaces": {
"title": "Interfaces"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-middlewares": {
"version-1.0.0/version-1.0.0-middlewares": {
"title": "Middleware and guards"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-performance": {
"version-1.0.0/version-1.0.0-nestjs": {
"title": "NestJS Integration",
"sidebar_label": "NestJS"
},
"version-1.0.0/version-1.0.0-performance": {
"title": "Performance"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-resolvers": {
"version-1.0.0/version-1.0.0-prisma": {
"title": "Prisma 2 Integration",
"sidebar_label": "Prisma 2"
},
"version-1.0.0/version-1.0.0-resolvers": {
"title": "Resolvers"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-subscriptions": {
"version-1.0.0/version-1.0.0-scalars": {
"title": "Scalars"
},
"version-1.0.0/version-1.0.0-subscriptions": {
"title": "Subscriptions"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-types-and-fields": {
"version-1.0.0/version-1.0.0-types-and-fields": {
"title": "Types and Fields"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-unions": {
"version-1.0.0/version-1.0.0-unions": {
"title": "Unions"
},
"version-1.0.0-rc.1/version-1.0.0-rc.1-validation": {
"version-1.0.0/version-1.0.0-validation": {
"title": "Argument and Input validation",
"sidebar_label": "Validation"
},
"version-1.0.0-rc.2/version-1.0.0-rc.2-examples": {
"title": "Examples",
"sidebar_label": "List of examples"
},
"version-1.0.0-rc.3/version-1.0.0-rc.3-bootstrap": {
"title": "Bootstrapping"
},
"version-1.0.0-rc.3/version-1.0.0-rc.3-browser-usage": {
"title": "Browser usage"
},
"version-1.0.0-rc.3/version-1.0.0-rc.3-examples": {
"title": "Examples",
"sidebar_label": "List of examples"
},
"version-1.0.0-rc.3/version-1.0.0-rc.3-resolvers": {
"title": "Resolvers"
},
"version-1.0.0-rc.3/version-1.0.0-rc.3-types-and-fields": {
"title": "Types and Fields"
}
},
"links": {
Expand Down
132 changes: 0 additions & 132 deletions website/versioned_docs/version-1.0.0-rc.1/bootstrap.md

This file was deleted.

38 changes: 0 additions & 38 deletions website/versioned_docs/version-1.0.0-rc.1/browser-usage.md

This file was deleted.

45 changes: 0 additions & 45 deletions website/versioned_docs/version-1.0.0-rc.1/examples.md

This file was deleted.

Loading

0 comments on commit 2ccccc1

Please sign in to comment.