Update dependency @nexus/schema to v0.20.1 #54
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.15.0->0.20.1Release Notes
graphql-nexus/schema
v0.19.2Compare Source
Fixes
2dd90b4#618 Add inputFieldDefTypes for declarativeWrappingPlugin (#682)Improvements
79e6c02docs: Update index.mdx, add missing list import (#680)Chores
13f7423add about section to prisma plugin docsd3af607publish canary releases on every trunk commit4296286tutorial typo nullable schema defined (#675)v0.19.1Compare Source
Fixes
24a78e8explicit nullability for connectionPlugin (#671)v0.19.0Compare Source
Breaking Changes
SDL file generation by default in development
#652 →
618521dSDL file generation will be enabled by default in development now.
If you were enabling it manually before and outputting to project root at
schema.graphqlYou can probably now just rely on the default.If you were relying on the default to disable SDL file generation before then now you need to pass an explicit false:
Highlights
Abstract types system
#602 → 967d2df
New Abstract types system. Learn more at https://nxs.li/guides/abstract-types.
Type functions for list & nullability & .nonNull / .nullable chaining
#538 → de832e7
#655 → 306dbaa
New API for specifying list and nullability types. Learn more at https://nexusjs.org/docs/api/list-nonNull.
All Changes
Features
1551506Improved description for types on output method / output field (#666)5ab7dd3Simplified upgrade path w/ better warning messages (#663)306dbaa.nonNull / .nullable chaining, additional cleanup (#655)618521d(breaking) SDL file generation by default in development (#652)481e2c7Allow contextType to specify an TypingImport config (#606)4f4f9f4add onFieldDefinition / onArgDefinition / onInputFieldDefinition (#640)bfcc959addt.modifyAPI for modifying inherited fields (#634)94ba687deprecate plugin onInstall return for consistent API (#637)de832e7type functions for list & nullability (#538)967d2dfabstract types system (#602)Fixes
57bb5b0Ensure we can modify nullability of an interface field (#662)5c73102Make custom scalars work with interfaceType (#661)Improvements
eb04d8fSDL converter list/nonNull chaining (#660)506b61bdeps: update all to latest (#649)3a3d03brefactor: move wrapping helper fns to definitions/wrapping.ts (#643)9ba7d9brefactor: Simplify typegen with keyof and intersection types (#628)e33906crefactor: remove namespace, separate internal types (#627)bff7008resolveType warning, restore declarativeWrapping list behavior (#658)1e11720Refine exports for plugins (#639)Docs
f7b9cf8docs: fix typof49d0b0update to use new 0.19 api (#667)3e8843fadd atomicOperations setting for prisma plugin (#587)75c4c09Add release changelog entries to CHANGELOG.md (#656)36503f7@tgriesser/schemats for simpler DB output in ghost example (#633)45938cffix little typo in 021-abstract-types.mdx (#624)5870d5efix installation note (#609)Tests
ab4b627Restore integration codegen removed in #629 and #630 (#654)e2c88eafix types in nullabilityGuardPlugin spec5a8fcaerun integration tests separately (#630)v0.18.0Compare Source
v0.17.0Compare Source
Features
9bfdf2callow interfaces to implement other interfaces (#496)b4e0debadd onObjectDefinition / onInputObjectDefinition (#533)f8d164aerror feedback if root typing path is invalid (#557)This may be a breaking change if you were relying on pointing root typing path to a non-file for some reason in the past. We think for almost all users this will not be a breaking change however.
Fixes
10c5f8b"union too complex to represent" for large union types (#571)cc12ec1(connection plugin) add deprecated, description, nullable to connectionField (#578)de7cdfd(connection plugin) various fixes (#569)2edfcfasubscription type static typings (#564)10208e3input fields with default should not be typed as optional (#563)Improvements
083c1adtest: capture union too large error76e6efftest: improve connection plugin testsDocs
489b5abdocs: Fix ts-node-dev flag in the docs (#529)fb1216eheader media query (#554)2aaaf5cfix nullabillity guard docs (#575)980920afix for outdated prisma-labs link in the documentation #518 (#572)9960015Update 06-chapter-5-persisting-data-via-prisma.mdx (#574)e65f6efRemove references to nexus framework (#528)c68a94cfix typo in migration guide (#527)69af932fix typo in nexus framework migration guide (#526)8cea40aFix a prisma client call b/c latest Prisma Client (#535)0a6db6afix link to announcement (#544)e2cfcb0fix typo in 02-chapter-1-setup-and-first-query docs (#547)ebdb55aUpdate docs content (#553)00fb8a6fix duplicate in 020-nexus-framework-users.mdx (#561)04fe2f5touch api/schema.ts (#562)ceeea8cfix typosd4d32f7fix migration guide ts-node command0dd8ea3Fix a typo in 030-neuxs-framework-prisma-users.mdx (#537)d1bb819Remove framework mention, update link (#525)Chores
393de57update test in trunk.ymla8df05cUse codecov/codecov-action GH action (#534)85bf467Restoring codecov (#532)8f3189cKeep prettier config local to the project (#531)2bceeb9Bumping deps & adding scripts for running examples (#530)27d5b82update url in package.json (#524)v0.16.0Compare Source
BREAKING CHANGES
c7eff85output types & list items are now nullable by default (#508)0ee644bupgrade to graphql v15 (#486)MIGRATION GUIDE
As Nexus Schema just made output types and list items nullable by default, there's a couple of changes you need to do to produce the same schema as before the update.
Changing global defaults to revert to non-nullable output types
import { makeSchema } from '@​nexus/schema' makeSchema({ + nonNullDefaults: { + output: true + } })Changing type-level configuration to revert to non-nullable output types
import { objectType } from '@​nexus/schema' objectType({ name: 'User', nonNullDefaults: { + output: true } definition(t) { /* ... */ } })Updating lists output types to be non-nullable
import { objectType } from '@​nexus/schema' objectType({ name: 'User', definition(t) { t.field('posts', { - list: true + list: [true] }) } })Features
c7eff85(breaking) output types & list items are now nullable by default (#508)efa96cbnew docs site (#500)0ee644b(breaking) upgrade to graphql v15 (#486)Fixes
e4a68e5config file fixed (#522)646879dchange netlify config (#519)796add7Github linkb7ecbb0Logo URL and Github link2327a94force release3c38a65message for missing resolveType in interfaces (#495)Improvements
2fef488tmp: tmp/index.html99b34f6temp: Temporary redirects for old nexus.js.org (#514)5e156acdocs: update asNexusMethod example with the changes from #473 (#476)Chores
a44dbe4fix linkf8288b5fix link58c3ad9release changesddb1211upgrade dripipUnspecified Changes
4bd0ffcUpdate netlify.toml (#521)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.