Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to 7.x, this PR will be updated.
Releases
@neo4j/[email protected]
Major Changes
#5872
925ad8d
Thanks @angrykoala! - Remove@private
directive. This directive was intended to be used with the library@neo4j/graphql-ogm
which is no longer supported.#5755
9c75f92
Thanks @angrykoala! - Remove support forconnectOrCreate
operations#5778
56022ba
Thanks @darrellwarde! - The deprecateddirected
argument has been removed, andqueryDirection
now only accepts two possible values -DIRECTED
(default) andUNDIRECTED
.Additionally, the
directedArgument
setting ofexcludeDeprecatedFields
has been removed as these deprecated fields have been removed.#5819
ac1fa62
Thanks @angrykoala! - Single element relationships have been removed in favor of list relationships:Before
After
This requires updating filters, clients and auth rules to use the list filter operations.
Single element relationships cannot be reliably enforced, leading to a data inconsistent with the schema. If the GraphQL model requires 1-1 relationships (such as in federations) these can now be achieved with the
@cypher
directive instead:#5762
87e416b
Thanks @darrellwarde! - There have been major changes to the way that full-text search operates.The directive now requires the specification of an index name, query name, and indexed fields.
Here is an example of how this might be used:
Full-text search was previously available in two different locations.
The following form has now been completely removed:
The following form as a root-level query has been changed:
The new form is as a Relay connection, which allows for pagination using cursors and access to the
pageInfo
field.#5820
d8d59f8
Thanks @MacondoExpress! - Change the way how@node
behaves,@node
is now required, and GraphQL Object types without the directive@node
will no longer considered as a Neo4j Nodes representation.Queries and Mutations will be generated only for types with the
@node
directive.#5801
95ce8bb
Thanks @darrellwarde! - Implicit filtering fields have been removed, please use the explicit versions:The
implicitEqualFilters
option ofexcludeDeprecatedFields
has been removed.#5755
9c75f92
Thanks @angrykoala! - Remove support for@unique
directive#5768
e338590
Thanks @angrykoala! - Removeoverwrite
field in connect operations#5777
0ecfd71
Thanks @darrellwarde! - The deprecatedoptions
argument has been removed.Consider the following type definitions:
The migration is as below:
The
deprecatedOptionsArgument
ofexcludeDeprecatedFields
has been removed as it is now a no-op.#5802
99cb9aa
Thanks @darrellwarde! - Implicit set operations have been removed. For example:The
implicitSet
argument ofexcludeDeprecatedFields
has been removed.#5789
1a07d40
Thanks @darrellwarde! - The Neo4j GraphQL Library and Introspector now required Node.js 22 or greater.Patch Changes
#5869
34725f6
Thanks @angrykoala! - Deprecates@private
directive. The private directive was aimed to be used in conjunction with the OGM, which is no longer supported.#5837
721691a
Thanks @MacondoExpress! - Added a validation rule to avoid defining fields as lists of nullable elements, as Neo4j does not support this.@neo4j/[email protected]
Major Changes
1a07d40
Thanks @darrellwarde! - The Neo4j GraphQL Library and Introspector now required Node.js 22 or greater.Patch Changes
721691a
Thanks @MacondoExpress! - Changed how "@neo4j/introspector" generates list fields that now are generated as a list of non-nullable elements, as a list of nullable elements is not supported by Neo4j.