Skip to content

ChangelogΒΆ

All notable changes to this project will be documented in this file.

[1.5.1] - 2024-11-26ΒΆ

πŸ› Bug FixesΒΆ

  • (models) From_kwargs not incorporating organization id

πŸ“š DocumentationΒΆ

  • (endpoints) Correct and improve docstrings
  • (cache, config) Remove unnecessary type on return value in docstrings

[1.5.0] - 2024-11-25ΒΆ

πŸš€ FeaturesΒΆ

  • (workspace) Organization id accepts a model
  • (utility) Deprecation helper method
  • (tags) Single get endpoint convenience method
  • (models) Add start and end date to project model
  • (utility) Get_timestamp helper function
  • (models) Project status enum
  • (models) Project get_status method
  • (projects) Status to query helper method
  • (endpoints) Implement re_raise parameter
  • (endpoints) Implement retries parameter
  • (trackers) Bulk edit item typed dict
  • (trackers) Edit named tuple data structure
  • (trackers) Bulk edit patch endpoint method

πŸ› Bug FixesΒΆ

  • (projects) Default color for using old gray hex code
  • (models) Missing pound sign on project default color
  • (projects) Edit & add method return type had none

🚜 Refactor¢

  • (workspace) Deprecate workspace_id argument correctly
  • (user) Add workspace_id param to endpoint + model type
  • (tracker) Add workspace_id param to endpoint + model type
  • (projects) Add workspace_id param to endpoint + model type
  • (clients) Add workspace_id param to endpoint + model type
  • (tags) Add workspace_id param to endpoint + model type
  • (user) Current endpoint will try refresh if no tracker is running
  • (clients) Properly implement collect endpoint cache queries
  • (cache) Json serializer formating date objects
  • (user) Collect method uses get_timestamp helper
  • (workspace) Collect method uses get_timestamp helper
  • (projects) Add collect endpoint method body attributes
  • (projects) Collect method endpoint format method helper
  • (projects) Implement new body attributes into format method
  • (projects) Update project collect method to include querying cache
  • (models) Prevent unnecessary datetime call
  • (endpoints) Change default timeout parameter
  • (utility) [breaking] Turn requires into a private function
  • (tracker) Improve edit endpoint method
  • (endpoints) Request method accepts lists as a body
  • (trackers) Update body parameters

πŸ•Έ DeprecationsΒΆ

  • (meta) Base endpoint workspace_id argument removal
  • (projects) Get color argument name
  • (trackers) Body start_date parameter

πŸ“š DocumentationΒΆ

  • (user) Update current endpoint docstring
  • (tags) Update get method docstring
  • (models) Helper method docstrngs
  • (projects) Update basic color docstrings
  • (projects) Add and update all endpoint + body docstrings
  • (cache) Remove docstring newlines
  • (endpoints) Improve all endpoint parameter documentation
  • (trackers) Add new functionality
  • (mermaid) Update package diagrams
  • (models) Improve docstring parameters
  • (models) Document from_kwargs classmethod

βš™οΈ Miscellaneous TasksΒΆ

  • (actions) Change release & documentation workflow dependency
  • (ruff) Ignore PLR0913 code
  • (ruff) Ignore C901 code
  • (merge) V1.5.0-release

πŸ§ͺ TestingΒΆ

  • (projects) Validate new body params
  • (projects) Validate status_to_query method
  • (projects) Sample data fixture
  • (projects) Check collect method endpoint parameters
  • (user) Validate re_raise works with current tracker
  • (trackers) Validate bulk edit endpoint
  • (utils) Improve version testing

[1.4.0] - 2024-11-11ΒΆ

πŸš€ FeaturesΒΆ

  • (exceptions) Custom exceptions for commonly raised value errors
  • (cache) Custom missing parent error

πŸ› Bug FixesΒΆ

  • (project) Wrong hex code for gray color
  • (utils) Remove unnecessary import

🚜 Refactor¢

  • (tag) Edit endpoint method accepts seperate name argument
  • (tag) Validate minimum name length
  • (endpoint) Use generics with base endpoint
  • (cache) User generic type with cache
  • (endpoint) Assign generics to all endpoints
  • (endpoint) Cache query method always returns list
  • (typing) Generics implementation
  • (workspace) Use custom exceptions for raised errors
  • (user) Use custom exceptions for raised errors
  • (user) Use custom exceptions for raised errors
  • (tag) Use custom exceptions for raised errors
  • (project) Use custom exceptions for raised errors
  • (client) Use custom exceptions for raised errors
  • (models) Use naming error instead of value error
  • (cache) Implement new error subclass

πŸ•Έ DeprecationsΒΆ

  • (tag) Remove the internal usage of a modified name in a tag
  • (trackers) Change exception type in add endpoint method

πŸ“š DocumentationΒΆ

  • (tag) Update edit endpoint docstring
  • (tag) Improve delete endpoint docstring
  • (tag) Improve add endpoint method docstring
  • (tag) Improve endpoint class docstring
  • (organization) Use custom exceptions for raised errors docstring
  • (exceptions) Document new exception classes
  • (mkdocs) Enable symbols in table of contents
  • (config) Reconfigure headings

πŸ§ͺ TestingΒΆ

  • (tag) Validate tag name length
  • (conftest) Rate limit trackers teardown
  • (utility) Make sure version is updated

[1.3.2] - 2024-11-05ΒΆ

πŸ› Bug FixesΒΆ

  • (cache) Json query hashable type error
  • (cache) Check for all sequences

πŸ“š DocumentationΒΆ

  • (endpoint) Improve cached endpoint docstrings
  • (cache) Improve base cache docstring
  • (cache) Improve json cache docstrings
  • (cache) Improve sqlite cache docstrings

πŸ§ͺ TestingΒΆ

  • (cache) Test for distinct flag and unhashable types

[1.3.1] - 2024-11-02ΒΆ

πŸ› Bug FixesΒΆ

  • (user) Refresh not getting passed to request
  • (cache) Json query distinct & list comparisons

🚜 Refactor¢

  • (endpoints) Add future type import

πŸ“š DocumentationΒΆ

  • (tracker) Add examples to docstrings

[1.3.0] - 2024-10-31ΒΆ

πŸš€ FeaturesΒΆ

  • (workspace) Workspace body dataclass
  • (workspace) Add workspace endpoint
  • (workspace) Collect workspaces endpoint
  • (workspace) Edit workspace endpoint
  • (workspace) Get time constraints
  • (workspace) Statistics endpoint
  • (models) Organization model
  • (schema) Added organization model
  • (endpoint) Added organization endpoint
  • (organization) Add endpoint method
  • (organization) Get endpoint method
  • (models) Validate organization name
  • (models) Validate workspace name
  • (organization) Edit endpoint method
  • (organization) Collect endpoint method
  • (organization) Delete endpoint method
  • (workspace) Organization id property
  • (utility) Add org endpoint to cleanup
  • Add organization objects to init

πŸ› Bug FixesΒΆ

  • (endpoint) Api status not catching json decode error
  • (body) Verifying wrong variable
  • (organization) Make sure edit method stores and returns model

🚜 Refactor¢

  • (workspace) Use a blank endpoint property
  • (endpoint) [breaking] Remove unnecessary class variables
  • (workspace) Improve get method error handling

πŸ•Έ DeprecationsΒΆ

  • (workspace) Accept organization instead of workspace
  • (workspace) Turn get method workspace argument optional

πŸ“š DocumentationΒΆ

  • (examples) Improve authentication information
  • (workspace) Document new workspace features
  • (workspace) Improve docstrings
  • (api) Update project structure and mermaid
  • (organization) Add organization to api reference
  • (workspace) Add typed dicts to api documentation
  • (config) Reword deprecation
  • (models) Improve model documentation

βš™οΈ Miscellaneous TasksΒΆ

  • (dev-deps) Pytest dependency added
  • (actions) Add new secrets to environment

πŸ§ͺ TestingΒΆ

  • (conftest) Organization id fixture
  • (workspace) Cover new endpoint methods
  • (tags) Extra delete method validation
  • (user) Fix test date creation
  • (workspace) Use org id instead
  • (organization) Test all functionality
  • (conftest) User id fixture

[1.2.0] - 2024-10-27ΒΆ

πŸš€ FeaturesΒΆ

  • (user) User details endpoint
  • (user) Verify authentication static method

πŸ› Bug FixesΒΆ

  • (user) Authentication verifier using wrong endpoint

🚜 Refactor¢

  • (endpoint) User httpx error codes
  • (user) Remove endpoint property forward slash

πŸ•Έ DeprecationsΒΆ

  • (user) Check authentication method convert to staticmethod

πŸ“š DocumentationΒΆ

  • (user) Update documentation

[1.1.1] - 2024-10-25ΒΆ

πŸ› Bug FixesΒΆ

  • (config) Revert exception type change
  • (cache) Check if the model has been deleted already

βš™οΈ Miscellaneous TasksΒΆ

  • (actions) Documentation requires test to pass

[1.1.0] - 2024-10-25ΒΆ

πŸš€ FeaturesΒΆ

  • (cache) Json session refresh method
  • (config) Get workspace helper function
  • (config) Togglrc workspace retrieve helper function

πŸ› Bug FixesΒΆ

  • (cache) Json session diff method not including completely new models

🚜 Refactor¢

  • (config) Extract togglrc retriever

πŸ“š DocumentationΒΆ

  • (config) Add example to config helper functions
  • (config) Add new helper functions

πŸ§ͺ TestingΒΆ

  • (cache) Test session refresh method and diffing
  • Validate more errors

[1.0.4] - 2024-10-24ΒΆ

πŸ› Bug FixesΒΆ

  • (cache) Json commit not syncing correctly

πŸ“š DocumentationΒΆ

  • (cache) Improve json docstring

[1.0.3] - 2024-10-22ΒΆ

πŸ› Bug FixesΒΆ

  • (client) Collect method not passing on refresh
  • (endpoint) Methods are abiding refresh argument
  • (user) Current tracker actually using cache
  • (cache) Json not refreshing in find method

πŸ“š DocumentationΒΆ

  • (contributing) Add more references
  • (endpoint) Add a note for methods using external api every time
  • (api) Update mermaid graphs
  • (api) Project structure

πŸ§ͺ TestingΒΆ

  • (conftest) Change number fixture

[1.0.2] - 2024-10-18ΒΆ

πŸ•Έ DeprecationsΒΆ

  • (reports) Rename methods to be consistent across reports

πŸ“š DocumentationΒΆ

  • (readme) Add changelog to links
  • (reports) Add raises to docstrings
  • (api) Small formatting changes

βš™οΈ Miscellaneous TasksΒΆ

  • (config) Coverage url
  • (cliff) Fix toml escape characters

[1.0.1] - 2024-10-16ΒΆ

πŸ› Bug FixesΒΆ

  • (endpoint) Logger name
  • (user) Collect endpoint not returning anything without parameters

πŸ“š DocumentationΒΆ

  • (cache) Fix docstring

βš™οΈ Miscellaneous TasksΒΆ

  • (precommit) Added gitleaks
  • (config) Additional urls

πŸ§ͺ TestingΒΆ

  • (user) Collect method with no parameters

[1.0.0] - 2024-10-15ΒΆ

πŸš€ FeaturesΒΆ

  • (utility) Requires decorator
  • Python 3.13 support
  • (cache) Comparison enumeration
  • (cache) Toggl query dataclass

πŸ› Bug FixesΒΆ

  • (tracker) Adjust error type
  • (utility) Swap datetime conditional
  • (endpoint) Refactor server error retry logic
  • (endpoints) Return none on 404
  • (cache) Sqlite delete method
  • (user) Collect method not correctly formatting time arguments

🚜 Refactor¢

  • [breaking] Merge modules with toggl_api
  • (endpoints) [breaking] Remove deprecated methods
  • (body) [breaking] Remove deprecated workspace_id parameter
  • (deps) [breaking] Convert sqlalchemy to optional dependency
  • (workspace) Improved get endpoint
  • (client) Use literal for typing status strings
  • (tag) Delete endpoint typing
  • (reports) Make pagination options optional
  • (cache) [breaking] Remove inverse flag
  • (cache) Abstract class query method
  • (cache) Json query method
  • (cache) Sqlite query method
  • (user) Fully implement collect method cache retrieval
  • (endpoints) Logging for caught exceptions
  • Additional debug logging
  • (models) Remove optional type from timestamp
  • (cache) Fix typing issues

πŸ“š DocumentationΒΆ

  • (readme) Update readme
  • (api) Update docs to new directory structure
  • Update examples
  • (mermaid) Update diagrams
  • (cache) Improved metaclass
  • (panzoom) Full screen enabled
  • (endpoints) Add official api links
  • Show source on endpoints
  • (example) Reports example
  • (readme) Add examples
  • (cache) Query docstrings added
  • (example) Logging example
  • (contributing) Additional instructions

🎨 Styling¢

  • (cache) Remove optional type annotation as return

βš™οΈ Miscellaneous TasksΒΆ

  • Update coverage config
  • (precommit) Added mypy
  • (nvim) Function for generating official docstrings
  • (actions) Simplify workflows
  • (typing) Add py.typed file

πŸ§ͺ TestingΒΆ

  • (user) Additional status code tests
  • (endpoints) Additional argument types
  • (reports) Validate extensions
  • (tracker) Mock http status code logic
  • (sqlite) Additional tests
  • (conftest) Only delay on integration tests
  • (tracker) Verify creation dates logic
  • More coverage
  • (cache) Query conversion

[0.5.1] - 2024-10-07ΒΆ

πŸ› Bug FixesΒΆ

  • (config) Removed interpolation

πŸ“š DocumentationΒΆ

  • Update contributing
  • (endpoints) Improve docstrings

βš™οΈ Miscellaneous TasksΒΆ

  • (actions) Fix release workflow
  • (precommit) Add gh action validator to pre commit
  • (precommit) Upgrade ruff

[0.5.0] - 2024-10-06ΒΆ

πŸš€ FeaturesΒΆ

  • (endpoint) Api status endpoint
  • (reports) Summary report endpoints
  • (reports) Detailed report endpoints
  • (reports) Weekly report endpoints
  • (reports) Module level imports
  • (body) Validate parameter classmethod

πŸ› Bug FixesΒΆ

  • (endpoint) Cache parent logic
  • (utility) Date override

🚜 Refactor¢

  • (meta) Basebody abstract class
  • (endpoint) Remove final type from base endpoint
  • (endpoint) Adjust to allow for more flexible models
  • (reports) Adjust responses
  • (util) Default cleanup delay
  • (reports) Report body improvements
  • (endpoints) Adjust to new body format signature

πŸ•Έ DeprecationsΒΆ

  • Modules namespace
  • (deps) Convert sqlalchemy to optional dependency
  • (body) Workspace_id parameter

πŸ“š DocumentationΒΆ

  • Show symbol type headings
  • (reports) Documentation update
  • Improve user guide
  • Move about folder
  • Update mermaid diagrams
  • Update changelog

🎨 Styling¢

  • (endpoint) Removed optional as a return type

βš™οΈ Miscellaneous TasksΒΆ

  • Omit scripts folder from coverage
  • (actions) Remove macos from matrix
  • Git cliff configuration

πŸ§ͺ TestingΒΆ

  • Fix config encoding
  • (reports) All endpoints

[0.4.0] - 2024-09-23ΒΆ

πŸš€ FeaturesΒΆ

  • (scripts) Clean toggl script

🚜 Refactor¢

  • (endpoint) Rename methods
  • Cleanup utils
  • (tags) Delete method accepts int

πŸ“š DocumentationΒΆ

  • Fix config docstring
  • Update documentation

βš™οΈ Miscellaneous TasksΒΆ

  • (nvim) .nvim.lua file
  • Bump version 0.4.0

πŸ§ͺ TestingΒΆ

  • (client) Delete method int arg

[0.3.1] - 2024-08-13ΒΆ

🚜 Refactor¢

  • Get custom workspace

βš™οΈ Miscellaneous TasksΒΆ

  • Fix urls
  • Bump version 0.3.1

πŸ§ͺ TestingΒΆ

  • Extra coverage

[0.3.0] - 2024-06-26ΒΆ

🚜 Refactor¢

  • (cache) Allowing no expiration
  • (cache) Json cache syncing
  • (cache) Int allowed as argument

βš™οΈ Miscellaneous TasksΒΆ

  • Bump version 0.3.0

[0.2.3] - 2024-06-22ΒΆ

πŸ› Bug FixesΒΆ

  • Tracker tag conversion

πŸ“š DocumentationΒΆ

  • Other applications

βš™οΈ Miscellaneous TasksΒΆ

  • Updated ruff rules
  • Bump version 0.2.3

πŸ§ͺ TestingΒΆ

  • Refactor conftest

[0.2.2] - 2024-06-21ΒΆ

πŸ› Bug FixesΒΆ

  • (endpoints) Single model get methods
  • Config issues

🚜 Refactor¢

  • Flexible arguments

πŸ“š DocumentationΒΆ

  • Remove release notes

βš™οΈ Miscellaneous TasksΒΆ

  • Bump version 0.2.2

[0.2.1] - 2024-06-21ΒΆ

πŸ› Bug FixesΒΆ

  • (tracker) Tag action only needed when editing
  • Cached response inside list

🚜 Refactor¢

  • Logging

βš™οΈ Miscellaneous TasksΒΆ

  • Bump version 0.2.1

πŸ§ͺ TestingΒΆ

  • Sqlite workspace id set to random

[0.2.0] - 2024-06-20ΒΆ

πŸš€ FeaturesΒΆ

  • (cache) Json max length
  • (cache) Query method
  • (cache) Connection close on delete

πŸ› Bug FixesΒΆ

  • (tracker) Bad body conditonal brackets
  • (user) Missing raise

🚜 Refactor¢

  • (model) Better str representation

πŸ“š DocumentationΒΆ

  • Update readme

βš™οΈ Miscellaneous TasksΒΆ

  • Update httpx
  • Bump version 0.2.0

[0.1.1] - 2024-06-11ΒΆ

πŸ› Bug FixesΒΆ

  • Tracker start error handling
  • (endpoint) Retry on server error

🚜 Refactor¢

  • Removed unnecessary method
  • Base url added to client

πŸ“š DocumentationΒΆ

  • Improved api documentation

🎨 Styling¢

  • Various changes

βš™οΈ Miscellaneous TasksΒΆ

  • Fix release drafter
  • Version 0.1.1

[0.1.0] - 2024-06-10ΒΆ

πŸš€ FeaturesΒΆ

  • Basic project structure
  • Toggl client metaclass
  • Tracker api
  • Dataclasses
  • User endpoint
  • Project api
  • Workspace api
  • Tag api
  • Client api
  • Config utility
  • Added classes to init
  • Utility functions
  • Workspace utility
  • Sql schema
  • Cache model
  • (trackers) Body dataclass
  • (projects) Body dataclass
  • (clients) Body dataclass
  • (trackers) Add tracker value checking

πŸ› Bug FixesΒΆ

  • (client) Wrong workspace id
  • Python 3.10 compatibility
  • Typing logic
  • Python 3.10 datetime parsing
  • (user) Missing refresh arg
  • (models) Timezone issues with sechma
  • (cache) Sqlite caching changes
  • (trackers) Stop endpoint

🚧 Work In Progress¢

  • Caching mechanism
  • Cache mechanism

🚜 Refactor¢

  • (meta) Cleaner classes
  • Remove debugging code
  • Renamed src directory
  • Sql schema
  • Model creation
  • (models) Foreign keys & dict converter
  • (endpoint) Merged endpoints
  • Endpoint changes
  • Cache adjustments
  • Model adjustments
  • (cache) Various changes
  • General typing
  • (models) Missing timezone schema
  • Small changes
  • Simplified config utility
  • (tags) Improved json body
  • Typing

πŸ“š DocumentationΒΆ

  • Readme
  • Added license
  • Class & package layout
  • Mkdocs config
  • Documentation boilerplate
  • Cache flowchart
  • Moved images
  • Updated class graph
  • Docstring
  • Api documentation
  • Api documentation
  • User guide
  • Examples
  • Changelog
  • Coverage badge
  • Readme badge

🎨 Styling¢

  • Small changes
  • Typing & version

βš™οΈ Miscellaneous TasksΒΆ

  • Basic setup
  • Added gitignore
  • Basic data
  • Ignore direnv
  • Lsp & lint config
  • Pytest env dependency
  • Pytest config
  • Pytest order dependency
  • Tracker cache
  • Ci dependencies & config
  • Github publishing workflow
  • Tox gh actions tweaks
  • Sqlalchemy dependency
  • Docs generation
  • Doc dependencies
  • Release notes
  • Test dependencies
  • Mypy config
  • Sqlalchemy type stubs
  • Added pre commit
  • Mkdocstrings depedency
  • Mkdocs dependencies
  • Coverage
  • Pygments dependency
  • Mkdocs changelog dependency
  • Poetry urls
  • Mkdocs callout dependency
  • Coverage

πŸ§ͺ TestingΒΆ

  • Conftest
  • Metaclasses
  • Conftest
  • Teardown fixture
  • Workspace id
  • Refactor directory structure
  • Endpoint refactor
  • Pytest configuration
  • Sqlite cache