Skip to content

Releases: neo4j/graphql

@neo4j/graphql@3.0.3

24 Mar 11:07
Compare
Choose a tag to compare

🐛 Fixes

  • Fix: UnionTypes with Authorization and ConnectionWhere generates illegal Cypher Query

@neo4j/graphql-ogm@3.0.3

24 Mar 11:07
Compare
Choose a tag to compare

Updates the @neo4j/graphql dependency, and introduces the changes listed below (if any).

@neo4j/graphql@3.0.2

18 Mar 10:01
Compare
Choose a tag to compare

🐛 Fixes

  • Fix/ogm node import
  • Fix 1073 connectOrCreate schema
  • Fix extra node being created by connectOrCreate
  • Write details to transaction metadata instead of useragent
  • Make sure aliases are checked against connectOrCreate where input
  • Fix: #1132, CONNECT and DISCONNECT auth rules check allow rules against target node instead of source

@neo4j/graphql-ogm@3.0.2

18 Mar 10:01
Compare
Choose a tag to compare

Updates the @neo4j/graphql dependency, and introduces the changes listed below (if any).

🐛 Fixes

  • Fix/ogm node import

@neo4j/graphql@3.0.1

23 Feb 16:31
Compare
Choose a tag to compare

🐛 Fixes

  • Reintroduce camelcase for generating field names

@neo4j/graphql-ogm@3.0.1

23 Feb 16:31
Compare
Choose a tag to compare

Updates the @neo4j/graphql dependency, and introduces the changes listed below (if any).

🐛 Fixes

  • Reintroduce camelcase for generating field names

@neo4j/graphql@3.0.0

17 Feb 10:55
Compare
Choose a tag to compare

Welcome to the third major release of the Neo4j GraphQL Library! Originally driven by the need to perform some major dependency upgrades; we have taken the opportunity to overhaul the experience with relationships, and perform some architectural changes which will open doors to improvements over the coming weeks and months.

There are breaking changes between version 2.x and this 3.0.0 release. Please see the migration guide for the steps involved to migrate.

Please find the autogenerated changelog below.

🚀 Features

  • Feature: undirected relationships
  • Undirected aggregation and connection
  • Query direction argument
  • Feat/Query Limits
  • Query max limit
  • Feature: Add Required Fields For Custom Resolver
  • Merge root-level args from resolvers when translating queries and mutations
  • Feature: Additional Relationship Filters
  • Feature: Sort On Interface Relationship
  • Null one-to-one Rel Validation
  • Asynchronous schema generation and OGM initialization
  • Feat/Auth Plugin

🐛 Fixes

  • Fix: Flaky Duration Test
  • Remove top level count
  • Fix: Non-Array Interface Relationship Fields
  • Fix: Schema validation for the correct definition of n..m relationships - must be non-nullable lists and entries
  • Fix: Missing or Default null @cypher Arguments
  • Fix: Sort On Missing Fields
  • Fix: Missing Relationship Description
  • Remove 4.1 support
  • Check whether fulltext indexes exist before creating
  • Fix/nullable array entries
  • Remove spurious create input fields for interface relationships
  • Fix inconsistent ConnectionWhere type names for unions
  • Fix: Sort Fails for Aliased Field
  • Crude check if any empty interfaces or objects exist in the schema
  • Fix: Pagination on Abstract Connection
  • Fix/872 Change ConnectOrCreateFieldInputOnCreate types
  • Fix: Multiple Fragment Levels
  • Rename @ignore directive to @computed, and dependsOn argument to from
  • Fix: #976 Issues with aliases on connectOrCreate
  • Fix 988 by making params entries unique (dev)

@neo4j/graphql-plugin-auth@1.0.0

17 Feb 11:36
Compare
Choose a tag to compare

The auth functionality of the Neo4j GraphQL Library has been exported into plugins. Instructions for their usage can be found below. Functionality is identical as to when they were built into the library.

Neo4jGraphQLAuthJWTPlugin

import { Neo4jGraphQL } from "@neo4j/graphql";
import { Neo4jGraphQLAuthJWTPlugin } from "@neo4j/graphql-plugin-auth";

const neoSchema = new Neo4jGraphQL({
    typeDefs,
    plugins: {
        auth: new Neo4jGraphQLAuthJWTPlugin({
            secret: "super-secret",
        }),
    },
});

Neo4jGraphQLAuthJWKSPlugin

import { Neo4jGraphQL } from "@neo4j/graphql";
import { Neo4jGraphQLAuthJWKSPlugin } from "@neo4j/graphql-plugin-auth";

const neoSchema = new Neo4jGraphQL({
    typeDefs,
    plugins: {
        auth: new Neo4jGraphQLAuthJWKSPlugin({
            jwksEndpoint: "https://YOUR_DOMAIN/well-known/jwks.json",
        }),
    },
});

@neo4j/graphql-ogm@3.0.0

17 Feb 10:55
Compare
Choose a tag to compare

Updates the @neo4j/graphql dependency, and introduces the changes listed below (if any).

🚀 Features

  • Feature: undirected relationships
  • Undirected aggregation and connection
  • Query direction argument
  • Feature: Additional Relationship Filters
  • Asynchronous schema generation and OGM initialization

🐛 Fixes

  • Remove top level count
  • Fix: Schema validation for the correct definition of n..m relationships - must be non-nullable lists and entries
  • Fix/nullable array entries
  • Fix: Pagination on Abstract Connection
  • Fix/Duplicate Ogm Type Names

@neo4j/graphql@2.5.9

16 Feb 16:16
Compare
Choose a tag to compare

🐛 Fixes

  • Fix 988 by making params entries unique