Skip to content

Releases: nikoheikkila/hours

0.3.0

18 Mar 18:18
Compare
Choose a tag to compare

Changelog

Breaking Change! Hours now accepts subcommands. Previously, hours without subcommand was used to list the time entries, but now hours list should be used instead. The subcommand accepts the same parameters as the old main command.

New Features

  • c484db2 refactor(go): use constants when converting milliseconds to hours
  • fbdf81e refactor(go): use urfave/cli as command-line framework

Fixed

  • 121b393 fix(build): make build step PHONY to work around existing build folder
  • 6d57ba2 fix(go): remove leading dashes from text reporter output
  • 5cae0f2 fix(go): reorder CLI flags to be more sensible

0.2.0

17 Mar 07:23
Compare
Choose a tag to compare

Changelog

New Features

  • 41589ba feat(go): use a fallback string when API doesn't report entry description

Fixed

  • 5513f22 fix(build): ignore 'chore' commits from release notes
  • 9e68490 fix(build): publish GitHub releases as drafts
  • 736eef7 fix(build): use meaningful names for release archives
  • 5057e98 fix(deps): use version 3.x of the yaml package
  • 8070b62 fix(tests): improve API tests

0.1.0

16 Mar 13:11
Compare
Choose a tag to compare

Changelog

Features

  • 986ad15 feat(api): implement simple API wrapper for Toggl entries
  • 1313971 feat(api): improve Toggl API wrapper for entries and add tests
  • 2b20350 feat(api): switch to Toggl Reports API for easier integration
  • 5a1f0fa feat(build): add lint step before running tests
  • b8a3ab0 feat(ci): improve Makefile and add GitHub Actions
  • 282efc1 feat(go): add client data to output if available
  • 2723f6d feat(go): add support for CSV table reporter
  • 4afeeb4 feat(go): add support for JSON reporter
  • ffb403b feat(go): add support for Markdown table reporter
  • b9173b7 feat(go): allow user to choose whether output is colorized
  • 62d0552 feat(go): calculate total spent hours for table-based reports
  • 0e70029 feat(go): format Toggl durations for stopped and running timers
  • c9e431a feat(go): handle empty responses from Toggl API
  • 3b048ba feat(go): implement command-line flags for passing options
  • 5062dc5 feat(go): implement text reporter for time entries
  • 69bd687 feat(go): support reading Toggl configuration from file
  • af210b6 feat(go): validate date parameters against RFC 3339 spec

Fixed

  • cee1e0b fix(style): format code
  • 3ea0914 refactor(go): centralize date formatting logic
  • c7bc1ac refactor(go): clean up packages
  • 3e9a389 refactor(go): clean up variable assignment
  • eed2ebb refactor(go): handle Toggl error responses cleanly
  • d0d989d refactor(go): move table logic to own package
  • 457d317 refactor: organize Go modules