# POS UI Extensions 2025-01 Update — Shopify developer changelog --- ## POS UI Extensions 2025-01 Update As of January 20, we added the following updates to POS UI Extensions: ### Breaking Changes - Removed the deprecated ActionItem component. Use a [Button](/docs/api/pos-ui-extensions/components/button) instead. - Removed the deprecated SmartGridApi. Use the [ActionApi](/docs/api/pos-ui-extensions/apis/action-api) instead. - Removed the deprecated DiscountType. Use [CartDiscountType](/docs/api/pos-ui-extensions/apis/cart-api#cartapi-propertydetail-applycartdiscount) and [LineItemDiscountType](/docs/api/pos-ui-extensions/apis/cart-api#cartapi-propertydetail-setlineitemdiscount) instead. - Removed the deprecated `badge` prop from the [List](/docs/api/pos-ui-extensions/components/list) component. Use `badges` instead. - Removed the deprecated `TextFieldProps` type from the [TextField](/docs/api/pos-ui-extensions/components/textfield) component. - Deprecated `'vertical'` and `'horizontal'` as values for the `direction` field in the [Stack](/docs/api/pos-ui-extensions/components/Stack) component. - Deprecated the `flexChildren'` field in the [Stack](/docs/api/pos-ui-extensions/components/Stack) component. - Deprecated the `flex'` field in the [Stack](/docs/api/pos-ui-extensions/components/Stack) component. - Deprecated the `flexWrap'` field in the [Stack](/docs/api/pos-ui-extensions/components/Stack) component. - Deprecated the `paddingHorizontal'` and `paddingVertical` fields in the [Stack](/docs/api/pos-ui-extensions/components/Stack) component. - Removed `customValidator` prop from the [FormattedTextField](/docs/api/pos-ui-extensions/components/formattedtextfield) component. - Removed `email`, `firstName`, `lastName`, and `note` from the [Customer](/docs/api/pos-ui-extensions/apis/cart-api#customer) object. ### Features - Added [PrintApi](/docs/api/pos-ui-extensions/apis/print-api) and a [PrintPreview](/docs/api/pos-ui-extensions/components/printpreview) component. - Added `currency` prop to the [SessionApi](/docs/api/pos-ui-extensions/apis/session-api). - [Cart API](/docs/api/pos-ui-extensions/apis/cart-api) updates: - Added `bulkUpdateCart` function for single-operation cart updates. - The `addLineItem` and `addCustomSale` functions now return a UUID for the added line item. - Added [Box](/docs/api/pos-ui-extensions/components/box) component. - Enhanced the [Stack](/docs/api/pos-ui-extensions/components/box) component. New fields include `justifyContent`, `alignItems`, and `alignContent`, as well as numerous new sizing and spacing options. - Added Sizing and fill options to the[Image](/docs/api/pos-ui-extensions/components/image) component. All of the changes are available for POS UI extensions version 2025-01 and POS app version 9.26.0. See the [version log](https://shopify.dev/docs/api/pos-ui-extensions/unstable/versions) for all version details. *Published: January 06, 2025* Tags: API, Update Link: https://shopify.dev/changelog/pos-ui-extensions-2025-01-update ---