From 7004a8ef0535f87da31a7cfaef1d65148f832cca Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Wed, 5 Feb 2025 13:43:05 +0000 Subject: [PATCH 1/9] bump version to 2025.02 (#248) --- antora.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/antora.yml b/antora.yml index f421dcb..3dd9b86 100644 --- a/antora.yml +++ b/antora.yml @@ -6,9 +6,9 @@ nav: - modules/ROOT/content-nav.adoc asciidoc: attributes: - neo4j-version: '2025.01' - neo4j-version-exact: '2025.01.0' - neo4j-buildnumber: '2025.01' + neo4j-version: '2025.02' + neo4j-version-exact: '2025.02.0' + neo4j-buildnumber: '2025.02' java-driver-version: '5.27' neo4j-documentation-branch: 'dev' page-origin-private: false From 42a163bce24d140ccb40f9e7ff1fedc8efe4cab4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 17:31:36 +0000 Subject: [PATCH 2/9] Bump @neo4j-antora/antora-modify-sitemaps in the prod-dependencies group (#249) Bumps the prod-dependencies group with 1 update: @neo4j-antora/antora-modify-sitemaps. Updates `@neo4j-antora/antora-modify-sitemaps` from 0.6.1 to 0.7.0 --- updated-dependencies: - dependency-name: "@neo4j-antora/antora-modify-sitemaps" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: prod-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f0bb961..1a4bf63 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "antora": "^3.1.10", "@neo4j-antora/antora-add-notes": "^0.3.1", "@neo4j-antora/antora-listing-roles": "^0.1.0", - "@neo4j-antora/antora-modify-sitemaps": "^0.6.0", + "@neo4j-antora/antora-modify-sitemaps": "^0.7.0", "@neo4j-antora/antora-table-footnotes": "^0.3.2", "@neo4j-antora/selector-labels": "^0.1.1", "@neo4j-documentation/macros": "^1.0.2", From f9f20001c5eb98ad7069c09123d62b75f883187b Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Thu, 27 Feb 2025 18:00:34 +0000 Subject: [PATCH 3/9] Update dev version to 2025.03 (#252) --- antora.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/antora.yml b/antora.yml index 3dd9b86..a6cfaeb 100644 --- a/antora.yml +++ b/antora.yml @@ -6,9 +6,9 @@ nav: - modules/ROOT/content-nav.adoc asciidoc: attributes: - neo4j-version: '2025.02' - neo4j-version-exact: '2025.02.0' - neo4j-buildnumber: '2025.02' + neo4j-version: '2025.03' + neo4j-version-exact: '2025.03.0' + neo4j-buildnumber: '2025.03' java-driver-version: '5.27' neo4j-documentation-branch: 'dev' page-origin-private: false From 00efb64f61d6bd1f644f952df4a77cfbc79902f5 Mon Sep 17 00:00:00 2001 From: Neil Dewhurst Date: Fri, 28 Feb 2025 09:40:40 +0000 Subject: [PATCH 4/9] Update version in antora.yml to 2025.03 (#254) --- antora.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antora.yml b/antora.yml index a6cfaeb..aa229a5 100644 --- a/antora.yml +++ b/antora.yml @@ -1,6 +1,6 @@ name: java-reference title: Java Reference -version: '2025.01' +version: '2025.03' start_page: ROOT:index.adoc nav: - modules/ROOT/content-nav.adoc From dd72fcf6905b18c6a3c968f08d31c1b06fd124a4 Mon Sep 17 00:00:00 2001 From: NataliaIvakina <82437520+NataliaIvakina@users.noreply.github.com> Date: Wed, 12 Mar 2025 13:27:52 +0100 Subject: [PATCH 5/9] Update Java driver version to 5.28.3 (#258) --- antora.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antora.yml b/antora.yml index aa229a5..9b1fca4 100644 --- a/antora.yml +++ b/antora.yml @@ -9,7 +9,7 @@ asciidoc: neo4j-version: '2025.03' neo4j-version-exact: '2025.03.0' neo4j-buildnumber: '2025.03' - java-driver-version: '5.27' + java-driver-version: '5.28.3' neo4j-documentation-branch: 'dev' page-origin-private: false neo4j-javadocs-base-uri: "https://neo4j.com/docs/java-reference/5/javadocs" From 6910e99ed9dd99c8f12deb4511d6922f08dbf32c Mon Sep 17 00:00:00 2001 From: Neil Dewhurst Date: Fri, 14 Mar 2025 13:39:16 +0000 Subject: [PATCH 6/9] Packages workflows refine (#261) * update workflow to 1.2.0 * update packages --- .github/workflows/docs-pr-checks.yml | 6 +++--- package.json | 11 +++++------ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docs-pr-checks.yml b/.github/workflows/docs-pr-checks.yml index 7c85c7c..a896369 100644 --- a/.github/workflows/docs-pr-checks.yml +++ b/.github/workflows/docs-pr-checks.yml @@ -13,7 +13,7 @@ jobs: # Generate HTML docs-build-pr: - uses: neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@v1.1.2 + uses: neo4j/docs-tools/.github/workflows/reusable-docs-build.yml@v1.2.0 with: deploy-id: ${{ github.event.number }} retain-artifacts: 14 @@ -23,7 +23,7 @@ jobs: # By default, the job fails if there are errors, passes if there are warnings only. docs-verify-pr: needs: docs-build-pr - uses: neo4j/docs-tools/.github/workflows/reusable-docs-verify.yml@v1.1.2 + uses: neo4j/docs-tools/.github/workflows/reusable-docs-verify.yml@v1.2.0 with: failOnWarnings: true @@ -55,7 +55,7 @@ jobs: docs-updates-comment-pr: if: needs.docs-build-pr.outputs.pages-listed == 'success' needs: [docs-build-pr, docs-changes-pr] - uses: neo4j/docs-tools/.github/workflows/reusable-docs-pr-changes.yml@v1.1.2 + uses: neo4j/docs-tools/.github/workflows/reusable-docs-pr-changes.yml@v1.2.0 with: pages-modified: ${{ needs.docs-changes-pr.outputs.pages-modified }} pages-added: ${{ needs.docs-changes-pr.outputs.pages-added }} diff --git a/package.json b/package.json index 1a4bf63..2222a84 100644 --- a/package.json +++ b/package.json @@ -23,14 +23,13 @@ }, "homepage": "https://github.com/neo4j/docs-java-reference#readme", "dependencies": { - "antora": "^3.1.10", - "@neo4j-antora/antora-add-notes": "^0.3.1", + "@neo4j-antora/antora-add-notes": "^0.3.2", "@neo4j-antora/antora-listing-roles": "^0.1.0", - "@neo4j-antora/antora-modify-sitemaps": "^0.7.0", - "@neo4j-antora/antora-table-footnotes": "^0.3.2", + "@neo4j-antora/antora-table-footnotes": "^0.3.3", "@neo4j-antora/selector-labels": "^0.1.1", - "@neo4j-documentation/macros": "^1.0.2", - "@neo4j-documentation/remote-include": "^1.0.0" + "@neo4j-documentation/macros": "^1.0.4", + "@neo4j-documentation/remote-include": "^1.0.0", + "antora": "^3.1.10" }, "devDependencies": { "express": "^5.0.1", From aac58bbfb1cdfec336ce7974eb52c045163b88b6 Mon Sep 17 00:00:00 2001 From: NataliaIvakina <82437520+NataliaIvakina@users.noreply.github.com> Date: Thu, 20 Mar 2025 15:29:22 +0100 Subject: [PATCH 7/9] Replace `page-version` with `current` in links (#260) * Replace `page-version` with `current` in links * Put back `page-version` for the Ops manual and fix links on locks/deadlocks * Update modules/ROOT/pages/java-embedded/unique-nodes.adoc * Update modules/ROOT/pages/extending-neo4j/unmanaged-extensions.adoc --- modules/ROOT/pages/extending-neo4j/customized-code.adoc | 4 ++-- modules/ROOT/pages/extending-neo4j/procedures.adoc | 2 +- modules/ROOT/pages/extending-neo4j/unmanaged-extensions.adoc | 2 +- modules/ROOT/pages/extending-neo4j/values-and-types.adoc | 2 +- modules/ROOT/pages/java-embedded/cypher-java.adoc | 4 ++-- modules/ROOT/pages/java-embedded/indexes.adoc | 4 ++-- modules/ROOT/pages/java-embedded/property-values.adoc | 2 +- modules/ROOT/pages/java-embedded/query-parameters.adoc | 2 +- modules/ROOT/pages/java-embedded/unique-nodes.adoc | 2 +- modules/ROOT/pages/transaction-management.adoc | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/modules/ROOT/pages/extending-neo4j/customized-code.adoc b/modules/ROOT/pages/extending-neo4j/customized-code.adoc index 184dccf..c4b44c5 100644 --- a/modules/ROOT/pages/extending-neo4j/customized-code.adoc +++ b/modules/ROOT/pages/extending-neo4j/customized-code.adoc @@ -53,9 +53,9 @@ In addition, procedures can perform write operations on the database. Neo4j also comes bundled with a number of _built-in_ procedures and functions. -The available built-in procedures vary depending on edition and mode, as described in link:{neo4j-docs-base-uri}/operations-manual/{page-version}/reference/procedures[Operations Manual -> Procedures]. +The available built-in procedures vary depending on edition and mode, as described in link:{neo4j-docs-base-uri}/operations-manual/{page-version}/procedures[Operations Manual -> Procedures]. Running `SHOW PROCEDURES` displays the full list of procedures available in your Neo4j DBMS, including user-defined procedures. -The built-in functions are described in link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/functions[Cypher Manual -> Functions]. +The built-in functions are described in link:{neo4j-docs-base-uri}/cypher-manual/current/functions[Cypher Manual -> Functions]. Running `SHOW FUNCTIONS` displays the full list of all the functions available in your Neo4j DBMS, including user-defined functions. diff --git a/modules/ROOT/pages/extending-neo4j/procedures.adoc b/modules/ROOT/pages/extending-neo4j/procedures.adoc index 22b8a62..2d61214 100644 --- a/modules/ROOT/pages/extending-neo4j/procedures.adoc +++ b/modules/ROOT/pages/extending-neo4j/procedures.adoc @@ -28,7 +28,7 @@ CALL org.neo4j.examples.findDenseNodes(1000) `CALL` may be the only clause within a Cypher statement or may be combined with other clauses. Arguments can be supplied directly within the query or taken from the associated parameter set. -For full details, see the documentation in link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/clauses/call[Cypher Manual -> `CALL` procedure]. +For full details, see the documentation in link:{neo4j-docs-base-uri}/cypher-manual/current/clauses/call[Cypher Manual -> `CALL` procedure]. [[user-defined-procedures]] diff --git a/modules/ROOT/pages/extending-neo4j/unmanaged-extensions.adoc b/modules/ROOT/pages/extending-neo4j/unmanaged-extensions.adoc index fda9117..61a2920 100644 --- a/modules/ROOT/pages/extending-neo4j/unmanaged-extensions.adoc +++ b/modules/ROOT/pages/extending-neo4j/unmanaged-extensions.adoc @@ -102,7 +102,7 @@ When writing unmanaged extensions, you have greater control over the amount of m If you keep too much state around, it can lead to more frequent full Garbage Collection and subsequent unresponsiveness by the Neo4j server. A common way that state can increase, is the creation of JSON objects to represent the result of a query, which is then sent back to your application. -Neo4j's Transactional Cypher HTTP endpoint (see link:{neo4j-docs-base-uri}/http-api/{page-version}/actions[HTTP API Docs -> transactional Cypher endpoint]) streams responses back to the client. +Neo4j's HTTP endpoint (see link:{neo4j-docs-base-uri}/http-api/current/transactions[HTTP API Docs -> Run transactions]) streams responses back to the client. For example, the following unmanaged extension streams an array of a person's colleagues: //https://github.com/neo4j/neo4j-documentation/blob/dev/server-examples/src/main/java/org/neo4j/examples/server/unmanaged/ColleaguesResource.java diff --git a/modules/ROOT/pages/extending-neo4j/values-and-types.adoc b/modules/ROOT/pages/extending-neo4j/values-and-types.adoc index 2a2abea..7a2bf04 100644 --- a/modules/ROOT/pages/extending-neo4j/values-and-types.adoc +++ b/modules/ROOT/pages/extending-neo4j/values-and-types.adoc @@ -6,7 +6,7 @@ [[extending-neo4j-procedures-and-functions-values-and-types]] = Values and types -The _input_ and _output_ to and from a procedure or a function must be one of the supported types, as described in link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/values-and-types/[Cypher Manual -> Values and types]. +The _input_ and _output_ to and from a procedure or a function must be one of the supported types, as described in link:{neo4j-docs-base-uri}/cypher-manual/current/values-and-types/[Cypher Manual -> Values and types]. Composite types are supported via: diff --git a/modules/ROOT/pages/java-embedded/cypher-java.adoc b/modules/ROOT/pages/java-embedded/cypher-java.adoc index 2433c8d..e832ad8 100644 --- a/modules/ROOT/pages/java-embedded/cypher-java.adoc +++ b/modules/ROOT/pages/java-embedded/cypher-java.adoc @@ -4,7 +4,7 @@ [[cypher-java]] = Cypher queries -In Java, you can use the link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/[Cypher query language] as per the example below. +In Java, you can use the link:{neo4j-docs-base-uri}/cypher-manual/current/[Cypher query language] as per the example below. [TIP] ==== @@ -118,5 +118,5 @@ You should instead use only one and if you need the facilities of the other meth For more information on the Java interface to Cypher, see the link:{neo4j-javadocs-base-uri}/index.html[Neo4j Javadocs^]. -For more information and examples for Cypher, see link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/[Neo4j Cypher Manual]. +For more information and examples for Cypher, see link:{neo4j-docs-base-uri}/cypher-manual/current/[Neo4j Cypher Manual]. diff --git a/modules/ROOT/pages/java-embedded/indexes.adoc b/modules/ROOT/pages/java-embedded/indexes.adoc index 8a94fb3..94e204e 100644 --- a/modules/ROOT/pages/java-embedded/indexes.adoc +++ b/modules/ROOT/pages/java-embedded/indexes.adoc @@ -4,10 +4,10 @@ [[java-embedded-new-index]] = Using indexes -It is possible to create and use all the index types described in link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/indexes-for-search-performance[Cypher Manual -> Indexes]. +It is possible to create and use all the index types described in link:{neo4j-docs-base-uri}/cypher-manual/current/indexes-for-search-performance[Cypher Manual -> Indexes]. This section demonstrates how to work with indexes with an example of a user database. -For information about how to create an index on all `User` nodes that have a `username` property, see link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/indexes-for-search-performance#administration-indexes-create-a-single-property-index-for-nodes[Cypher Manual -> Create a single-property index for nodes]. +For information about how to create an index on all `User` nodes that have a `username` property, see link:{neo4j-docs-base-uri}/cypher-manual/current/indexes-for-search-performance#administration-indexes-create-a-single-property-index-for-nodes[Cypher Manual -> Create a single-property index for nodes]. [TIP] ==== diff --git a/modules/ROOT/pages/java-embedded/property-values.adoc b/modules/ROOT/pages/java-embedded/property-values.adoc index 10a27bc..6e58784 100644 --- a/modules/ROOT/pages/java-embedded/property-values.adoc +++ b/modules/ROOT/pages/java-embedded/property-values.adoc @@ -54,6 +54,6 @@ If these objects are returned from procedures, the original types cannot be recr [NOTE] ==== Strings that contain special characters can have inconsistent or non-deterministic ordering in Neo4j. -For details, see link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/syntax/values#property-types-sip-note[Cypher Manual -> Sorting of special characters]. +For details, see link:{neo4j-docs-base-uri}/cypher-manual/current/syntax/values#property-types-sip-note[Cypher Manual -> Sorting of special characters]. ==== diff --git a/modules/ROOT/pages/java-embedded/query-parameters.adoc b/modules/ROOT/pages/java-embedded/query-parameters.adoc index 179495a..4283283 100644 --- a/modules/ROOT/pages/java-embedded/query-parameters.adoc +++ b/modules/ROOT/pages/java-embedded/query-parameters.adoc @@ -6,7 +6,7 @@ The following examples illustrate how to use parameters when executing Cypher queries from Java. -For more information on parameters, see the link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/[Neo4j Cypher Manual]. +For more information on parameters, see the link:{neo4j-docs-base-uri}/cypher-manual/current/[Neo4j Cypher Manual]. //https://github.com/neo4j/neo4j-documentation/blob/dev/cypher/cypher-docs/src/test/java/org/neo4j/cypher/example/JavaExecutionEngineDocTest.java diff --git a/modules/ROOT/pages/java-embedded/unique-nodes.adoc b/modules/ROOT/pages/java-embedded/unique-nodes.adoc index 4ee6c13..a4a0cff 100644 --- a/modules/ROOT/pages/java-embedded/unique-nodes.adoc +++ b/modules/ROOT/pages/java-embedded/unique-nodes.adoc @@ -82,5 +82,5 @@ You might also be tempted to use Java synchronization for pessimistic locking, b By mixing locks in Neo4j and the Java runtime, it is possible to produce deadlocks that are not detectable by Neo4j. As long as all locking is done by Neo4j, all deadlocks will be detected and avoided. -For more information on locks and deadlocks, see link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-internals/locks-deadlocks.adoc#_locks[Operations Manual -> Locks and deadlocks^]. +For more information on locks and deadlocks, see link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-internals/concurrent-data-access/#_locks[Operations Manual -> Locks and deadlocks^]. diff --git a/modules/ROOT/pages/transaction-management.adoc b/modules/ROOT/pages/transaction-management.adoc index b414bc5..3acfb24 100644 --- a/modules/ROOT/pages/transaction-management.adoc +++ b/modules/ROOT/pages/transaction-management.adoc @@ -31,7 +31,7 @@ The interaction cycle of working with transactions follows the steps: [NOTE] ==== It is crucial to finish each transaction because the locks or memory acquired by a transaction are only released upon completion. -For more information on locks and deadlocks, see link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-internals/locks-deadlocks[Operations Manual -> Locks and deadlocks^]. +For more information on locks and deadlocks, see link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-internals/concurrent-data-access/#_locks[Operations Manual -> Locks and deadlocks^]. ==== The idiomatic use of transactions in Neo4j is to use a `try-with-resources` statement and declare `transaction` as one of the resources. From 92d0cc196e9841e3795263c35975e9bd3dcb71df Mon Sep 17 00:00:00 2001 From: Neil Dewhurst Date: Fri, 21 Mar 2025 16:19:29 +0000 Subject: [PATCH 8/9] Update docs-pr-checks.yml (#263) --- .github/workflows/docs-pr-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-pr-checks.yml b/.github/workflows/docs-pr-checks.yml index a896369..1e0d4b0 100644 --- a/.github/workflows/docs-pr-checks.yml +++ b/.github/workflows/docs-pr-checks.yml @@ -40,7 +40,7 @@ jobs: steps: - name: Get file changes id: get-file-changes - uses: tj-actions/changed-files@cbda684547adc8c052d50711417fa61b428a9f88 # v41.1.2 + uses: tj-actions/changed-files@2f7c5bfce28377bc069a65ba478de0a74aa0ca32 # v46.0.1 with: separator: ',' files_yaml: | From ff9349372a1d3da0bf5f9937d898c0673959c0a2 Mon Sep 17 00:00:00 2001 From: NataliaIvakina <82437520+NataliaIvakina@users.noreply.github.com> Date: Fri, 28 Mar 2025 11:45:35 +0100 Subject: [PATCH 9/9] Update the version to 2025.04 (#268) --- antora.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/antora.yml b/antora.yml index 9b1fca4..6514b83 100644 --- a/antora.yml +++ b/antora.yml @@ -1,14 +1,14 @@ name: java-reference title: Java Reference -version: '2025.03' +version: '2025.04' start_page: ROOT:index.adoc nav: - modules/ROOT/content-nav.adoc asciidoc: attributes: - neo4j-version: '2025.03' - neo4j-version-exact: '2025.03.0' - neo4j-buildnumber: '2025.03' + neo4j-version: '2025.04' + neo4j-version-exact: '2025.04.0' + neo4j-buildnumber: '2025.04' java-driver-version: '5.28.3' neo4j-documentation-branch: 'dev' page-origin-private: false