Releases: neo4j/graphql
OGM 2.0.0
Updates the @neo4j/graphql
dependency to the new major 2.0.0 release.
Breaking changes for queries and mutations will be identical to the changes which break for the GraphQL Library, so the same migration guide can be followed.
Neo4j GraphQL Library 2.0.0-rc.2
Changes
- BREAKING CHANGE:
relationship
renamed toedge
in nested Mutations - see https://neo4j.com/docs/graphql-manual/2.0/type-definitions/relationships/#_inserting_data for examples (#389) - The minimum database version is now 4.1.5, and this is enforced by
checkNeo4jCompat
(#378) Neo4jGraphQLAuthenticationError
andNeo4jGraphQLForbiddenError
are now exported (#394)
Fixes
- An error is now thrown if
@auth
,@cypher
or@relationship
directives are used on an relationship property interface or its fields (#379, #381, #383) - Generated input types being used within custom input types will now pass validation of type definitions (#373)
- Custom scalars/enums now work as return values for custom Cypher fields (#390)
- Error thrown if reserved words used in type definitions (#396):
Node
andPageInfo
cannot be used as type/interfaces names, nor can names ending inConnection
cursor
andnode
cannot be used as relationship property fields
Notes
We apologise for making the breaking change from edge
to relationship
during this release candidate phase, but we felt that the consistency improvement across the schema was worth the tradeoff.
OGM 2.0.0-rc.2
Updated the @neo4j/graphql
dependency.
Neo4j GraphQL Library 2.0.0-rc.1
OGM 2.0.0-rc.1
Updates @neo4j/graphql
dependency.
Neo4j GraphQL Library 1.2.4
Whats Included?
Notes
Small fixes and improvements. Thanks to @mathix420 and @dmoree for your contributions to this release 🍻
OGM 1.2.4
What's Included?
Updates to @neo4j/graphql
dependency.
Neo4j GraphQL Library 2.0.0-alpha.4
Whats Included?
Alongside the latest changes to master.
Notes
This PR includes further improvements based on the feedback given around the alpha plus a new feature being count queries. Thanks to community member @dmoree for your PR's in this release and also a shoutout to the rest of you for providing feedback.
OGM 2.0.0-alpha.4
Whats Included ?
- #329 - Count Queries
Notes
Apart from the additional OGM method this PR simply updates to the lastest @neo4j/graphql.
Neo4j GraphQL Library 1.2.3
Fixes
- Connect operations are now in subqueries (#341), which has the effect of fixing:
- Custom Cypher fields which return a list of primitive values now work as expected (#335)
- An error is now thrown correctly when trying to query auth protected fields without being authenticated (#342)
- Cypher query options (https://neo4j.com/docs/cypher-manual/current/query-tuning/#cypher-query-options) can now be set at a global level, which may help in resolving any Cypher issues (#342) - see https://neo4j.com/docs/graphql-manual/current/troubleshooting/#_query_tuning