changesets for branch `6.x`
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 6.x, this PR will be updated.
Releases
@neo4j/[email protected]
Major Changes
-
#5638
cab1a8dThanks @darrellwarde! - The Neo4j GraphQL Library now requires a Neo4j 5.x database. -
#5639
4438b60Thanks @darrellwarde! - Remove aggregation filters which are not actually aggregation filters, which were deprecated in 5.x. -
#5637
8832dd6Thanks @darrellwarde! - Remove deprecated relationship filters without suffix. Queries which previously used these should migrate over to_SOMEfilters. -
#5662
98e04dbThanks @angrykoala! - Remove support for relationship subscriptions:*RelationshipCreated*RelationshipDeleted
-
#5648
c716439Thanks @darrellwarde! - Remove no-op option to removestringAggregationdeprecated fields. -
#5634
7e356f1Thanks @darrellwarde! - The deprecatedbookmarkfield has been removed due to bookmarks now be handled internally by the database driver. -
#5662
98e04dbThanks @angrykoala! - Removes support for non-cdc subscriptions. This means the only available engine for subscriptions isNeo4jGraphQLSubscriptionsCDCEngine:new Neo4jGraphQL({ typeDefs, driver, features: { subscriptions: new Neo4jGraphQLSubscriptionsCDCEngine({ driver, }), }, });The default behaviour of subscriptions has also been updated to use CDC, so now passing
truewill use the CDC engine with the default parameters and driver:new Neo4jGraphQL({ typeDefs, driver, features: { subscriptions: true, }, }); -
#5624
87917e4Thanks @MacondoExpress! - Removed deprecated_NOTfilters, use the Boolean operatorNOTinstead.** deprecated syntax **
query { movies(where: { title_NOT: "The Matrix" }) { title } }** recommended syntax **
query { movies(where: { NOT: { title: "The Matrix" } }) { title } }As part of the change, the option:
negationFilterswas removed from theexcludeDeprecatedFieldssettings. -
#5649
8206eddThanks @darrellwarde! - The deprecatedoptionsargument ofassertIndexesAndConstraintshas been removed. Database migrations are outside of the scope of the Neo4j GraphQL Library, and all indexes and constraints will have to be managed manually. -
#5630
af866e0Thanks @angrykoala! - Remove deprecated top level arguments for nested operations in mutations:- create
- delete
- connect
- disconnect
- connectOrCreate
For example, the following is no longer valid:
invalid
mutation UpdatePeople { updatePeople(create: { movies: { node: { title: "The Good" } } }) { people { name } } }valid
mutation UpdatePeople { updatePeople(update: { movies: { create: { node: { title: "The Good" } } } }) { people { name } } } -
#5608
2174267Thanks @MacondoExpress! - Changed the generatedsortargument on the top-level Connection field as a list of non-nullable elements in case the target is an Interface.From:
productionsConnection(after: String, first: Int, sort: [ProductionSort], where: ProductionWhere): ProductionsConnection!To:
productionsConnection(after: String, first: Int, sort: [ProductionSort!], where: ProductionWhere): ProductionsConnection! -
#5668
ffb2ae3Thanks @angrykoala! - Remove exported types for custom subscriptions engine:Neo4jGraphQLSubscriptionsEngineSubscriptionsEvent
-
#5693
8322ec3Thanks @angrykoala! - Throws an error when the same field is updated multiple times on same update operation.For example:
mutation { updateMovies(update: { tags_POP: 1, tags_PUSH: "d" }) { movies { title tags } } } -
#5654
3332ac6Thanks @MacondoExpress! - Removed deprecated string aggregation filters asname_SHORTEST_GTin favor of the_LENGTHversion:name_SHORTEST_LENGTH_GT. -
#5638
cab1a8dThanks @darrellwarde! - The Neo4j GraphQL Library now requires Node.js 20 or greater. -
#5654
38be579Thanks @MacondoExpress! - RemovedaggregationFiltersfromexcludeDeprecatedFieldssettings.
Minor Changes
-
#5636
74e4d30Thanks @MacondoExpress! - Added aggregation filtercount_EQfilters:{ count_EQ: 10 }, this is the replacement for the deprecated version{ count: 10 }. -
#5567
233aac6Thanks @MacondoExpress! - Added scalar_EQfilters:{ title_EQ: "The Matrix" }, this is an alternative version of the deprecated version{ title: "The Matrix" }.
Patch Changes
-
#5636
de984a2Thanks @MacondoExpress! - Deprecated implicit aggregation filter:count,{ count: 10 }in favor of the explicit version:{ count_EQ: 10 }. -
#5608
c64f6b4Thanks @MacondoExpress! - Deprecated theoptionsargument in favor of the limit,offset, andsort` arguments. -
#5567
233aac6Thanks @MacondoExpress! - Deprecated implicit scalar filter as{ title: "The Matrix" }in favor of the explicit version:{ title_EQ: "The Matrix" }. -
#5567
233aac6Thanks @MacondoExpress! - Add a warning to instruct users about future requirements for marking Neoj4 nodes with the@nodedirective. -
#5651
45e0233Thanks @darrellwarde! - Thedirectedargument has been marked as deprecated.
@neo4j/[email protected]
Major Changes
- #5638
cab1a8dThanks @darrellwarde! - The Neo4j GraphQL Library now requires a Neo4j 5.x database.
Minor Changes
- #5567
233aac6Thanks @MacondoExpress! - Added@nodeto the generated types.