Skip to content

Releases: neo4j/graphql

@neo4j/[email protected]

19 Feb 09:29
756ef0f
Compare
Choose a tag to compare
Pre-release

Major Changes

  • #5997 a716ef8 Thanks @angrykoala! - Remove publish method from Neo4jGraphQLSubscriptionsEngine interface as it is no longer used with CDC-based subscriptions. Implementing this method on custom engines will no longer have an effect, and it is no longer possible to call publish directly on Neo4jGraphQLSubscriptionsCDCEngine

  • #5976 7ddde75 Thanks @angrykoala! - Sets addVersionPrefix to true by default, this will prepend the Cypher version to all queries by default, ensuring that the correct Cypher version is used in Neo4j:

    CYPHER 5
    MATCH(this:Movie)

    This may be incompatible with older versions of Neo4j and can be disabled by setting cypherQueryOption.addVersionPrefix in the context to false:

    {
        cypherQueryOptions: {
            addVersionPrefix: true,
        },
    }

    For example, for an apollo server:

    await startStandaloneServer(server, {
        context: async ({ req }) => ({
            req,
            cypherQueryOptions: {
                addVersionPrefix: false,
            },
        }),
        listen: { port: 4000 },
    });

Patch Changes

@neo4j/[email protected]

18 Feb 09:50
e35d589
Compare
Choose a tag to compare

Patch Changes

  • #5952 4e14680 Thanks @angrykoala! - Add addVersionPrefix to cypherQueryOptions in context to add a Cypher version with CYPHER before each query:

    {
        cypherQueryOptions: {
            addVersionPrefix: true,
        },
    }

    This prepends all Cypher queries with a CYPHER [version] statement:

    CYPHER 5
    MATCH (this:Movie)
    WHERE this.title = $param0
    RETURN this { .title } AS this

@neo4j/[email protected]

12 Feb 10:03
7f2137f
Compare
Choose a tag to compare

Patch Changes

  • #5996 a5962ea Thanks @angrykoala! - Fix error "SchemaModel not available on subscription mechanism" with some subscriptions engines when used with Federation

  • #5969 80fb066 Thanks @angrykoala! - Add addVersionPrefix to cypherQueryOptions in context to add a Cypher version with CYPHER before each query:

    {
        cypherQueryOptions: {
            addVersionPrefix: true,
        },
    }

    This prepends all Cypher queries with a CYPHER [version] statement:

    CYPHER 5
    MATCH (this:Movie)
    WHERE this.title = $param0
    RETURN this { .title } AS this

@neo4j/[email protected]

12 Feb 10:03
7f2137f
Compare
Choose a tag to compare

Patch Changes

@neo4j/[email protected]

29 Jan 16:26
8023056
Compare
Choose a tag to compare

Important

This is an important patch release which ensures compatibility with the upcoming Neo4j 2025 release. Before you upgrade to Neo4j 2025, please ensure that you have applied this patch upgrade.

Patch Changes

@neo4j/[email protected]

29 Jan 16:26
8023056
Compare
Choose a tag to compare

Important

This is an important patch release which ensures compatibility with the upcoming Neo4j 2025 release. Before you upgrade to Neo4j 2025, please ensure that you have applied this patch upgrade.

Patch Changes

@neo4j/[email protected]

28 Jan 15:20
f4fd192
Compare
Choose a tag to compare

Important

This is an important patch release which ensures compatibility with the upcoming Neo4j 2025 release. Before you upgrade to Neo4j 2025, please ensure that you have applied this patch upgrade.

Patch Changes

@neo4j/[email protected]

28 Jan 15:20
f4fd192
Compare
Choose a tag to compare

Important

This is an important patch release which ensures compatibility with the upcoming Neo4j 2025 release. Before you upgrade to Neo4j 2025, please ensure that you have applied this patch upgrade.

Patch Changes

@neo4j/[email protected]

24 Jan 12:51
7b471d4
Compare
Choose a tag to compare

Important

This is an important patch release which ensures compatibility with the upcoming Neo4j 2025 release. Before you upgrade to Neo4j 2025, please ensure that you have applied this patch upgrade.

Minor Changes

  • #5934 c666adc Thanks @MacondoExpress! - Introduced the typename filter that superseded the typename_IN filter.
    As part of the change, the flag typename_IN has been added to the excludeDeprecatedFields setting.

    const neoSchema = new Neo4jGraphQL({
        typeDefs,
        features: { excludeDeprecatedFields: { typename_IN: true } },
    });

Patch Changes

  • #5937 7f1bc65 Thanks @MacondoExpress! - Aggregations on ID fields are now deprecated.
    As part of the change, the flag idAggregations has been added to the excludeDeprecatedFields setting.

    const neoSchema = new Neo4jGraphQL({
        typeDefs,
        features: { excludeDeprecatedFields: { idAggregations: true } },
    });
  • #5943 6153d68 Thanks @darrellwarde! - Fix Cypher when filtering by aggregations over different relationship properties types

  • #5953 ebbb921 Thanks @angrykoala! - Add support for CalVer editions of neo4j

@neo4j/[email protected]

24 Jan 13:25
a77e26f
Compare
Choose a tag to compare

Important

This is an important patch release which ensures compatibility with the upcoming Neo4j 2025 release. Before you upgrade to Neo4j 2025, please ensure that you have applied this patch upgrade.

Patch Changes