React SDK changes
5.28.2
Released: 2025-01-16
- Bug fixes
5.28.1
Released: 2025-01-14
- Fixed: price amounts with decimal points now always appear with 2 decimal points (i.e. $23.1 will appear as $23.10).
5.28.0
Released: 2025-01-12
- Added: custom React hooks
- useStiggContext
- useBooleanEntitlement
- useNumericEntitlement
- useMeteredEntitlement
- useActiveSubscriptions
- useCustomerPortal
- Added: entitlement guard components
- BooleanEntitlementGuard
- NumericEntitlementGuard
- MeteredEntitlementGuard
- Added: support for offline mode
5.26.0
Released: 2024-12-17
- Added:
GetUsageHistoryV2
- π‘ Deprecated:
GetUsageHistory
(please useGetUsageHistoryV2
instead) - Changed:
- Input Object:
customerRefId
renamed tocustomerId
resourceRefId
renamed toresourceId
featureRefId
renamed tofeatureId
resetPeriod
removedyearlyResetPeriodConfiguration
removedmonthlyResetPeriodConfiguration
removedweeklyResetPeriodConfiguration
removed
- Output Object
startDate
removedendDate
removedusageMeasurements[i].date
renamed toseries[0].point[i].timestamp
usageMeasurements[i].value
renamed toseries[0].point[i].value
usageMeasurements[i].isResetPoint
renamed toseries[0].point[i].isResetPoint
- Old Value:
true
if and only if usage was reset due to periodic reset. - New Value:
true
if and only if usage was reset due to periodic reset or due to a plan transition.
- Old Value:
groups[i].groupInfo[j].key
renamed toseries[i].tags[j].key
groups[i].groupInfo[j].value
renamed toseries[i].tags[j].value
groups[i].usageMeasurements[j].date
renamed toseries[i].point[j].timestamp
groups[i].usageMeasurements[j].value
renamed toseries[i].point[j].value
groups[i].usageMeasurements[j].isResetPoint
renamed toseries[i].point[j].isResetPoint
- Old Value:
true
if and only if usage was reset due to periodic reset. - New Value:
true
if and only if usage was reset due to periodic reset or due to a plan transition.
- Old Value:
- Input Object:
5.25.0
Released: 2024-12-08
- Added: ability to override prices when there's a scheduled update in place (currently without widgets)
5.24.1
Released: 2024-11-28
Customer portal widget
- Fixed: Block size is not displayed in Subscription section
5.24.0
Released: 2024-10-29
Checkout widget
- Added: responsive layout for mobile
Customer portal widget
- Added: responsive layout for mobile
5.23.1
Released: 2024-10-28
Checkout widget
- Fixed: stair-step pricing values are now formatted using commas (,)
Pricing table widget
- Fixed: stair-step pricing values are now formatted using commas (,)
5.23.0
Released: 2024-10-10
Checkout widget
- Added: Ability to skip steps
- Added: New CSS classes
stigg-checkout-progress-container
stigg-checkout-summary-plan-title-container
stigg-checkout-summary-usage-charges-container
stigg-checkout-summary-base-charges-container
5.22.1
Released: 2024-06-20
Pricing table widget
- Added: support for yearly reset period
5.16.1
Released: 2024-06-20
Checkout widget
- Fixed: custom CSS not reflected in Checkout Widget
5.15.1
Released: 2024-06-20
Customer portal widget
- Fixed: custom CSS not reflected in Customer Portal Widget
5.9.0
Released: 2024-02-08
Checkout widget
- Added: price breakdown in tiered pricing
5.5.1
Released: 2024-02-05
Customer portal widget
- Added:
stigg-entitlement-usage
class to allow hiding certain entitlement from the customer portal
Updated 6 days ago