Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @neo4j/graphql to v6 #7865

Merged
merged 3 commits into from
Oct 31, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 31, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@neo4j/graphql (source) ^5.0.0 -> ^6.0.0 age adoption passing confidence

Release Notes

neo4j/graphql (@​neo4j/graphql)

v6.0.0

Compare Source

Major Changes
  • #​5638 cab1a8d Thanks @​darrellwarde! - The Neo4j GraphQL Library now requires a Neo4j 5.x database.

  • #​5639 4438b60 Thanks @​darrellwarde! - Remove aggregation filters which are not actually aggregation filters, which were deprecated in 5.x.

  • #​5637 8832dd6 Thanks @​darrellwarde! - Remove deprecated relationship filters without suffix. Queries which previously used these should migrate over to _SOME filters.

  • #​5662 98e04db Thanks @​angrykoala! - Remove support for relationship subscriptions:

    • *RelationshipCreated
    • *RelationshipDeleted
  • #​5648 c716439 Thanks @​darrellwarde! - Remove no-op option to remove stringAggregation deprecated fields.

  • #​5634 7e356f1 Thanks @​darrellwarde! - The deprecated bookmark field has been removed due to bookmarks now be handled internally by the database driver.

  • #​5703 a3bd747 Thanks @​MacondoExpress! - Fixed a bug that caused @cypher field to be added as sortable fields in the schema even for not supported cases

  • #​5713 55c2ed6 Thanks @​MacondoExpress! - Remove connectComponentsPlanner argument from the CypherQueryOptions

  • #​5662 98e04db Thanks @​angrykoala! - Removes support for non-cdc subscriptions. This means the only available engine for subscriptions is Neo4jGraphQLSubscriptionsCDCEngine:

    new Neo4jGraphQL({
        typeDefs,
        driver,
        features: {
            subscriptions: new Neo4jGraphQLSubscriptionsCDCEngine({
                driver,
            }),
        },
    });

    The default behaviour of subscriptions has also been updated to use CDC, so now passing true will use the CDC engine with the default parameters and driver:

    new Neo4jGraphQL({
        typeDefs,
        driver,
        features: {
            subscriptions: true,
        },
    });
  • #​5624 87917e4 Thanks @​MacondoExpress! - Removed deprecated _NOT filters, use the Boolean operator NOT instead.

    ** 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: negationFilters was removed from the excludeDeprecatedFields settings.

  • #​5649 8206edd Thanks @​darrellwarde! - The deprecated options argument of assertIndexesAndConstraints has 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 af866e0 Thanks @​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 2174267 Thanks @​MacondoExpress! - Changed the generated sort argument 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 ffb2ae3 Thanks @​angrykoala! - Remove exported types for custom subscriptions engine:

    • Neo4jGraphQLSubscriptionsEngine
    • SubscriptionsEvent
  • #​5693 8322ec3 Thanks @​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 3332ac6 Thanks @​MacondoExpress! - Removed deprecated string aggregation filters as name_SHORTEST_GT in favor of the _LENGTH version: name_SHORTEST_LENGTH_GT.

  • #​5638 cab1a8d Thanks @​darrellwarde! - The Neo4j GraphQL Library now requires Node.js 20 or greater.

  • #​5654 38be579 Thanks @​MacondoExpress! - Removed aggregationFilters from excludeDeprecatedFields settings.

Minor Changes
  • #​5636 74e4d30 Thanks @​MacondoExpress! - Added aggregation filter count_EQ filters: { count_EQ: 10 }, this is the replacement for the deprecated version { count: 10 }.

  • #​5567 233aac6 Thanks @​MacondoExpress! - Added scalar _EQ filters: { title_EQ: "The Matrix" }, this is an alternative version of the deprecated version { title: "The Matrix" }.

Patch Changes
  • #​5636 de984a2 Thanks @​MacondoExpress! - Deprecated implicit aggregation filter: count, { count: 10 } in favor of the explicit version: { count_EQ: 10 }.

  • #​5608 c64f6b4 Thanks @​MacondoExpress! - Deprecated the options argument in favor of the limit, offset, and sort` arguments.

  • #​5694 887a098 Thanks @​MacondoExpress! - Deprecated DEFAULT_DIRECTED / DEFAULT_UNDIRECTED DIRECTED_ONLY / UNDIRECTED_ONLY as @relationship.queryDirection argument values. The options that started with the DEFAULT are deprecated following the deprecation of the generated directed argument. The options with the suffix _ONLY have been changed to DIRECTED / UNDIRECTED as the suffix _ONLY.

  • #​5567 233aac6 Thanks @​MacondoExpress! - Deprecated implicit scalar filter as { title: "The Matrix" } in favor of the explicit version: { title_EQ: "The Matrix" }.

  • #​5567 233aac6 Thanks @​MacondoExpress! - Add a warning to instruct users about future requirements for marking Neoj4 nodes with the @node directive.

  • #​5651 45e0233 Thanks @​darrellwarde! - The directed argument has been marked as deprecated.

v5.9.2

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor

github-actions bot commented Oct 31, 2024

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-mesh/neo4j 0.103.13-alpha-20241031123903-e7cdbdda0b8396fc30d6af33eda3a09ae94b07a1 npm ↗︎ unpkg ↗︎
@omnigraph/neo4j 0.7.13-alpha-20241031123903-e7cdbdda0b8396fc30d6af33eda3a09ae94b07a1 npm ↗︎ unpkg ↗︎
@graphql-mesh/transport-neo4j 0.7.13-alpha-20241031123903-e7cdbdda0b8396fc30d6af33eda3a09ae94b07a1 npm ↗︎ unpkg ↗︎

Copy link
Contributor

github-actions bot commented Oct 31, 2024

💻 Website Preview

The latest changes are available as preview in: https://a5f3aefd.graphql-mesh.pages.dev

Copy link
Contributor

github-actions bot commented Oct 31, 2024

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

@ardatan ardatan merged commit d8c0d29 into master Oct 31, 2024
22 checks passed
@ardatan ardatan deleted the renovate/neo4j-graphql-6.x branch October 31, 2024 13:13
ardatan added a commit that referenced this pull request Nov 20, 2024
* fix(deps): update dependency @neo4j/graphql to v6

* chore(dependencies): updated changesets for modified dependencies

* Update snapshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant