Skip to content

Migrate to new Todoist v1 API#418

Merged
jamiebrynes7 merged 3 commits intomasterfrom
feat/migrate-api-versions
Aug 14, 2025
Merged

Migrate to new Todoist v1 API#418
jamiebrynes7 merged 3 commits intomasterfrom
feat/migrate-api-versions

Conversation

@jamiebrynes7
Copy link
Copy Markdown
Owner

No description provided.

The key difference is that the endpoints are paginated, so we must make
N requests until there is nothing left
@jamiebrynes7 jamiebrynes7 requested a review from Copilot August 14, 2025 18:28
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the Todoist API integration from REST API v2 to the new Todoist API v1, implementing pagination support for API responses.

  • Updated API endpoint from v2 to v1
  • Introduced pagination handling with a new doPaginated method
  • Refactored all list-fetching methods to use pagination
  • Added VS Code settings for darwin-arm64 Biome support

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
plugin/src/api/index.ts Main API migration with pagination implementation and endpoint updates
docs/docs/changelog.md Documentation of the API migration
.vscode/settings.json Added darwin-arm64 Biome configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@jamiebrynes7 jamiebrynes7 merged commit 487574b into master Aug 14, 2025
2 checks passed
@jamiebrynes7 jamiebrynes7 deleted the feat/migrate-api-versions branch August 14, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants