Skip to content

Commit 21de1bc

Browse files
authored
Merge branch 'cypher-25' into imagesrefresh
2 parents 049709a + 25fbcab commit 21de1bc

File tree

105 files changed

+4442
-3359
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+4442
-3359
lines changed

.backportrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"repoOwner": "Neo4j",
3+
"repoName": "docs-cypher",
4+
"prTitle": "[Cherry-pick][{{targetBranch}}] {{commitMessages}}"
5+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: auto-cherry-pick
2+
on:
3+
pull_request_target:
4+
types: ["closed"]
5+
6+
jobs:
7+
backport:
8+
name: Cherry-pick PR
9+
runs-on: [ubuntu-latest]
10+
if: |
11+
github.event.pull_request.merged == true
12+
&& contains(github.event.pull_request.labels.*.name, 'cherry-pick')
13+
&& github.event.action == 'closed'
14+
steps:
15+
- name: Cherry-pick action
16+
uses: sorenlouv/backport-github-action@929f69d04adbc196d982e60f02837b6cc00b3129
17+
with:
18+
github_token: ${{ secrets.GITHUB_TOKEN }}
19+
auto_backport_label_prefix: cherry-pick-to-
20+
add_original_reviewers: false
21+
22+
- name: Info log
23+
if: ${{ success() }}
24+
run: cat ~/.backport/backport.info.log
25+
26+
- name: Debug log
27+
if: ${{ failure() }}
28+
run: cat ~/.backport/backport.debug.log

README.adoc

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,37 @@ There are a few edge cases where we might want to work only on the current branc
7878
* When a new version is ready to published, the `cypher-25` branch will get a git tag, named with the exact version (for example, **2025.01.00**), signifying that this point-in-time marks the completion of the work for that minor release.
7979
* Updates merged into the `dev` branch for the next release are cherry-picked into the `cypher-25` branch.
8080

81+
82+
=== Enable automatic cherry-picking on a PR
83+
84+
To enable automatic cherry-picking on a PR, add the label `cherry-pick` to it.
85+
Without it, the responsible GitHub action is not going to be triggered.
86+
87+
To select the target branches you would like to cherry-pick your PR to, add labels of the following structure: `cherry-pick-to-<targetBranch>`.
88+
For example: `cherry-pick-to-cypher-25` to cherry-pick it to the branch `cypher-25` or `cherry-pick-to-5.x` for the branch `5.x`.
89+
You may even add new labels for branches that do not have such a label yet.
90+
91+
The feature is triggered by either merging a PR with the `cherry-pick` label or by adding the `cherry-pick` label to an already closed and merged PR.
92+
In the latter case, ensure that you first add the labels containing the target branches and then finally the `cherry-pick` label.
93+
Otherwise the automation starts without any target branches.
94+
95+
96+
==== Details
97+
98+
The PRs created by this GitHub action will have their heading prefixed with `[Cherry-pick][<targetBranch>]`.
99+
So, for example, for `6.x` as the target branch and `some changes` as the original PR heading, it results in `[Cherry-pick][6.x] some changes` as the heading for the cherry-picked PR.
100+
In case an assignee was set for the original PR, the cherry-picked PRs will also receive the same assignee.
101+
You must add reviewers manually after the cherry-picked PRs have been created.
102+
103+
The creation of cherry-picked PRs can take a few minutes.
104+
If you are an assignee of the original PR, you receive an email notification once the cherry-picked PRs have been created.
105+
The original PR is updated with a comment that contains links to the newly created cherry-picked PRs.
106+
107+
In case of a merge conflict while cherry-picking to a specific release branch, the branch will be skipped. Information on skipped branches is also included in the comment added to the original PR.
108+
In that case you will have to take care of cherry-picking manually and resolve the conflicts.
109+
This is not going to influence the other release branches as long as they do not have conflicts.
110+
111+
81112
[[documenting-changes]]
82113
== Documenting changes to Cypher
83114

@@ -117,3 +148,4 @@ When documenting a new Cypher feature, its relationship with GQL must be conside
117148
* If the feature is part of GQL's optional features, it should be recorded on the page xref:modules/ROOT/pages/appendix/gql-conformance/supported-optional.adoc[Supported optional GQL features].
118149
* if the feature adds functionality for which there exists an analogous, optional GQL feature, it should be recorded on the page xref:modules/ROOT/pages/appendix/gql-conformance/analogous-cypher.adoc[Optional GQL features and analogous Cypher].
119150
* If the feature adds functionality for which there exists no GQL equivalent, it should be recorded on the page xref:modules/ROOT/pages/appendix/gql-conformance/additional-cypher.adoc[Additional Cypher features].
151+

antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ nav:
66
- modules/ROOT/content-nav.adoc
77
asciidoc:
88
attributes:
9-
neo4j-version: '2025.03'
9+
neo4j-version: '2025.06'

modules/ROOT/content-nav.adoc

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
** xref:clauses/filter.adoc[]
1919
** xref:clauses/finish.adoc[]
2020
** xref:clauses/foreach.adoc[]
21+
** xref:clauses/let.adoc[]
2122
** xref:clauses/limit.adoc[]
2223
** xref:clauses/load-csv.adoc[]
2324
** xref:clauses/match.adoc[]
@@ -54,24 +55,31 @@
5455
** xref:patterns/reference.adoc[]
5556
5657
* xref:values-and-types/index.adoc[]
57-
** xref:values-and-types/property-structural-constructed.adoc[]
58-
** xref:values-and-types/temporal.adoc[]
59-
** xref:values-and-types/spatial.adoc[]
60-
** xref:values-and-types/working-with-null.adoc[]
61-
** xref:values-and-types/lists.adoc[]
62-
** xref:values-and-types/maps.adoc[]
63-
** xref:values-and-types/casting-data.adoc[]
58+
** xref::values-and-types/property-structural-constructed.adoc[]
59+
** xref:values-and-types/boolean-numeric-string.adoc[]
60+
** xref::values-and-types/temporal.adoc[]
61+
** xref::values-and-types/spatial.adoc[]
62+
** xref::values-and-types/lists.adoc[]
63+
** xref::values-and-types/maps.adoc[]
64+
** xref:values-and-types/graph-references.adoc[]
65+
** xref::values-and-types/working-with-null.adoc[]
66+
** xref::values-and-types/casting-data.adoc[]
6467
** xref:values-and-types/ordering-equality-comparison.adoc[]
6568
6669
* xref:expressions/index.adoc[]
67-
** xref:expressions/expressions-overview.adoc[]
6870
** xref:expressions/predicates/index.adoc[]
6971
*** xref:expressions/predicates/boolean-operators.adoc[]
7072
*** xref:expressions/predicates/comparison-operators.adoc[]
7173
*** xref:expressions/predicates/list-operators.adoc[]
7274
*** xref:expressions/predicates/string-operators.adoc[]
7375
*** xref:expressions/predicates/path-pattern-expressions.adoc[]
7476
*** xref:expressions/predicates/type-predicate-expressions.adoc[]
77+
** xref:expressions/node-relationship-operators.adoc[]
78+
** xref:expressions/mathematical-operators.adoc[]
79+
** xref:expressions/string-operators.adoc[]
80+
** xref:expressions/temporal-operators.adoc[]
81+
** xref:expressions/list-expressions.adoc[]
82+
** xref:expressions/map-expressions.adoc[]
7583
** xref:expressions/conditional-expressions.adoc[]
7684
7785
* xref:functions/index.adoc[]
@@ -128,7 +136,6 @@
128136
** xref:syntax/variables.adoc[]
129137
** xref:syntax/keywords.adoc[]
130138
** xref:syntax/parameters.adoc[]
131-
** xref:syntax/operators.adoc[]
132139
** xref:syntax/comments.adoc[]
133140
134141
* xref:deprecations-additions-removals-compatibility.adoc[]
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)