Schema Versions Save

Code-First, Type-Safe, GraphQL Schema Construction

next

3 years ago

Features

  • 4d8e371 better esm support, remove top-level node imports (#1112)
  • eec4b91 add sourceType option to fieldDefinition (#1106)
  • 9875e90 Add Schema Directives to SDL (#952)
  • 11d0282 allow specifying custom directives in makeSchema (#1065)
  • aaa4520 Run both formatTypegen and prettier formatter if given (#1042)
  • 7349e36 allow specifying custom directives in makeSchema (#1064)
  • 892af67 Use ReadonlyArray in typings (#1041)

Fixes

  • 601c2f0 Replace outdated note (#1153)Co-authored-by: Andrew Carlson [email protected]
  • 8e65081 remove hasSDLDirectives internal state (#1091)
  • 7ee48c4 add missing as const on the RequestDirectiveLocation (#1090)
  • 123dc61 incorrect logic in backward pagination (#1084)
  • 251af94 update snapshots for change in #1083

Improvements

  • 9e5c27c docs: Fix readme converter link (#1108)
  • 0f37c3e docs: Update npm badge

Chores

  • 1e6b921 remove irrelevant paragraph in docs (#1128)
  • e9dc7e0 Fix codecov
  • 9a10507 attempt to fix the dripip workflow, again
  • df9cb70 update the dripip workflow, bump lint-staged
  • b906288 change facebook.github.io to relay.dev links (#1083)
  • bc12ca0 use dripip reusable workflow

Unspecified Changes

  • 4e085dc Feature/update docs (#1136)
  • Replaced Prisma reference

  • Updated copyright info

  • 509c246 Update comment for shouldGenerateArtifacts (#1057)

Update comment to reflect the current behavior as per src/typegenUtils.ts

v0.14.0

3 years ago

Features

  • 133c4a4 publish esm builds (#438)
  • a6c29ba allow control over nexus schema import id (#408)

Fixes

  • 8c7615e return types of queryField and mutationField (#415)
  • 035e0a1 typegen stable path generation with Windows (#400)

Improvements

  • 286bd66 improve: update warning to use new package name
  • 358c33e refactor: add typegen utils module
  • 72a13a9 refactor: update lang headers
  • cd08bb2 refactor: update lang headers
  • b9df04b refactor: getOwnPackage util (#409)
  • 3156f9b refactor: sort imports

Chores

  • 8c7b047 setup dripip for release scripts
  • 7fce3dc fix links (#433)
  • 57f1c7c update example lock file, fix tests
  • 6e58acd Disable Renovate (#430)
  • 0518101 fix typo on readme file (#420)
  • 70d2abb fix link
  • d74f997 examples update
  • 17fad3a update snapshots
  • 9deb327 setup renovate
  • a10463e update lockfile entries (#404)
  • ccae81a update changelog

Unspecified Changes

  • d597086 v0.14.0-next.2
  • 63e9ea0 v0.14.0-next.1

v0.13.1

4 years ago

See changelog

v0.12.0-rc.7

4 years ago

Adds connectionPlugin for relay style pagination:

See: https://nexus.js.org/docs/plugin-connection and https://github.com/prisma-labs/nexus/pull/324 for more info

v0.12.0-rc.5

4 years ago
  • feat: add customPrintSchemaFn to makeSchema config

v0.12.0-rc.3

4 years ago
  • fix: bug in nullability check plugin

v0.12.0-rc.2

4 years ago
  • feat(deps): Bumps the default minimum version of graphql-js to 14.5.0

    Nexus uses the new extensions property on types to store metadata provided to Nexus types, in order to make them usable by plugins.

  • feat: Adds "Plugins" API, see the docs for more info on what all these can help accomplish

  • feat(plugin): Add nullabilityGuardPlugin. See the docs for more info

  • feat(plugin): Add fieldAuthorizePlugin. See the docs for more info

    This is the same behavior as before, but implemented more flexibly as a plugin. This will be automatically added if no plugins are specified, otherwise it will need to be imported & added to makeSchema.

  • feat(schema): Adds shouldExitAfterGenerateArtifacts option to makeSchema

    The shouldExitAfterGenerateArtifacts makes it possible to exit after the types are generated, useful if you do not check a schema artifact into source control, but wish to generate before the code runs.

  • refactor: Removes nexusWrappedType

    This was an internal implementation detail which should not affect end users

  • refactor: Removes t.modifyType API

    This may not have ever worked, it was only intended to modify fields on an objectType which were originally implemented by an interface. Please open an issue if this is a breaking change for you, so we can understand the use-case and design a better API.

  • test: Improved code coverage, adds base threshold to new PRs

v0.12.0-rc.4

4 years ago
  • refactor: Remove NEXUS_SHOULD_GENERATE_ARTIFACTS env var
  • feat: Add shouldExitAfterGenerateArtifacts
  • Warn on missing outputs in makeSchema config