Skip to content

release v4.2.5 - #2145

Merged
bplatz merged 4 commits into
mainfrom
release/v4.2.5
Oct 31, 2026
Merged

bplatz merged 4 commits into
mainfrom
release/v4.2.5

Conversation

@bplatz

@bplatz bplatz commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Version bump 4.2.4 → 4.2.5. Tag v4.2.5 after this merges to main.

Release notes are generated from merged PR titles at tag time, so the changelog reflects the final contents once this merges and publishes.

Notes for review

This is branched from the current main so the bump can be approved ahead of time. Latest origin/main gets merged into this branch once it is approved, before it merges. The lockfiles may need a refresh at that point if a PR merged in between adds or drops dependencies.

testsuite-sparql and testsuite-shacl are workspace-excluded and carry independent versions and lockfiles, and wasm-probe's lockfile lists the workspace crates it path-depends on, hence seven files. All four lockfiles change version lines only, and each resolves under cargo metadata --locked. fluree-sql-bridge has no path dependency on the workspace, so its lockfile is unchanged. The Python package takes its version from the workspace, so fluree publishes to PyPI as 4.2.5 from the same tag.

@aaj3f aaj3f left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bplatz the bump itself is clean and I have nothing on the mechanics. One question above the PR: v4.2.5 now ships two PRs labeled breaking-change on main, my #2009 (SHACL becomes explicit-only, so a ledger that holds shapes without f:shaclEnabled true stops enforcing on upgrade) and your #2159 (SPARQL reads a list as the RDF it denotes; its body lists the breaking changes for the notes), so the generated notes will open with a "Breaking Changes" section on a patch release. releasing.md routes compatibility breaks to next, and this release also ships new features (#2120, #2122, #2126). Do we want this to be 4.3.0 instead, or keep 4.2.5 and make sure both changes lead the notes? Either is fine by me as long as we choose it on purpose. Relatedly, two bugs from #2159's follow-up commits are on main and would ship in this release unless they're fixed first: #2180 (a re-inserted compact list with a gap duplicates a member) and #2181 (every JSON-LD crawl probes blank-node values for an rdf:first, about 29% slower even with no lists). Do we want those in before tagging?

Full review below:


✅ Approve.

The bump is exactly what the body says: seven files, version lines only. I diffed the merge-base against the head and every changed line in the four lockfiles is a workspace crate's 4.2.4 → 4.2.5; the two workspace-excluded testsuites carry their own versions, and wasm-probe's lockfile lists the path-dependent crates, which accounts for the seventh file. The Python package reads the workspace version, and python-release.yml refuses to publish when the tag and Cargo.toml disagree, so PyPI gets 4.2.5 from the same tag (and the pypi environment no longer has a required-reviewer gate, so nothing should stall there the way v4.2.4 did).

The branch is now 212 commits behind main (28 PRs since v4.2.4, including the 10 that merged on 10-23 and 10-24); per the body, main gets merged in before this lands, at which point the lockfiles may need a refresh. Worth a quick cargo metadata --locked after that merge.

Adherence to repo commitments:

  • Patterns/abstractions: ✔ follows docs/contributing/releasing.md (release PR, then tag after merge).
  • Performance (speed first, memory second): ✔ n/a.
  • Deployment targets: ✔ n/a — a version bump; cargo-dist, Docker, Homebrew and PyPI all key off the tag.
  • Testing: ✔ CI green at the head.
  • Conventions: ✔ release v4.2.5, matching prior release PRs.

Verified locally at branch HEAD (e4fd93ed5): diffed all seven files against the merge-base 18880061a; listed the PRs merged since v4.2.4 (ba4a982ec) with their labels; checked python-release.yml's version guard and the pypi environment's protection rules.

Approving for whenever you're ready.

fluree-db-ontology arrived from main at 4.2.4; CI checks with --locked.
compatibility.md gains behavior-change entries for what this release
changes on upgrade from 4.2.4: lists in SPARQL updates and RDF text,
update netting, same-t pairs, write fidelity, ledger-address graph
references, datalog named-graph heads and commit time, reasoning fuel,
compact JSON-LD graph names, one vector length per graph, index store
load failures, the storage directory lock, index retention defaults and
the fluree doc graph move. Existing entries for schema writes, SHACL,
nested JSON-LD nodes and bulk import are corrected against 4.2.4.

Pages that still described earlier behavior are brought up to date:
SHACL with no config, remote --at, relative graph names, big-integer
deletes, list deletes, CONSTRUCT list output, export of N-Triples
chains, datalog rule heads, capped negating programs, embedding-model
width changes, the external-indexer topology on file storage, Delta
whole reads and latest-by-key fields, configDiagnostics, and the
config-related error statuses. Also fixes a broken anchor in sql.md.
@bplatz
bplatz merged commit ca682e2 into main Oct 31, 2026
19 checks passed
@bplatz
bplatz deleted the release/v4.2.5 branch October 31, 2026 15:48
bplatz added a commit that referenced this pull request Nov 4, 2026
Brings #2247, #2232, #2246, #2248, #2245, #2230, #2205, #2231, #2255,
#2219, #2209, #2207, #2190, #2216, #2186, #2215, #2213, #2184, #2210,
#2206, #2198, #2187, #2183, #2200, #2193, #2199, #2196 and #2145 into next.

Resolutions:
- Novelty: main's fact-state trim (a cutoff plus a bounded sweep) and the
  dictionary's coverage watermark sit on next's graph slots and per-graph
  OrdMaps. A commit's reification links count toward coverage. Planner
  stats from segment sums decline under annotations, whose link deltas
  only the walk counts, and otherwise carry the indexed link counts.
- Stats-view identity: the index root's id reaches the snapshot through
  next's root decoder (`decode` takes the id, as `take_snapshot_metadata`
  does). `LedgerState::load_record` has a decoding-root form beside
  `load_decoding_root`.
- Transact: #2184's parallel-relationship check runs in next's link
  cascade, counting the `rdf:reifies` links on the retracted edge that the
  transaction does not retract itself. Main's bundle `edge_reifiers` is
  dropped, and `subjects_with_prior_rows` and
  `enforce_single_target_reifiers` stay deleted. The upsert pre-check
  takes main's dictionary probe and bounded seek.
- Query: geo search resolves the graph's POST tree once at open (pooled
  graphs keep their filter), an empty manifest when there is none.
  `branch_or_none` reads the dedicated branch, and the batched joins keep
  next's pooled lanes. The stats-view key hashes the root id.
- Indexer: `apply_dict_novelty` and `compact_forward_streams` take the
  cycle's compaction budget, so the term dictionary keeps its reserved
  share. `Prefetched` holds `ContentBytes`. `relocalize_sorted_commit`
  rewrites next's 20-byte types records.
- Disk cache: main's in-flight write registration, with an empty entry
  still read as crash debris that a write replaces. The process-wide
  eviction walk stays removed.
- Graph import (#2232): fenced CAS and publishes, the seed carries the
  record's namespace and fence, 32-bit graph ids and next's loaders. An
  import into a graph of an existing ledger refuses triple terms and edge
  annotations: the splice merges no triple-term dictionary yet.
- Iceberg: `create_iceberg_graph_source` goes with main (a source needs a
  mapping); the R2RML path keeps next's `model_instance`.
- CLI: main's shared import flags without the leaflet flags; `graph
  import` routes through next's process-wide server routing, and
  `upload_source_import` serves next's `Destination`. Doc sources read a
  ledger through the command's open instance.
- Tests: sibling ledger ids become distinct names, `genesis_ledger` is
  awaited, Cypher state dumps include each relationship's `rdf:reifies`
  link, and the graph-import arena test checks the refusal instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants