Skip to content
Back to skills

Neo4j Knowledge Patch

ASecurity

Neo4j

  • 25 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added September 5, 2026
ai-agentsjavashellnodeexpressdockerkubernetesapidatabasesecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill neo4j-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Neo4j Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Neo4j Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-neo4j-knowledge-patch-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-neo4j-knowledge-patch-nevaberry-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: neo4j-knowledge-patch
description: Neo4j
version: "2026.10.2"
license: MIT
metadata:
  author: Nevaberry
---


# Neo4j Knowledge Patch

Load this skill when upgrading Neo4j, adapting Cypher queries or administration
code, configuring clusters and monitoring, or working with schemas, vector
indexes, imports, backups, access control, and GenAI integrations.

Use the quick references below for migration decisions. Load the relevant topic
file for complete settings, procedure names, examples, and release attribution.

## Reference index

| Reference | Topics |
| --- | --- |
| [Upgrades and breaking changes](references/upgrades-and-breaking-changes.md) | Urgent upgrades, store formats, discovery, removed settings and APIs, platforms |
| [Cypher and query behavior](references/cypher-and-query-behavior.md) | Language defaults, composition, aggregation, paths, strings, concurrency, runtime fixes |
| [Schema, indexes, import, and backup](references/schema-indexes-import-and-backup.md) | Graph types, vector search, import formats, seeding, copy, backup, restore |
| [Operations, observability, and packaging](references/operations-observability-and-packaging.md) | Graph names, placement, caching, metrics, logs, Shell, Fleet Manager, Browser |
| [Security, access, and integrations](references/security-access-and-integrations.md) | Privileges, ABAC, PBAC, OIDC, TLS, HTTP APIs, CDC, GenAI, dependency security fixes |

## Upgrade blockers and store formats

- For production deployments on 2025.06, upgrade to 2025.06.1 or later to avoid
  sporadic checkpoint deadlocks.
- Use 2026.07.1 in place of 2026.07.0. The latter introduced a block-format UTF-8
  encoding bug that can cause `trim()` queries to fail and leave stored string
  data unreadable.
- Complete discovery v1-to-v2 migration on 5.26 LTS before upgrading to 2025.01.
  That upgrade removes discovery v1 and port `5000`; use port `6000` for internal
  cluster traffic.
- The next LTS is the final release that can read, write, or migrate `high_limit`
  stores. Migrate them offline to `block` before upgrading past that LTS;
  `high_limit` databases fail to start on later releases.
- The `standard` store format is deprecated as of 5.23.

See the upgrade reference for platform support cutoffs, Docker base-image
restrictions, removed Java symbols, and administration procedure migrations.

## Configuration and extension migrations

Use `server.cluster.advertised_address` for discovery-resolver endpoints and
`server.cluster.listen_address` for the bind address. The corresponding
`server.discovery.advertised_address` and `server.discovery.listen_address`
settings are removed.

Rename `dbms.cluster.discovery.v2.endpoints` to `dbms.cluster.endpoints` and
`dbms.kubernetes.discovery.v2.service_port_name` to
`dbms.kubernetes.discovery.service_port_name`. The old v2 names still work during
migration from 5.26; the upgrade reference lists the removed v1 keys.

Use `initial.server.tags` in place of `server.groups`, and
`db.cluster.raft.leader_transfer.priority_tag` in place of
`db.cluster.raft.leader_transfer.priority_group`. The catch-up setting and
server-group strategy names also migrate to server tags; see the full mappings.

Use `server.memory.query_cache.per_db_cache_num_entries` in place of the
deprecated `server.db.query_cache_size` for cached query entries per database.

Relative paths in `server.logs.config` and `server.logs.user.config` resolve from
`server.directories.configuration`. Remove the `conf/` prefix from custom values
that pointed into the configuration directory from the installation root.

Port Java seed-provider extensions from `com.neo4j.dbms.seeding.SeedProvider` to
`DatabaseSeedProvider`. The old `SeedDownloadStreamWrapper` and
`SeedProviderDependencies` types are removed.

## Cypher and client compatibility

Cypher 5 is the default for existing and new databases in 2025.06. Starting in
2026.02, the distributed `neo4j.conf` explicitly sets
`db.query.default_language=CYPHER_25`; newly created databases default to Cypher 25
in deployments using that configuration.

Set the language per database with `CREATE DATABASE` or `ALTER DATABASE`, change
the fallback for new databases with `db.query.default_language`, or use a query
prefix such as `CYPHER 25 RETURN 1`.

For Cypher 25 migrations:

- Copy properties from a node or relationship through a map:
  `SET target = properties(source)` replaces the target's properties.
- Remove `indexProvider` from index and constraint creation commands.
- The `propertyTypes` lists returned by `db.schema.nodeTypeProperties()` and
  `db.schema.relTypeProperties()` contain Cypher type names. Update consumers
  that expect Java type names.
- Imported variables act as constants in aggregations inside `COLLECT`, `COUNT`,
  and `EXISTS` subquery expressions. An imported variable alone no longer creates
  a grouping key; an otherwise ungrouped aggregation can return a row even when
  the subquery matches zero rows.
- In projection subclauses such as `ORDER BY`, repeat a computed projection's
  expression exactly or use its alias. Using different expression text is
  deprecated. Use a distinct alias when a reference could mean either an incoming
  variable or a projection alias; such ambiguous references are deprecated.
- U+0085 (NEXT LINE) is whitespace and is rejected in identifiers, as are the
  identifier characters previously marked deprecated.

Since 2025.04, branch on GQLSTATUS error codes in application code. Parsing
human-readable error messages is deprecated.

The HTTP Query API replaces the deprecated transactional HTTP API and is enabled
by default from 5.26. On an earlier supporting version, add `QUERY_API_ENDPOINTS`
to `server.http_enabled_modules`. As of 2026.04.0, transaction IDs have six
characters instead of four; update clients that validate or store a fixed width.

## Deprecated procedures and security settings

In Cypher 25, use `SEARCH` in place of the deprecated vector query procedures
`db.index.vector.queryNodes()` and `db.index.vector.queryRelationships()`.
Use `CREATE VECTOR INDEX` for node vector indexes and
`db.create.setNodeVectorProperty()` to write a node vector property;
`db.index.vector.createNodeIndex()` and `db.create.setVectorProperty()` are removed.

Cypher 25 removes `dbms.cluster.uncordonServer()`; use
`ENABLE SERVER 'server-1'` with the server's name. It also removes
`dbms.quarantineDatabase()`; use `dbms.unquarantineDatabase()` to clear quarantine.
Use `dbms.cluster.secondaryReplicationDisable()` in place of the removed
`dbms.cluster.readReplicaToggle()`.

Use `db.cdc.current()`, `db.cdc.earliest()`, and `db.cdc.query()` in place of the
deprecated `cdc.current()`, `cdc.earliest()`, and `cdc.query()` procedures.
`db.cdc.current()` now returns `txCommitTime` with the identifier.

The OIDC Implicit option for `dbms.security.oidc.<provider>.auth_flow` is deprecated
and will be removed. Use the default authorization code flow with PKCE.

`dbms.ssl.policy.*.verify_hostname` defaults to `true`. Certificates must match
the hostnames used to connect when verification is enabled. The security reference
distinguishes removed TLS cipher suites from later explicit configuration support.

## Observability and operational defaults

Cypher Shell defaults `--error-format` to `gql`. Use
`cypher-shell --error-format legacy` to retain the pre-2025.06 diagnostic format
for scripts that parse it. Use `cypher-shell --history disable` to disable history.

In Cypher 25, `SHOW TRANSACTIONS` returns `startTime` and `currentQueryStartTime`
as `ZONED DATETIME` values. Unavailable fields listed in the operations reference
return `null`. Read cluster state from result notifications for administration
commands using `WAIT`.

The default metrics filter drops `cluster.internal.*`; include that pattern
explicitly if collecting those metrics. Individual discovery metric names are
listed in the operations reference.

Use `<prefix>.neo4j.count.node` and `<prefix>.neo4j.count.relationship` for
approximate graph size. The corresponding `<prefix>.ids_in_use.*` metrics are
deprecated. Read `errorInfo` in JSON query logs; `failureReason` is deprecated.

New installations will default to JSON query logs starting with the release after
the next LTS. Upgrades retaining `server-logs.xml` retain their configured format,
and PLAIN remains supported.

## Query composition and concurrency

Cypher 25 supports `NEXT` to pass returned rows to the following query, permits a
read after a write without an intervening `WITH`, and accepts `WITH ALL` and
`RETURN ALL` to explicitly preserve duplicates.

Use `FOR` as the GQL equivalent of `UNWIND`, and `IS LABELED` or `IS NOT LABELED`
as GQL spellings of label tests in Cypher 25.

Cypher 25 accepts `ACYCLIC` with `ANY` and `SHORTEST`; each selected path visits
any given node at most once. `SHORTEST` and `ANY` also accept a parameter for the
path count.

Use `DISJOINT BY` with `CALL { … } IN CONCURRENT TRANSACTIONS` in Cypher 25 to
identify writes that may contend for the same locks. The scheduler uses this
information to keep conflicting batches from running concurrently.

Cypher 25 adds explicit `GROUP BY` to `WITH` and `RETURN`, and `cardinality()` to
count map keys, list elements, or nodes plus relationships in a path.
It also adds `string.indexOf`, `string.join`, and `string.regexReplace`; the
corresponding `apoc.text.*` functions are deprecated.

## Schemas, vector indexes, import, and backup

Cypher 25 graph types support defining, enforcing, and validating database-level
schemas in production. `SHOW CURRENT GRAPH TYPE AS GRAPH` returns lists of virtual
nodes and relationships; the plain command returns the string representation.

HFQ expands the initial search over quantized vectors, then reranks candidates
using full-precision vectors. Rebuild an existing index to use HFQ. It was preview
in 2026.06.0 and is generally available in 2026.07.0; new vector indexes then default
to scalar quantization and `vector.default_search_expansion_factor` of `1.5`.
Rebuilding an older index with those defaults applies both settings.
Set `vector.quantization.enabled` to `false` on its own for an unquantized index.

Cypher 25 vector `SEARCH` filters accept `IN`; the schema reference includes an
example using an index configured to filter on `genre`.

For import, choose a `--vector-delimiter` distinct from `--delimiter` and `--quote`.
Native Parquet list columns can supply vectors, and Parquet `INTERVAL` values
convert to Cypher `DURATION`. Since 2025.12, full and incremental imports default
`--bad-tolerance` to `-1` (unlimited); use `--bad-tolerance=1000` for the prior limit.

In Cypher 25, `existingDataSeedInstance` and `seedCredentials` are removed;
use `existingDataSeedServer` and the cloud provider's credential mechanism.
`existingData` is optional, deprecated, and ignored. `seedSourceDatabase` filters
backup artifacts by source database. See the schema reference for provider
migrations and cluster-local seeds for sharded property databases.

Use `--target-format=backup --compress` with `neo4j-admin database copy` or
`neo4j-admin database import` to write compressed backup artifacts.
When restoring from a folder, `neo4j-admin database restore` selects the most recent
valid chain even if the newest artifact is an orphaned differential backup.

Files in this skill

  • SKILL.md9.5 KB
  • coverage.json1 KB
  • references/cypher-and-query-behavior.md7.4 KB
  • references/operations-observability-and-packaging.md5.5 KB
  • references/schema-indexes-import-and-backup.md5.1 KB
  • references/security-access-and-integrations.md5.2 KB
  • references/upgrades-and-breaking-changes.md7.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.