All notable changes to this project get documented in this file. Unless I forget it. Sorry.
- Fixed
getAllSections
to useprojectId
correctly. (Thanks, @GoldcarrotYamil)
- Updated the library to work with v2 API. (Thanks, @Valkyrie00)
- Removed PHP 7.x support (EOL), prepared for PHP 8.2.
- Improved tests.
- Some more code cleanups and fixes.
- Updated dependencies (Guzzle & PHPUnit) to latest versions.
- Removed deprecated FILTER_SANITIZE_STRING. (Thanks, @dvdheiden)
- Updated dependencies (Guzzle & PHPUnit) to latest versions. (Thanks, @vdhicts)
- Reintroduced the possibility to pass on Guzzle Configuration as a third parameter to the constructor (
new TodoistClient(string $apiToken, string $languageCode = 'en', array $guzzleConf = [])
).
This version is finally compatible with every available endpoint of the official REST API. Please check out the Wiki for more information on the methods, and many examples.
- Heavily updated the code. This might have introduced a few breaking changes, but I am currently not sure. 🤷
- Improved almost everything, and added the Section endpoints.
getAllTasks
has now an optional ID for a project.- Updated Composer packages.
- There was a typo in the endpoint of the reopen method.
- Some coding style changes, updated *.md & Dot files etc.
- Updated Composer packages.
- Changelog missing. Sorry!
- Updated some calls to use right method.
- Merged the latest version from @balazscsaba2006.
- Updated some coding style settings.
- Improved the code quality overall.
- Added a helper function from @balazscsaba2006.
- Enabled GZIP.
- Requires PHP 7.x.
- Some more smaller improvements.
- Improved the code of old Traits.
- Added
TodoistProjectsTrait.php
from @balazscsaba2006. - Implemented all the Projects endpoints.
- Implemented all the Comments endpoints.
- Removed ramsey/uuid.
- Implemented all the Labels endpoints.
- Yeah, I rewrote this thingy.
- Implemented all the Projects endpoints.
- Started to code this library.
- Implemented loginUser() to log in a user.
- Aliased loginUser() as getUserDetails(), because that’s what it does. ;)
- Implemented testToken() to check if the internally set token is valid.
- Implemented static getTimezones(), which returns all the different time zones Todoist supports.
- Implemented static registerUser() to register a user.
- Implemented static deleteUser() to delete a user. But be warned: This API(!) is buggy, because there is currently no way to check if the call really work, as the API returns “ok” all the time.