Saleor v3.4.0 Release Notes
-
๐ฅ Breaking changes
- ๐ Hide private metadata in notification payloads - #9849 by @maarcingebala
- From now on, the
private_metadata
field inNOTIFY_USER
webhook payload is deprecated and it will return an empty dictionary. This change also affectsAdminEmailPlugin
,UserEmailPlugin
, andSendgridEmailPlugin
.
- From now on, the
Other changes
GraphQL API
- โ Add new fields to
Order
type to show authorize/charge status #9795- Add new fields to Order type:
totalAuthorized
totalCharged
authorizeStatus
chargeStatus
- Add filters to
Order
: authorizeStatus
chargeStatus
- โ Add mutations for managing a payment transaction attached to order/checkout. - #9564 by @korycins
- add fields:
order.transactions
checkout.transactions
- add mutations:
transactionCreate
transactionUpdate
transactionRequestAction
- add new webhook event:
TRANSACTION_ACTION_REQUEST
- Unify checkout's ID fields. - #9862 by @korycins
- Deprecate
checkoutID
andtoken
in all Checkout's mutations. Useid
instead. - Deprecate
token
incheckout
query. Useid
instead.
- Deprecate
- โ Add
unitPrice
,undiscountedUnitPrice
,undiscountedTotalPrice
fields toCheckoutLine
type - #9821 by @fowczarek - ๐ Fix invalid
ADDED_PRODUCTS
event parameter forOrderLinesCreate
mutation - #9653 by @IKarbowiak - โก๏ธ Update sorting field descriptions - add info where channel slug is required (#9695) (391743098)
- ๐ Fix using enum values in permission descriptions (#9697) (dbb783e1f)
- ๐ Change gateway validation in
checkoutPaymentCreate
mutation (#9530) (cf1d49bdc) - ๐ Fix invalid
ADDED_PRODUCTS
event parameter forOrderLinesCreate
mutation (#9653) (a0d8aa8f1) - ๐ Fix resolver for
Product.created
field (#9737) (0af00cb70) - ๐ Allow fetching by id all order data for new orders (#9728) (71c19c951)
- Provide a reference for the rich text format (#9744) (f2207c408)
- ๐ Improve event schema field descriptions - #9880 by @patrys
Saleor Apps
- Add menu webhooks:
MENU_CREATED
,MENU_UPDATED
,MENU_DELETED
,MENU_ITEM_CREATED
,MENU_ITEM_UPDATED
,MENU_ITEM_DELETED
- #9651 by @SzymJ - Add voucher webhooks:
VOUCHER_CREATED
,VOUCHER_UPDATED
,VOUCHER_DELETED
- #9657 by @SzymJ - Add app webhooks:
APP_INSTALLED
,APP_UPDATED
,APP_DELETED
,APP_STATUS_CHANGED
- #9698 by @SzymJ - Add warehouse webhoks:
WAREHOUSE_CREATED
,WAREHOUSE_UPDATED
,WAREHOUSE_DELETED
- #9746 by @SzymJ - ๐ฆ Expose order alongside fulfillment in fulfillment-based subscriptions used by webhooks (#9847)
- ๐ Fix webhooks payload not having field for
is_published
(#9800) (723f93c50) - โ Add support for
ORDER_*
mounting points for Apps (#9694) (cc728ef7e) - โ Add missing shipping method data in order and checkout events payloads. (#9692) (dabd1a221)
- ๐ฐ Use the human-readable order number in notification payloads (#9863) (f10c5fd5f)
Models
- Migrate order discount id from int to UUID - #9729 by @IKarbowiak
- Changed the order discount
id
fromint
toUUID
, the old ids still can be used for old order discounts.
- Changed the order discount
- Migrate order line id from int to UUID - #9637 by @IKarbowiak
- Changed the order line
id
fromint
toUUID
, the old ids still can be used for old order lines.
- Changed the order line
- Migrate checkout line id from int to UUID - #9675 by @IKarbowiak
- Changed the checkout line
id
fromint
toUUID
, the old ids still can be used for old checkout lines.
- Changed the checkout line
๐ Performance
- Fix memory consumption of
delete_event_payloads_task
(#9806) (2823edc68) - โ Add webhook events dataloader (#9790) (e88eef35e)
- โ Add dataloader for fulfillment warehouse resolver (#9740) (9d14fadb2)
- ๐ Fix order type resolvers performance (#9723) (13b5a95e7)
- ๐ Improve warehouse filtering performance (#9622) (a1a7a223b)
- โ Add dataloader for fulfillment lines (#9707) (68fb4bf4a)
Other
- Observability reporter - #9803 by @przlada
- โก๏ธ Update sample products set - #9796 by @mirekm
- ๐ Fix for sending incorrect prices to Avatax - #9633 by @korycins
- ๐ Fix tax-included flag sending to Avatax - #9820
- ๐ Fix AttributeError: 'Options' object has no attribute 'Model' in
search_tasks.py
- #9824 - ๐ Fix Braintree merchant accounts mismatch error - #9778
- Stricter signatures for resolvers and mutations - #9649
- ๐ Hide private metadata in notification payloads - #9849 by @maarcingebala