Skip to content

Conversation

@uc-brunosilva
Copy link
Collaborator

@uc-brunosilva uc-brunosilva commented Sep 15, 2025

Summary by CodeRabbit

  • New in 2.23.0

    • Release 2.23.0 with minor improvements and fixes.
  • Bug Fixes

    • Corrected Google consent handling when "Deny All" is selected.
    • Resolved geolocation regression from 2.22.2.
    • Improved accessibility contrast for better readability.
  • Chores

    • Bumped package and mobile dependency versions to 2.23.0.
  • Documentation

    • Added release notes entry for 2.23.0.

@coderabbitai
Copy link

coderabbitai bot commented Sep 15, 2025

Walkthrough

Version bump to 2.23.0 for Android and package metadata, plus a new CHANGELOG entry (2.23.0, Sep 15, 2025) listing three bug fixes: Google Consent Strings on DenyAll, geolocation issue from 2.22.2, and accessibility contrast.

Changes

Cohort / File(s) Summary
Release notes
CHANGELOG.md
Added 2.23.0 (Sep 15, 2025) entry under Android/iOS Bug Fixes with three bullets: fixed Google Consent Strings on DenyAll, resolved geolocation issue reported in 2.22.2, fixed accessibility contrast issues.
Version bump
android/build.gradle, package.json
Updated usercentrics_version in android/build.gradle from 2.22.22.23.0; updated version and iosPackageVersion in package.json from 2.22.22.23.0.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

I thump my paws—v2.23’s in sight,
Consent strings settled, no DenyAll fright.
Geolocation’s fixed, the map feels right,
Contrast brightened for clearer light.
I hop on, release notes tucked—goodnight! 🐇✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title "Release: 2.23.0" is a short, single-sentence description that clearly communicates the primary change (a version/release bump). It directly matches the changeset which updates package and android build versions and adds a changelog entry for 2.23.0, and is concise enough for teammates scanning history to understand the intent.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release/2.23.0

Tip

👮 Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks – Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks – Define your own rules using CodeRabbit’s advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit’s agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
  pre_merge_checks:
    custom_checks:
      - name: "Undocumented Breaking Changes"
        mode: "warning"
        instructions: |
          Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


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

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
CHANGELOG.md (2)

3-7: Fix markdownlint: remove trailing colon in heading.

MD026 warns on trailing punctuation in headings. Drop the colon.

Apply:

-## Android/iOS Bug Fixes:
+## Android/iOS Bug Fixes

5-5: Clarify terminology for Google consent signaling.

“Google Consent Strings on DenyAll” is ambiguous. Prefer “Google Consent Mode signals on DenyAll” (or explicitly “AC/TC strings”) for accuracy.

-* Fixed bugs related to Google Consent Strings on DenyAll, ensuring correct consent handling
+* Fixed bugs related to Google Consent Mode signals on DenyAll, ensuring correct consent handling
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 60b1d21 and d1467bd.

⛔ Files ignored due to path filters (2)
  • example/ios/Podfile.lock is excluded by !**/*.lock
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (3)
  • CHANGELOG.md (1 hunks)
  • android/build.gradle (1 hunks)
  • package.json (1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
CHANGELOG.md

4-4: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)

🔇 Additional comments (2)
package.json (1)

3-3: Version bumps look consistent — confirm iOS podspec & stale refs

package.json.version and iosPackageVersion are both 2.23.0; CHANGELOG contains "### 2.23.0 - Sep 15, 2025"; android/build.gradle defines usercentrics_version = "2.23.0".

  • react-native-usercentrics.podspec not found by the quick check — confirm the podspec exists and references iosPackageVersion or "2.23.0".
  • Confirm no remaining hard-coded "2.22.2" occurrences outside CHANGELOG.
android/build.gradle (1)

1-1: Verify Maven Central availability for com.usercentrics.sdk:usercentrics-ui:2.23.0

I ran the provided curl+jq check but it returned non‑JSON (jq parse error). Re-run this more robust verification and confirm the artifact exists before publishing.

#!/bin/bash
set -euo pipefail
URL='https://search.maven.org/solrsearch/select?q=g:"com.usercentrics.sdk"+AND+a:"usercentrics-ui"+AND+v:"2.23.0"&rows=1&wt=json'
RESP=$(curl -sS "$URL" || true)
if [[ -z "$RESP" ]]; then
  echo "No response from search.maven.org" >&2
  exit 1
fi
if ! echo "$RESP" | jq -e . >/dev/null 2>&1; then
  echo "Response not valid JSON; raw response below:" >&2
  echo "$RESP"
  exit 1
fi
NUM=$(echo "$RESP" | jq '.response.numFound')
if [ "$NUM" -eq 1 ]; then
  echo "Found com.usercentrics.sdk:usercentrics-ui:2.23.0 on Maven Central."
else
  echo "Artifact not found (numFound=$NUM)." >&2
  exit 1
fi

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
CHANGELOG.md (2)

4-4: MD026: remove trailing colon in heading (or silence lint for consistency)

Either drop the colon to satisfy markdownlint, or keep the house style and silence the rule just for this line.

Option A — remove trailing colon:

-## Android/iOS Bug Fixes:
+## Android/iOS Bug Fixes

Option B — keep colon, silence MD026 for this line:

+<!-- markdownlint-disable-next-line MD026 -->
 ## Android/iOS Bug Fixes:

5-7: Tighten phrasing for clarity and consistency

Minor wording tweaks make the bullets more precise and scannable.

-* Fixed bugs related to Google Consent Strings on DenyAll, ensuring correct consent handling
-* Resolved geolocation issue reported in version 2.22.2
-* Fixed accessibility contrast issues for improved usability
+* Fixed Google consent string handling when using DenyAll
+* Resolved geolocation regression introduced in 2.22.2
+* Fixed color-contrast issues to improve accessibility
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d1467bd and ba467ae.

⛔ Files ignored due to path filters (2)
  • example/ios/Podfile.lock is excluded by !**/*.lock
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (3)
  • CHANGELOG.md (1 hunks)
  • android/build.gradle (1 hunks)
  • package.json (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • package.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • android/build.gradle
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
CHANGELOG.md

4-4: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: test-ios
  • GitHub Check: test-android
🔇 Additional comments (2)
CHANGELOG.md (2)

3-3: Header/date LGTM

Version and date look consistent for this release entry.


3-7: Quick cross-file sanity check for the 2.23.0 bump — all good.
Confirmed: android/build.gradle usercentrics_version = "2.23.0"; package.json version = "2.23.0" and iosPackageVersion = "2.23.0".

@uc-brunosilva uc-brunosilva merged commit 6645deb into master Sep 15, 2025
4 checks passed
This was referenced Oct 2, 2025
@coderabbitai coderabbitai bot mentioned this pull request Oct 31, 2025
@coderabbitai coderabbitai bot mentioned this pull request Nov 21, 2025
@coderabbitai coderabbitai bot mentioned this pull request Dec 18, 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.

3 participants