Serialization | 2.0.0
I know changing the major version only a week later is a lot, but it felt necessary. The confusion of TimeEntries and the entries list inside was unnecessary and I feel that I overlooked serialization. This shouldn't be a frequent occurrence.
[2.0.0] - 2023-06-09
Added
- kotlinx.serialization capability to
Timecard
andTimeEntry
Changed
- [BREAKING]
TimeEntries
was renamed toTimecard
- [BREAKING]
Timecard.toString()
now separatesTimeEntry
s by newline\n
rather than semicolon;
Timecard.fromString()
was updated to comply with this change as well
- [BREAKING]
TimeEntry.toString()
now stores Instants as epoch milliseconds rather than epoch secondsTimeEntry.fromString()
was updated to comply with this change as well