Releases: sandrods/odf-report
Releases · sandrods/odf-report
0.9.0
Internal Modernization
This release brings a significant internal modernization of the codebase. No breaking changes or new user-facing features — the public API remains the same.
The goal was to simplify the internals, reduce duplication, and expand test coverage, laying the groundwork for easier maintenance and future development of the gem.
Refactored
- Extracted shared DSL (
add_field,add_text,add_image,add_table,add_section) intoComposablemodule, included by bothReportandNestable - Unified
DataSourceto use lazy evaluation —set_sourcestores the record,valuedecides extraction strategy at read time - Broke up
Report#generateinto focused private methods (replace_placeholders!,include_images) - Simplified
Tableinternals: renamed methods, removed redundant code - Cleaned up
Image,Template,Text,Field, andParser::Default
Testing
- Added RSpec specs for nested tables, sub-sections, table headers, fields inside text, and rich text in sections/tables (19 → 38 examples)
- Organized specs and templates into grouped subfolders
- Decoupled spec templates from legacy test directory
Full Changelog: 0.8.1...0.9.0
0.8.1
What's Changed
- FIX: <br> replacement in default parser by @mauriciomenegaz in #130
Full Changelog: v0.8.0...0.8.1
v0.8.0
What's Changed
- Fix the Nokogiri version that happend an error by @y-yagi in #121
- Fix typo in Readme.md by @pierre-alain-b in #122
- Use nokogiri's HTML5 parser for text nodes by @mauriciomenegaz in #129
New Contributors
- @y-yagi made their first contribution in #121
- @pierre-alain-b made their first contribution in #122
- @mauriciomenegaz made their first contribution in #129
Full Changelog: v0.7.3...v0.8.0
v0.7.3
Fixed
- newer versions (> 1.3.0) of Nokogiri where presenting "Nokogiri::CSS::SyntaxError: unexpected '|'" #120
- prevent unnecessary memory expensive operations with missing placeholders #117
What's Changed
- Added a Troubleshooting section by @paulmassen in #107
- Docs: troubleshooting template: Word found unreadable content by @jaredbeck in #113
New Contributors
- @paulmassen made their first contribution in #107
Full Changelog: v0.7.2...v0.7.3