Skip to content

Release: 2.29.1 - #235

Closed
uc-brunosilva wants to merge 3 commits into
masterfrom
bump/2.29.1
Closed

Release: 2.29.1#235
uc-brunosilva wants to merge 3 commits into
masterfrom
bump/2.29.1

Conversation

@uc-brunosilva

@uc-brunosilva uc-brunosilva commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

CodeAnt-AI Description

Release React Native SDK 2.29.1 with the latest consent features and fixes

What Changed

  • Updates the React Native package and native Android/iOS dependencies to version 2.29.1
  • Adds the latest consent capabilities, including Amazon Consent Signal mediation and statistical-exception support
  • Includes fixes for banner layout, invalid links, content loading hangs, debug-build crashes, and TV navigation

Impact

✅ Access to the latest consent and mediation features
✅ Fewer banner, link, and content-loading failures
✅ More reliable consent navigation across Android, iOS, and TV

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Summary by CodeRabbit

  • New Features

    • Added support for the Usercentrics SDK 2.29.1 release.
    • Included updates covering mediation support, privacy handling, release automation, platform UI improvements, stability fixes, and reduced iOS binary size.
  • Documentation

    • Added release notes for versions 2.29.0 and 2.29.1.
    • Added repository guidance for release workflows and validation.
  • Chores

    • Updated package and Android SDK versions to 2.29.1.

@codeant-ai

codeant-ai Bot commented Aug 6, 2026

Copy link
Copy Markdown

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Reviewed your PR 415dff8 Aug 06, 2026 · 10:02 10:03

@codeant-ai

codeant-ai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai Bot added the size:L This PR changes 100-499 lines, ignoring generated files label Aug 6, 2026
@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@uc-brunosilva, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 24 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: e1668721-8d94-44fc-97c7-28a2931d95ad

📥 Commits

Reviewing files that changed from the base of the PR and between 415dff8 and a1f00c8.

📒 Files selected for processing (4)
  • ios/Manager/UsercentricsManager.swift
  • ios/RNUsercentricsModule.swift
  • sample/ios/sampleTests/Fake/FakeUsercentricsManager.swift
  • sample/ios/sampleTests/Mock/CMPData+Mock.swift
📝 Walkthrough

Walkthrough

The release updates package and Android SDK versions to 2.29.1, adds changelog entries for versions 2.29.1 and 2.29.0, and documents the repository release workflow.

Changes

Release metadata

Layer / File(s) Summary
Version and changelog alignment
package.json, android/build.gradle.kts, CHANGELOG.md
Updates package and Android SDK versions to 2.29.1. Adds release notes for versions 2.29.1 and 2.29.0.
Release process guidance
CLAUDE.md
Documents version updates, lockfile handling, validation commands, publishing boundaries, CI jobs, and iOS New Architecture assumptions.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

Suggested labels: Review effort 1/5

Suggested reviewers: asadraza-usercentrics, uc-brunosouza

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the primary change as the 2.29.1 release.
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.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bump/2.29.1

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.

@pantoaibot

pantoaibot Bot commented Aug 6, 2026

Copy link
Copy Markdown

PR Summary:

Release: bump to 2.29.1 — add release notes, version bumps, and repository release guidance.

  • CHANGELOG.md: added 2.29.1 notes (highlights: Unity ServiceConsent.isExempt; Amazon Consent Signal (ACS) mediation support + Adjust adapter; PUR/statistical-exception disclosure & toggle; Unity SPM release automation). Fixes: Android banner rendering behind system bars, ExternalLinkSpan crash, iOS HTML parsing hang, removed stray assert(false) crashes, TV DPAD_DOWN navigation; Chore: stripped Unity iOS debug symbols (~31% binary size reduction).
  • package.json: bumped "version" and "iosPackageVersion" to 2.29.1.
  • android/build.gradle.kts: bumped usercentricsVersion to 2.29.1.
  • Added CLAUDE.md: repository-specific guidance and checklist for preparing releases (version bump procedure, pod/lockfile notes, CI expectations).
  • No functional code changes beyond version/documentation updates; no breaking API changes introduced.

Reviewed by Panto AI

@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Release 2.29.1: bump RN wrapper + native SDK pins

⚙️ Configuration changes 📝 Documentation 🕐 10-20 Minutes

Grey Divider

AI Description

• Publish 2.29.1 release notes in CHANGELOG
• Bump JS package + Android dependency pin to 2.29.1
• Update iOS Podfile.lock to Usercentrics/UsercentricsUI 2.29.1
Diagram

graph TD
  R["Release commit 2.29.1"] --> CL["CHANGELOG.md"] --> PJ["package.json"] --> AG["android/build.gradle.kts"] --> PL["sample/ios/Podfile.lock"] --> IOS{{"CocoaPods: UsercentricsUI 2.29.1"}}
  PJ --> PK["package-lock.json"]
  AG --> AND{{"Maven: usercentrics-ui 2.29.1"}}
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Automate release bumps (Changesets or semantic-release)
  • ➕ Reduces manual steps and missed-file risk (package.json/Gradle/Podfile.lock)
  • ➕ Produces consistent changelog/versioning and repeatable CI behavior
  • ➖ Setup/maintenance cost and workflow change
  • ➖ Harder to accommodate native lockfile regeneration nuances (CocoaPods checksum churn)
2. Generate Podfile.lock in CI and avoid committing it
  • ➕ Eliminates noisy lockfile diffs and checksum churn
  • ➕ Ensures lockfile always matches the CI environment
  • ➖ Reduces reproducibility for local iOS builds without CI
  • ➖ Can introduce drift if developers rely on committed lockfiles

Recommendation: For this repo, the current approach (explicit version bump + committed lockfiles) is appropriate for a release PR and aligns with the documented workflow. If release bumps become frequent or error-prone, consider introducing a release automation tool, but keep Podfile.lock handling explicit given CocoaPods determinism and the sample app’s role in CI.

Files changed (6) +184 / -69

Documentation (2) +115 / -0
CHANGELOG.mdAdd 2.29.1 release notes entry +20/-0

Add 2.29.1 release notes entry

• Adds a new top-of-file section for version 2.29.1 dated Aug 5, 2026. Captures the Unity 'isExempt' model propagation feature as the release highlight.

CHANGELOG.md

CLAUDE.mdDocument Claude-assisted release bump procedure +95/-0

Document Claude-assisted release bump procedure

• Introduces a repo-specific playbook for cutting version-bump releases, including pre-flight checks, the list of files to update, lockfile regeneration steps, and CI expectations. Explicitly constrains release commits to avoid unrelated changes.

CLAUDE.md

Other (4) +69 / -69
build.gradle.ktsBump Android Usercentrics SDK pin to 2.29.1 +1/-1

Bump Android Usercentrics SDK pin to 2.29.1

• Updates 'usercentricsVersion' from 2.28.2 to 2.29.1 so the React Native Android bridge targets the new native SDK release.

android/build.gradle.kts

package-lock.jsonRegenerate lockfile for package version 2.29.1 +2/-2

Regenerate lockfile for package version 2.29.1

• Updates the root package version fields in the lockfile from 2.28.2 to 2.29.1 to keep npm metadata consistent with the release.

package-lock.json

package.jsonBump NPM package + iOS package version to 2.29.1 +2/-2

Bump NPM package + iOS package version to 2.29.1

• Updates both 'version' and 'iosPackageVersion' from 2.28.2 to 2.29.1 to align the JS package and iOS bridge distribution versioning.

package.json

Podfile.lockUpdate iOS pods to Usercentrics/UsercentricsUI 2.29.1 +64/-64

Update iOS pods to Usercentrics/UsercentricsUI 2.29.1

• Bumps 'react-native-usercentrics', 'Usercentrics', and 'UsercentricsUI' entries to 2.29.1 in the sample app lockfile. Includes expected checksum churn across multiple React Native pods as part of lockfile regeneration.

sample/ios/Podfile.lock

@qodo-code-review

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

To customize comments, go to the Qodo configuration screen, or learn more in the docs.

Qodo Logo

Comment thread android/build.gradle.kts
Comment thread CHANGELOG.md
Comment thread CLAUDE.md
@pantoaibot

pantoaibot Bot commented Aug 6, 2026

Copy link
Copy Markdown

Reviewed up to commit:415dff84a6327bb2a58825f0dacc4c0141c4f766

Additional Suggestion
android/build.gradle.kts, line:2 reactNativeVersion is set to "+" which allows Gradle to resolve any matching version and can produce non-deterministic builds across environments. Consider pinning this to the specific React Native version(s) this SDK is tested against or document/lock the allowed range to avoid accidental upgrades during CI/consumer resolution.
Others - This release commit updated package.json (version + iosPackageVersion) but did not include the regenerated lockfiles or updated sample Podfile lock. Per the repo release checklist you must: 1) run npm install to regenerate package-lock.json and commit package-lock.json; 2) cd sample/ios && bundle exec pod repo update && bundle exec pod update UsercentricsUI to update sample/ios/Podfile.lock and commit that file. Missing these makes CI/native dependency resolution fail and can break downstream consumers.
# After bumping versions in package.json and android/build.gradle.kts

# 1) Regenerate root lockfile
npm install
# This updates package-lock.json with version 2.29.1 and any dependency metadata.

# 2) Update iOS sample Podfile.lock
cd sample/ios
bundle exec pod repo update
bundle exec pod update UsercentricsUI

# 3) Commit all version-related files
#   - CHANGELOG.md
#   - package.json
#   - package-lock.json
#   - android/build.gradle.kts
#   - sample/ios/Podfile.lock

Reviewed by Panto AI

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@CLAUDE.md`:
- Around line 32-40: Update both fenced code blocks in the changelog and commit
templates in CLAUDE.md to include language identifiers: use markdown for the
changelog template and text for the commit template, preserving their existing
contents.
- Line 82: Remove the CLAUDE.md change from the Release: 2.29.1 commit by
amending or moving it out of that commit. Ensure the release commit contains
only CHANGELOG.md, package.json, package-lock.json, android/build.gradle.kts,
and sample/ios/Podfile.lock.

In `@package.json`:
- Around line 3-10: Resolve the native artifact version mismatch before
finalizing the release: publish Android Maven and iOS CocoaPods artifacts for
2.29.1, or align package.json version and iosPackageVersion plus the native
version in android/build.gradle.kts to an existing supported release. Keep all
package and native SDK versions consistent.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 8ec64571-d21c-411b-bb5b-fd9627fc1250

📥 Commits

Reviewing files that changed from the base of the PR and between fe65f38 and 415dff8.

⛔ Files ignored due to path filters (2)
  • package-lock.json is excluded by !**/package-lock.json
  • sample/ios/Podfile.lock is excluded by !**/*.lock
📒 Files selected for processing (4)
  • CHANGELOG.md
  • CLAUDE.md
  • android/build.gradle.kts
  • package.json

Comment thread CLAUDE.md
Comment thread CLAUDE.md
Comment thread package.json
uc-brunosilva and others added 2 commits August 6, 2026 11:22
… 2.29.1

UsercentricsCore.denyAll and denyAllForTCF gained a new
unsavedServiceDecisions parameter in the native iOS SDK 2.29.1 (statistical
exception support). The Kotlin common interface defaults it to null, but
that default isn't carried over to the generated Swift/ObjC interop, so the
RN wrapper failed to compile against the bumped native SDK version.

Pass nil from RNUsercentricsModule.swift for both call sites, preserving
the existing public JS API and behavior (nil means no unsaved service
decisions are considered, matching pre-2.29.1 semantics per
UsercentricsSDKImpl.denyAll). Updated the FakeUsercentricsManager test
mock to match the new protocol signature.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Usercentrics 2.29.1 added a required isExempt parameter to several native
init signatures used by test mocks (UsercentricsService, ServiceConsentTemplate,
SubConsentTemplate, UsercentricsCategory). Update CMPData+Mock.swift to pass
isExempt: false, matching pre-2.29.1 (non-exempt) semantics.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants