Skip to content

Conversation

@ryanbas21
Copy link
Collaborator

@ryanbas21 ryanbas21 commented Dec 3, 2025

JIRA Ticket

https://pingidentity.atlassian.net/browse/SDKS-4046

Description

Note: I'm really unsure of what to put in this changeset. We probably can delete this changeset in the future. It may be the best way to go about it.

This PR just marks private packages under packages/* like device client and journey client as public.

The rest of the packages were marked as major changes but obviously there are no changes.

Summary by CodeRabbit

  • Chores
    • Prepared and announced a version 2 release across multiple JavaScript SDK packages, including the ping JavaScript SDK.
    • Made device-client and journey-client packages publicly publishable.
    • Updated release config to include the device-client package in the release process.

✏️ Tip: You can customize this high-level summary in your review settings.

@changeset-bot
Copy link

changeset-bot bot commented Dec 3, 2025

🦋 Changeset detected

Latest commit: 9ad4062

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
@forgerock/journey-client Major
@forgerock/device-client Major
@forgerock/davinci-client Major
@forgerock/oidc-client Major
@forgerock/protect Major
@forgerock/iframe-manager Major
@forgerock/sdk-logger Major
@forgerock/sdk-oidc Major
@forgerock/sdk-request-middleware Major
@forgerock/storage Major
@forgerock/sdk-types Major
@forgerock/sdk-utilities Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai
Copy link

coderabbitai bot commented Dec 3, 2025

Walkthrough

Removed the private flag from two packages, updated changeset config to stop ignoring the device-client package, and added a changeset documenting major version bumps and the ping JavaScript SDK v2 release.

Changes

Cohort / File(s) Summary
Changeset configuration & notes
​.changeset/config.json, ​.changeset/hip-owls-rule.md
Removed @forgerock/device-client from the changeset ignore list; added a changeset that records major version bumps across Forgerock JS SDK packages and announces ping javascript sdk v2.
Package publication flags
packages: packages/device-client/package.json, packages/journey-client/package.json
Removed the "private": true field from both package.json files, making these packages publishable. No other content changes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Focus review on:
    • packages/*/package.json removals to confirm intended publish readiness and validate any related registry/publishing CI.
    • .changeset/hip-owls-rule.md for accurate release notes and version bumps.
    • .changeset/config.json to ensure no unintended packages were re-enabled.

Suggested reviewers

  • cerebrl
  • ancheetah
  • spetrov

Poem

🐰 I hopped through JSON, soft and light,
Unmasked two packages into the light.
A changeset penned with cheerful cheer—
Version bumps and a v2 appear! ✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: making private packages public and preparing for version 2 release.
Description check ✅ Passed The description includes the required JIRA ticket link and explains the changes clearly, following the template structure.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch update-for-major-release

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 535e198 and 9ad4062.

📒 Files selected for processing (4)
  • .changeset/config.json (0 hunks)
  • .changeset/hip-owls-rule.md (1 hunks)
  • packages/device-client/package.json (0 hunks)
  • packages/journey-client/package.json (0 hunks)
💤 Files with no reviewable changes (3)
  • packages/device-client/package.json
  • packages/journey-client/package.json
  • .changeset/config.json

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.

@nx-cloud
Copy link
Contributor

nx-cloud bot commented Dec 3, 2025

View your CI Pipeline Execution ↗ for commit 9ad4062

Command Status Duration Result
nx run-many -t build --no-agents ✅ Succeeded 3s View ↗
nx affected -t build lint test e2e-ci ✅ Succeeded 1m 26s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-10 21:25:16 UTC

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: 2

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b6d3630 and 535e198.

📒 Files selected for processing (4)
  • .changeset/config.json (0 hunks)
  • .changeset/hip-owls-rule.md (1 hunks)
  • packages/device-client/package.json (0 hunks)
  • packages/journey-client/package.json (0 hunks)
💤 Files with no reviewable changes (3)
  • .changeset/config.json
  • packages/device-client/package.json
  • packages/journey-client/package.json
⏰ 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). (1)
  • GitHub Check: pr

'@forgerock/sdk-utilities': major
---

releasing version 2 of the ping javascript sdk
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Clarify the release message scope.

The message "releasing version 2 of the ping javascript sdk" is ambiguous. Does this apply to all 13 packages, a specific package, or just the public release of previously-private packages? Consider updating the message to match the actual scope and purpose of this release.

🤖 Prompt for AI Agents
In .changeset/hip-owls-rule.md around line 16, the release note "releasing
version 2 of the ping javascript sdk" is ambiguous; update it to explicitly
state the scope and purpose (e.g., list the affected package names or say "all
13 packages" or "public release of previously-private packages"), include the
new version number(s), and a short rationale or breaking-change note if
applicable so the changelog accurately reflects which packages are being
released and why.

nx-cloud[bot]

This comment was marked as outdated.

Copy link
Contributor

@nx-cloud nx-cloud bot left a comment

Choose a reason for hiding this comment

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

Important

A new CI pipeline execution was requested that may update the conclusion below...

Nx Cloud has identified a possible root cause for your failed CI:

We've confirmed this test failure exists identically in the main branch and is unrelated to our package publishing changes. The PR only modifies package.json visibility settings, which have no impact on the middleware E2E test logic or authentication flows.

No code changes were suggested for this issue.

Nx Cloud View detailed reasoning on Nx Cloud ↗


🎓 Learn more about Self-Healing CI on nx.dev

@ryanbas21
Copy link
Collaborator Author

Failing because it is dependent on #501 password changes

@ryanbas21 ryanbas21 force-pushed the update-for-major-release branch from 9dc439e to 9ad4062 Compare December 10, 2025 21:22
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 18.81%. Comparing base (b89ad58) to head (9ad4062).
⚠️ Report is 15 commits behind head on main.

❌ Your project status has failed because the head coverage (18.81%) is below the target coverage (40.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #502      +/-   ##
==========================================
+ Coverage   18.79%   18.81%   +0.02%     
==========================================
  Files         140      140              
  Lines       27640    27647       +7     
  Branches      980      981       +1     
==========================================
+ Hits         5195     5202       +7     
  Misses      22445    22445              
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 10, 2025

Open in StackBlitz

@forgerock/davinci-client

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/davinci-client@502

@forgerock/device-client

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/device-client@502

@forgerock/journey-client

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/journey-client@502

@forgerock/oidc-client

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/oidc-client@502

@forgerock/protect

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/protect@502

@forgerock/sdk-types

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/sdk-types@502

@forgerock/sdk-utilities

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/sdk-utilities@502

@forgerock/iframe-manager

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/iframe-manager@502

@forgerock/sdk-logger

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/sdk-logger@502

@forgerock/sdk-oidc

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/sdk-oidc@502

@forgerock/sdk-request-middleware

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/sdk-request-middleware@502

@forgerock/storage

pnpm add https://pkg.pr.new/ForgeRock/ping-javascript-sdk/@forgerock/storage@502

commit: 9ad4062

@github-actions
Copy link
Contributor

Deployed d7af5fe to https://ForgeRock.github.io/ping-javascript-sdk/pr-502/d7af5fe91d6a5f97f5bea814a9937fae43ff3969 branch gh-pages in ForgeRock/ping-javascript-sdk

@github-actions
Copy link
Contributor

📦 Bundle Size Analysis

📦 Bundle Size Analysis

🚨 Significant Changes

🔻 @forgerock/journey-client - 0.0 KB (-82.4 KB, -100.0%)

📊 Minor Changes

📈 @forgerock/journey-client - 82.4 KB (+0.1 KB)

➖ No Changes

@forgerock/device-client - 9.2 KB
@forgerock/oidc-client - 23.4 KB
@forgerock/protect - 150.1 KB
@forgerock/sdk-utilities - 7.5 KB
@forgerock/sdk-types - 8.0 KB
@forgerock/storage - 1.4 KB
@forgerock/sdk-logger - 1.6 KB
@forgerock/iframe-manager - 2.4 KB
@forgerock/sdk-request-middleware - 4.5 KB
@forgerock/sdk-oidc - 2.6 KB
@forgerock/davinci-client - 39.5 KB


13 packages analyzed • Baseline from latest main build

Legend

🆕 New package
🔺 Size increased
🔻 Size decreased
➖ No change

ℹ️ How bundle sizes are calculated
  • Current Size: Total gzipped size of all files in the package's dist directory
  • Baseline: Comparison against the latest build from the main branch
  • Files included: All build outputs except source maps and TypeScript build cache
  • Exclusions: .map, .tsbuildinfo, and .d.ts.map files

🔄 Updated automatically on each push to this PR

@ryanbas21 ryanbas21 merged commit b1ec00b into main Dec 10, 2025
8 checks passed
@ryanbas21 ryanbas21 deleted the update-for-major-release branch December 10, 2025 21:43
@ryanbas21 ryanbas21 mentioned this pull request Dec 10, 2025
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.

4 participants