You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To ensure the best possible ongoing POS UI Extension development experience, starting in April 2025, we will end support for versions on a one-year rolling basis. This table details the end of support schedule.
Refer to the [migration guide](/docs/api/pos-ui-extensions/migrating) for more information.`,
37
-
},
38
-
],
18
+
anchorLink: '202507',
19
+
title: '2025.07',
20
+
sectionContent: `
21
+
- Added in POS version: 10.6
22
+
- Release day: 07/03/2025
23
+
24
+
## Breaking Changes
25
+
26
+
- Removed the deprecated \`FormattedTextField\` component. Use the [TextField](/docs/api/pos-ui-extensions/components/textfield) component instead. It will continue to work in POS 10.6.0, but will no longer function in POS 10.7.0.
27
+
28
+
## Deprecations
29
+
30
+
- Deprecated \`'minor'\`, \`'major'\`, \`'spot'\`, \`'caption'\`, \`'badge'\` as values for the \`size\` prop in the [Icon](/docs/api/pos-ui-extensions/components/icon) component. Use \`'s'\`, \`'m'\`, \`'l'\`, \`'xl'\` instead.
31
+
- Deprecated \`'arrow'\`, \`'available-at-other-locations'\`, \`'collections'\`, \`'connectivity-warning'\`, \`'delivery'\`, \`'home'\`, \`'image-placeholder'\`, \`'internet'\`, \`'menu'\`, \`'orders'\`, \`'products'\`, \`'shipment'\` as values for the \`name\` prop in the [Icon](/docs/api/pos-ui-extensions/components/icon) component. See valid values for [\`IconName\`](/docs/api/pos-ui-extensions/latest/components/icon#icon-propertydetail-name).
32
+
33
+
## Important Fixes
34
+
35
+
- Updated [pos.draft-order-details.block.render](https://shopify.dev/docs/api/pos-ui-extensions/targets/draft-order-details/pos-draft-order-details-block-render) to allow the proper set of components, called \`BlockComponents\`. Previously, this target erroneously accepted \`ActionComponents\`, which are intended for targets like \`pos.draft-order-details.action.render\`.
36
+
37
+
### Features
38
+
39
+
- Added support for [Direct API access](/docs/api/pos-ui-extensions#direct-api-access), and [authenticated requests](/docs/api/pos-ui-extensions#app-authentication).
40
+
- Added required \`posVersion\` property to [Session](/docs/api/pos-ui-extensions/apis/session-api) interface.
41
+
- Added optional \`currency\` property to [Discount](/docs/api/pos-ui-extensions/apis/cart-line-item-api#cartlineitemapi-propertydetail-cartlineitem) interface.
42
+
- Added \`executedAt\` property to [BaseTransactionComplete](/docs/api/pos-ui-extensions/targets/receipts/pos-receipt-footer-block-render#transactioncompletewithreprintdata-propertydetail-transaction) interface.
43
+
- Added optional \`exchangeId\` and \`returnId\` property to [ReturnTransactionData](/docs/api/pos-ui-extensions/targets/receipts/pos-receipt-footer-block-render#transactioncompletewithreprintdata-propertydetail-transaction) interface.
44
+
- Added required \`variantId\` property to [ProductApi](/docs/api/pos-ui-extensions/apis/product-api#productapi-propertydetail-variantid) interface.
45
+
- Added optional \`taxLines\` property to [ShippingLine](/docs/api/pos-ui-extensions/targets/post-transaction/pos-transaction-complete-event-observe#transactioncompletedata-propertydetail-transaction) interface.
46
+
- Added optional \`onBlur\` handler to [SearchBar](/docs/api/pos-ui-extensions/components/searchbar) component.
47
+
- Added optional \`tone\` property to [Icon](/docs/api/pos-ui-extensions/components/icon) component and expanded \`name\` and \`size\` options.
48
+
- Added optional \`editable\` property to \`Cart\` interface.
49
+
- Added \`useCartEditable\` hook to access the cart's editable state.
50
+
51
+
### Developer Preview
52
+
53
+
- Introduced a [Storage API](/docs/api/pos-ui-extensions/apis/storage-api). The Storage API gives the UI Extension access to store data on the POS device that the extension is running on.
54
+
- Added support for the ${TargetLink.PosExchangePostActionMenuItemRender}, ${TargetLink.PosExchangePostActionRender}, ${TargetLink.PosExchangePostBlockRender} targets.
55
+
- Added support for the ${TargetLink.PosReturnPostActionMenuItemRender}, ${TargetLink.PosReturnPostActionRender}, ${TargetLink.PosReturnPostBlockRender} targets.
56
+
`,
57
+
},
58
+
{
59
+
type: 'Generic',
60
+
anchorLink: '202504',
61
+
title: '2025.04',
62
+
sectionContent: `
63
+
- Added in POS version: 9.31
64
+
- Release day: 04/01/2025
65
+
66
+
## Important Fixes
67
+
68
+
- **POS 10.3.0**:
69
+
70
+
- Fixed an issue where the \`TextField\` component failed to apply the \`maxLength\` parameter.
71
+
72
+
- **POS 10.2.0**:
73
+
74
+
- Fixed a sizing issue with the \`Button\` component.
75
+
- Fixed an issue where the \`Section\` component was displaying a divider between child components.
76
+
77
+
- **POS 10.0.0**:
78
+
79
+
- Removed \`email\`, \`firstName\`, \`lastName\`, and \`note\` from the [Customer](/docs/api/pos-ui-extensions/apis/cart-api#customer) object.
80
+
- POS UI Extensions components automatically use our new POS visual design language.
81
+
82
+
### Features
83
+
84
+
**Developer Preview**:
85
+
- Added support for the ${TargetLink.PosTransactionCompleteObserve} target.
86
+
- Added support for cash tracking session. ${TargetLink.PosCashTrackingSessionStartObserve}, ${TargetLink.PosCashTrackingSessionCompleteObserve} targets.
87
+
- Added support for the ${TargetLink.PosCartUpdateObserve} target.
88
+
- Added support for the ${TargetLink.PosReceiptFooterBlockRender} target.
89
+
- Introduced a [POSReceiptBlock component](/docs/api/pos-ui-extensions/components/posreceiptblock). It's the required parent component for ${TargetLink.PosReceiptFooterBlockRender} targets.
90
+
- Introduced a [QRCode component](/docs/api/pos-ui-extensions/components/qrcode). It can be used to render a QR code in POS receipts but must be within a [POSReceiptBlock component](/docs/api/pos-ui-extensions/components/posreceiptblock).
* Set line item discounts to multiple line items at the same time.
190
-
* @param lineItemDiscounts a map of discounts to add. They key is the uuid of the line item you want to add the discount to. The value is the discount input.
191
170
*
192
-
* @throws CartNotEditableError if the cart is not currently editable.
171
+
* @param lineItemDiscounts a map of discounts to add. They key is the uuid of the line item you want to add the discount to. The value is the discount input.
193
172
*/
194
173
bulkSetLineItemDiscounts(
195
174
lineItemDiscounts: SetLineItemDiscountInput[],
196
175
): Promise<void>;
197
176
198
177
/**
199
178
* Sets an attributed staff to all line items in the cart.
200
-
* @param staffId the ID of the staff. Providing undefined will clear the attributed staff from all line items.
201
179
*
202
-
* @throws CartNotEditableError if the cart is not currently editable.
180
+
* @param staffId the ID of the staff. Providing undefined will clear the attributed staff from all line items.
0 commit comments