Repository navigation
Drivine 0.5.0 - #179
Merged
Merged
Drivine 0.5.0#179
Conversation
Moves Drivine from 0.4.1 to 0.5.0, and sets dice-storage's codegen subproject's standalone fallback to the same version. 0.5.0 links with dice-storage built on 0.4.1, so this needs no lockstep with embabel-chat-store or embabel-agent-rag-graph. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves Drivine from 0.4.1 to 0.5.0 (v0.5.0, train 2026.11.1):
pom.xml:drivine.version0.4.1 to 0.5.0 (dice-storage usesdrivine4j-spring-boot-starter).dice-storage/codegen-gradle/build.gradle.kts: the standalone fallback fordrivineVersion0.4.1 to 0.5.0 (the Maven build passes-PdrivineVersion).CHANGELOG.md: an Unreleased entry, Compatibility: behavioral, as for 0.4.1.No source changes.
Binary compatibility (0.4.1 to 0.5.0)
Checked against the released jars on Maven Central.
drivine4j-spring,drivine4j-spring-boot-starter,drivine4j-codegen,drivine4j-codegen-javaanddrivine4j-coroutinesare byte-identical between 0.4.1 and 0.5.0.drivine4j-codegen-modeldiffers only in its version properties file. Their poms differ only in the version. Drivine's dependencies are unchanged (Jackson BOM still 2.19.2).drivine4j, no class is removed. A descriptor-leveljavap -protected -sdiff finds 18 public or protected members removed or changed, all in Drivine's Cypher-to-SQL internals: the constructor,copyandcopy$defaultofCompiledCypher(it gains a defaultednonFiniteparameter), the constructors ofOracleCypherCompiler,OracleTemporalSql,Temporals,SqlCypherCompiler.SelectandSqlCypherCompiler.Companion.Texts, the constantsPostgresCypherCompiler.CODE_POINT_PREFIX/EXP_UNDERFLOW/MOST_PLACES/NUMERIC_TEXT/PROPERTY_READandSqlCypherCompiler.DOOMED, andJdbcResultMapper.rows/sqliteRows. The 237 added members are in the same compilers and backends, plusBm25. Nothing inmanager,annotation,schema,query,connection(barJdbcConnectioninternals),modelortestchanges signature.javap -von their current snapshots, built on 0.4.1 (embabel-agent-rag-graph 0.6.0-20261102.070924-19, embabel-chat-store 0.7.0-20261105.174107-66, dice-storage 0.5.0-20261105.174419-65, and both autoconfigure modules), finds no reference to a removed member, and everyorg/drivinereference they make resolves in 0.5.0 as it did in 0.4.1. The Drivine starter, Spring, coroutines and codegen 0.4.1 jars make no such reference either.So 0.5.0 is a drop-in for code built on 0.4.1, and each project can move on its own: no lockstep between embabel-agent-rag-graph, embabel-chat-store, dice, me and guide.
Behaviour changes in 0.5.0
enable_seqscan,enable_hashjoinandenable_mergejoinoff, so its per-row reads plan as nested loops (A compiled write loop that adds to the node or edge table and reads it per row is quadratic on Postgres liberation-data/drivine4j#609); the settings are restored after the loop, also when it fails.Built and tested
./mvnw -U -B test verify(CI's command), with Testcontainers on the test box: all ten modules pass, 0 failures, 0 errors, 0 skipped. dice-metamodel 308 tests, dice 1763, dice-storage 492, dice-storage-autoconfigure 76, dice-report 21, dice-ingestion 8, dice-mcp-autoconfigure 20, dice-integration-tests 12. KSP codegen ran on 0.5.0;dependency:treeshows only 0.5.0 Drivine artifacts.None of the behaviour changes fails a test here.
🤖 Generated with Claude Code