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

7.x #5767

Open
wants to merge 294 commits into
base: dev
Choose a base branch
from
Open

7.x #5767

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
294 commits
Select commit Hold shift + click to select a range
4936eec
Add validation on single relationship
angrykoala Nov 20, 2024
049d6d5
Merge pull request #5819 from neo4j/remove-single-relationship
angrykoala Nov 20, 2024
d8d59f8
Make `@node` mandatory to generate Queries and Mutations. (#5820)
MacondoExpress Nov 21, 2024
07fee19
Merge remote-tracking branch 'upstream/7.x' into generic-scalar-filters
MacondoExpress Nov 21, 2024
b0d1cfe
add input scalar filters as native GraphQL inputs
MacondoExpress Nov 21, 2024
e871f94
Merge branch 'dev' into 7.x
darrellwarde Nov 21, 2024
e29da3b
fix genericFilter duplication on schema validation
MacondoExpress Nov 22, 2024
3c0a0d5
Add validation rule to avoid Neo4j not supported list available in @n…
MacondoExpress Oct 11, 2024
e912b2b
clean-up
MacondoExpress Nov 22, 2024
62228cc
update schema tests
MacondoExpress Nov 25, 2024
47a4e31
remove typePath hint
MacondoExpress Nov 25, 2024
f8def59
update e2e tests to avoid validation errors
MacondoExpress Nov 25, 2024
403eebc
lint fixes
MacondoExpress Nov 25, 2024
855b0b5
changed introspector generated field type in case of list, list are n…
MacondoExpress Nov 25, 2024
721691a
add changeset
MacondoExpress Nov 25, 2024
9f0db0b
apply PR suggestions
MacondoExpress Nov 25, 2024
ea65fff
Merge pull request #5837 from MacondoExpress/remove-nullable-list-v2
MacondoExpress Nov 25, 2024
e51258e
Add generic filters for time and point scalar types
angrykoala Nov 25, 2024
c1ad137
Rename point filters
angrykoala Nov 25, 2024
0828760
Merge pull request #5843 from neo4j/date-point-types-filters
angrykoala Nov 25, 2024
9468c63
add initial implementation of generic filtering, relationship propert…
MacondoExpress Nov 25, 2024
e9fda9e
Merge remote-tracking branch 'upstream/generic-scalar-filters' into g…
MacondoExpress Nov 25, 2024
7d9fe22
Merge pull request #5844 from MacondoExpress/generic-filters-factory-imp
MacondoExpress Nov 25, 2024
e2f18b9
WIP fix tests with generic operators
angrykoala Nov 26, 2024
b47628a
fix schema validation rule
MacondoExpress Nov 26, 2024
869cf22
Merge branch 'dev' into 7.x
darrellwarde Nov 26, 2024
5c260c8
add support for relationship properties with generic filtering
MacondoExpress Nov 26, 2024
b1cfa87
Merge pull request #5846 from MacondoExpress/relationship-properties-…
MacondoExpress Nov 27, 2024
3ccefea
Add point and time filters on schema
angrykoala Nov 27, 2024
3ef8c45
Update boolean lists
angrykoala Nov 27, 2024
2ef9003
Merge pull request #5850 from neo4j/point-time-filters
angrykoala Nov 27, 2024
0611536
Fix cypher directive tests
angrykoala Nov 27, 2024
ff53ace
Fix authorization federation tests
angrykoala Nov 27, 2024
d20bf92
Merge pull request #5852 from neo4j/fix-tck-tests
MacondoExpress Nov 27, 2024
5e017f5
Fix test 2250
angrykoala Nov 27, 2024
74afc1c
Add point and time generic filters translation
angrykoala Nov 28, 2024
ed51f3a
Merge pull request #5854 from neo4j/point-time-filters
MacondoExpress Nov 28, 2024
e78600c
support generic operators on interfaces
MacondoExpress Nov 27, 2024
20760b1
support generic operator on cypher fields
MacondoExpress Nov 28, 2024
44abe5f
Merge pull request #5855 from MacondoExpress/generic-filtering-with-i…
MacondoExpress Nov 28, 2024
ce87743
WIP generic mutation filters
angrykoala Nov 28, 2024
b24316c
Cypher filtering many to many relationships
mjfwebb Nov 29, 2024
fa9d5f4
add parseGenericFilters as method to avoid unnecessary duplication
MacondoExpress Nov 29, 2024
2642beb
fix: only add base where field filter on non list fields
mjfwebb Nov 29, 2024
4bc365d
test: use _SOME
mjfwebb Nov 29, 2024
5135f8c
fix_ use genres_SOME
mjfwebb Nov 29, 2024
2ba181f
Merge pull request #5858 from mjfwebb/7x-cypher-filtering-relationships
mjfwebb Nov 29, 2024
ad7b29e
Merge branch 'dev' into 7.x
mjfwebb Nov 29, 2024
b759224
Merge pull request #5860 from MacondoExpress/cypher-relationships
MacondoExpress Dec 3, 2024
d73e23c
Add generic mutation for supported types
angrykoala Dec 3, 2024
1f05304
Update schema for generic filters
angrykoala Dec 3, 2024
cb43651
mutations for enum and custom scalars
angrykoala Dec 3, 2024
c3a5717
Merge branch 'dev' into 7.x
darrellwarde Dec 3, 2024
43277c2
static list types for mutations
angrykoala Dec 3, 2024
b9e6bae
Add list mutations to enum and scalar
angrykoala Dec 3, 2024
c2c7e16
Merge branch 'dev' into 7.x
darrellwarde Dec 4, 2024
b193d1c
implement feature flag, add schema + int tests
a-alle Dec 4, 2024
46ab2fa
Change in operations to match int operations
angrykoala Dec 4, 2024
470dd5f
fix set statements in create
angrykoala Dec 4, 2024
5d8234e
Fix generic operators for relationships
angrykoala Dec 5, 2024
f5852f6
fix tests
a-alle Dec 5, 2024
8b727e3
WIP, add initial implementation for generic relationship filters, nul…
MacondoExpress Dec 5, 2024
70f1c67
fix aggregation inside relationship filters
MacondoExpress Dec 5, 2024
722c650
Deprecate old mutation operations
angrykoala Dec 6, 2024
646ceb6
Add feature flag for deprecated mutations
angrykoala Dec 6, 2024
0dc6b6a
Review changes
angrykoala Dec 6, 2024
940dfda
remove isNot from relationship filters and remove relationship filter…
MacondoExpress Dec 6, 2024
5f6e689
Merge pull request #5868 from neo4j/generic-mutation-filters
angrykoala Dec 6, 2024
cebde09
Merge remote-tracking branch 'origin/dev' into 7.x
angrykoala Dec 6, 2024
2e20b57
remove neo4j 4.4 implementation branch from relationship filters
MacondoExpress Dec 6, 2024
925ad8d
Remove private directive
angrykoala Dec 6, 2024
a791c79
Fix unit tests
angrykoala Dec 6, 2024
bd69ccd
Merge remote-tracking branch 'origin/7.x' into generic-scalar-filters
angrykoala Dec 6, 2024
804cb0d
remove isNot completely
MacondoExpress Dec 6, 2024
e881001
Merge remote-tracking branch 'upstream/generic-scalar-filters' into c…
MacondoExpress Dec 6, 2024
17911fc
Create unlucky-spoons-trade.md
MacondoExpress Dec 6, 2024
6b86e9a
update advanced filtering tests for relationship/connections
MacondoExpress Dec 6, 2024
f91dd3e
Merge branch 'cypher-relationship-quantifier' of github.com:MacondoEx…
MacondoExpress Dec 6, 2024
3865a76
Merge pull request #5872 from neo4j/remove-private
angrykoala Dec 9, 2024
e9c80b7
Merge remote-tracking branch 'origin/generic-scalar-filters' into dep…
angrykoala Dec 9, 2024
c4cd462
Merge pull request #5871 from neo4j/deprecate-old-mutation-operations
angrykoala Dec 9, 2024
fd4585e
Merge pull request #5867 from a-alle/limit-required-feature
a-alle Dec 9, 2024
83ffaf4
generic point filters
angrykoala Dec 9, 2024
6092574
fix distance equals
angrykoala Dec 9, 2024
91a8125
Update point filter operators
angrykoala Dec 9, 2024
fcb3a1e
add comments on filtering
angrykoala Dec 9, 2024
1e9373f
Merge pull request #5874 from neo4j/spatial-generic-filters
angrykoala Dec 9, 2024
84dca19
update filter operators
angrykoala Dec 9, 2024
1a9102a
Merge pull request #5875 from neo4j/update-filter-operators
angrykoala Dec 10, 2024
85a3eed
fix generic filtering when used within authorization rules
MacondoExpress Dec 10, 2024
72a0c82
Aggregation filters in schema
angrykoala Dec 10, 2024
5c7ba22
Add generic filters for aggregations
angrykoala Dec 11, 2024
6788e59
add support for authentication filtering with generic operators
MacondoExpress Dec 11, 2024
5345589
add language syntax highlighting
MacondoExpress Dec 11, 2024
896428b
Merge remote-tracking branch 'upstream/generic-scalar-filters' into c…
MacondoExpress Dec 11, 2024
5efd6e2
Merge pull request #5873 from MacondoExpress/cypher-relationship-quan…
MacondoExpress Dec 11, 2024
bae47ba
push minor changes left over from the relationship PR
MacondoExpress Dec 11, 2024
f80c39f
Merge branch 'generic-scalar-filters' into authorization-generic-filt…
MacondoExpress Dec 11, 2024
aa46120
update tests
MacondoExpress Dec 12, 2024
c11f69d
Remove lists from aggregation filter generation
angrykoala Dec 12, 2024
509a72f
Merge branch 'generic-scalar-filters' into aggregation-filters
angrykoala Dec 12, 2024
08c4320
Remove commented code
angrykoala Dec 12, 2024
75f63bf
clean-up PR
MacondoExpress Dec 12, 2024
7254acf
Deprecate old aggregation filters
angrykoala Dec 12, 2024
728e464
Merge pull request #5881 from MacondoExpress/authorization-generic-fi…
MacondoExpress Dec 12, 2024
55281f6
Update generic filters for custom scalars and enums
angrykoala Dec 12, 2024
0d655c8
fix authentication tests
MacondoExpress Dec 12, 2024
3f11cc8
change name from op to comparatorFunction
MacondoExpress Dec 13, 2024
ca8f643
Merge pull request #5885 from MacondoExpress/fix-authentication-tests
MacondoExpress Dec 13, 2024
3d0a0f8
Use shouldAddDeprecateFields utility
angrykoala Dec 13, 2024
8fcfe20
code review changes
angrykoala Dec 13, 2024
968a4d8
Merge pull request #5879 from neo4j/aggregation-filters
angrykoala Dec 13, 2024
c77d027
Merge pull request #5882 from neo4j/deprecate-old-aggregation-filters
angrykoala Dec 13, 2024
c20295e
Merge branch 'generic-scalar-filters' into enum-scalar-filters
angrykoala Dec 13, 2024
c890bb6
Add some filter tests on enum
angrykoala Dec 13, 2024
1a3915b
Merge pull request #5883 from neo4j/enum-scalar-filters
angrykoala Dec 13, 2024
ff647bf
WIP
MacondoExpress Dec 12, 2024
687f752
fix validation rules
MacondoExpress Dec 16, 2024
6afcadd
Validate plural conflicts in schema generation
angrykoala Dec 16, 2024
c880a3c
Merge branch 'dev' into 7.x
darrellwarde Dec 16, 2024
c6b0076
address PR comments
MacondoExpress Dec 16, 2024
3b3c5eb
Merge pull request #5894 from MacondoExpress/fix-validation-rules-gen…
MacondoExpress Dec 16, 2024
aa29046
Fix `7.x` branch (#5896)
darrellwarde Dec 16, 2024
bb85d0e
feat: always create on connect
mjfwebb Dec 13, 2024
5a92f95
test: update existing tests so they create new relationships
mjfwebb Dec 13, 2024
5493b42
test: add interface connect test
mjfwebb Dec 16, 2024
cae8eb6
test: update tck snapshots
mjfwebb Dec 16, 2024
cdf1061
test: add union connect test
mjfwebb Dec 16, 2024
2f0d00c
docs: add changeset
mjfwebb Dec 16, 2024
7100755
test: update snapshot
mjfwebb Dec 16, 2024
6e3cf86
test: update test descriptions
mjfwebb Dec 16, 2024
0f594fd
Merge pull request #5892 from mjfwebb/7x-connect-always-creates-new-r…
mjfwebb Dec 16, 2024
5f6a064
add relationsipFilters in excludeDeprecatedFields
MacondoExpress Dec 16, 2024
94432a7
update schema tests
MacondoExpress Dec 16, 2024
c59f2fe
update tests for attributeFiltering deprecation, and refactor style
MacondoExpress Dec 16, 2024
917482b
Create quick-dolphins-accept.md
MacondoExpress Dec 16, 2024
4f3b068
Create nine-games-clap.md
MacondoExpress Dec 16, 2024
8b1db7c
Apply suggestions from code review
MacondoExpress Dec 17, 2024
cba1a71
update changeset
MacondoExpress Dec 17, 2024
89e4cc5
Merge pull request #5897 from MacondoExpress/deprecate-non-generic-fi…
MacondoExpress Dec 17, 2024
af08d97
Merge remote-tracking branch 'upstream/7.x' into generic-scalar-filters
MacondoExpress Dec 17, 2024
c60b60e
update tests
MacondoExpress Dec 17, 2024
537badc
remove ID aggregation filters, respect the filter settings while gene…
MacondoExpress Dec 17, 2024
a912404
remove aggregation for ID fields
MacondoExpress Dec 17, 2024
cdff769
Merge pull request #5898 from MacondoExpress/refinement-aggregation-a…
MacondoExpress Dec 18, 2024
c07741c
fix lint errors
MacondoExpress Dec 18, 2024
92c46b9
Merge branch 'generic-scalar-filters' of github.com:neo4j/graphql int…
MacondoExpress Dec 18, 2024
853e065
add tests coverage around cypher filtering, fixed invalid List filter…
MacondoExpress Dec 18, 2024
f0c4e3d
Enter `7.x` into prerelease state
darrellwarde Dec 18, 2024
07ea342
Merge pull request #5900 from darrellwarde/chore/7.x-prerelease
darrellwarde Dec 19, 2024
3d93a18
Implement query complexity estimation (#5880)
a-alle Dec 19, 2024
85a206c
Merge pull request #5895 from neo4j/873-early-fail-on-name-collisions
MacondoExpress Dec 19, 2024
7335d8f
Undirected mutation behaviour when `queryDirection` is `UNDIRECTED` (…
darrellwarde Dec 19, 2024
376d907
Fix flaky test (#5902)
darrellwarde Dec 19, 2024
ed611f5
Merge remote-tracking branch 'upstream/dev' into 7.x
darrellwarde Dec 20, 2024
6e58320
fix cypher filtering many to many as authorizaiton with cypher filter…
MacondoExpress Dec 20, 2024
312a956
change input type name for generic relationship filters, by doing thi…
MacondoExpress Dec 20, 2024
0016759
Revert "Merge pull request #5892 from mjfwebb/7x-connect-always-creat…
mjfwebb Dec 20, 2024
30651f0
fix: linting error because of unnecessary type assertion
mjfwebb Dec 20, 2024
a650bb0
Merge pull request #5908 from mjfwebb/7x-revert-create-always-on-connect
mjfwebb Dec 20, 2024
9faf0f8
Merge branch 'dev' into 7.x
darrellwarde Dec 20, 2024
1d4dbec
Version Packages (alpha)
neo4j-team-graphql Dec 20, 2024
e1da36b
Merge pull request #5714 from neo4j/changeset-release/7.x
MacondoExpress Dec 20, 2024
524e951
Merge pull request #5907 from MacondoExpress/cypher-check
MacondoExpress Jan 2, 2025
07f6369
Merge branch 'dev' into 7.x
darrellwarde Jan 2, 2025
d1935ae
rename typename_IN to typename
MacondoExpress Jan 2, 2025
669eb12
update tests to convert typename_IN usage to typename
MacondoExpress Jan 2, 2025
530d8cd
Create clever-tomatoes-float.md
MacondoExpress Jan 2, 2025
6d3bf45
batch generic filtering tests migration tck 1
MacondoExpress Jan 2, 2025
af9f2d9
batch generic filtering tests migration tck 2 /tck/aggregations
MacondoExpress Jan 2, 2025
c685dba
batch generic filtering tests migration tck 3 /tck/connections
MacondoExpress Jan 2, 2025
f1003e2
batch generic filtering tests migration tck 4 /tck/operations
MacondoExpress Jan 2, 2025
81bd6bb
batch generic filtering tests migration tck 5 /tck/types
MacondoExpress Jan 2, 2025
94854f2
batch generic filtering tests migration tck 6 /tck/directives/authori…
MacondoExpress Jan 2, 2025
1997f3c
batch generic filtering tests migration tck 7 /tck/directives
MacondoExpress Jan 2, 2025
7aa94c7
batch generic filtering tests migration tck 8 /tck/subscriptions
MacondoExpress Jan 3, 2025
8573e00
batch generic filtering tests migration tck 9 mixed files
MacondoExpress Jan 3, 2025
1e976ca
batch generic filtering tests migration tck 10 mixed files
MacondoExpress Jan 3, 2025
87584a8
batch generic filtering tests migration tck 11 relationship filters
MacondoExpress Jan 3, 2025
aa582dd
batch generic filtering tests migration tck 12 relationship filters
MacondoExpress Jan 3, 2025
d8f7392
batch generic filtering tests migration tck 13 mixed missings
MacondoExpress Jan 3, 2025
99e2cda
batch generic filtering tests migration tck 14 mixed missings
MacondoExpress Jan 3, 2025
9fb133e
Merge pull request #5927 from MacondoExpress/typename
MacondoExpress Jan 3, 2025
dd35154
Merge pull request #5928 from MacondoExpress/add-test-coverage
MacondoExpress Jan 3, 2025
45ba0d5
Merge branch '7.x' into generic-scalar-filters
MacondoExpress Jan 3, 2025
bea8d6b
fix generic input filters for interface with different implementation
MacondoExpress Jan 3, 2025
548a529
Merge pull request #5929 from MacondoExpress/fix-interface-filters
MacondoExpress Jan 3, 2025
4a1aa86
Merge pull request #5836 from neo4j/generic-scalar-filters
MacondoExpress Jan 3, 2025
e5eb021
Version Packages (alpha)
neo4j-team-graphql Jan 3, 2025
3c10304
Merge pull request #5930 from neo4j/changeset-release/7.x
angrykoala Jan 6, 2025
6baca05
Merge branch 'dev' into 7.x
MacondoExpress Jan 9, 2025
8bdcf6b
Revert "Revert "Merge pull request #5892 from mjfwebb/7x-connect-alwa…
mjfwebb Jan 9, 2025
24102ca
fix always connect bug
MacondoExpress Jan 9, 2025
f10a964
test: update snapshots
mjfwebb Jan 9, 2025
188a767
Merge pull request #5933 from neo4j/revert-5908-7x-revert-create-alwa…
mjfwebb Jan 9, 2025
dd9a640
refactor: remove list of relationships case
mjfwebb Jan 7, 2025
7f5828a
test: add tests
mjfwebb Jan 7, 2025
486b1fb
feat: add distinct with to ReadOperation
mjfwebb Jan 9, 2025
7f63de4
test: update snapshots
mjfwebb Jan 10, 2025
d48ea32
docs: add changeset
mjfwebb Jan 10, 2025
b70c30f
test: update tests
mjfwebb Jan 13, 2025
138a334
test: update test
mjfwebb Jan 13, 2025
b0d8882
Merge remote-tracking branch 'upstream/dev' into 7.x
MacondoExpress Jan 13, 2025
f8baf03
remove unused code for ID aggregations
MacondoExpress Jan 13, 2025
5ce7d1d
Fix for inconsistent timezone handling (#5931)
darrellwarde Jan 13, 2025
01425f6
Update packages/graphql/tests/integration/directives/relationship/dup…
mjfwebb Jan 14, 2025
1eaabbe
Merge pull request #5936 from mjfwebb/7/dedupe-simple-relationships
mjfwebb Jan 14, 2025
0fc0ab3
docs: update comments
mjfwebb Jan 14, 2025
de25d9c
Merge pull request #5939 from MacondoExpress/clean-up-7-aggregation
MacondoExpress Jan 15, 2025
398cc1c
Merge branch 'dev' into 7.x
darrellwarde Jan 22, 2025
664e66e
Merge branch 'dev' into 7.x
angrykoala Jan 23, 2025
b70abdd
Merge remote-tracking branch 'origin/dev' into 7.x
angrykoala Jan 24, 2025
6d76424
Version Packages (alpha)
neo4j-team-graphql Jan 24, 2025
1a802c0
Merge pull request #5935 from neo4j/changeset-release/7.x
angrykoala Jan 24, 2025
737c555
Merge branch 'dev' into 7.x
angrykoala Jan 24, 2025
7bc73c2
add initial validation rule to help user identify a missed @node dire…
MacondoExpress Jan 16, 2025
c5e0b58
remove directives that in some shape or form are available outside ty…
MacondoExpress Jan 16, 2025
c14459a
initial refactor of validation rules for directives
MacondoExpress Jan 21, 2025
a35b13b
migrate coalesce validation to new structure
MacondoExpress Jan 23, 2025
a6ddf29
add default validation rule
MacondoExpress Jan 24, 2025
aaae82e
add fulltext validation rule
MacondoExpress Jan 24, 2025
8fa43d7
add limit directive validation to list of rules
MacondoExpress Jan 24, 2025
9cb5a3e
clean-up unused files
MacondoExpress Jan 24, 2025
a44c640
fix timestamp directive validation rule
MacondoExpress Jan 24, 2025
d70ca01
fix populatedBy/Timestamp validation rule
MacondoExpress Jan 24, 2025
b58165d
remove previous populatedBy validation rule
MacondoExpress Jan 24, 2025
233c23a
clean-up the new validation rules structure
MacondoExpress Jan 27, 2025
33fc67f
refactor naming on the Neo4jValidationContext
MacondoExpress Jan 27, 2025
68033a0
add neo4j copyright header to new files
MacondoExpress Jan 27, 2025
72c9f91
remove unused comment
MacondoExpress Jan 28, 2025
6189890
Merge remote-tracking branch 'upstream/dev' into 7.x
MacondoExpress Jan 28, 2025
0f47f28
Merge branch 'dev' into 7.x
angrykoala Jan 28, 2025
7ddde75
Set cypherVersionPrefix default value to true
angrykoala Jan 29, 2025
a3a6129
Update execute unit tests
angrykoala Jan 29, 2025
bc11e95
apply suggestion from PR
MacondoExpress Jan 29, 2025
4ccb9c2
resolve PR comments
MacondoExpress Jan 29, 2025
0f5e618
apply PR suggestions
MacondoExpress Jan 29, 2025
d260966
add license header
MacondoExpress Jan 29, 2025
b1698b8
Merge pull request #5963 from MacondoExpress/validation-refactor
MacondoExpress Jan 29, 2025
a716ef8
Remove method publish from subscription engines
angrykoala Feb 10, 2025
bfea7ef
Merge pull request #5997 from neo4j/remove-engine-publish
angrykoala Feb 11, 2025
d3fa604
Merge pull request #5976 from neo4j/set-default-cypherVersionPrefix
angrykoala Feb 11, 2025
48aec51
Merge pull request #6007 from neo4j/darrellwarde/transaction-metadata…
darrellwarde Feb 17, 2025
c7b02be
Merge remote-tracking branch 'origin/dev' into 7.x
angrykoala Feb 18, 2025
362f87e
Version Packages (alpha)
neo4j-team-graphql Feb 18, 2025
756ef0f
Merge pull request #5980 from neo4j/changeset-release/7.x
darrellwarde Feb 19, 2025
40ab466
Merge branch 'dev' into 7.x
MacondoExpress Feb 24, 2025
a869730
Merge branch 'dev' into 7.x
angrykoala Feb 24, 2025
aaa1009
add fix on future date also on deprecated files
MacondoExpress Feb 24, 2025
c3bed9c
Merge branch '7.x' of github.com:neo4j/graphql into 7.x
MacondoExpress Feb 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/beige-poets-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@neo4j/graphql": major
---

Nested mutation operations now follow the relationship direction behaviour as defined in `queryDirection`
5 changes: 5 additions & 0 deletions .changeset/calm-balloons-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@neo4j/graphql": major
---

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`
5 changes: 5 additions & 0 deletions .changeset/chatty-plants-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@neo4j/graphql": major
---

Remove `@private` directive. This directive was intended to be used with the library `@neo4j/graphql-ogm` which is no longer supported.
15 changes: 15 additions & 0 deletions .changeset/clean-hairs-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@neo4j/graphql": major
---

Fails schema generation if there are conflicting plural names in types. For example, the following schema will fail, due to ambiguous `Techs` plural

```graphql
type Tech @node(plural: "Techs") {
name: String
}

type Techs {
value: String
}
```
5 changes: 5 additions & 0 deletions .changeset/clever-tomatoes-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@neo4j/graphql": major
---

The `typename_IN` filter has been renamed to `typename`.
5 changes: 5 additions & 0 deletions .changeset/cyan-grapes-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@neo4j/graphql": major
---

Remove support for `connectOrCreate` operations
5 changes: 5 additions & 0 deletions .changeset/fair-elephants-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@neo4j/graphql": major
---

Aggregations are no longer generated for `ID` fields.
7 changes: 7 additions & 0 deletions .changeset/few-sloths-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@neo4j/graphql": major
---

Changes the result projection where there are multiple relationships between two nodes.

In the case of using the connection API then multiple relationships will still be represented, as there is the ability to select the relationship properties. In the non-connection API case, the duplicate results will only return distinct results.
15 changes: 15 additions & 0 deletions .changeset/four-insects-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@neo4j/graphql": patch
---

Deprecate individual mutations in favor of generic mutations

- `_SET`
- `_POP`
- `_PUSH`
- `_INCREMENT`
- `_ADD`
- `_DECREMENT`
- `_SUBTRACT`
- `_MULTIPLY`
- `_DIVIDE`
5 changes: 5 additions & 0 deletions .changeset/good-sheep-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@neo4j/graphql": major
---

`DateTime` and `Time` values are now converted from strings into temporal types in the generated Cypher instead of in server code using the driver. This could result in different values when the database is in a different timezone to the GraphQL server.
16 changes: 16 additions & 0 deletions .changeset/green-jobs-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
"@neo4j/graphql": minor
---

Add suport for generic update operators:

```graphql
mutation {
updateMovies(update: { name: { set: "The Matrix" } }) {
movies {
id
name
}
}
}
```
7 changes: 7 additions & 0 deletions .changeset/healthy-swans-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@neo4j/graphql": major
---

The deprecated `directed` argument has been removed, and `queryDirection` now only accepts two possible values - `DIRECTED` (default) and `UNDIRECTED`.

Additionally, the `directedArgument` setting of `excludeDeprecatedFields` has been removed as these deprecated fields have been removed.
31 changes: 31 additions & 0 deletions .changeset/khaki-roses-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
"@neo4j/graphql": patch
---

Deprecates old aggregation filters for relationships in favor of more generic filters:

Before:

```js
query Movies {
movies(
where: { actorsAggregate: { node: { lastRating_AVERAGE_GT: 6 } } }
) {
title
}
}
```

Now:

```js
query Movies {
movies(
where: {
actorsAggregate: { node: { lastRating: { average: { gt: 6 } } } }
}
) {
title
}
}
```
34 changes: 34 additions & 0 deletions .changeset/kind-clocks-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
"@neo4j/graphql": major
---

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
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:

```js
{
cypherQueryOptions: {
addVersionPrefix: true,
},
}
```

For example, for an apollo server:

```js
await startStandaloneServer(server, {
context: async ({ req }) => ({
req,
cypherQueryOptions: {
addVersionPrefix: false,
},
}),
listen: { port: 4000 },
});
```
38 changes: 38 additions & 0 deletions .changeset/little-lemons-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
"@neo4j/graphql": major
---

Single element relationships have been removed in favor of list relationships:

Before

```graphql
type Movie {
director: Person @relationship(type: "DIRECTED", direction: "IN")
}
```

After

```graphql
type Movie {
director: [Person!]! @relationship(type: "DIRECTED", direction: "IN")
}
```

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:

```graphql
type Movie {
director: Person
@cypher(
statement: """
MATCH(this)-[:ACTED_IN]->(p:Person)
RETURN p
"""
columnName: "p"
)
}
```
69 changes: 69 additions & 0 deletions .changeset/loud-phones-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
"@neo4j/graphql": major
---

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.

```graphql
input FulltextInput {
indexName: String!
queryName: String!
fields: [String]!
}

"""
Informs @neo4j/graphql that there should be a fulltext index in the database, allows users to search by the index in the generated schema.
"""
directive @fulltext(indexes: [FulltextInput]!) on OBJECT
```

Here is an example of how this might be used:

```graphql
type Movie @node @fulltext(indexName: "movieTitleIndex", queryName: "moviesByTitle", fields: ["title"]) {
title: String!
}
```

Full-text search was previously available in two different locations.

The following form has now been completely removed:

```graphql
# Removed
{
movies(fulltext: { movieTitleIndex: { phrase: "The Matrix" } }) {
title
}
}
```

The following form as a root-level query has been changed:

```graphql
# Old query
query {
moviesByTitle(phrase: "The Matrix") {
score
movies {
title
}
}
}

# New query
query {
moviesByTitle(phrase: "The Matrix") {
edges {
score
node {
title
}
}
}
}
```

The new form is as a Relay connection, which allows for pagination using cursors and access to the `pageInfo` field.
6 changes: 6 additions & 0 deletions .changeset/nine-games-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@neo4j/graphql": patch
---

Deprecate relationship filtering using the non-generic version such as `actors_SOME: { title_EQ: "The Matrix" }` in favor of the generic input `actors: { some: { title: { eq: "The Matrix" } } }`.
The setting `excludeDeprecatedFields` now contains the option `relationshipFilters` to remove these deprecated filters.
6 changes: 6 additions & 0 deletions .changeset/perfect-zoos-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@neo4j/graphql": major
---

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.
45 changes: 45 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"mode": "pre",
"tag": "alpha",
"initialVersions": {
"apollo-federation-subgraph-compatibility": "1.0.0",
"@neo4j/graphql": "6.2.1",
"server_perf": "1.0.0",
"@neo4j/introspector": "4.0.0",
"@neo4j/package-tests": "1.0.0"
},
"changesets": [
"beige-poets-move",
"calm-balloons-argue",
"chatty-plants-dress",
"clean-hairs-pretend",
"clever-tomatoes-float",
"cyan-grapes-laugh",
"fair-elephants-yell",
"few-sloths-battle",
"four-insects-repeat",
"good-sheep-refuse",
"green-jobs-jam",
"healthy-swans-shave",
"khaki-roses-raise",
"kind-clocks-tickle",
"little-lemons-fail",
"loud-phones-march",
"nine-games-clap",
"perfect-zoos-push",
"quick-dolphins-accept",
"red-cows-shop",
"short-pillows-itch",
"silly-toys-sing",
"six-bottles-hear",
"sixty-clocks-design",
"slow-dolls-whisper",
"soft-planets-exercise",
"strong-jobs-eat",
"tame-melons-confess",
"ten-starfishes-attend",
"thick-dogs-provide",
"two-boxes-cheer",
"unlucky-spoons-trade"
]
}
6 changes: 6 additions & 0 deletions .changeset/quick-dolphins-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@neo4j/graphql": patch
---

Deprecate attribute filtering using the non-generic version such as `title_EQ: "The Matrix"` in favor of the generic input `title: { eq: "The Matrix" }`.
The setting `excludeDeprecatedFields` now contains the option `attributeFilters` to remove these deprecated filters.
23 changes: 23 additions & 0 deletions .changeset/red-cows-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
"@neo4j/graphql": major
---

Implicit filtering fields have been removed, please use the explicit versions:

```graphql
# Old syntax
{
movies(where: { title: "The Matrix" }) {
title
}
}

# New syntax
{
movies(where: { title_EQ: "The Matrix" }) {
title
}
}
```

The `implicitEqualFilters` option of `excludeDeprecatedFields` has been removed.
5 changes: 5 additions & 0 deletions .changeset/short-pillows-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@neo4j/graphql": major
---

Remove support for `@unique` directive
13 changes: 13 additions & 0 deletions .changeset/silly-toys-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@neo4j/graphql": patch
---

Add generic filters for aggregations:

```graphql
{
posts(where: { likesAggregate: { node: { rating: { average: { eq: 3.2 } } } } }) {
title
}
}
```
Loading
Loading