Skip to content

chore: merge release/1.0.0-beta into main#45

Merged
pingidentity-gaurav merged 14 commits into
mainfrom
release/1.0.0-beta
May 29, 2026
Merged

chore: merge release/1.0.0-beta into main#45
pingidentity-gaurav merged 14 commits into
mainfrom
release/1.0.0-beta

Conversation

@pingidentity-gaurav
Copy link
Copy Markdown
Contributor

@pingidentity-gaurav pingidentity-gaurav commented May 29, 2026

Summary

  • Syncs all versioned packages, CHANGELOGs, and .changeset/pre.json from release/1.0.0-beta back to main
  • Includes fixes made during the beta release process:
    • Move @ping-identity/rn-core to peerDependencies in all SDK packages
    • Add scripts/replace-workspace-refs.mjs to fix workspace:* refs before publish
    • Add RNPingCorePackage.kt for Android autolinking
    • Add codegenConfig to rn-core package.json
    • Add rn-core prerequisite notes to all package READMEs
    • Exclude private packages (rn-sample-app, rn-test-runner) from changeset

Test plan

  • CI release workflow publishes all 15 packages at 1.0.0-beta.3
  • npm view @ping-identity/rn-core@beta shows 1.0.0-beta.3
  • Android autolinking works in a fresh RN 0.80 app without manual settings.gradle entry

Summary by CodeRabbit

  • New Features

    • Initial 1.0.0 beta release published across packages.
  • Bug Fixes

    • Android autolinking support improved for native integration.
  • Documentation

    • Installation guides updated to require the core module be set up first; READMEs and changelogs added/expanded.
  • Chores

    • Bumped packages and sample apps to beta versions; normalized workspace dependency references and improved release workflow and validation steps.

Review Change Stack

pingidentity-gaurav and others added 12 commits May 28, 2026 09:26
…kspace refs

- Bump all packages to 1.0.0-beta.1 (patch)
- Move @ping-identity/rn-core from dependencies → peerDependencies in all
  SDK packages so consumers must install it explicitly for autolinking
- Remove @ping-identity/rn-storage from rn-push dependencies (optional dep)
- Add scripts/replace-workspace-refs.mjs to rewrite workspace:* before publish
- Add scripts/check-workspace-refs.mjs as a pre-publish safety check
- Update release.yml to run both scripts before publishing
- Update all package READMEs with rn-core prerequisite note

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
rn-storage is needed in dependencies for TypeScript to resolve its types
during build, and in peerDependencies so consumers know to install it
for native autolinking.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Without codegenConfig, React Native autolinking does not register
rn-core as a Gradle subproject, causing build failures in consumer
apps that depend on :ping-identity_rn-core.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add RNPingCorePackage.kt so React Native autolinking registers
  rn-core as a Gradle subproject in consumer apps
- Add rn-sample-app and rn-test-runner to changeset ignore list
  to prevent private packages from getting changelog/version bumps

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 29, 2026

Warning

Review limit reached

@pingidentity-gaurav, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 17 minutes and 12 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

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.

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 include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9bd40dd0-f7b3-45c3-92fc-1ac188333751

📥 Commits

Reviewing files that changed from the base of the PR and between d832b37 and 3026097.

📒 Files selected for processing (1)
  • .github/workflows/release.yml
📝 Walkthrough

Walkthrough

Coordinated 1.0.0-beta updates across the monorepo: pre-release changesets, core Android autolinking codegen and package, package.json version/dep rewrites, README/CHANGELOG updates, release workflow and workspace validation/replacement scripts, and demo app version bumps.

Changes

SDK 1.0.0-beta Release

Layer / File(s) Summary
Pre-release configuration and setup
.changeset/config.json, .changeset/initial-beta-release.md, .changeset/pre.json, several .changeset/*.md
Changesets configured to ignore demo apps; pre-release pre.json with tag: "beta" and initial versions; changesets added marking package bumps and patch notes.
Android autolinking implementation (core)
packages/core/android/.../RNPingCorePackage.kt, packages/core/package.json, packages/core/CHANGELOG.md, packages/core/README.md
Added RNPingCorePackage ReactPackage, added codegenConfig in core package.json, and core README documents core as prerequisite.
Package manifests: versions, repository, dependencies
packages/*/package.json (binding, browser, core, device-client, device-id, device-profile, external-idp, fido, journey, logger, oath, oidc, push, storage, types)
Bumped package versions to beta, added repository metadata where present, and adjusted dependency/peerDependency placement and workspace:* wiring per-package.
Documentation updates: core prerequisite notes in READMEs
packages/*/README.md (binding, browser, device-client, device-id, device-profile, external-idp, fido, journey, logger, oath, oidc, push, storage)
README install/integration sections updated to require @ping-identity/rn-core setup first; some install snippets switched to yarn and explicit iOS pod install steps.
Changelog generation for all packages
packages/*/CHANGELOG.md (binding, browser, core, device-client, device-id, device-profile, external-idp, fido, journey, logger, oath, oidc, push, storage, types), demos
CHANGELOG.md files created or updated documenting beta release history (beta.0–beta.3) and patch/major notes including autolinking/codegenConfig and dependency updates.
Workspace validation and reference replacement scripts
scripts/check-workspace-refs.mjs, scripts/replace-workspace-refs.mjs, scripts/check-copyright.sh
Added scripts to detect workspace: refs and to replace them with resolved semver ranges for publication; copyright checker updated to skip CHANGELOG.md.
Release workflow enhancements
.github/workflows/release.yml
Workflow now upgrades npm, runs yarn install after versioning to update lockfile, conditionally commits staged artifacts, and runs workspace ref replacement/verification before build and publish.
Individual changeset entries documenting fixes
.changeset/eighty-banks-feel.md, .changeset/goofy-foxes-clap.md, .changeset/hungry-papayas-learn.md, etc.
Changeset metadata files document coordinated patch releases, Android autolinking fixes (RNPingCorePackage, codegenConfig), and packaging dependency fixes (peerDependencies/workspace corrections).
Demo and test application version bumps
PingSampleApp/package.json, PingSampleApp/CHANGELOG.md, PingTestRunner/package.json, PingTestRunner/CHANGELOG.md
Demo apps bumped to 0.0.2-beta.1 with changelogs listing updated @ping-identity/rn-* dependency versions.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Poem

🐰 A beta hop across the mono-tree,
Core links Android, workspaces agree,
Readmes guide the path ahead,
Changelogs tell what versions said,
Scripts tidy refs before we spree.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: merging the release/1.0.0-beta branch into main, which aligns with the PR's primary objective to sync versioned packages and release 15 packages at 1.0.0-beta.3.
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 release/1.0.0-beta

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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 29, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://ForgeRock.github.io/ping-react-native-sdk/docs-preview/pr-45/

Built to branch gh-pages at 2026-05-29 16:49 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Copy link
Copy Markdown
Contributor

@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: 4

🧹 Nitpick comments (1)
packages/device-profile/README.md (1)

53-57: ⚡ Quick win

Remove duplicate CocoaPods installation instructions.

The installation block at lines 42-51 already includes the iOS pod install step at line 50. The separate section at lines 53-57 repeats the same instruction, which may confuse developers about whether they need to run the command once or twice.

♻️ Proposed fix to remove duplication
-
-If you use CocoaPods, install pods after adding the package:
-
-```sh
-cd ios && pod install
-```
-
🤖 Prompt for 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.

In `@packages/device-profile/README.md` around lines 53 - 57, Remove the
duplicated CocoaPods installation lines by deleting the second iOS pod install
section (the snippet that says "If you use CocoaPods, install pods after adding
the package: cd ios && pod install") so only the original installation block
(the earlier installation block that already contains the "cd ios && pod
install" step) remains; ensure no other content is changed and the README keeps
a single clear instruction for running pod install.
🤖 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 `@packages/push/README.md`:
- Line 31: The README currently contradicts itself about
`@ping-identity/rn-storage`; decide and make the wording and install examples
consistent: if rn-storage is required, update the install block to include "yarn
add `@ping-identity/rn-storage`" alongside `@ping-identity/rn-core` and
`@ping-identity/rn-push` and remove `@ping-identity/rn-storage` from the "Optional
integration packages" list; if rn-storage is optional, edit the note line that
currently says both rn-core and rn-storage must be set up to only require
`@ping-identity/rn-core` and leave `@ping-identity/rn-storage` listed under optional
integrations (ensure package names `@ping-identity/rn-core`,
`@ping-identity/rn-storage`, and `@ping-identity/rn-push` are referenced correctly).

In `@PingSampleApp/CHANGELOG.md`:
- Around line 7-21: The CHANGELOGs for PingSampleApp and PingTestRunner show a
0.0.2-beta.1 patch despite .changeset/config.json claiming to ignore
rn-sample-app and rn-test-runner; check the changeset ignore configuration and
the actual package names used by changesets (compare the "name" fields in
PingSampleApp/package.json and PingTestRunner/package.json to the identifiers in
.changeset/config.json) and confirm the release workflow (e.g., the changesets
version or publish GitHub Action) is reading that config; if the names don’t
match, update .changeset/config.json to list the exact package names, or update
package.json names to match, then re-run the changesets version step (or adjust
the CI workflow) so ignored packages are not bumped and remove the unintended
0.0.2-beta.1 entries from PingSampleApp/CHANGELOG.md and
PingTestRunner/CHANGELOG.md if they were produced erroneously.

In `@scripts/check-workspace-refs.mjs`:
- Around line 31-33: The check currently only matches the exact string
'workspace:*' using ver === 'workspace:*' so variants like 'workspace:^' or
'workspace:~' slip through; change the condition in
scripts/check-workspace-refs.mjs to detect any workspace protocol by testing the
version string (e.g., use ver.startsWith('workspace:') or a regex like
/^workspace:/) before pushing into violations, so any 'workspace:...' spec
triggers the violation; keep using the same violations.push call and include the
actual ver in the message if desired.

In `@scripts/replace-workspace-refs.mjs`:
- Around line 45-53: The code currently only handles exact 'workspace:*' via the
ver variable; update the replacement logic to detect any value starting with
'workspace:' (e.g., ver.startsWith('workspace:')), extract the intended semantic
range (or default to '^') and, if versionMap[dep] exists, replace
pkg[section][dep] with the resolved range (e.g., `^${versionMap[dep]}` or
preserve an explicit workspace range if present); if versionMap[dep] is missing
for any workspace: reference, fail fast by throwing an Error or exiting with a
non‑zero code so unresolved workspace refs are not left in manifests. Ensure you
update the branch that currently checks ver === 'workspace:*' to use
ver.startsWith('workspace:') and reference ver, versionMap, pkg[section][dep],
dep and totalReplaced in the change.

---

Nitpick comments:
In `@packages/device-profile/README.md`:
- Around line 53-57: Remove the duplicated CocoaPods installation lines by
deleting the second iOS pod install section (the snippet that says "If you use
CocoaPods, install pods after adding the package: cd ios && pod install") so
only the original installation block (the earlier installation block that
already contains the "cd ios && pod install" step) remains; ensure no other
content is changed and the README keeps a single clear instruction for running
pod install.
🪄 Autofix (Beta)

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

Run ID: 54ef60fa-3a0e-4269-a776-cb4818459be7

📥 Commits

Reviewing files that changed from the base of the PR and between 100c49b and b8e8858.

⛔ Files ignored due to path filters (2)
  • .yarn/install-state.gz is excluded by !**/.yarn/**, !**/*.gz
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (59)
  • .changeset/config.json
  • .changeset/eighty-banks-feel.md
  • .changeset/goofy-foxes-clap.md
  • .changeset/hungry-papayas-learn.md
  • .changeset/initial-beta-release.md
  • .changeset/pre.json
  • .github/workflows/release.yml
  • PingSampleApp/CHANGELOG.md
  • PingSampleApp/package.json
  • PingTestRunner/CHANGELOG.md
  • PingTestRunner/package.json
  • packages/binding/CHANGELOG.md
  • packages/binding/README.md
  • packages/binding/package.json
  • packages/browser/CHANGELOG.md
  • packages/browser/README.md
  • packages/browser/package.json
  • packages/core/CHANGELOG.md
  • packages/core/README.md
  • packages/core/android/src/main/java/com/pingidentity/rncore/RNPingCorePackage.kt
  • packages/core/package.json
  • packages/device-client/CHANGELOG.md
  • packages/device-client/README.md
  • packages/device-client/package.json
  • packages/device-id/CHANGELOG.md
  • packages/device-id/README.md
  • packages/device-id/package.json
  • packages/device-profile/CHANGELOG.md
  • packages/device-profile/README.md
  • packages/device-profile/package.json
  • packages/external-idp/CHANGELOG.md
  • packages/external-idp/README.md
  • packages/external-idp/package.json
  • packages/fido/CHANGELOG.md
  • packages/fido/README.md
  • packages/fido/package.json
  • packages/journey/CHANGELOG.md
  • packages/journey/README.md
  • packages/journey/package.json
  • packages/logger/CHANGELOG.md
  • packages/logger/README.md
  • packages/logger/package.json
  • packages/oath/CHANGELOG.md
  • packages/oath/README.md
  • packages/oath/package.json
  • packages/oidc/CHANGELOG.md
  • packages/oidc/README.md
  • packages/oidc/package.json
  • packages/push/CHANGELOG.md
  • packages/push/README.md
  • packages/push/package.json
  • packages/storage/CHANGELOG.md
  • packages/storage/README.md
  • packages/storage/package.json
  • packages/types/CHANGELOG.md
  • packages/types/package.json
  • scripts/check-copyright.sh
  • scripts/check-workspace-refs.mjs
  • scripts/replace-workspace-refs.mjs

Comment thread packages/push/README.md
Comment thread PingSampleApp/CHANGELOG.md
Comment thread scripts/check-workspace-refs.mjs Outdated
Comment thread scripts/replace-workspace-refs.mjs Outdated
- push README: move rn-storage to required install block, remove from optional
- device-profile README: remove duplicate pod install section
- check-workspace-refs: catch all workspace: variants not just workspace:*
- replace-workspace-refs: catch all workspace: variants, fail fast on unresolved refs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@tsdamas tsdamas left a comment

Choose a reason for hiding this comment

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

LGTM

@pingidentity-gaurav pingidentity-gaurav merged commit e2b610d into main May 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants