Releases: lucassabreu/clockify-cli
Releases · lucassabreu/clockify-cli
v0.26.0
Added
- add description suggestion using the recent time entries.
Changed
- some code and style fixes detected by deepsource
- refactored date-time flags into its own function.
- refactored ask for date-time helper function to not have control flags.
v0.25.0
Fixed
report
subcommands were showing only the time not the date when the time entry was created.--quiet
help was wrong, it said "print as json", but it prints only the id.
Added
- project color is used to "render" project name on the terminal, if the output is being piped or
redirected then colors will be ignored to prevent problems and miss-interpretation of the output. show
subcommand prints details about time entries without having to list of the time entries of
a given date.edit
,edit-multiple
,show
,clone
support "^n" expression to select a time entry to act
on, "^0" is the same as "current", "^1" is the same as "last", "^2" chooses the time entry before
the last one, etc.- new
md
(markdown) format to print time entries
v0.24.1
Fixed
out
subcommand was not setting the user to look on ending the time entry.- listing subcommands didn't show "hydrated" information about time entries,
GetUsersHydratedTimeEntries
was not telling the api to return hydrated data.
Added
- all client method calls now validated for required fields, this makes easier to see bugs and
prevent errors to creping up into releases.
v0.24.0
Added
- new commands
mask-invoiced
andmark-not-invoiced
created to allow users to set this
information using the cli.
Changed
- creation/update/out of time entries is made using the current api, instead of the old one
- listing of workspaces and users is made using the current api, instead of the old one
- all specific calls for the api for listing time entries were refactored to use a main function to
request then, the client methods still exist and maintain the same inputs/outputs, but are calling
the same function instead of reimplementing the call every time - getting of a project now uses the current api
- debug messages of requests now show a "name" on it to help identify what where the intention of
the call
Removed
- client method for recent time entries was not listed as a valid api, so its is now removed.
v0.23.1
Fixed
last
andcurrent
aliases were failing to find and select the right time entry, it is a problem
with the old api for getting "recent time entries", fixed by @zerodahero
v0.23.0
Added
- client uses current api to retrieve all tasks of a project
- interactive mode support to select tasks
- name or id support for tasks
- terminal auto-complete support for
task
flag - new config
show-task
that sets the reports/output of time entries to show its task, if exists
Fixed
- package
golang.org/x/crypto/ssh/terminal
was deprecated, substituted bygolang.org/x/term
Removed
- output formatters for
dto.TimeEntryImpl
were not being used.
v0.22.0
Changed
- use new go version (1.17)
- custom
changed
function is the same as usingFlags.Changed
, changed to use just the later - use
hydrated
parameter on "get time entry" endpoint instead of getting details individually - change in progress time entry using the current api
- using "Hydrated" instead of "Full" to be consistent will the api
Fixed
- remove default message for 404 errors from the api
edit-multiple
without interactive mode were not working with theallow-name-for-id
flag.
v0.21.0
Fixed
- deploy to Netlify was not being triggered after release build, making the html documentation always wrong.
- using terminal size of stdout file descriptor, this may fix problems on windows to print reports.
- special characters will be ignored when looking for a project or tag with similar name.
Added
--interactive
flag now describes how to disable it (suggestion from #115)- example to create a time entry using only flags no README.
- keep the same options to print/output on all commands that show time entries.
- support for names for id for tags
Changed
- improved output examples to better resemble real output.
- updated go dependencies
reports
package renamed tointernal/output
, to prevent usage from other packages and solve ambiguity
withreport
command andreport api
(to come)- flag
allow-project-name
now will be calledallow-name-for-id
to account for other entities that would
benefit from using their names instead of their ids
Removed
- features about integration with github:issues, azure dev and trello will not be implemented, at least not
in a foreseeable future.
v0.20.0
Changed
manual
andin
commands now support the use of--project
,--description
,--when
and--when-to-close
flags besides existing positional arguments (now optional even without interactive mode).
Added
- shorthand names for flags
when
,when-to-close
,description
,project
andtag
v0.19.5
Fixed
- select UI component can fail to return a valid option if the default value were not in the list, to prevent
that if the default value is empty or not in the list, no default value will be set.