Skip to content

fix(deps): update dependency @doist/todoist-sdk to v14 - #477

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/doist-todoist-sdk-14.x
Open

fix(deps): update dependency @doist/todoist-sdk to v14#477
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/doist-todoist-sdk-14.x

Conversation

@renovate

@renovate renovate Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@doist/todoist-sdk (source) 13.0.214.0.0 age confidence

Release Notes

Doist/todoist-sdk-typescript (@​doist/todoist-sdk)

v14.0.0

Compare Source

⚠ BREAKING CHANGES
  • drop workspace insight folder ID and health task recommendations (#​662)
Bug Fixes
  • drop workspace insight folder ID and health task recommendations (#​662) (a8351f2)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Monday through Friday (* * * * 1-5)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Aug 17, 2026
@renovate
renovate Bot force-pushed the renovate/doist-todoist-sdk-14.x branch from f979eb1 to 87ed3b9 Compare August 17, 2026 15:51

@doistbot doistbot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is a straightforward Renovate dependency bump from @doist/todoist-sdk 13.0.2 to 14.0.0, but the breaking changes in v14 remove two fields the CLI still actively consumes.

Few things worth tightening:

  • src/commands/project/health.ts:40-44 still reads health.taskRecommendations, which v14 removes from getProjectHealth() — this will break type-check and build in CI. Remove that block and update the corresponding project health test mocks.
  • src/commands/workspace/workspace.test.ts still includes folderId in inline mock objects (lines 650, 681, 698) and asserts folderId: null in the --json test (line 746), but v14 drops folderId from the getWorkspaceInsights response — these mocks and assertions need updating to avoid excess-property type errors and failing tests.

Share FeedbackReview Logs

Comment thread package.json
"dependencies": {
"@doist/cli-core": "1.1.0",
"@doist/todoist-sdk": "13.0.2",
"@doist/todoist-sdk": "14.0.0",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

P1 v14.0.0 removes taskRecommendations from getProjectHealth()'s return type (release notes: "drop ... health task recommendations"), but src/commands/project/health.ts:40-44 still reads health.taskRecommendations. npm run type-check and npm run build (both run in CI) will fail with TS2339. Remove the recommendations block from health.ts and update the project health tests that still mock taskRecommendations.

Comment thread package.json
"dependencies": {
"@doist/cli-core": "1.1.0",
"@doist/todoist-sdk": "13.0.2",
"@doist/todoist-sdk": "14.0.0",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

P1 v14's breaking change "drop workspace insight folder ID" removes folderId from the getWorkspaceInsights response, but src/commands/workspace/workspace.test.ts:650,681,698 still include folderId in inline mockResolvedValue object literals (excess-property type error) and the --json test at line 746 still asserts folderId: null in the output, which the SDK no longer returns. Update these mocks/assertions.

@renovate
renovate Bot force-pushed the renovate/doist-todoist-sdk-14.x branch from 87ed3b9 to 9f945e2 Compare August 18, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant