Toggl-api-wrapper

Latest version: v1.6.0

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

1.6.0

๐Ÿš€ Features

- *(endpoints)* Build request private helper method
- *(cache)* Model helper property

๐Ÿšœ Refactor

- *(endpoints)* Remove unnecessary ruff ignore flag
- *(endpoints)* Convert process_models into clasmethod
- *(endpoints)* Make client attribute public
- *(endpoints)* Request handle error helper private method
- *(endpoints)* Process_response private helper method
- *(endpoints)* Improve request method readability
- *(json-cache)* Uses new model property
- *(sqlite-cache)* Uses new model property
- *(reports)* Adjust report endpoint to base
- *(endpoints)* Use MODEL classvar instead of property
- *(cached_endpoint)* Adjust subclass to new structure
- *(cached_endpoint)* Log info about cache expiration
- Remove all optional types

๐Ÿ•ธ Deprecations

- *(endpoints)* Deprecate 'method' helper method in favour of build_request
- *(endpoints)* Deprecate model property in favour of class variable
- *(endpoints)* Deprecate 'endpoint' property in favour of 'BASE_ENDPOINT' ClassVar

๐Ÿ“š Documentation

- *(json_cache)* Encoder & decoder docstrings

โš™๏ธ Miscellaneous Tasks

- *(ruff)* Ignore tc006 code
- *(cliff)* Ignore merge commits
- *(cliff)* Merge cliff.toml with pyproject

1.5.1

๐Ÿ› 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

๐Ÿš€ 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

๐Ÿงช 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

๐Ÿš€ 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

๐Ÿ› 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

๐Ÿ› 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

Page 1 of 5

ยฉ 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.