Skip to content

v2.2.0

Choose a tag to compare

@ANcpLua ANcpLua released this 30 Nov 14:28
· 4 commits to main since this release

What's New

OcrCommand Enhancement

  • Added optional CreatedAt parameter for document timestamp tracking
  • Fully backward compatible - existing code continues to work without changes
  • New tests verify serialization and backward compatibility

Gemini Model Update

  • Updated default model from gemini-2.0-flashgemini-2.5-flash
  • Updated documentation and examples

Backward Compatibility

Scenario Result
Old code: new OcrCommand(id, name, path) ✅ Works, CreatedAt = null
Old JSON without createdAt ✅ Deserializes, CreatedAt = null
New code with timestamp ✅ Works
New JSON with createdAt ✅ Deserializes correctly

Full Changelog

v2.1.2...v2.2.0