github saleor/saleor 3.0.0-a.13

latest releases: 3.19.39, 3.18.45, 3.17.46...
pre-release3 years ago

Changelog

Breaking

  • Changed payload of order-related webhooks to handle discounts lists - #6874 by @korycins

    • Affected webhooks: ORDER_CREATED, ORDER_CONFIRMED, ORDER_FULLY_PAID, ORDER_UPDATED, ORDER_CANCELLED, ORDER_FULFILLED, FULFILLMENT_CREATED
    • New fields: Order.discounts, OrderLine.unit_discount_amount, OrderLine.unit_discount_type, OrderLine.unit_discount_reason
    • Removed fields: Order.discount_amount, Order.discount_name, Order.translated_discount_name
  • Improved checkout performance - introduce CheckoutInfo data class - #6958 by @IKarbowiak.
    Introduced changes to plugin methods signatures:

    • In the following methods, the checkout parameter was changed to checkout_info: calculate_checkout_total, calculate_checkout_subtotal, calculate_checkout_shipping, get_checkout_shipping_tax_rate, calculate_checkout_line_total, calculate_checkout_line_unit_price, get_checkout_line_tax_rate, preprocess_order_creation
    • preprocess_order_creation was extend with the lines_info parameter.

Other

  • Add default sorting by rank for search products - #6936 by @d-wysocki
  • Add possibility to apply discount to order/order line with status DRAFT - #6930 by @korycins
  • Add Shop.version field to query API version - #6980 by @maarcingebala
  • Add optional support for reporting resource limits via a stub field in shop - #6967 by @NyanKiyoshi
  • Change the app query to return info about the currently authenticated app - #6928 by @d-wysocki
  • Deprecate API fields Order.discount, Order.discountName, Order.translatedDiscountName - #6874 by @korycins
  • Drop data field from checkout line model - #6961 by @fowczarek
  • Fix argument validation in page resolver - #6960 by @fowczarek
  • Fix totalCount on connection resolver without first or last - #6975 by @fowczarek
  • Fix variant resolver on DigitalContent - #6983 by @fowczarek
  • Fix race condition on send_fulfillment_confirmation - #6988 by @fowczarek
  • Fix resolver by id and slug for product and product variant - #6985 by @d-wysocki
  • Fix CheckoutLinesInfoByCheckoutTokenLoader dataloader - #6929 by @IKarbowiak
  • Fix exporting product description to xlsx - #6959 by @IKarbowiak

Don't miss a new saleor release

NewReleases is sending notifications on new releases.