Skip to content

[codex] Implement matrix-avro v0.3.0#300

Merged
perNyfelt merged 2 commits intomainfrom
matrix-avro-0.3.0
May 1, 2026
Merged

[codex] Implement matrix-avro v0.3.0#300
perNyfelt merged 2 commits intomainfrom
matrix-avro-0.3.0

Conversation

@perNyfelt
Copy link
Copy Markdown
Member

Summary

Implements the matrix-avro v0.3.0 plan:

  • Adds schema inspection APIs through MatrixAvroReader.schema(...) for file, path, URL, byte array, and stream sources.
  • Keeps caller-owned streams open for InputStream and OutputStream APIs by adding close-shield wrappers.
  • Fixes negative local-timestamp-millis reads and makes explicit timestamp-millis writes of LocalDateTime UTC-stable.
  • Removes the writer schema cache to avoid stale schemas for mutated matrices.
  • Adds ergonomic factories and shortcuts: AvroReadOptions.defaults()/named(...), AvroWriteOptions.defaults()/exactDecimals(), MatrixAvroWriter.writeExactDecimals(...), and AvroSchemaDecl aliases.
  • Updates matrix-avro docs, release notes, v0.3.0 checklist, module version, and BOM entry.

Validation

  • ./gradlew :matrix-avro:compileGroovy :matrix-avro:compileTestGroovy - BUILD SUCCESSFUL
  • ./gradlew :matrix-avro:codenarcMain :matrix-avro:codenarcTest --rerun-tasks - BUILD SUCCESSFUL
  • ./gradlew :matrix-avro:test - BUILD SUCCESSFUL, 96 tests passed
  • ./gradlew test - BUILD SUCCESSFUL

Notes

matrix-avro/build.gradle still has codenarc { ignoreFailures = false }, so CodeNarc warnings fail the module build.

@perNyfelt perNyfelt marked this pull request as ready for review May 1, 2026 15:24
@perNyfelt perNyfelt merged commit 1863099 into main May 1, 2026
1 check passed
@perNyfelt perNyfelt deleted the matrix-avro-0.3.0 branch May 1, 2026 15:24
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.

1 participant