Skip to content

3.4.0

Compare
Choose a tag to compare
@maarcingebala maarcingebala released this 30 May 11:15
· 1532 commits to main since this release

Welcome to the 3.4.0 release of Saleor!

Breaking changes

  • Hide private metadata in notification payloads - #9849 by @maarcingebala
    • From now on, the private_metadata field in NOTIFY_USER webhook payload is deprecated and it will return an empty dictionary. This change also affects AdminEmailPlugin, UserEmailPlugin, and SendgridEmailPlugin.

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 and token in all Checkout's mutations. Use id instead.
    • Deprecate token in checkout query. Use id instead.
  • Add unitPrice, undiscountedUnitPrice, undiscountedTotalPrice fields to CheckoutLine type - #9821 by @fowczarek
  • Fix invalid ADDED_PRODUCTS event parameter for OrderLinesCreate mutation - #9653 by @IKarbowiak
  • Update sorting field descriptions - add info where channel slug is required (#9695) (3917430)
  • Fix using enum values in permission descriptions (#9697) (dbb783e)
  • Change gateway validation in checkoutPaymentCreate mutation (#9530) (cf1d49b)
  • Fix invalid ADDED_PRODUCTS event parameter for OrderLinesCreate mutation (#9653) (a0d8aa8)
  • Fix resolver for Product.created field (#9737) (0af00cb)
  • Allow fetching by id all order data for new orders (#9728) (71c19c9)
  • Provide a reference for the rich text format (#9744) (f2207c4)
  • 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) (723f93c)
  • Add support for ORDER_* mounting points for Apps (#9694) (cc728ef)
  • Add missing shipping method data in order and checkout events payloads. (#9692) (dabd1a2)
  • Use the human-readable order number in notification payloads (#9863) (f10c5fd)

Models

  • Migrate order discount id from int to UUID - #9729 by @IKarbowiak
    • Changed the order discount id from int to UUID, the old ids still can be used
      for old order discounts.
  • Migrate order line id from int to UUID - #9637 by @IKarbowiak
    • Changed the order line id from int to UUID, the old ids still can be used
      for old order lines.
  • Migrate checkout line id from int to UUID - #9675 by @IKarbowiak
    • Changed the checkout line id from int to UUID, the old ids still can be used
      for old checkout lines.

Performance

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