Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update version number; update changelog (#9888)
Marcin Gębala1289f8c38cfc
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex fd06ee09c8..38b3173d72 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,14 +2,21 @@All notable, unreleased changes to this project will be documented in this file. For the released changes, please visit the [Releases](https://github.com/mirumee/saleor/releases) page.-## Unreleased+# 3.5.0 [Unreleased]++...++# 3.4.0++### 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-- 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.-- Fix invalid `ADDED_PRODUCTS` event parameter for `OrderLinesCreate` mutation - #9653 by @IKarbowiak-- Fix sorting by publication date with pagination - #9741 by @IKarbowiak-- Fix max_length for voucher_code in Checkout model - #9791 by @SzymJ- Add new fields to `Order` type to show authorize/charge status #9795- Add new fields to Order type:- `totalAuthorized`@@ -19,24 +26,7 @@ All notable, unreleased changes to this project will be documented in this file.- Add filters to `Order`:- `authorizeStatus`- `chargeStatus`-- Fix sorting by publication date with pagination - #9741 by IKarbowiak-- 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.-- 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---## Breaking--- 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`, an d `SendgridEmailPlugin`.--### Other changes-- Fix for sending incorrect prices to Avatax - #9633 by @korycins-- PREVIEW_FEATURE: Add mutations for managing a payment transaction attached to order/checkout. - #9564 by @korycins+- Add mutations for managing a payment transaction attached to order/checkout. - #9564 by @korycins- add fields:- `order.transactions`- `checkout.transactions`@@ -46,14 +36,62 @@ All notable, unreleased changes to this project will be documented in this file.- `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 webhooks `MENU_CREATED`, `MENU_UPDATED`, `MENU_DELETED`, `MENU_ITEM_CREATED`, `MENU_ITEM_UPDATED`, `MENU_ITEM_DELETED` - #9651 by @SzymJ-- Add webhooks `VOUCHER_CREATED`, `VOUCHER_UPDATED`, `VOUCHER_DELETED` - #9657 by @SzymJ-- Add webhooks `APP_CREATED`, `APP_UPDATED`, `APP_DELETED`, `APP_STATUS_CHANGED` - #9698 by @SzymJ++- 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.+ 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# 3.3.1@@ -103,7 +141,6 @@ All notable, unreleased changes to this project will be documented in this file.- Optimize stock warehouse resolver performance (955489bff) by @tomaszszymanski129- Improve shipping zone filters performance (#9540) (7841ec536) by @tomaszszymanski129-# 3.2.0### Breaking changesdiff --git a/package-lock.json b/package-lock.jsonindex bc52193534..57e4249c59 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "saleor",- "version": "3.3.1",+ "version": "3.5.0-a","lockfileVersion": 2,"requires": true,"packages": {"": {"name": "saleor",- "version": "3.3.1",+ "version": "3.5.0-a","license": "BSD-3-Clause","devDependencies": {"@release-it/bumper": "^3.0.1",diff --git a/package.json b/package.jsonindex c7bcb6b05c..150e40ae31 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "saleor",- "version": "3.3.1",+ "version": "3.5.0-a","engines": {"node": ">=16 <17","npm": ">=7"diff --git a/poetry.lock b/poetry.lockindex ebbfdea88d..fc4c9d8aee 100644--- a/poetry.lock+++ b/poetry.lock@@ -552,7 +552,7 @@ django = "*"[[package]]name = "django-cache-url"-version = "3.4.0"+version = "3.4.2"description = "Use Cache URLs in your Django application."category = "main"optional = false@@ -2940,16 +2940,6 @@ brotli = [{file = "Brotli-1.0.9-cp27-cp27m-win32.whl", hash = "sha256:afde17ae04d90fbe53afb628f7f2d4ca022797aa093e809de5c3cf276f61bbfa"},{file = "Brotli-1.0.9-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:7cb81373984cc0e4682f31bc3d6be9026006d96eecd07ea49aafb06897746452"},{file = "Brotli-1.0.9-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:db844eb158a87ccab83e868a762ea8024ae27337fc7ddcbfcddd157f841fdfe7"},- {file = "Brotli-1.0.9-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:9744a863b489c79a73aba014df554b0e7a0fc44ef3f8a0ef2a52919c7d155031"},- {file = "Brotli-1.0.9-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a72661af47119a80d82fa583b554095308d6a4c356b2a554fdc2799bc19f2a43"},- {file = "Brotli-1.0.9-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7ee83d3e3a024a9618e5be64648d6d11c37047ac48adff25f12fa4226cf23d1c"},- {file = "Brotli-1.0.9-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:19598ecddd8a212aedb1ffa15763dd52a388518c4550e615aed88dc3753c0f0c"},- {file = "Brotli-1.0.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:44bb8ff420c1d19d91d79d8c3574b8954288bdff0273bf788954064d260d7ab0"},- {file = "Brotli-1.0.9-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e23281b9a08ec338469268f98f194658abfb13658ee98e2b7f85ee9dd06caa91"},- {file = "Brotli-1.0.9-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:3496fc835370da351d37cada4cf744039616a6db7d13c430035e901443a34daa"},- {file = "Brotli-1.0.9-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:b83bb06a0192cccf1eb8d0a28672a1b79c74c3a8a5f2619625aeb6f28b3a82bb"},- {file = "Brotli-1.0.9-cp310-cp310-win32.whl", hash = "sha256:26d168aac4aaec9a4394221240e8a5436b5634adc3cd1cdf637f6645cecbf181"},- {file = "Brotli-1.0.9-cp310-cp310-win_amd64.whl", hash = "sha256:622a231b08899c864eb87e85f81c75e7b9ce05b001e59bbfbf43d4a71f5f32b2"},{file = "Brotli-1.0.9-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:c83aa123d56f2e060644427a882a36b3c12db93727ad7a7b9efd7d7f3e9cc2c4"},{file = "Brotli-1.0.9-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:6b2ae9f5f67f89aade1fab0f7fd8f2832501311c363a21579d02defa844d9296"},{file = "Brotli-1.0.9-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:68715970f16b6e92c574c30747c95cf8cf62804569647386ff032195dc89a430"},@@ -2958,43 +2948,23 @@ brotli = [{file = "Brotli-1.0.9-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:503fa6af7da9f4b5780bb7e4cbe0c639b010f12be85d02c99452825dd0feef3f"},{file = "Brotli-1.0.9-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:40d15c79f42e0a2c72892bf407979febd9cf91f36f495ffb333d1d04cebb34e4"},{file = "Brotli-1.0.9-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:93130612b837103e15ac3f9cbacb4613f9e348b58b3aad53721d92e57f96d46a"},- {file = "Brotli-1.0.9-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:87fdccbb6bb589095f413b1e05734ba492c962b4a45a13ff3408fa44ffe6479b"},- {file = "Brotli-1.0.9-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:6d847b14f7ea89f6ad3c9e3901d1bc4835f6b390a9c71df999b0162d9bb1e20f"},- {file = "Brotli-1.0.9-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:495ba7e49c2db22b046a53b469bbecea802efce200dffb69b93dd47397edc9b6"},- {file = "Brotli-1.0.9-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:4688c1e42968ba52e57d8670ad2306fe92e0169c6f3af0089be75bbac0c64a3b"},{file = "Brotli-1.0.9-cp36-cp36m-win32.whl", hash = "sha256:61a7ee1f13ab913897dac7da44a73c6d44d48a4adff42a5701e3239791c96e14"},{file = "Brotli-1.0.9-cp36-cp36m-win_amd64.whl", hash = "sha256:1c48472a6ba3b113452355b9af0a60da5c2ae60477f8feda8346f8fd48e3e87c"},{file = "Brotli-1.0.9-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:3b78a24b5fd13c03ee2b7b86290ed20efdc95da75a3557cc06811764d5ad1126"},{file = "Brotli-1.0.9-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:9d12cf2851759b8de8ca5fde36a59c08210a97ffca0eb94c532ce7b17c6a3d1d"},{file = "Brotli-1.0.9-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:6c772d6c0a79ac0f414a9f8947cc407e119b8598de7621f39cacadae3cf57d12"},- {file = "Brotli-1.0.9-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:29d1d350178e5225397e28ea1b7aca3648fcbab546d20e7475805437bfb0a130"},- {file = "Brotli-1.0.9-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:7bbff90b63328013e1e8cb50650ae0b9bac54ffb4be6104378490193cd60f85a"},- {file = "Brotli-1.0.9-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:ec1947eabbaf8e0531e8e899fc1d9876c179fc518989461f5d24e2223395a9e3"},- {file = "Brotli-1.0.9-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:12effe280b8ebfd389022aa65114e30407540ccb89b177d3fbc9a4f177c4bd5d"},{file = "Brotli-1.0.9-cp37-cp37m-win32.whl", hash = "sha256:f909bbbc433048b499cb9db9e713b5d8d949e8c109a2a548502fb9aa8630f0b1"},{file = "Brotli-1.0.9-cp37-cp37m-win_amd64.whl", hash = "sha256:97f715cf371b16ac88b8c19da00029804e20e25f30d80203417255d239f228b5"},- {file = "Brotli-1.0.9-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:e16eb9541f3dd1a3e92b89005e37b1257b157b7256df0e36bd7b33b50be73bcb"},{file = "Brotli-1.0.9-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:160c78292e98d21e73a4cc7f76a234390e516afcd982fa17e1422f7c6a9ce9c8"},{file = "Brotli-1.0.9-cp38-cp38-manylinux1_i686.whl", hash = "sha256:b663f1e02de5d0573610756398e44c130add0eb9a3fc912a09665332942a2efb"},{file = "Brotli-1.0.9-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:5b6ef7d9f9c38292df3690fe3e302b5b530999fa90014853dcd0d6902fb59f26"},- {file = "Brotli-1.0.9-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8a674ac10e0a87b683f4fa2b6fa41090edfd686a6524bd8dedbd6138b309175c"},- {file = "Brotli-1.0.9-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:e2d9e1cbc1b25e22000328702b014227737756f4b5bf5c485ac1d8091ada078b"},- {file = "Brotli-1.0.9-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:b336c5e9cf03c7be40c47b5fd694c43c9f1358a80ba384a21969e0b4e66a9b17"},- {file = "Brotli-1.0.9-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:85f7912459c67eaab2fb854ed2bc1cc25772b300545fe7ed2dc03954da638649"},{file = "Brotli-1.0.9-cp38-cp38-win32.whl", hash = "sha256:35a3edbe18e876e596553c4007a087f8bcfd538f19bc116917b3c7522fca0429"},{file = "Brotli-1.0.9-cp38-cp38-win_amd64.whl", hash = "sha256:269a5743a393c65db46a7bb982644c67ecba4b8d91b392403ad8a861ba6f495f"},- {file = "Brotli-1.0.9-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:2aad0e0baa04517741c9bb5b07586c642302e5fb3e75319cb62087bd0995ab19"},{file = "Brotli-1.0.9-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5cb1e18167792d7d21e21365d7650b72d5081ed476123ff7b8cac7f45189c0c7"},{file = "Brotli-1.0.9-cp39-cp39-manylinux1_i686.whl", hash = "sha256:16d528a45c2e1909c2798f27f7bf0a3feec1dc9e50948e738b961618e38b6a7b"},{file = "Brotli-1.0.9-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:56d027eace784738457437df7331965473f2c0da2c70e1a1f6fdbae5402e0389"},- {file = "Brotli-1.0.9-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9bf919756d25e4114ace16a8ce91eb340eb57a08e2c6950c3cebcbe3dff2a5e7"},- {file = "Brotli-1.0.9-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:e4c4e92c14a57c9bd4cb4be678c25369bf7a092d55fd0866f759e425b9660806"},- {file = "Brotli-1.0.9-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:e48f4234f2469ed012a98f4b7874e7f7e173c167bed4934912a29e03167cf6b1"},- {file = "Brotli-1.0.9-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:9ed4c92a0665002ff8ea852353aeb60d9141eb04109e88928026d3c8a9e5433c"},{file = "Brotli-1.0.9-cp39-cp39-win32.whl", hash = "sha256:cfc391f4429ee0a9370aa93d812a52e1fee0f37a81861f4fdd1f4fb28e8547c3"},{file = "Brotli-1.0.9-cp39-cp39-win_amd64.whl", hash = "sha256:854c33dad5ba0fbd6ab69185fec8dab89e13cda6b7d191ba111987df74f38761"},- {file = "Brotli-1.0.9-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:9749a124280a0ada4187a6cfd1ffd35c350fb3af79c706589d98e088c5044267"},- {file = "Brotli-1.0.9-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:76ffebb907bec09ff511bb3acc077695e2c32bc2142819491579a695f77ffd4d"},{file = "Brotli-1.0.9.zip", hash = "sha256:4d1b810aa0ed773f81dceda2cc7b403d01057458730e309856356d4ef4188438"},]brotlicffi = [@@ -3226,8 +3196,8 @@ django-appconf = [{file = "django_appconf-1.0.5-py3-none-any.whl", hash = "sha256:ae9f864ee1958c815a965ed63b3fba4874eec13de10236ba063a788f9a17389d"},]django-cache-url = [- {file = "django-cache-url-3.4.0.tar.gz", hash = "sha256:4559398a946ff24c4ee96e32c55e3b760bd69f7c2ba48844cdf8fcb4f76d10bd"},- {file = "django_cache_url-3.4.0-py2.py3-none-any.whl", hash = "sha256:9061f8e7ffbb29eb92ba93fa9058003ec92393e85c537d1969570652ff8721fa"},+ {file = "django-cache-url-3.4.2.tar.gz", hash = "sha256:6cc9901a99a99751f5458aa7de08ce06e48c1441b1a94c9457d78af74fab9a26"},+ {file = "django_cache_url-3.4.2-py2.py3-none-any.whl", hash = "sha256:c4a62634cffc9d636073cef597a44576d67b07660ab2ef1f02b160ee7ecf0e98"},]django-celery-beat = [{file = "django-celery-beat-2.2.1.tar.gz", hash = "sha256:97ae5eb309541551bdb07bf60cc57cadacf42a74287560ced2d2c06298620234"},@@ -3509,7 +3479,6 @@ grpcio-status = [{file = "grpcio_status-1.46.3-py3-none-any.whl", hash = "sha256:5357dcd69e51ba3f7b86d57698bd44d2ef295528eb7219b237eb596183334d39"},]gunicorn = [- {file = "gunicorn-20.1.0-py3-none-any.whl", hash = "sha256:9dcc4547dbb1cb284accfb15ab5667a0e5d1881cc443e0677b4882a4067a807e"},{file = "gunicorn-20.1.0.tar.gz", hash = "sha256:e0a968b5ba15f8a328fdfd7ab1fcb5af4470c28aaf7e55df02a99bc13138e6e8"},]h11 = [diff --git a/pyproject.toml b/pyproject.tomlindex 67d4fb8c5f..e481e40051 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[tool.poetry]name = "saleor"-version = "3.3.1"+version = "3.5.0-a"description = "A modular, high performance, headless e-commerce platform built with Python, GraphQL, Django, and React."authors = [ "Saleor Commerce <[email protected]>" ]license = "BSD-3-Clause"diff --git a/saleor/__init__.py b/saleor/__init__.pyindex 50ff7cbba6..7fddeaecc1 100644--- a/saleor/__init__.py+++ b/saleor/__init__.py@@ -1,4 +1,4 @@from .celeryconf import app as celery_app__all__ = ["celery_app"]-__version__ = "3.3.1"+__version__ = "3.5.0-a"