π΄ Release v2.275.6
ββ Moderate Complexity β’ 14 commits β’ 208 filesThis release introduces loyalty tier entry rewards, enabling automatic reward distribution when users advance to new tiers. It also includes critical security hardening, UI/UX improvements, and infrastructure enhancements for better observability and error tracking.
Whatβs New
- Loyalty tier entry rewards β Automatically distribute rewards when users are promoted to new tiers, with configurable rewards per tier
- User API security hardening β Added authentication guards to all
/me.*API queries to prevent unauthorized access - Fixed admin badge reward crashes β Resolved crash when editing badge-type rewards with missing configurations
- Improved user experience β Fixed reward card text wrapping, profile drawer translation issues, and form state detection
- Widget error handling β Enhanced error states, sizing, and link behavior in the Shopify loyalty widget
- Better error tracking β Integrated BetterStack error tracking across MCP server and admin app for improved observability
Apps Updated
User App
β Updated - 21 changes
API
β Updated - 8 changes
Admin
β Updated - 3 changes
MCP Server
β Updated - 2 changes
Design System
β Updated - 1 change
Games
β No changes
Detailed Changes
User App
User App
π― User Experience Improvements
- Fixed reward card text wrapping for long reward types and dates β ensures consistent card layout across all screen sizes
- Fixed profile drawer join date translation β date now appears in userβs selected language
- Fixed multiple choice question default border styling β updated to use consistent border color system
- Added authentication guards to all
/me.*API queries β prevents unauthorized access to user data - Improved wallet and badge displays across all journey types (calendar, lite, stamp, mono)
- Added
useIsAuthenticatedhook for centralized auth checking - Enhanced all data-dependent components with auth verification
- Fixed unauthenticated access to user profile, stats, and wallet endpoints
API
API
π Loyalty Tier Entry Rewards
- New feature: Automatic reward distribution when users are promoted to new loyalty tiers
- Configured via
entryRewardDistributionon each loyalty tier definition - Prevents duplicate reward claims through
claimedEntryRewardstracking - Seamlessly integrates with existing distribution management system
- Full test coverage with 297+ test cases for edge cases and concurrent scenarios
- Migrated E2E API journey tests to tRPC in-memory unit tests for faster, more reliable testing
- Added new RBAC authorization test suite
- Improved test patterns for challenge and feature flag management
Admin
Admin
π Bug Fixes
- Fixed crash when editing badge rewards β now properly handles missing badge configurations
- Fixed embed launcher form dirty state detection β form changes are now correctly tracked
- Added BetterStack error tracking for better error visibility and debugging
- Integrated Sentry error tracking application
- Enhanced error logging with structured context
MCP Server
MCP Server
π§ Improvements
- Fixed 5 action validation errors found in E2E testing
- Added BetterStack error tracking for MCP operations
- Improved error context and logging
Design System
Design System
π¨ Updates
- Updated design system exports and styling patterns
Shopify Widget
Shopify Widget
β¨ Widget Enhancements
- Improved error states for better user feedback
- Fixed widget sizing issues across device types
- Enhanced link behavior and click handling
Feature Spotlight: Loyalty Tier Entry Rewards
Loyalty tiers can now automatically distribute rewards when users are promoted. This enables use cases like: Example: VIP Welcome BonusSecurity Improvements
User API Authentication
All/me.* queries now require proper authentication to access user data. This release adds security guards across:
- Badge queries and details
- Coin and point displays
- Wallet and transaction history
- Streak information
- Profile and personal statistics
- Reward preferences
Technical Improvements
Testing Infrastructure
- Migrated from slow E2E API journey tests to fast tRPC in-memory unit tests
- Result: Faster feedback loop, more reliable test suites, better coverage
- New RBAC authorization tests for role-based access control validation
- Standardized test patterns across admin, community, and feature flag domains
Error Tracking
- BetterStack error tracking now active on MCP server and admin app
- Automatic Sentry integration for frontend error reporting
- Structured error logging for better incident investigation
Contributors
Derek Counihan5 commits β’ +11,156/-1,621 lines
Saad3 commits β’ +704/-335 lines
ZuhayrK003 commits β’ +23/-14 lines
James Cockayne2 commits β’ +1,061/-18 linesRelease Stats
| Metric | Value |
|---|---|
| Total Commits | 14 |
| Lines Added | +13,050 |
| Lines Removed | -1,988 |
| Files Changed | 208 |
| Release Size | Massive |
| Complexity | Moderate |
Upgrade Notes
For Administrators
- Loyalty Tier Rewards: If you use loyalty tiers, you can now configure entry rewards. Navigate to Tier Settings and select a distribution event for automatic reward distribution.
- Error Tracking: Admin error events are now tracked in BetterStack. Check the Error Tracking application for visibility into issues.
For Developers
- API changes: New
claimedEntryRewardsfield onUserLoyaltyTierStateDtoModelfor tracking which tier entry rewards have been claimed - Test updates: Migrate any custom E2E tests to the new tRPC unit test pattern for consistency
- Auth guards: Ensure all custom
/me.*queries include proper authentication checks
v2.275.6 deployed on April 2, 2026

