All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added support to padders and converters to elements of type
simpleType
. Thx @cancellin for reporting
- When unpadding a field made only of padding char (for example spaces), padder failed to unpad. Thx @jzaratei for reporting
- Added support to standard XML Schema attribute
fixed
when marshalling. Previously, only the unmarshaller honoured it, so users could potentially create files which didn't comply with the xsd definition. Now, when a property has afixed
value, that valuw will be used, regardless of whatever value was set by users.
- Minimum Java version set to 11
- Package name renamed to
org.fissore.jrecordbind
- Copyright holder from Assist (the company) to Federico Fissore (the individual), and contributors
- Using
bindings.xjb
is now mandatory due to latext JAXB usingXMLGregorianCalendar
forxs:date
elements - Padders now pad AND unpad: a property value of "john " in a text file will be unmarshalled as "john"
- Various changes in the API (both constructors and methods signature) in order to improve the overall design
- Example module
- Support to inject converters and padders from outside, thus making JRecordBind more dependency-injection-framework-friendly
- Pojo module
- Many tests, whenever it was unclear what they were testing and/or the feature under test was also tested in other tests. Goal was to provide contributors a clearer test suite
- ant support
- Internal cache for padders and converters
At the beginning, no proper changelog was made, commits were not descriptive, and there were no tags. Thus, there are holes. Sorry about that.
jrb:lineSeparator
and support to custom character sequences that mark the end of a line (aka DOS format files)
LineReader
, a way to customize how text files are read
jrb:setter
and support to custom setter methods when usingxs:choice
- Switched to maven
jrb:subclass
and support to custom classes extending generated ones
- Bug with dynamic-length files
- Marshaller was always adding an extra space
jrb:delimiter
and support to dynamic-length files