Skip to content

fix(deps): Bump immutable to v4 || v5#4541

Closed
jfox-box wants to merge 1 commit into
masterfrom
bump-immutable-v4-v5
Closed

fix(deps): Bump immutable to v4 || v5#4541
jfox-box wants to merge 1 commit into
masterfrom
bump-immutable-v4-v5

Conversation

@jfox-box

@jfox-box jfox-box commented May 7, 2026

Copy link
Copy Markdown
Contributor

This bumps the immutable peer dependency to v4 || v5 to satisfy box-ai-content-answers which as a constraint of >4.0.0.

This doesn't affect draft-js beacuse it declares immutable as a direct dependency, not a peer dependency.

Summary by CodeRabbit

  • Chores
    • Updated dependency versions for improved compatibility and stability.

BREAKING CHANGE: immutable v3 is no longer supported
@jfox-box jfox-box requested a review from a team as a code owner May 7, 2026 16:08
@coderabbitai

coderabbitai Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b9a19c25-9ceb-4719-9a10-f7b3fe68d1d7

📥 Commits

Reviewing files that changed from the base of the PR and between 8f84598 and 8ba74f1.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (1)
  • package.json

Walkthrough

This PR updates the immutable library version constraints in package.json to support newer releases. DevDependencies are updated to v5.1.5, while peerDependencies are expanded to accept both v4 and v5 versions, maintaining backward compatibility.

Changes

Immutable Version Constraints

Layer / File(s) Summary
Dependency Constraints
package.json
DevDependencies immutable updated from ^3.8.3 to ^5.1.5. PeerDependencies immutable updated from ^3.8.3 to `^4.3.8

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested labels

ready-to-merge

Suggested reviewers

  • jpan-box
  • tjuanitas

Poem

🐰 Hop along, dear friend, through version trees so tall,
From thrice-old immutable to version five's grand hall,
Four or five now welcome in the peers' embrace,
Backward compatible—a most harmonious place!
Dependencies dance together, version-wise and bright,

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely summarizes the main change: bumping the immutable dependency to support v4 || v5.
Description check ✅ Passed The description provides context for the dependency bump and mentions no impact on draft-js, though it lacks structured sections compared to the template.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bump-immutable-v4-v5

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 Microsoft Presidio Analyzer (2.2.362)
package.json

Microsoft Presidio Analyzer failed to scan this file

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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.

@jfox-box jfox-box closed this May 8, 2026
@tjuanitas tjuanitas deleted the bump-immutable-v4-v5 branch July 8, 2026 02:01
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