saleor

Saleor Core: the high performance, composable, headless commerce API.

BSD-3-CLAUSE License

Stars
20K
Committers
286

Bot releases are hidden (Show)

saleor - 3.3.17

Published by fowczarek over 2 years ago

  • Fix: In some cases migration, saleor/order/migrations/0139_fix_undiscounted_total_on_lines.py could fail due to an unregistered task. - #10039 by @fowczarek
saleor - 3.3.16

Published by maarcingebala over 2 years ago

  • Add datamigration for fixing invalid undiscounted total on order lines (#10011) (3bfadbe6b)

    Previously, OrderLine undiscounted total was calculated from unit_price instead of undiscounted_unict_price.

    Warning ⚠️

    • Only order lines that were created from draft orders are affected, or order lines that were manually added by admins/apps after the order was created. Regular orders created from checkouts are not affected by this bug.
    • This migration changes the value of undiscoutend_total_price field in the database for any order where the value is currently invalid.
    • For each updated order, the ORDER_UPDATED webhook is triggered.

    Example invalid order line data from before the migration:
    unit_price: 5 USD
    undiscounted_unit_price: 10 USD
    quantity: 2
    total_price: 10 USD
    undiscoutend_total_price: 10 USD

    Correct data after the migration:
    unit_price: 5 USD
    undiscounted_unit_price: 10 USD
    quantity: 2
    total_price: 10 USD
    undiscoutend_total_price: 20 USD

saleor - 3.4.6

Published by maarcingebala over 2 years ago

  • Add data migration for fixing invalid undiscounted total on order lines (#10012) (7a524a7ae)

    Previously, OrderLine undiscounted total was calculated from unit_price instead of undiscounted_unict_price.

    Warning ⚠️

    • Only order lines that were created from draft orders are affected, or order lines that were manually added by admins/apps after the order was created. Regular orders created from checkouts are not affected by this bug.
    • This migration changes the value of undiscoutend_total_price field in the database for any order where the value is currently invalid.
    • For each updated order, the ORDER_UPDATED webhook is triggered.

    Example invalid order line data from before the migration:
    unit_price: 5 USD
    undiscounted_unit_price: 10 USD
    quantity: 2
    total_price: 10 USD
    undiscoutend_total_price: 10 USD

    Correct data after the migration:
    unit_price: 5 USD
    undiscounted_unit_price: 10 USD
    quantity: 2
    total_price: 10 USD
    undiscoutend_total_price: 20 USD

saleor - 3.3.15

Published by maarcingebala over 2 years ago

  • Fix invalid undiscounted total on order line (8fe1fc92e)
  • Fix Avalara for free shipping (#9975) (b8a513f31)
saleor - 3.4.5

Published by maarcingebala over 2 years ago

  • Fix invalid undiscounted total on order line (2257162fb)
  • Fix incorrect default value used in PaymentInput - 3.4 (#9976) (0928ea526)
  • Allow filtering orders by number (#9989) (3e28fb665)
  • Fix Avalara for free shipping (#9974) (37cdb1ba9)
saleor - 3.3.14

Published by maarcingebala over 2 years ago

  • Fix failing Avalara when voucher with apply_once_per_order setting is used (#9957) (28e9a4156)
saleor - 3.4.4

Published by maarcingebala over 2 years ago

  • Fix failing Avalara when voucher with apply_once_per_order setting is used (#9958) (ac94b24b0)
saleor - 3.4.3

Published by tomaszszymanski129 over 2 years ago

  • Optimize migrations (#9951) (1cbb78c4ad)
saleor - 3.3.13

Published by maarcingebala over 2 years ago

  • Fix inaccurate tax calculations (#9927) (6292d3a37)
saleor - 3.4.2

Published by maarcingebala over 2 years ago

  • Fix inaccurate tax calculations (#9928) (03e43492d)
saleor - 3.4.1

Published by maarcingebala over 2 years ago

  • Add observability Celery queue (#9887) (3a702a714)
  • Fix settings seconds in migrations (#9884) (01fd2f9a0)
saleor -

Published by maarcingebala over 2 years ago

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) (391743098)
  • Fix using enum values in permission descriptions (#9697) (dbb783e1f)
  • Change gateway validation in checkoutPaymentCreate mutation (#9530) (cf1d49bdc)
  • Fix invalid ADDED_PRODUCTS event parameter for OrderLinesCreate 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 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

  • 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
saleor - 3.1.16

Published by maarcingebala over 2 years ago

  • Bump pyjwt to 2.4.0 (#9853) (f01656a0f)
saleor - 3.2.5

Published by maarcingebala over 2 years ago

  • Bump pyjwt to 2.4.0 (#9852) (3a399d0eb)
  • Rename initialize_context and remove get_response (#9846) (56321c42f)
saleor - 3.3.12

Published by maarcingebala over 2 years ago

  • Optimize update_products_search_vector to work in batches (#9855) (6af6ee16e)
  • Bump pyjwt to 2.4.0 (#9851) (819c4c833)
  • Rename initialize_context and remove get_response (#9844) (c1ad0f347)
saleor - 3.3.11

Published by maarcingebala over 2 years ago

  • Anonymize search payload for order/user in demo mode (#9842) (9d38d5239)
  • Handle https protocol in initialize_context. (#9840) (2bf564c07)
saleor - 3.1.15

Published by maarcingebala over 2 years ago

  • Fix memory consumption of delete_event_payloads_task (#9806) (#9837) (f2c56b54a)
saleor - 3.2.4

Published by maarcingebala over 2 years ago

  • Fix webhook events deletion (#9835) (6c3ac12fd)