Skip to content

Releases: ryancheley/toggl-to-sqlite

v0.7.0 Convert to pyproject.toml

29 Jul 18:00
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.6.0...0.7.0

v0.6.0

11 Jan 04:12
4941309
Compare
Choose a tag to compare

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

20 Jul 03:16
Compare
Choose a tag to compare

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

14 Jul 01:31
Compare
Choose a tag to compare

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

05 Jun 22:16
d50016c
Compare
Choose a tag to compare

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

31 May 16:54
Compare
Choose a tag to compare

The only change is the increase in test coverage. No new features

New Features!

13 Mar 21:17
Compare
Choose a tag to compare

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 the get_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

09 Mar 02:37
Compare
Choose a tag to compare

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

09 Mar 02:12
Compare
Choose a tag to compare

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

Linting and Badges

08 Mar 16:14
Compare
Choose a tag to compare

I ran black and flake8 on the code. Additionally, I added badges for:

  • PyPI: PyPI
  • The Change Log: GitHub changelog
  • Testing Status: Tests
  • License: License