Release afpi-v2.2.0#852
Conversation
📝 WalkthroughWalkthroughVersion 2.2.0 release for auth0_flutter_platform_interface. Package manifest version updated from 2.1.0 to 2.2.0, with corresponding changelog entry documenting four new features and one fix. ChangesRelease Preparation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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 `@auth0_flutter_platform_interface/CHANGELOG.md`:
- Around line 6-11: The changelog groups a fix under the "**Added**" section;
move the bullet "fix: use safe casts in UserProfileExtensions to prevent
ClassCastException [`#836`] (sanchitmehtagit)" out of the Added list and place it
under a new or existing "## Fixed" (or "Fixed") subsection in CHANGELOG.md so
fix entries are correctly categorized; ensure the entry text (including
"UserProfileExtensions" and "`#836`") is preserved exactly and adjust surrounding
bullets so formatting and ordering remain consistent.
🪄 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 Plus
Run ID: 55f4016a-17e2-4081-a1eb-a8eb0c1e7e8f
📒 Files selected for processing (2)
auth0_flutter_platform_interface/CHANGELOG.mdauth0_flutter_platform_interface/pubspec.yaml
| **Added** | ||
| - afpi: suppress deprecated allowedBrowsers analyze warnings in ship cli [\#851](https://github.com/auth0/auth0-flutter/pull/851) ([utkrishtsahu](https://github.com/utkrishtsahu)) | ||
| - feat: add My Account API support for managing MFA authentication method [\#835](https://github.com/auth0/auth0-flutter/pull/835) ([utkrishtsahu](https://github.com/utkrishtsahu)) | ||
| - feat: add Flutter Multi-Resource Refresh Token (MRRT) support [\#850](https://github.com/auth0/auth0-flutter/pull/850) ([utkrishtsahu](https://github.com/utkrishtsahu)) | ||
| - feat: add Partial Custom Tabs support for Android [\#846](https://github.com/auth0/auth0-flutter/pull/846) ([utkrishtsahu](https://github.com/utkrishtsahu)) | ||
| - fix: use safe casts in UserProfileExtensions to prevent ClassCastException [\#836](https://github.com/auth0/auth0-flutter/pull/836) ([sanchitmehtagit](https://github.com/sanchitmehtagit)) |
There was a problem hiding this comment.
Move the fix entry under a Fixed subsection.
Line 11 is a fix but is currently grouped under **Added**, which makes release notes harder to scan accurately.
Suggested changelog structure
**Added**
- afpi: suppress deprecated allowedBrowsers analyze warnings in ship cli [\`#851`](https://github.com/auth0/auth0-flutter/pull/851) ([utkrishtsahu](https://github.com/utkrishtsahu))
- feat: add My Account API support for managing MFA authentication method [\`#835`](https://github.com/auth0/auth0-flutter/pull/835) ([utkrishtsahu](https://github.com/utkrishtsahu))
- feat: add Flutter Multi-Resource Refresh Token (MRRT) support [\`#850`](https://github.com/auth0/auth0-flutter/pull/850) ([utkrishtsahu](https://github.com/utkrishtsahu))
- feat: add Partial Custom Tabs support for Android [\`#846`](https://github.com/auth0/auth0-flutter/pull/846) ([utkrishtsahu](https://github.com/utkrishtsahu))
+
+**Fixed**
- fix: use safe casts in UserProfileExtensions to prevent ClassCastException [\`#836`](https://github.com/auth0/auth0-flutter/pull/836) ([sanchitmehtagit](https://github.com/sanchitmehtagit))📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| **Added** | |
| - afpi: suppress deprecated allowedBrowsers analyze warnings in ship cli [\#851](https://github.com/auth0/auth0-flutter/pull/851) ([utkrishtsahu](https://github.com/utkrishtsahu)) | |
| - feat: add My Account API support for managing MFA authentication method [\#835](https://github.com/auth0/auth0-flutter/pull/835) ([utkrishtsahu](https://github.com/utkrishtsahu)) | |
| - feat: add Flutter Multi-Resource Refresh Token (MRRT) support [\#850](https://github.com/auth0/auth0-flutter/pull/850) ([utkrishtsahu](https://github.com/utkrishtsahu)) | |
| - feat: add Partial Custom Tabs support for Android [\#846](https://github.com/auth0/auth0-flutter/pull/846) ([utkrishtsahu](https://github.com/utkrishtsahu)) | |
| - fix: use safe casts in UserProfileExtensions to prevent ClassCastException [\#836](https://github.com/auth0/auth0-flutter/pull/836) ([sanchitmehtagit](https://github.com/sanchitmehtagit)) | |
| **Added** | |
| - afpi: suppress deprecated allowedBrowsers analyze warnings in ship cli [\`#851`](https://github.com/auth0/auth0-flutter/pull/851) ([utkrishtsahu](https://github.com/utkrishtsahu)) | |
| - feat: add My Account API support for managing MFA authentication method [\`#835`](https://github.com/auth0/auth0-flutter/pull/835) ([utkrishtsahu](https://github.com/utkrishtsahu)) | |
| - feat: add Flutter Multi-Resource Refresh Token (MRRT) support [\`#850`](https://github.com/auth0/auth0-flutter/pull/850) ([utkrishtsahu](https://github.com/utkrishtsahu)) | |
| - feat: add Partial Custom Tabs support for Android [\`#846`](https://github.com/auth0/auth0-flutter/pull/846) ([utkrishtsahu](https://github.com/utkrishtsahu)) | |
| **Fixed** | |
| - fix: use safe casts in UserProfileExtensions to prevent ClassCastException [\`#836`](https://github.com/auth0/auth0-flutter/pull/836) ([sanchitmehtagit](https://github.com/sanchitmehtagit)) |
🤖 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 `@auth0_flutter_platform_interface/CHANGELOG.md` around lines 6 - 11, The
changelog groups a fix under the "**Added**" section; move the bullet "fix: use
safe casts in UserProfileExtensions to prevent ClassCastException [`#836`]
(sanchitmehtagit)" out of the Added list and place it under a new or existing
"## Fixed" (or "Fixed") subsection in CHANGELOG.md so fix entries are correctly
categorized; ensure the entry text (including "UserProfileExtensions" and
"`#836`") is preserved exactly and adjust surrounding bullets so formatting and
ordering remain consistent.
There was a problem hiding this comment.
ship cli has cript for added but its a fix
There was a problem hiding this comment.
@utkrishtsahu, thanks for the clarification! In that case, both #851 and #836 should be under Fixed, leaving only the three feat: entries under Added:
**Added**
- feat: add My Account API support for managing MFA authentication method [\`#835`](https://github.com/auth0/auth0-flutter/pull/835) ([utkrishtsahu](https://github.com/utkrishtsahu))
- feat: add Flutter Multi-Resource Refresh Token (MRRT) support [\`#850`](https://github.com/auth0/auth0-flutter/pull/850) ([utkrishtsahu](https://github.com/utkrishtsahu))
- feat: add Partial Custom Tabs support for Android [\`#846`](https://github.com/auth0/auth0-flutter/pull/846) ([utkrishtsahu](https://github.com/utkrishtsahu))
**Fixed**
- afpi: suppress deprecated allowedBrowsers analyze warnings in ship cli [\`#851`](https://github.com/auth0/auth0-flutter/pull/851) ([utkrishtsahu](https://github.com/utkrishtsahu))
- fix: use safe casts in UserProfileExtensions to prevent ClassCastException [\`#836`](https://github.com/auth0/auth0-flutter/pull/836) ([sanchitmehtagit](https://github.com/sanchitmehtagit))
Added
Summary by CodeRabbit