> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Next.js SDK

<Update label="5.28.3" description="2025-02-03">
  * Checkout widget
    * Added: New CSS classes (see [here](/documentation/snap-in-widgets/checkout#custom-css)):
      * `stigg-checkout-summary-captions`
      * `stigg-checkout-summary-captions-remaining-credits`
      * `stigg-checkout-summary-captions-scheduled-updates`
      * `stigg-checkout-summary-captions-next-billing`
</Update>

<Update label="5.28.2" description="2025-01-16">
  * Bug fixes
</Update>

<Update label="5.28.1" description="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`).
</Update>

<Update label="5.26.0" description="2024-12-17">
  * Added: `GetUsageHistoryV2`
  * ⚠️ Deprecated: `GetUsageHistory`(please use `GetUsageHistoryV2` instead)
  * Changed:
    * Input Object:
      * `customerRefId` renamed to `customerId`
      * `resourceRefId` renamed to `resourceId`
      * `featureRefId` renamed to `featureId`
      * `resetPeriod` removed
      * `yearlyResetPeriodConfiguration` removed
      * `monthlyResetPeriodConfiguration` removed
      * `weeklyResetPeriodConfiguration` removed
    * Output Object
      * `startDate` removed
      * `endDate` removed
      * `usageMeasurements[i].date` renamed to `series[0].point[i].timestamp`
      * `usageMeasurements[i].value` renamed to `series[0].point[i].value`
      * `usageMeasurements[i].isResetPoint` renamed to `series[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.
      * `groups[i].groupInfo[j].key` renamed to `series[i].tags[j].key`
      * `groups[i].groupInfo[j].value` renamed to `series[i].tags[j].value`
      * `groups[i].usageMeasurements[j].date` renamed to `series[i].point[j].timestamp`
      * `groups[i].usageMeasurements[j].value` renamed to `series[i].point[j].value`
      * `groups[i].usageMeasurements[j].isResetPoint` renamed to `series[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.
</Update>

<Update label="5.25.0" description="2024-12-08">
  * Added: ability to override prices when there's a scheduled update in place (currently without widgets)
</Update>

<Update label="5.24.1" description="2024-11-28">
  * Customer portal widget
    * Fixed: Block size is not displayed in Subscription section
</Update>

<Update label="5.24.0" description="2024-10-29">
  * Checkout widget
    * Added: responsive layout for mobile

  * Customer portal widget
    * Added: responsive layout for mobile
</Update>

<Update label="5.23.1" description="2024-10-28">
  * Checkout widget
    * Fixed: stair-step pricing values are now formatted using commas (,)
        <img src="https://mintcdn.com/stigg/zZAY_sXPTSVMcwio/images/docs/c2f7d7f8e7f4162a7743a0455cf720433f9e9b97e6134cd93b809595f58e0dfb-Screenshot_2024-10-28_at_11.22.07.png?fit=max&auto=format&n=zZAY_sXPTSVMcwio&q=85&s=d843eba58a50400e6c7b809792789650" alt="" width="1932" height="1194" data-path="images/docs/c2f7d7f8e7f4162a7743a0455cf720433f9e9b97e6134cd93b809595f58e0dfb-Screenshot_2024-10-28_at_11.22.07.png" />

  * Pricing table widget
    * Fixed: stair-step pricing values are now formatted using commas (,)
        <img src="https://mintcdn.com/stigg/rbfzdbhZ6y5pB9n-/images/docs/931f51b405aedec85554614deb7a73ed375265227177a8d035252a19d9a99001-Screenshot_2024-10-28_at_11.22.24.png?fit=max&auto=format&n=rbfzdbhZ6y5pB9n-&q=85&s=680cc08a556402e295bc04617700303b" alt="" width="2050" height="1406" data-path="images/docs/931f51b405aedec85554614deb7a73ed375265227177a8d035252a19d9a99001-Screenshot_2024-10-28_at_11.22.24.png" />
</Update>

<Update label="5.23.0" description="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`
</Update>

<Update label="5.22.1" description="2024-06-20">
  * Pricing table widget
    * Added: support for yearly reset period
</Update>

<Update label="5.16.1" description="2024-06-20">
  * Fixed: custom CSS not reflected in Checkout Widget
</Update>

<Update label="5.15.1" description="2024-06-20">
  * Fixed: custom CSS not reflected in Customer Portal Widget
</Update>

<Update label="5.9.0" description="2024-02-08">
  * Checkout widget
    * Added: price breakdown in tiered pricing
</Update>

<Update label="5.5.1" description="2024-02-05">
  * Customer portal widget
    * Added: `stigg-entitlement-usage` class to allow hiding certain entitlement from the customer portal
</Update>
