Skip to content

Serialization | 2.0.0

Compare
Choose a tag to compare
@Stephen-Hamilton-C Stephen-Hamilton-C released this 10 Jun 00:35
· 21 commits to main since this release
7670239

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

Changed

  • [BREAKING] TimeEntries was renamed to Timecard
  • [BREAKING] Timecard.toString() now separates TimeEntrys 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 seconds
    • TimeEntry.fromString() was updated to comply with this change as well