Skip to content

Release 1.2.2 - #190

Open
devtools-agent[bot] wants to merge 1 commit into
mainfrom
release-1.2.2
Open

devtools-agent[bot] wants to merge 1 commit into
mainfrom
release-1.2.2

Conversation

@devtools-agent

Copy link
Copy Markdown

Description of the change

Release v1.2.2 version update. Bumps version in package.json and package-lock.json from 1.2.1 to 1.2.2, the same change as the v1.2.1 release (#184).

Includes:

Note: no new API and no breaking change, hence a patch bump. The other unreleased commits (#173, #187, #188) only touch the examples, the Dependabot config, the README and dev tooling. In the root package they change only devDependencies (glob, rimraf) and an overrides entry, none of which reach consumers of the published package.

Linear: SDK-851

Validation

On this branch (Node 20 / npm 9): npm ci, npm run build, npm test (16/16 passing), npm run typecheck (no errors) and npm run lint (clean). npm ci left the lockfile unchanged, and npm pack --dry-run reports @rollbar/react@1.2.2.

Type of change

  • New release

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Nov 23, 2026

Copy link
Copy Markdown

CR-1343

@devtools-agent

Copy link
Copy Markdown
Author

AI Agent Review (anthropic, CLI default model; requested openai/openai-astra)

Scrutiny: light

This PR bumps the version of @rollbar/react to 1.2.2 to publish recent fixes to npm. The diff itself changes no library code—only the version metadata.

The main fix included in this release addresses an issue where re-rendering the tree around Rollbar's <Provider> would cause every consumer component to re-render as well, even those wrapped in React.memo, which are meant to skip unnecessary re-renders. After the fix, memoized consumers only re-render when the underlying Rollbar instance, its options, or a custom Rollbar constructor actually changes. This logic lives in src/provider.js in this repository. New tests in src/tests/components/provider.test.tsx cover three scenarios: repeated parent re-renders keep the same Rollbar instance, memoized consumers render only once, and changing the Rollbar prop still produces a new value. I read these tests but did not execute them. Since there's no new API surface and nothing appears to break, a patch version bump is appropriate.

On release readiness: the version is consistently updated to 1.2.2 in both package.json and package-lock.json, keeping the lockfile valid. The repository's publish workflow requires the GitHub release tag to match the package.json version, so the release should be tagged accordingly. Since 1.2.2 has no pre-release suffix, it will publish under npm's default latest tag. No other files in the repo reference the version number, and the example projects (which depend on a ^1.0.0 range or a local build) require no changes.

Overall, there are no blocking issues. Some claims about what else is included since the prior release could not be verified, since this diff only shows the version-bump commit. I was also unable to confirm the reported build, test, typecheck, lint, and npm pack results myself, as I could only inspect files, not run commands.

@rollbar-rivet
rollbar-rivet Bot requested a review from msandula12 November 23, 2026 21:11

@msandula12 msandula12 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🚀

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