Skip to content
Compare
Choose a tag to compare
@neo4j-team-graphql neo4j-team-graphql released this 18 Nov 15:40
· 20 commits to dev since this release
426bded

Minor Changes

Patch Changes

  • #5738 c6ea37d Thanks @angrykoala! - Add deprecation warning when using @unique

  • #5788 62a9f61 Thanks @angrykoala! - Deprecate single element relationships:

    type Movie {
        director: Person @relationship(type: "DIRECTED", direction: "IN")
    }

    In favor of list relationships:

    type Movie {
        director: [Person!]! @relationship(type: "DIRECTED", direction: "IN")
    }

    1-1 relationships cannot be reliably enforced, leading to a data inconsistent between the schema and the database. For this reason, these have been removed in favor of the more accurate list relationships.

  • #5771 c56f9b0 Thanks @MacondoExpress! - Deprecate implicit SET:

    mutation {
        updateMovies(update: { id: "2" }) {
            movies {
                id
            }
        }
    }

    in favour of the explicit _SET version:

    mutation {
        updateMovies(update: { id_SET: "2" }) {
            movies {
                id
            }
        }
    }
  • #5771 f624668 Thanks @MacondoExpress! - Added implicitSet to the excludeDeprecatedFields setting, to disable generation of the deprecated mutation field without the suffix _SET.

  • #5758 7521476 Thanks @angrykoala! - Argument overwrite in connect operations has been deprecated

  • #5748 f23bb91 Thanks @darrellwarde! - The connectOrCreate operation has been deprecated and will be removed in the next major version of the Neo4j GraphQL Library. Its implementation has always been more limited than the other operations, so the decision has been taken to remove it for the time being with a view of potentially refocussing on it again in the future.

  • #5764 1ec1bd3 Thanks @darrellwarde! - Fix issues #5759 and #5760 to do with sorting vector search results