Skip to content

Releases: lucassabreu/clockify-cli

v0.42.1

01 Dec 21:16
8e090f2
Compare
Choose a tag to compare

Fixed

  • when the duration of a project is null, a error "duration null is invalid" was blocking the use of the
    cli

v0.42.0

09 Nov 13:31
9f86a61
Compare
Choose a tag to compare

Added

  • test help function runClient to mock calls to Clockfy's API
  • added the following methods on api.Client (with test coverage)
    • UpdateProjectUserBillableRate
    • UpdateProjectUserCostRate
    • UpdateProjectEstimate
    • UpdateProjectMemberships
    • UpdateProjectTemplate
    • DeleteProject
  • added flag hydrated at project list to get "enriched" projects with their custom fields, tasks and
    memberships in one call, these can be accessed using the format or json output formats.
  • new command project get to show a project using its ID or name.

Fixed

  • when running edit for a time entry that had a task to change its project, the command was failing if no
    task set, because it tried to find the task from the older project in the new one.

v0.41.0

31 Aug 22:47
Compare
Choose a tag to compare

Added

  • new parameter called allow-archived-tags to allow selection of archived tags.
  • new flag tag on report commands, this will filter the time entries with all the tags informed.

v0.40.0

10 Aug 01:28
Compare
Choose a tag to compare

Added

  • test coverage for task commands
  • new method UpdateProject on api.Client to update a project
  • new command project edit to allow batch editing multiple projects

Fixed

  • using \t and \n on format output will behaviour as expected

v0.39.0

31 Jul 03:54
Compare
Choose a tag to compare

Added

  • flags --billable and --not-billable to report commands to filter time entries that are
    billable or not respectively

v0.38.4

27 Jul 10:18
Compare
Choose a tag to compare

Fixed

  • fixing pagination for time entry listing

v0.38.3

26 Jul 17:37
Compare
Choose a tag to compare

Fixed

  • config init tests were broken
  • report today was using local timezone, which created the wrong range of time for the api

v0.38.2

26 Jul 12:37
Compare
Choose a tag to compare

Added

  • tests for pkg/cmd/config
  • created a helper pkg for interactive console testing
  • tests for pkg/cmd/version
  • add codecov to pull requests

Changed

  • api.Client changed into a interface to easy testing
  • user reports now show the user timezone
  • flag debug dropped in favor of log-level to allow a finer control of the output for reporting
    bugs.

Fixed

  • Client.WorkspaceUsers was not paginating over the results, this created bugs on config init
    and user list
  • make dist was building all system to the same file

Thanks

Thank you to @mhogerheijde for fixing the issue
#204.

v0.38.1

05 Jul 17:33
Compare
Choose a tag to compare

Added

  • link to LICENSE added to README.md
  • link to CHANGELOG added to README.md

Changed

  • function bool2str substituted with a map to appease deepsource.io
  • change task prompt to not list tasks that are inactive.

Fixed

  • in command on interactive mode was exiting when the user tried to start a timer on a project
    were they don't have direct access to (only by their group). This is a bug on the API, but a
    fix was done to not block the users.

v0.38.0

01 Jul 04:13
Compare
Choose a tag to compare

Added

  • badge with amount of downloads from github releases
  • most of the commands have better descriptions explaining flag usages and command examples.
  • document describing the [project layout][] and where to add or find files.
  • document with [how to contribute][contribute] to the project
  • site preview on branches going to main.
  • added golang-lint as a Github Action on every PR.
  • functions json, yaml and pad add to all golang template formatters.

Changed

  • site specific files moved from docs/ to site/ to free docs folder for actual documentation.
  • moved cmd/* and internal/output/* into the new locations as stated on [project layout][]
  • new cmdutil.Factory interface to work as a "service locator" so sharing some states, behaviours
    and "services" can be easier.
  • project dependencies were updated.
  • memory and performance improvements
  • config --init changed to config init to better organized the commands logic.
  • site home page changed to better explain how to setup the project and to direct to new documents.

Fixed

  • report commands could fail to list time entries closer to midnight because of timezone
    differences.