Skip to content

Release: 2.26.2#203

Closed
uc-brunosilva wants to merge 1 commit into
masterfrom
bump/2.26.2
Closed

Release: 2.26.2#203
uc-brunosilva wants to merge 1 commit into
masterfrom
bump/2.26.2

Conversation

@uc-brunosilva
Copy link
Copy Markdown
Collaborator

@uc-brunosilva uc-brunosilva commented Apr 16, 2026

CodeAnt-AI Description

Release 2.26.2

What Changed

  • Bumped the SDK release to 2.26.2 across Android, iOS, and package metadata
  • Added the 2.26.2 release notes, including improved SDK initialization logging
  • Documented Android, iOS, TCF, banner styling, and mediation consent fixes included in this release

Impact

✅ Clearer release tracking
✅ Easier upgrade planning
✅ Visibility into included fixes

🔄 Retrigger CodeAnt AI Review

Details

💡 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.

@codeant-ai
Copy link
Copy Markdown

codeant-ai Bot commented Apr 16, 2026

CodeAnt AI is reviewing your PR.


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

@qodo-code-review
Copy link
Copy Markdown

Review Summary by Qodo

Release version 2.26.2 with bug fixes and improvements

📦 Other

Grey Divider

Walkthroughs

Description
• Bump version from 2.26.1 to 2.26.2
• Update version in Android build configuration
• Update version in package.json for React Native SDK
• Add comprehensive changelog with improvements and fixes
Diagram
flowchart LR
  A["Version 2.26.1"] -- "bump version" --> B["Version 2.26.2"]
  B -- "update" --> C["android/build.gradle.kts"]
  B -- "update" --> D["package.json"]
  B -- "document" --> E["CHANGELOG.md"]
Loading

Grey Divider

File Changes

1. android/build.gradle.kts ⚙️ Configuration changes +1/-1

Update Android SDK version number

• Updated usercentricsVersion from 2.26.1 to 2.26.2

android/build.gradle.kts


2. package.json ⚙️ Configuration changes +2/-2

Update React Native package version

• Updated main version field from 2.26.1 to 2.26.2
• Updated iosPackageVersion from 2.26.1 to 2.26.2

package.json


3. CHANGELOG.md 📝 Documentation +16/-0

Add comprehensive 2.26.2 release notes

• Added release notes for version 2.26.2 dated Apr 15, 2026
• Documented improvements including SDK initialization logging
• Listed 10 bug fixes across Android, iOS, and TCF platforms
• Fixes include consent banner display, window leaks, SVG loading, and UI alignment issues

CHANGELOG.md


Grey Divider

Qodo Logo

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 16, 2026

Warning

Rate limit exceeded

@uc-brunosilva has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 46 minutes and 56 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 46 minutes and 56 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9339f990-addc-4c7a-ba85-9c17a355be27

📥 Commits

Reviewing files that changed from the base of the PR and between 12f1b7a and bf6ca6b.

⛔ 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 (6)
  • CHANGELOG.md
  • android/build-legacy.gradle
  • android/build.gradle.kts
  • ios/Extensions/UsercentricsCMPData+Dict.swift
  • package.json
  • sample/ios/sampleTests/Mock/CMPData+Mock.swift
📝 Walkthrough

Walkthrough

A patch version release from 2.26.2, updating the SDK version across Android Gradle build files and package configuration files, along with changelog documentation of platform-specific bug fixes and logging improvements.

Changes

Cohort / File(s) Summary
Changelog Documentation
CHANGELOG.md
Added version 2.26.2 release notes documenting SDK initialization logging enhancements and fixes for Android consent banner behavior, iOS banner UI/loading issues, TCF consent persistence, and button styling.
Android Build Configuration
android/build-legacy.gradle, android/build.gradle.kts
Updated Usercentrics SDK dependency version from 2.26.1 to 2.26.2 via usercentrics_version and usercentricsVersion constants.
Package Configuration
package.json
Bumped package version and iOS package version from 2.26.1 to 2.26.2.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • Release: 2.24.3 #179 — Performs identical release-version bumps in the same files (package.json and Android build version constants) with corresponding changelog updates.
  • Release: 2.25.0 #184 — Updates release metadata by modifying the same build and version variables (usercentrics_version/usercentricsVersion and package.json versions).
  • Release: 2.25.1 #188 — Contains matching release bump changes to CHANGELOG.md, Android Gradle version variables, and package.json version fields.

Suggested labels

Review effort 1/5, size:S

Suggested reviewers

  • uc-brunosouza
  • rodrigo-leal-usercentrics

Poem

🐰 From point-two-one to point-two-two,
The versions hop, the bugs we shoo!
New logging glows, the banners flex,
iOS and Android what's next?
A patch release hops its way through! 🎉

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Release: 2.26.2' clearly and specifically describes the main change—a version bump release to 2.26.2 across all configuration files and package metadata.

✏️ 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/2.26.2

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.

@qodo-code-review
Copy link
Copy Markdown

qodo-code-review Bot commented Apr 16, 2026

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

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@codeant-ai codeant-ai Bot added the size:XL This PR changes 500-999 lines, ignoring generated files label Apr 16, 2026
@pantoaibot
Copy link
Copy Markdown

pantoaibot Bot commented Apr 16, 2026

PR Summary:

Release 2.26.2 — adds logging improvement and several platform bug fixes; bumps package and Android build versions.

  • Changelog updated (2.26.2 – Apr 15, 2026): Improved SDK initialization logging and a set of fixes:
    • Android: respect "Popup" mode (banner), fix shouldCollectConsent TCF relaunch bug, prevent window leak when activity finishes, fix ATP list update causing infinite resurfaces.
    • iOS: fix SVG banner logo parsing, second-layer padding/toggle alignment, toggle dropdown arrow alignment, and SPM resolution for usercentrics-spm-ui.
    • TCF: fix duplicated Stack under Special Purposes with broken consent persistence.
    • UI/others: apply custom "More" button colors in first layer, ensure mediation consent logs appear when applying consent.
  • Version bumps:
    • android/build-legacy.gradle: usercentrics_version -> 2.26.2
    • android/build.gradle.kts: usercentricsVersion -> 2.26.2
    • package.json: version and iosPackageVersion -> 2.26.2
  • No breaking API changes or dependency upgrades beyond version metadata; release focuses on bug fixes and logging improvements.

Reviewed by Panto AI

@codeant-ai
Copy link
Copy Markdown

codeant-ai Bot commented Apr 16, 2026

CodeAnt AI finished reviewing your PR.

@@ -1,4 +1,4 @@
def usercentrics_version = "2.26.1"
def usercentrics_version = "2.26.2"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[VALIDATION] You updated def usercentrics_version = "2.26.2" (line 1). Run a Gradle sync / full CI build to confirm the dependency resolution for com.usercentrics.sdk:usercentrics-ui:2.26.2 succeeds and there are no transitive or repository problems. Also search the repo for other occurrences of the legacy variable to ensure no stale references remain.

Comment thread android/build.gradle.kts
@@ -1,4 +1,4 @@
val usercentricsVersion = "2.26.1"
val usercentricsVersion = "2.26.2"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[REFACTORING] You updated val usercentricsVersion = "2.26.2" (line 1). There are now two separate places holding the same SDK version (build-legacy.gradle and build.gradle.kts). Consider centralizing the SDK version (e.g., gradle.properties or rootProject ext property) to avoid future mismatches and accidental inconsistent bumps across build files.

// android/build.gradle.kts
// Consider reading this from a shared property instead of hardcoding
val usercentricsVersion = project.findProperty("USERCENTRICS_SDK_VERSION") as String? ?: "2.26.2"

// android/build-legacy.gradle
// def usercentrics_version = USERCENTRICS_SDK_VERSION ?: "2.26.2"
def usercentrics_version = project.hasProperty('USERCENTRICS_SDK_VERSION') ? project.property('USERCENTRICS_SDK_VERSION') : "2.26.2"

And in gradle.properties:

USERCENTRICS_SDK_VERSION=2.26.2

Comment thread package.json
Comment on lines +3 to +10
"version": "2.26.2",
"description": "Usercentrics SDK",
"homepage": "https://usercentrics.com",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"author": "Usercentrics <developer@usercentrics.com>",
"iosPackageName": "react-native-usercentrics",
"iosPackageVersion": "2.26.1",
"iosPackageVersion": "2.26.2",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[VALIDATION] You bumped package.json version and iosPackageVersion to 2.26.2 (lines 3 and 10). Ensure you run the publish pipeline locally (yarn prepare / yarn compile) and verify the generated lib/ artifacts are included in the release (package.json's prepare script runs compile). Also validate that react-native-usercentrics.podspec (which consumes package['iosPackageVersion']) will reference the correct version when packaging/publishing the CocoaPod.

@pantoaibot
Copy link
Copy Markdown

pantoaibot Bot commented Apr 16, 2026

Reviewed up to commit:12f1b7a9912b02605ec7ee5ec939f417f6038db2

Additional Suggestion
Others - Add a lightweight CI check that verifies the SDK version is consistent across package.json, podspec, and all Gradle build files before merging a release bump. This will prevent drift between android/build.gradle.kts, android/build-legacy.gradle, package.json and the podspec in future releases.

Reviewed by Panto AI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL This PR changes 500-999 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant