Skip to content

[Release] [GitHub Action] Update package versions#484

Merged
DonOmalVindula merged 1 commit intomainfrom
changeset-release/main
Apr 29, 2026
Merged

[Release] [GitHub Action] Update package versions#484
DonOmalVindula merged 1 commit intomainfrom
changeset-release/main

Conversation

@asgardeo-github-bot
Copy link
Copy Markdown

@asgardeo-github-bot asgardeo-github-bot commented Apr 29, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@asgardeo/browser@0.7.2

Patch Changes

  • #483
    519fa74 Thanks
    @kavindadimuthu! - Fix SSR compatibility and module bundling issues

    • Browser: Fixed Node.js ESM import resolution by changing directory imports ('buffer/') to explicit file paths
      ('buffer/index.js')
    • Nuxt: Fixed Rollup bundling by centralizing module augmentations in module.ts and removing .d.ts file from
      dist

@asgardeo/nextjs@0.3.14

Patch Changes

  • Updated dependencies []:
    • @asgardeo/react@0.23.3

@asgardeo/nuxt@0.1.2

Patch Changes

  • #483
    519fa74 Thanks
    @kavindadimuthu! - Fix SSR compatibility and module bundling issues

    • Browser: Fixed Node.js ESM import resolution by changing directory imports ('buffer/') to explicit file paths
      ('buffer/index.js')
    • Nuxt: Fixed Rollup bundling by centralizing module augmentations in module.ts and removing .d.ts file from
      dist
  • Updated dependencies
    [519fa74]:

    • @asgardeo/browser@0.7.2
    • @asgardeo/vue@0.3.5

@asgardeo/react@0.23.3

Patch Changes

  • Updated dependencies
    [519fa74]:
    • @asgardeo/browser@0.7.2

@asgardeo/vue@0.3.5

Patch Changes

  • Updated dependencies
    [519fa74]:
    • @asgardeo/browser@0.7.2

Summary by CodeRabbit

  • Bug Fixes

    • Resolved SSR compatibility and module bundling issues affecting the browser and Nuxt packages.
    • Updated related package dependencies to reflect fixes.
  • Chores

    • Released patch versions across all packages: browser (0.7.2), React (0.23.3), Vue (0.3.5), Next.js (0.3.14), and Nuxt (0.1.2).

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 29, 2026

📝 Walkthrough

Walkthrough

This PR finalizes synchronized releases across the Asgardeo monorepo by bumping package versions, updating changelogs, and consuming a changeset document. Browser (0.7.2) includes SSR compatibility and module bundling fixes; downstream packages (nuxt, react, vue, nextjs) consume these updates.

Changes

Cohort / File(s) Summary
Changeset Cleanup & Browser Release
.changeset/lemon-trams-mix.md, packages/browser/CHANGELOG.md, packages/browser/package.json
Removed changeset document, updated browser version from 0.7.1 to 0.7.2, and documented fixes for SSR compatibility and module bundling (explicit buffer import paths, Rollup augmentations).
Nuxt Release
packages/nuxt/CHANGELOG.md, packages/nuxt/package.json
Bumped nuxt version from 0.1.1 to 0.1.2 and documented dependency updates to browser 0.7.2 and vue 0.3.5.
Framework Dependency Updates
packages/react/CHANGELOG.md, packages/react/package.json, packages/vue/CHANGELOG.md, packages/vue/package.json, packages/nextjs/CHANGELOG.md, packages/nextjs/package.json
Version bumps and changelog entries: react (0.23.2→0.23.3), vue (0.3.4→0.3.5), nextjs (0.3.13→0.3.14), all consuming browser 0.7.2 updates.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

Suggested reviewers

  • DonOmalVindula
  • brionmario

Poem

🐰 Versions bump and changelogs sing,
Browser fixes take their wing,
React, Vue, and Nuxt align,
All released in perfect time! ✨📦

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description lacks required sections from the template including Purpose, Related Issues, Related PRs, Checklist items, and Security checks. Add the missing template sections: Purpose, Related Issues/PRs, and complete the Checklist and Security checks items to match the repository's PR template requirements.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and accurately summarizes the main change: updating package versions as part of an automated release process.
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.

✏️ 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 changeset-release/main

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
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

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

Copy link
Copy Markdown

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

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/browser/CHANGELOG.md`:
- Around line 11-14: Update the CHANGELOG entry to avoid implying source imports
were modified: replace the phrase about changing directory imports to
'buffer/index.js' with a concise note that the Node.js ESM import resolution was
fixed via the esbuild polyfill/aliasing (the bundler plugin that maps imports
like "buffer/" to "buffer/index.js" and injects the banner/footer), and mention
that source files (e.g., import {Buffer} from 'buffer/'; in
packages/browser/src/web.worker.ts) were left unchanged.
🪄 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: 08281cf0-8515-4292-b18e-10f49e2d87cb

📥 Commits

Reviewing files that changed from the base of the PR and between 64b1033 and b76e6db.

📒 Files selected for processing (11)
  • .changeset/lemon-trams-mix.md
  • packages/browser/CHANGELOG.md
  • packages/browser/package.json
  • packages/nextjs/CHANGELOG.md
  • packages/nextjs/package.json
  • packages/nuxt/CHANGELOG.md
  • packages/nuxt/package.json
  • packages/react/CHANGELOG.md
  • packages/react/package.json
  • packages/vue/CHANGELOG.md
  • packages/vue/package.json
💤 Files with no reviewable changes (1)
  • .changeset/lemon-trams-mix.md

Comment on lines +11 to +14
- **Browser:** Fixed Node.js ESM import resolution by changing directory imports (`'buffer/'`) to explicit file paths
(`'buffer/index.js'`)
- **Nuxt:** Fixed Rollup bundling by centralizing module augmentations in `module.ts` and removing `.d.ts` file from
dist
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Verify whether directory-style buffer imports still exist.
rg -nP --type=ts --type=tsx --type=js --type=mjs --type=cjs "from\\s+['\"]buffer/['\"]|require\\(\\s*['\"]buffer/['\"]\\s*\\)"

# Inspect web.worker.ts if present.
fd -i "web.worker.ts" | xargs -r -I{} sh -c "echo '--- {}'; nl -ba {} | sed -n '1,60p'"

# Expected result:
# - If matches exist, changelog wording should be narrowed or source imports should be updated.
# - If no matches, this comment can be dismissed.

Repository: asgardeo/javascript

Length of output: 91


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Verify whether directory-style buffer imports still exist (corrected flags)
echo "=== Searching for buffer/ directory imports ==="
rg -nP "from\s+['\"]buffer/['\"]|require\(\s*['\"]buffer/['\"]" --type ts --type js

echo -e "\n=== Looking for web.worker.ts ==="
fd "web.worker.ts" -exec cat -n {} \;

echo -e "\n=== Checking CHANGELOG.md context ==="
fd "CHANGELOG.md" packages/browser -exec sed -n '1,20p' {} \;

Repository: asgardeo/javascript

Length of output: 465


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== All buffer import occurrences ==="
rg "from\s+['\"]buffer" packages/browser/src/ -A 1 -B 1

echo -e "\n=== Checking web.worker.ts full content ==="
cat packages/browser/src/web.worker.ts

echo -e "\n=== CHANGELOG.md full entry (lines 11-14) ==="
sed -n '11,14p' packages/browser/CHANGELOG.md

echo -e "\n=== Check if there are bundle/rollup config files ==="
fd -e "rollup" -e "webpack" -e "tsconfig" -e "build" packages/browser

Repository: asgardeo/javascript

Length of output: 3097


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== Search for 'buffer/index.js' imports (claimed in changelog) ==="
rg "buffer/index\.js" packages/browser/ || echo "No matches found"

echo -e "\n=== Looking for build/bundler config files ==="
fd . packages/browser --type f | grep -E "(esbuild|rollup|webpack|tsconfig|build)" | head -20

echo -e "\n=== Check build or config files in packages/browser root ==="
ls -la packages/browser/ | grep -E "\.(ts|js|json|config)" || echo "No config files in root"

echo -e "\n=== Searching for esbuild configuration ==="
fd -e "ts" -e "js" -e "json" . packages/browser --type f | xargs rg -l "esbuild|Buffer" | head -10

Repository: asgardeo/javascript

Length of output: 1547


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== Examine esbuild.config.mjs ==="
cat packages/browser/esbuild.config.mjs

echo -e "\n=== Verify no buffer/index.js in source files ==="
rg "buffer/index\.js" packages/browser/src/ || echo "Confirmed: No buffer/index.js in source code"

Repository: asgardeo/javascript

Length of output: 3024


Changelog entry overstates the scope of the import fix.

The changelog claims directory imports were changed to explicit 'buffer/index.js' paths, but source code still contains import {Buffer} from 'buffer/'; in packages/browser/src/web.worker.ts. The actual fix is at the bundler level only (esbuild plugin aliasing buffer to 'buffer/index.js' and banner/footer setup), not source code. Update the changelog to clarify: "Fixed Node.js ESM import resolution via esbuild polyfill plugin" or similar, rather than implying source imports were changed.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/browser/CHANGELOG.md` around lines 11 - 14, Update the CHANGELOG
entry to avoid implying source imports were modified: replace the phrase about
changing directory imports to 'buffer/index.js' with a concise note that the
Node.js ESM import resolution was fixed via the esbuild polyfill/aliasing (the
bundler plugin that maps imports like "buffer/" to "buffer/index.js" and injects
the banner/footer), and mention that source files (e.g., import {Buffer} from
'buffer/'; in packages/browser/src/web.worker.ts) were left unchanged.

@DonOmalVindula DonOmalVindula merged commit faf4ab0 into main Apr 29, 2026
1 check passed
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.

2 participants