Releases: ryancheley/toggl-to-sqlite
v0.7.0 Convert to pyproject.toml
v0.6.0
This release is essentially a refactor.
Features
- added
cog
to autogenerate readme - added issue templates for easier contribution
- added contribution guide
- added
pre-commit
- dropped support for Python 3.6
Contributing
This release includes a contribution guide to help future contributors (hopefully!).
I also added black
formatting
Finally, I added Python 3.10-dev to the testing matrix
Get archived projects
Merged the enhancement submitted by @JakobGM to
- include current and archived projects
- documentation improvements to make it clearer how to use the
since
option
Enhanced Security
In this release I removed the api_token from the workspaces table. The presence of this field presented a security issue if a user published their sqlite db to a public source (like Vercel).
Same Toggl-to-SQLite but with 100% test coverage
The only change is the increase in test coverage. No new features
New Features!
New Features
- Added a
since
flag to allow you to get only the data since a specific date. See the ReadMe for more details on how to use - Added a
days
flag to allow you to control the number of days that you retrieve for theget_time_entries
method. This is useful if you tend to have LOTS of time entries everyday. Use a smaller number to make sure you get all of the data. A larger number has the potential to cap your data due to limitations of the Toggl API. See the ReadMe for more details on how to use
More Testing!
This feature sees 100% coverage (locally for me at least). I'm still trying to work out the mocking part of the live API but I've added code to make sure that silly input data doesn't cause the package to just fail
Fixed Authentication Issue
As reported in #1 if an auth.json
file existed, but didn't have the proper keys, the command:
toggl-to-sqlite auth
would generate a KeyError
. This release fixes that issue
Adding Support for types
In this release I added the ability to get not just time_entries
, but also projects
, and workspaces
using a new --type
argument. The default is to get all three, but if you want to get just 1 or 2 of the types, you can.
Get a single type:
$ toggl-to-sqlite fetch -t workspaces toggl.db
Get two types:
$ toggl-to-sqlite fetch -t workspaces -t projects toggl.db
There are currently only 3 types to get:
time_entries
projects
workspaces