The changes noted within this
vNEXT
section have not been released yet. New PRs and commits which introduce changes should include an entry in thisvNEXT
section as part of their development. When a release is being prepared, a new header will be (manually) created below and the appropriate changes within that release will be moved into the new section.
- Significant API changes (see README)
- Support for
@link(url:, import:)
. Reading schemas with legacy@core
directives is still supported. - Compile definitions into schemas. Use
schema.compile(atlas?)
to copy necessary definitions fromatlas
intoschema
- Report non-fatal errors with
report
, get them withgetResult
. Example:getResult(() => runMyValidations(schema.compile(atlas))).errors()
will yield all errors which occurred during compilation or validation. - Add support for Node 17 PR #41
- Don't call
GraphQLError.toString()
recursively PR #36
- Add support for graphql@16 PR #19
- BREAKING: Update graphql dev and peerDependency and fix
GraphQLError
usage. Update name assignment and remove name getter method #20
- Remove unnecessary
engines
specification fornpm
which limited it to only working onnpm@7
. The spirit of that specificity was to provide a hint to maintainers as to what version ofnpm
should be used to generate thepackage-lock.json
file and reduce churn on that file which happened between npm@6 and npm@7. Of course, while this was effective and harmless in thefederation
monorepo (from which this was copied and pasted from), it obviously has implications on consumers in published packages. Fixed viaee1a330e
.
- Initial Release 🎉