Releases: lucassabreu/clockify-cli
Releases · lucassabreu/clockify-cli
v0.42.1
Fixed
- when the
duration
of a project isnull
, a error "duration null is invalid" was blocking the use of the
cli
v0.42.0
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
atproject list
to get "enriched" projects with their custom fields, tasks and
memberships in one call, these can be accessed using theformat
orjson
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
Added
- new parameter called
allow-archived-tags
to allow selection of archived tags. - new flag
tag
onreport
commands, this will filter the time entries with all the tags informed.
v0.40.0
Added
- test coverage for
task
commands - new method
UpdateProject
onapi.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
Added
- flags
--billable
and--not-billable
to report commands to filter time entries that are
billable or not respectively
v0.38.4
Fixed
- fixing pagination for time entry listing
v0.38.3
Fixed
config init
tests were brokenreport today
was using local timezone, which created the wrong range of time for the api
v0.38.2
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 oflog-level
to allow a finer control of the output for reporting
bugs.
Fixed
Client.WorkspaceUsers
was not paginating over the results, this created bugs onconfig init
anduser list
make dist
was building all system to the same file
Thanks
Thank you to @mhogerheijde for fixing the issue
#204.
v0.38.1
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
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
andpad
add to all golang template formatters.
Changed
- site specific files moved from
docs/
tosite/
to free docs folder for actual documentation. - moved
cmd/*
andinternal/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 toconfig 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.