Skip to content

Revert "build(deps-dev): bump @wordpress/api-fetch from 7.29.0 to 7.35.0"#3845

Merged
acicovic merged 1 commit intodevelopfrom
revert-3816-dependabot/npm_and_yarn/wordpress/api-fetch-7.35.0
Nov 18, 2025
Merged

Revert "build(deps-dev): bump @wordpress/api-fetch from 7.29.0 to 7.35.0"#3845
acicovic merged 1 commit intodevelopfrom
revert-3816-dependabot/npm_and_yarn/wordpress/api-fetch-7.35.0

Conversation

@acicovic
Copy link
Collaborator

@acicovic acicovic commented Nov 18, 2025

Reverts #3816

Summary by CodeRabbit

  • Chores
    • Downgraded WordPress API dependency version.

@acicovic acicovic added this to the 3.22.0 milestone Nov 18, 2025
@acicovic acicovic requested a review from a team as a code owner November 18, 2025 20:42
@acicovic acicovic merged commit ee4058c into develop Nov 18, 2025
0 of 35 checks passed
@acicovic acicovic deleted the revert-3816-dependabot/npm_and_yarn/wordpress/api-fetch-7.35.0 branch November 18, 2025 20:42
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 18, 2025

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

The @wordpress/api-fetch dependency was downgraded from version 7.35 to 7.29 in package.json. The fetch method signature in base-provider was updated to remove the <true> generic constraint from the APIFetchOptions parameter, changing it from APIFetchOptions<true> to APIFetchOptions.

Changes

Cohort / File(s) Summary
Dependency downgrade
package.json
Downgraded @wordpress/api-fetch from 7.35 to 7.29 in devDependencies
Type signature update
src/content-helper/common/providers/base-provider.tsx
Removed the <true> generic constraint from the APIFetchOptions parameter in the protected fetch method, making the options type less strict while maintaining the same return type and generic T parameter

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Verify that all callers of the fetch method are compatible with the looser APIFetchOptions type
  • Confirm the package downgrade to 7.29 does not introduce any compatibility issues or regressions
  • Check if other provider implementations require similar type adjustments

Possibly related PRs

Suggested labels

Deps: JavaScript, Deps

Suggested reviewers

  • vaurdan
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch revert-3816-dependabot/npm_and_yarn/wordpress/api-fetch-7.35.0

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a22d840 and 7b7e59a.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • package.json (1 hunks)
  • src/content-helper/common/providers/base-provider.tsx (1 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

github-actions bot added a commit that referenced this pull request Nov 19, 2025
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.

1 participant