Toggl-api-wrapper

Latest version: v1.5.1

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

Scan your dependencies

Page 1 of 5

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

<!-- generated by git-cliff -->

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
- *(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

<!-- generated by git-cliff -->

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

<!-- generated by git-cliff -->

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

<!-- generated by git-cliff -->

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

<!-- generated by git-cliff -->

1.3.0

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

<!-- generated by git-cliff -->

Page 1 of 5

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