CHANGELOG
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
Fixed
- changelog was not showing on the site
v0.61.1 - 2026-02-21
Fixed
- when initializing the config the folder might not exist yet
v0.61.0 - 2026-02-21
Added
- support to config file to be at
$HOME/.configalso, instead of just$HOME.
Changed
- hugo theme to be compatible with newer versions
v0.60.0 - 2026-02-11
Added
- support to set which api to use with the client, this became necessary because of the EU datacenters
Thanks
Thank you to @mbosc for the improvements on #285.
v0.59.0 - 2026-01-20
Changed
- change url for API token creation
Thanks
Thank you to @davidsneighbour for the implementing the improvements on #283.
v0.58.0 - 2025-11-24
Added
- reporting custom fields for the time entries
Thanks
Thank you to @calebtrepowski for the implementing the improvements on #282.
v0.57.0 - 2025-10-14
Added
- documentation about nix packages
Thanks
Thank you to @Sekky61 for the information on Issue #280.
v0.56.2 - 2025-09-30
Fixed
- NUR repository name was wrong
v0.56.1 - 2025-09-30
Fixed
- license is required
v0.56.0 - 2025-09-30
Added
- support for nix packages
v0.55.2 - 2025-07-28
Fixed
- update README section about installing using homebrew
v0.55.1 - 2025-07-28
Fixed
- migration from homebrew Formula to Casks needed fixing
v0.55.0 - 2025-06-26
Added
- support to limit how many time entries should be listed on the
reportcommands, and choose which page to show
v0.54.2 - 2025-06-25
Fixed
- deepsource suggestions
lastalias onshow,clone,editandedit-multiplewould select future time entries if they existed, now only time entries started before now will be considered
v0.54.1 - 2025-06-20
Fixed
- when config “show-client” was on, printing time entries without projects were breaking the cli
- goreleaser config deprecations
- installing snapcraft from apt does not work anymore
Thanks
Thank you to @melluh for fixing the bug on PR #275.
v0.54.0 - 2024-06-15
Changed
- markdown output now tries to resemble the time entry calendar dialog
v0.53.1 - 2024-06-14
Fixed
- was printing the language before the duration as float
v0.53.0 - 2024-06-14
Added
- new config
langto allow setting the number format to be used when printing - support to using client’s name or id for autocompletion on bash
- new config
timezoneto allow setting which timezone to use when reporting the time of a time entry
v0.52.0 - 2024-06-02
Added
- new command
splitto allow break a time entry into others with break points
v0.51.1 - 2024-05-30
Fixed
- when using
show-clientwithoutshow-taskcolumn headers became unaligned
v0.51.0 - 2024-05-29
Added
- new config
show-clientthat sets the reports/output of time entries to show its client, if exists
v0.50.1 - 2024-05-25
Fixed
- snapcraft requires explicit confinement
v0.50.0 - 2024-05-25
Added
- more unit tests
Changed
- using throttle/ticket providing system to limit requests per second to the clockify’s api to prevent the
error message:
Too Many Requests (code: 429) - upgrade go version to 1.19
v0.49.0 - 2024-03-29
Added
- report subcommands now allowing passing multiple projects to search/filter
- report subcommands now will search all the time entries of a client with the flag
--clientwithout using--project
v0.48.2 - 2024-02-22
Fixed
- using name for id options with
[in the name makes the cli panic
v0.48.1 - 2024-02-16
Fixed
- match how strings are compared when using
allow-name-for-idand filtering on interactive mode.
v0.48.0 - 2024-02-16
Added
- new config
search-project-with-clientto set whether or not the cli should lookup projects using the client’s name too
v0.47.0 - 2024-02-09
Added
- new flag
--clientto filter projects by client when managing time entries
Changed
mockeyupdate and its configuration has changed- github actions steps updated to node20
v0.46.0 - 2023-12-06
Added
- support for the formats
HMMandHHMMfor time input
Fixed
- update github actions workflows to use newer actions
Thanks
Thank you to @aVolpe for implementing new time formats as input on PR #251.
v0.45.0 - 2023-08-05
Added
- new function
sinceto be used on the time entry format to help working with time - new function
untilto be used on the time entry format to help working with time
v0.44.2 - 2023-04-04
Fixed
- when searching for task names with special characters ("-" for example), this was fixed for the filter
v0.44.1 - 2023-03-06
Fixed
- time entries were created as billable without user input.
- bump golang.org/x/text from 0.3.7 to 0.3.8 (#244)
go getis not a supported option to install the cli (#245)
Added
- test coverage for interactive mode components and
incommand.
Thanks
Thank you to @diegoquintanav for reporting and fixing the documentation on PR #245.
v0.44.0 - 2022-12-18
Added
- new flag and config
interactive-page-sizeto set how many entries should be shown on select prompts. - new command
task quick-addto easily create multiple tasks on a project.
v0.43.0 - 2022-12-13
Added
- support to
lastalias when deleting a time entry.
Thanks
Thank you to @jjnilton for fixing the issue #229 on PR #238.
v0.42.2 - 2022-12-06
Fixed
durationandestimateof a task can benull, and when theestimatewhere null the cli was failing with: “duration null is invalid”
v0.42.1 - 2022-12-01
Fixed
- when the
durationof a project isnull, a error “duration null is invalid” was blocking the use of the cli
v0.42.0 - 2022-11-09
Added
- test help function
runClientto mock calls to Clockfy’s API - added the following methods on
api.Client(with test coverage)- UpdateProjectUserBillableRate
- UpdateProjectUserCostRate
- UpdateProjectEstimate
- UpdateProjectMemberships
- UpdateProjectTemplate
- DeleteProject
- added flag
hydratedatproject listto get “enriched” projects with their custom fields, tasks and memberships in one call, these can be accessed using theformatorjsonoutput formats. - new command
project getto show a project using its ID or name.
Fixed
- when running
editfor 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 - 2022-08-31
Added
- new parameter called
allow-archived-tagsto allow selection of archived tags. - new flag
tagonreportcommands, this will filter the time entries with all the tags informed.
v0.40.0 - 2022-08-09
Added
- test coverage for
taskcommands - new method
UpdateProjectonapi.Clientto update a project - new command
project editto allow batch editing multiple projects
Fixed
- using
\tand\non format output will behaviour as expected
v0.39.0 - 2022-07-31
Added
- flags
--billableand--not-billableto report commands to filter time entries that are billable or not respectively
v0.38.4 - 2022-07-27
Fixed
- fixing pagination for time entry listing
v0.38.3 - 2022-07-26
Fixed
config inittests were brokenreport todaywas using local timezone, which created the wrong range of time for the api
v0.38.2 - 2022-07-26
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.Clientchanged into a interface to easy testing- user reports now show the user timezone
- flag
debugdropped in favor oflog-levelto allow a finer control of the output for reporting bugs.
Fixed
Client.WorkspaceUserswas not paginating over the results, this created bugs onconfig initanduser listmake distwas building all system to the same file
Thanks
Thank you to @mhogerheijde for fixing the issue #204.
v0.38.1 - 2022-07-05
Added
- link to LICENSE added to README.md
- link to CHANGELOG added to README.md
Changed
- function
bool2strsubstituted with a map to appease deepsource.io - change task prompt to not list tasks that are inactive.
Fixed
incommand 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 - 2022-07-01
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 to the project
- site preview on branches going to
main. - added
golang-lintas a Github Action on every PR. - functions
json,yamlandpadadd 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.Factoryinterface 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 --initchanged toconfig initto better organized the commands logic.- site home page changed to better explain how to setup the project and to direct to new documents.
Fixed
reportcommands could fail to list time entries closer to midnight because of timezone differences.
v0.37.0 - 2022-05-17
Added
- build windows binaries
v0.36.2 - 2022-05-13
Fixed
edit-multiplewas not updating time entries without interactive mode.
v0.36.1 - 2022-05-10
Fixed
clonecommand was using the start time of the copied time entry to close the current one instead of the start time of new one being created.
v0.36.0 - 2022-05-09
Added
- support for relative time for time parameters, can be +1:40, or +1h40m
Fixed
- negative duration was printed broken, now it show as a valid negative duration
Changed
- new error types from required fields and invalid entity ids.
- all errors have a minimal context to help on support.
manageEntryrefactored to not have as many control flags- reduce copy of objects on loops
v0.35.1 - 2022-05-04
Fixed
- fake “not found” errors will have more context for the message
Changed
- all
api/client.gowill have stack traces.
v0.35.0 - 2022-05-03
Added
task editcommand allows changing a existing task and changing its status.task deletecommand allows removing a existing task.task donecommand is a helper fortask edit --done.
Changed
task addcommand now acceptsassigneesandestimatefor task creationendargument ofreportcommand accepts the aliasyesterdayfor previous date.
v0.34.0 - 2022-04-27
Changed
endargument ofreportcommand accepts the aliasesnowandtodayfor current date.
v0.33.1 - 2022-04-25
Fixed
- enabling
show-taskconfig were hiding the description column for table report format.
v0.33.0 - 2022-04-21
Added
- flag to filter projects on
reportcommand.
v0.32.2 - 2022-02-25
Fixed
- examples on
READMEwere out of date with current commands and outputs. - short description of
showandreportwere too long.
v0.32.1 - 2022-02-25
Removed
logsubcommand removed (deprecated since v0.28.0)log in-progresssubcommand removed (deprecated since v0.29.0)
Changed
reportsubcommand allows calls using the aliaslog
v0.32.0 - 2022-02-14
Added
- new options
--random-colorwhen creating a project, to auto-generate a color for the project.
Thanks
Thank you to @NoF0rte for these improvements to the CLI.
v0.31.0 - 2022-02-08
Added
- new commands
task addandtask listto manage tasks on projects - new commands
client addandclient listto manage clients - new command
project addcreate projects
Changed
- command
project listhas new parameterclientsto filter only the projects related to the clients informed.
Thanks
Thank you to @NoF0rte for these improvements to the CLI.
v0.30.1 - 2022-01-17
Fixed
manualsubcommand was allowing creation of open time entries.
v0.30.0 - 2022-01-15
Changed
- if creation of incomplete time entries is not allowed, the commands will verify if the project is active or not.
- when closing a running time entry before creating a new one, the client will validate it before asking information on interactive mode.
Fixed
- archived projects were being shown as options to select in interactive mode, now only active are shown.
v0.29.0 - 2022-01-12
Changed
showsubcommand has its parameter as optional, and shows current time entry by default when the parameter is omitted.reportsubcommand has its parameters as optional, and usetodayas value when none is set.log in-progresssubcommand is deprecated in favor ofshow/show current
v0.28.0 - 2022-01-10
Changed
logsubcommand deprecated in favor ofreport- default
reportnow allows to set only one date of the range, in this situation it will treat start and end date as being the same.
Added
- new
report todayto show only the time entries from today, withreportoptions - new
report yesterdayto show only the time entries from yesterday, withreportoptions
Fixed
- golang commands were wrong
- there was a output on report subcommands breaking the format
- changelog release links were wrong
v0.27.1 - 2021-12-31
Fixed
report last-monthwas failing to create a valid range time because it was not truncated to 0 hours.
v0.27.0 - 2021-12-31
Changed
formatTimeEntryrenamed intoprintTimeEntry, and simplified to just callprintTimeEntrieswith a list containing the time entry informed.- go version on
go.modupdated to 1.17
Added
- all subcommands that can print more than one time entry will print the total duration for that
listing, this can be disabled with the
configsubcommand. reportsubcommands now have adescriptionflag to filter time entries that contains text on its description.- all subcommands that output time entries now have two new formats:
duration-formattedandduration-float, that do sum all durations of the time entries and print only the sum, formatted as time or as “floaty-hour”, respectively
Fixed
reportsubcommands which required pagination on the requests to the api were not doing so, the time entry list shown by this command was incomplete.
v0.26.1 - 2021-12-07
Changed
- hide “interrupted” error from the output
Fixed
- removed
printlnin the code breaking the component. - prevent error when no time has been chosen as output for
AskForDateTime
v0.26.0 - 2021-11-02
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 - 2021-10-08
Fixed
reportsubcommands were showing only the time not the date when the time entry was created.--quiethelp 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.
showsubcommand prints details about time entries without having to list of the time entries of a given date.edit,edit-multiple,show,clonesupport “^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 - 2021-09-20
Fixed
outsubcommand was not setting the user to look on ending the time entry.- listing subcommands didn’t show “hydrated” information about time entries,
GetUsersHydratedTimeEntrieswas 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 - 2021-09-18
Added
- new commands
mask-invoicedandmark-not-invoicedcreated 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 - 2021-09-17
Fixed
lastandcurrentaliases 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 - 2021-09-16
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
taskflag - new config
show-taskthat sets the reports/output of time entries to show its task, if exists
Fixed
- package
golang.org/x/crypto/ssh/terminalwas deprecated, substituted bygolang.org/x/term
Removed
- output formatters for
dto.TimeEntryImplwere not being used.
v0.22.0 - 2021-09-05
Changed
- use new go version (1.17)
- custom
changedfunction is the same as usingFlags.Changed, changed to use just the later - use
hydratedparameter 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-multiplewithout interactive mode were not working with theallow-name-for-idflag.
v0.21.0 - 2021-08-16
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
--interactiveflag 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
reportspackage renamed tointernal/output, to prevent usage from other packages and solve ambiguity withreportcommand andreport api(to come)- flag
allow-project-namenow will be calledallow-name-for-idto 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 - 2021-08-10
Changed
manualandincommands now support the use of--project,--description,--whenand--when-to-closeflags besides existing positional arguments (now optional even without interactive mode).
Added
- shorthand names for flags
when,when-to-close,description,projectandtag
v0.19.5 - 2021-08-03
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.
v0.19.4 - 2021-07-21
Fixed
editcommand were resetting the start time to “now” if the user didn’t set the--whenflag.whenandwhen-to-closeflags onedithelp had the wrong description.
v0.19.3 - 2021-07-20
Fixed
cloneshould create a open time entry by default.
Changed
deletecommand accepts multiple ids instead of just one.
v0.19.2 - 2021-07-20
Fixed
inandclonecommands were starting at 0001-01-01 because the default value of the flag was not being read.
v0.19.1 - 2021-07-19
Fixed
READMEnow contains updated help output.edit-multiplehelp should be capitalized.
v0.19.0 - 2021-07-19
Added
- subcommand
edit-multipleallows the user to edit all properties (except for the time interval) of multiple time entries simultaneously. when not in interactive mode the user can choose exactly which properties to change and to keep.
Changed
- flags used for creation and edition of time entries are now centralized into three functions
addFlagsForTimeEntryCreationto add flags used to create time entries,addFlagsForTimeEntryEditfor flags used on edition, andfillTimeEntryWithFlagsto replicated the flag values into the time entry.
Deprecated
- flag
end-aton edit subcommand will be removed in favor ofwhen-to-closeto be consistent with other subcommands. - flag
tagson many subcommands will be removed in favor oftagto imply that its one by flag.
v0.18.1 - 2021-07-12
Fixed
- when the input for start time is cancelled (ctrl+c), clockify-cli was blocking the user by looping on the field until a valid date-time string was used, or the process were killed.
Changed
- library
github.com/AlecAivazis/surveyupdated to the latest version. READMEupdated to show new configurations.
v0.18.0 - 2021-07-08
Added
- commands
in,cloneandmanualwill show a new “None” option on the projects list on the interactive mode if the workspace allows time entries without projects. - config
allow-incompleteallows the user to set if they want to create “incomplete time entries” or to validated then before creation. Flag--allow-incompleteand environment variableCLOCKIFY_ALLOW_INCOMPLETEcan be used for the same purpose. by default time entries will be validated.
Changed
- commands
inandclonewhen creating an “open” time entry will not validate if the workspace requires a project or not, allowing the creation of open incomplete/invalid time entries, similar to the browser application. newEntryfunction changed tomanageEntryand will allow a callback to deal with the filled and validated time entry instead of always creating a new one, that way same code that were duplicated between it and theeditcommand can be united.
Fixed
no-closingconfiguration was removed, because was not used anymore.
v0.17.2 - 2021-06-17
Fixed
- goreleaser needs a GitHub token with more permissions to create the homebrew Formulae.
v0.17.1 - 2021-06-16
Changed
- changing travis ci for gihub actions, seens easier to use and one less login to handle
v0.17.0 - 2021-06-16
Added
- command
report last-day, this command will list time entries from the last day the user worked. - command
report last-week-day, this command will look for the last day were the user should have worked (based on the new configworkweek-days) and list the time entries for that day. - config
workweek-daysfor the user to set which days of the week they work. it can be set interactively.
v0.16.1 - 2021-06-16
Fixed
- interactive selection of project would panic if the list were empty (filtering can empty the list) and pressing enter. now will return as “no project selected”.
Changed
workspacescommand is now namedworkspace,workspacesstill supportedworkspacedefault print format now shows the workspace marked as “default”
v0.16.0 - 2021-05-14
Added
project listcan print the projects as JSON and CSV.project listcommand default print format shows the client name and id
v0.15.1 - 2020-09-30
Fixed
- if the workspace has more the one page of projects, in interactive mode, only the first page was being shown. now fixed to run over all pages to fill the list.
Added
- “Getting Started” section on README.md to help new users to setup theirs environment.
v0.15.0 - 2020-09-12
Added
- support for command line completion on
fish,bashandzshfor subcommands and flag name’s - command line completion for arguments and flags for Tags, Projects, Workspaces and Users.
- alias
removeto commanddelete
Changed
- using the API
v1version to get tags available to a workspace. api.Client.Workspacesrenamed toapi.Client.GetWorkspacesto follow pattern used on other functions.- command
config,config setandconfig initcombined to be only one commandconfig - improvements on help of many commands to show usable values.
github.com/spf13/cobraupdated to latest possible current version to use completion improvements not yet released- “interactive mode” functions moved to a separate package.
v0.14.1 - 2020-09-09
Fixed
- the project select on interactive mode was not respecting the “default” project when cloning or informed through flags/parameters
v0.14.0 - 2020-09-08
Changed
- ask for “interactive mode” and “auto-closing” global configurations on
config initcommand.
v0.13.0 - 2020-09-08
Added
- select and multi-select interactive now support “glob like” expressions to filter a option
Changed
- client name of a project is shown on interactive mode to help identify the project.
Fixed
- select and multi-select options now support “non-english” characters like “รก” by converting then to a ASCII equivalent character.
[v0.12.2] - 2020-09-04
Fixed
- flag
--tokenhelp was not showing the right env var name.
v0.12.1 - 2020-08-22
Added
- “How to install” section on README to help new users to understand which options are available.
Fixed
- improving the “homebrew tap” to allow installation using:
brew install lucassabreu/tap/clockify-cli
v0.12.0 - 2020-08-31
Added
- support to homebrew for macOs users.
v0.11.0 - 2020-08-22
Added
- new
deletecommand to remove a existing time entry from a workspace. editcommand support to interactive mode.
Fixed
- when cloning a time entry, using interactive mode, the tags selected were not being respected.
editcommand was removing all data from time-entry if the flag to fill the field was not being set.
v0.10.1 - 2020-08-10
Fixed
inandmanualcommand were showing a error “Project ’’ informed was not found”, even when no project id/name is informed, this is now fixed.
v0.10.0 - 2020-08-07
Added
clonecommand now allow to change the project and description on the time entry creation, interactive mode already had this possibility- new flag
archivedonproject listto list archived projects - a new global config
allow-project-namethat, when enabled, allow the user to the project name (or parts of it) to be used where the project id is asked. - common function to get all pages on a paginated request, to not reimplement it, and guarantee all entities are being used/returned.
Fixed
clonesub-command was not asking to confirm the tags when the original time entry already had some.clonecommand now will respect flags--tagsand--when-to-close.- “billable” attribute was not being cloned
- keep the current CHANGELOG when extracting the last tag
- some grammatic errors (“applyied” => applied)
- remove mentions to GitHub or Trello token, until integration is implemented
v0.9.0 - 2020-07-20
Added
- new sub-command
versionto allow a quick way to know which version is installed - sub-command
reportnow supportsthis-weekandlast-weekas time range aliases listing respectively all entries which start this week, and all entries that happened on previous week.
Changed
- all relevant errors now have stack trace with then, which will be printed when the
flag
--debugis used. - error reporting now centralized, removing the need for a helper function in each sub-command
reportcommand default output (table) with show in which day the times entries were made.
v0.8.1 - 2020-07-09
Fixed
clonesub-command was not working because theno-closingviper config was being connected with a non-existing--no-closingflag in theinsub-command, that does not exist anymore.
v0.8.0 - 2020-07-08
Added
- created a new sub-command
manualthat will allow to create “completed” time entries in a more easy way. - created a new flag
--when-to-closeoninandcloneto set close time for the time entry being started (if wanted).
Changed
clonesub-command allows the flag--no-closingand will have the same flags asinto set start and end time (if wanted)insub-command will always stops time entries that are open in the moment of the sub-command call.- some helps and messages were improved to better describe what the command does
Removed
- flags
--trello-tokenand--github-tokenwere removed because they are not currently used and may give false impressions about the cli
Fixed
- some code for the in and clone sub-commands were duplicated, now they are in
newEntryfunction that they both used.
v0.7.2 - 2020-06-21
Fixed
- using JSON to notify Netlify, to prevent “malformed url errors”
v0.7.1 - 2020-06-21
Fixed
- snapcraft build/release problems after Travis config update
v0.7.0 - 2020-06-21
Added
- build every pull request as a snapshot to check if it is not failing
- command to auto-generated hugo formatted markdown files from the commands
- implemented a site to better help people to understand what the CLI does, without having to download it (live on: https://clockify-cli.netlify.app/)
Changed
- improved headers on the CHANGELOG to better represent the hierarchies
- moved
in cloneto be justclone
Fixed
- missing release links for the title on the CHANGELOG
- filling the brackets on the LICENSE file
v0.6.1 - 2020-06-16
Added
configcommand can print the “global” parameters injsonoryamlconfignow accepts a argument, which is the name of the parameter, when informed only this parameter will be printed
v0.6.0 - 2020-06-16
Added
- some badges, who does not like they?
Fixed
- help was showing
CLOCKIFY_WROKSPACEas env var for workspace, the right name isCLOCKIFY_WORKSPACE - fixed some
golintwarnings
Changed
- go mod dependencies updated
snapcraftpackage only requires network
Removed
- Removed
GetCurrentUserin favor ofGetMeto be closer to the APIs format
v0.5.0 - 2020-06-15
Changed
in,logandreportnow don’t require you to inform a “user-id”, if none is set, than will get the user id from the token used to access the api
Added
mecommand returns information about the user who owns the token used to access the clockify’s api
v0.4.0 - 2020-06-01
Added
- table format will show time entry tags
Changed
- when adding fake entries with
--fill-missing-dates, will set end time as equal to start time, so the duration will be 0 seconds
v0.3.2 - 2020-05-22
Changed
- printing duration as “h:mm:ss” instead of the Go’s default format, because is more user and sheet applications friendly.
v0.3.1 - 2020-04-01
Fixed
- fixed
--no-closingbeing ignored - interactive flow of
clonewas keeping previous time interval
v0.3.0 - 2020-04-01
Fixed
- minor grammar bug fixes
Changed
- improvements to the code moving interactive logic of the “in” command into
cmd/common.go - “in clone” is now interactive and will ask the user to confirm the time entry data before creating it.
v0.2.2 - 2020-03-18
Fixed
- the endpoint
workspaces/<workspace-id>/tags/<tag-id>does not exist anymore, instead theapi.Clientwill get all tags of the workspace (api.Client.GetTags) and filter the response to find the tag by its id.
v0.2.1 - 2020-03-02
Fixed
clockify-cli reportparameter--fill-missing-dates, was not working
v0.2.0 - 2020-03-02
Added
clockify-cli report --fill-missing-dateswhen this parameters is set, if there are dates from the range informed, will be created “stub” entries to better show that are missing entries.
v0.1.7 - 2020-02-03
Added
api.Clientnow supports getting one specific time entry from a workspace, without the need to paginate through all time entries to find it (GetTimeEntryfunction).
Fixed
clockify-cli reportwas not getting all pages from the period, implemented support for pagination and to get “all pages” at once intoClient.LogandClient.LogRange
Changed
- updated README, so it shows the
--helpoutput as it is now
v0.1.6 - 2020-02-03
Fixed
- fixed bug after Clockify’s API changed, where
userandprojectare not automatically provided by the “time-entries” endpoint, unless sending an extra parameterhydrated=true, anduseris not provided anymore, so now we find it using the user id from the function filter
v0.1.5 - 2020-01-08
Fixed
- fixed bug on the
logcommands, where the previous api url is not available anymore, now usingv1/workspace/{workspace}/user/{user}/times-entries - spelling of some words fixed and improving some aspects of the code
Changed
go.modupdated
Added
- seamless support for query parameters using the interface
QueryAppender - support for retrieving the current user of the token (
v1/user) in the API client. .nvimrcadded to provide spell check
v0.1.4 - 2019-08-05
Added
- Permissions to
snapinstallation, so configuration file can be used
v0.1.3 - 2019-08-02
Changed
- Set
publishtotrueso it will be sent tosnapcraft
v0.1.2 - 2019-08-02
Added
- Add release to snapcraft by the name
clockify-cli - Add command
clockify-cli reportimplemented to generate bigger exports. CSV, JSON,gofmtand table formats allowed in this command.
v0.1.1 - 2019-06-10
Changed
- The list returned by the
logcommand will the sorted starting from the oldest time entry.
v0.1.0 - 2019-04-08
Added
- Add
goreleaserto manage binary and releases of the command clockify-cli inasks user about new entry information wheninteractiveis enabled- Command
clockify-cli config initallows to start a fresh setup, creating a configuration file - Command
clockify-cli config setupdates/creates one configuration key into the configuration file clockify-cli incommands now allow more flexible time format inputs, can be: hh:mm, hh:mm:ss, yyyy-mm-dd hh:mm or yyyy-mm-dd hh:mm:ss- Command
clockify-cli outimplemented, it will close any pending time entry, and show the last entry info when closing it with success - Command
clockify-cli in cloneimplemented, to allow creation of new time entries based on existing ones, it also close pending ones, if any - Command
clockify-cli project listwas implemented, it allows to list the projects of a workspace, format the return to table, json, and just id. Helps with script automation - Using https://github.com/spf13/viper to link environment variables and configuration
files with the global flags. User can set variables
CLOCKIFY_TOKEN,CLOCKIFY_WORKSPACEandCLOCKIFY_USER_IDinstead of using the command flags - Command
clockify-cli tagscreated, to list workspace tags - Command
clockify-cli inimplemented, to allow creation of new time entries, it also close pending ones, if any - Command
clockify-cli edit <id>implemented, to allow updates on time entries, including the in-progress one using the id: “current --debugoption to allow better understanding of the requests- Command
clockify-cli log in-progressimplemented, with options to format the output, and in the TimeEntry format, instead of TimeEntryImpl - Command
clockify-cli logimplemented, with options to format the output, will require the user for now - Package
dtocreated to hold all payload objects - Package
api.Clientto call Clockfy’s API - Command
clockify-cli workspacescreated, with options to format the output - Command
clockify-cli workspaces userscreated, with options to format the output to allow retrieving the user’s ID
v0.0.1 - 2019-03-03
Added
- This CHANGELOG file to hopefully serve as an evolving example of a standardized open source project CHANGELOG.
- README now show which features are expected, and that nothings is done yet
- Golang CLI using cobra
- Makefile to help setup actions