Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
7004a8e
bump version to 2025.02 (#248)
renetapopova Feb 5, 2025
42a163b
Bump @neo4j-antora/antora-modify-sitemaps in the prod-dependencies gr…
dependabot[bot] Feb 27, 2025
f9f2000
Update dev version to 2025.03 (#252)
renetapopova Feb 27, 2025
00efb64
Update version in antora.yml to 2025.03 (#254)
recrwplay Feb 28, 2025
dd72fcf
Update Java driver version to 5.28.3 (#258)
NataliaIvakina Mar 12, 2025
6910e99
Packages workflows refine (#261)
recrwplay Mar 14, 2025
aac58bb
Replace `page-version` with `current` in links (#260)
NataliaIvakina Mar 20, 2025
92d0cc1
Update docs-pr-checks.yml (#263)
recrwplay Mar 21, 2025
ff93493
Update the version to 2025.04 (#268)
NataliaIvakina Mar 28, 2025
b2fce0f
Update version to 2025.05 (#271)
renetapopova Apr 30, 2025
c55e071
Update version to 2025.06 (#277)
renetapopova Jun 3, 2025
148a6ca
Update Java driver version to 5.28.5 (#280)
NataliaIvakina Jun 10, 2025
7726721
Update and fix several pages (#279)
NataliaIvakina Jun 12, 2025
392b672
Update Java driver to 5.28.6 (#283)
NataliaIvakina Jun 30, 2025
3d4c6f3
Bump Neo4j version to 2025.07 (#286)
NataliaIvakina Jul 2, 2025
3a526d1
Update Java driver to 5.28.7 (#287)
NataliaIvakina Jul 3, 2025
412325b
Update path to javadocs (#289)
recrwplay Jul 18, 2025
1af8cfc
Update Java driver version to 5.28.9 (#290)
NataliaIvakina Jul 29, 2025
264b5d0
Update to 2025.08 (#294)
NataliaIvakina Jul 31, 2025
e65d354
Update to 2025.09 (#298)
NataliaIvakina Sep 2, 2025
92582a8
Bump to 2025.10, Java driver to 5.28.10 (#302)
NataliaIvakina Sep 29, 2025
cbae1f3
Update Java to 21 (#306)
NataliaIvakina Oct 17, 2025
905a70d
Update antora.yml (#312)
NataliaIvakina Oct 30, 2025
279219f
Update Java Driver to 6.0.2 (#315)
NataliaIvakina Nov 13, 2025
8e8ee39
Clarified naming rules for user defined callables and added list for …
JoelBergstrand Dec 9, 2025
406f853
We have reverted the deprecation of aura.* in product. (#321)
Lojjs Dec 18, 2025
6c6f5e8
Update antora.yml to 2025.12 (#325)
NataliaIvakina Dec 22, 2025
9ce8b04
Update antora.yml to 2026.01 (#326)
NataliaIvakina Jan 16, 2026
d997cd3
DOCS-279 Update antora.yml to 2026.02 (#331)
NataliaIvakina Feb 4, 2026
57019f7
Change copyright: 2025 to copyright: 2026 (#334)
renetapopova Feb 12, 2026
9812de9
Update antora.yml to 2026.03 (#341)
NataliaIvakina Mar 6, 2026
8d04c6c
Fix use of non-public method (#339)
hvub Mar 10, 2026
26e6007
Update the version to 2026.04 (#346)
renetapopova Apr 2, 2026
2b63188
Update workflows (#347)
NataliaIvakina Apr 21, 2026
cb8b474
Update Neo4j version to 2026.05 (#352)
NataliaIvakina Apr 23, 2026
d3ea018
Update the version to 2026.06 (#356)
renetapopova May 29, 2026
d1c0174
Update version and attributes in antora.yml (#360)
NataliaIvakina Jul 8, 2026
6c3f8f9
Harden docs-deploy-surge.yml against artifact poisoning (sync from do…
recrwplay Jul 21, 2026
cd45b1e
Remove the edition table and update the links (#362)
renetapopova Jul 24, 2026
96b6794
DOCOPS-176 Add page-tabs attributes to publish playbook (#366)
recrwplay Jul 31, 2026
3cdb0dd
Publish 2026.07 release
NataliaIvakina Aug 5, 2026
b84ffc7
Apply suggestion from @NataliaIvakina
NataliaIvakina Aug 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 43 additions & 4 deletions .github/workflows/docs-deploy-surge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
- completed

jobs:
# [Optional] Restrict automatic dpeloyment to PRs from the upstream repo
# [Optional] Restrict automatic deployment to PRs from the upstream repo
# For fork PRs, requires manual approval via the "preview" environment.
# For PRs from the main repository this job is skipped and deploy-docs runs immediately.
# Setup: create a "preview" environment in Settings → Environments with required reviewers.
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: ${{ env.RUN_ID }},
run_id: process.env.RUN_ID,
});

var matchArtifactDocs = artifacts.data.artifacts.filter((artifact) => {
Expand Down Expand Up @@ -86,13 +86,32 @@ jobs:

- id: suspicious-path-check
name: Suspicious paths check
shell: bash
env:
ARTIFACT_DIR: ${{ runner.temp }}/artifacts/docs
run: |
set -euo pipefail
cd "$ARTIFACT_DIR"
if unzip -l docs.zip | grep -q "\.\./"; then

mapfile -t ZIP_ENTRIES < <(zipinfo -1 docs.zip)
if [ "${#ZIP_ENTRIES[@]}" -eq 0 ]; then
echo "docs.zip is empty"
exit 1
fi
for entry in "${ZIP_ENTRIES[@]}"; do
if [[ "$entry" =~ ^/ ]]; then
echo "Blocked absolute path in artifact: $entry"
exit 1
fi
if [[ "$entry" =~ (^|/)\.\.(/|$) ]]; then
echo "Blocked path traversal in artifact: $entry"
exit 1
fi
if [[ "$entry" == *\\* ]]; then
echo "Blocked Windows-style path separator in artifact: $entry"
exit 1
fi
done

- id: hidden-files-check
name: Hidden files check
Expand Down Expand Up @@ -131,7 +150,27 @@ jobs:
run: |
cd "$ARTIFACT_DIR"
unzip changelog.zip


# The changelog file is built from untrusted PR content and its contents
# are posted to the PR as a comment. A malicious artifact could make
# `changelog` a symlink pointing at an arbitrary file the runner can read,
# turning the comment step into an arbitrary-file-read. Reject anything
# that isn't a plain regular file before we read it.
- id: validate-changelog
name: Validate changelog is a regular file
if: ${{ steps.find-changelog.outputs.has-changelog == 'true' }}
env:
CHANGELOG_FILE: ${{ runner.temp }}/artifacts/changelog/changelog
run: |
if [ -L "$CHANGELOG_FILE" ]; then
echo "Security Alert: changelog is a symlink — refusing!"
exit 1
fi
if [ ! -f "$CHANGELOG_FILE" ]; then
echo "changelog missing or not a regular file"
exit 1
fi

- id: get-deploy-id
name: Get deploy ID
env:
Expand Down
10 changes: 5 additions & 5 deletions antora.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: java-reference
title: Java Reference
version: '2026.06'
version: '2026.07'
start_page: ROOT:index.adoc
nav:
- modules/ROOT/content-nav.adoc
asciidoc:
attributes:
neo4j-version: '2026.06'
neo4j-version-exact: '2026.06.0'
neo4j-buildnumber: '2026.06'
java-driver-version: '6.2.0'
neo4j-version: '2026.07'
neo4j-version-exact: '2026.07.0'
neo4j-buildnumber: '2026.07'
java-driver-version: '6.2.1'
neo4j-documentation-branch: 'dev'
page-origin-private: false
neo4j-javadocs-base-uri: "{neo4j-docs-base-uri}/java-reference/{neo4j-version}/javadocs"
3 changes: 3 additions & 0 deletions publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ asciidoc:
- "@neo4j-antora/antora-listing-roles"
- "@neo4j-antora/antora-table-footnotes"
attributes:
page-tabs: reference@
page-tabs-index: 20
page-tabs-group: dbms
page-theme: docs
page-type: Docs
page-search-type: Docs
Expand Down