Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update to 3.13.0-a (#12203)
Marcin Gębala1f3261352f79
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 5263699188..50419d0735 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,49 +2,65 @@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.-# 3.12.0 [Unreleased]+# 3.13.0 [Unreleased]### Breaking changes++### GraphQL API++### Other changes++# 3.12.0++### Breaking changes+- `stocks` and `channelListings` inputs for preview `ProductVariantBulkUpdate` mutation has been changed. Both inputs have been extended by:- - `create` input - list of items that should be created- - `update` input - list of items that should be updated- - `remove` input - list of objects ID's that should be removed++ - `create` input - list of items that should be created+ - `update` input - list of items that should be updated+ - `remove` input - list of objects ID's that should be removedIf your platform relies on this [Preview] feature, make sure you update your mutations stocks and channel listings inputs from:- ```- {- "stocks/channelListings": [++ ```+ {+ "stocks/channelListings": [+ {+ ...+ }+ ]+ }+ ```++ to:++ ```+ {+ "stocks/channelListings": {+ "create": [{- ...+ ...}]- }- ```- to:- ```- {- "stocks/channelListings": {- "create": [- {- ...- }- ]- }- }- ```+ }+ }+ ```+- Change the discount rounding mode - #12041 by @IKarbowiak+- Change the rounding mode from `ROUND_DOWN` to `ROUND_HALF_UP` - it affects the discount amount and total price of future checkouts and orders with a percentage discount applied.- The discount amount might be 0.01 greater, and the total price might be 0.01 lower.- E.g. if you had an order for $13 and applied a 12.5% discount, you would get $11.38 with a $1.62 discount, but now it will be calculated as $11.37 with $1.63 discount.+ The discount amount might be 0.01 greater, and the total price might be 0.01 lower.+ E.g. if you had an order for $13 and applied a 12.5% discount, you would get $11.38 with a $1.62 discount, but now it will be calculated as $11.37 with $1.63 discount.- Media and image fields now default to returning 4K thumbnails instead of original uploads - #11996 by @patrys- Include specific products voucher in checkout discount - #12191 by @IKarbowiak- Make the `specific product` and `apply once per order` voucher discounts visible on `checkout.discount` field.- Previously, the discount amount for these vouchers was shown as 0.+ Previously, the discount amount for these vouchers was shown as 0.### GraphQL API+- Added support for all attributes types in `BulkAttributeValueInput` - #12095 by @SzymJ-- Add possibility to remove `stocks` and `channel listings` in `ProductVariantBulkUpdate` mutation.+- Add possibility to remove `stocks` and `channel listings` in `ProductVariantBulkUpdate` mutation.- Move `orderSettings` query to `Channel` type - #11417 by @kadewu:- Mutation `Channel.channelCreate` and `Channel.channelUpdate` have new `orderSettings` input.- Deprecate `Shop.orderSettings` query. Use `Channel.orderSettings` query instead.@@ -56,8 +72,8 @@ All notable, unreleased changes to this project will be documented in this file.- Improve GraphQL playground by storing headers in the local storage - #12176 by @zaiste- Fixes for GraphiQL playground - #12192 by @zaiste-### Other changes+- Fix saving `metadata` in `ProductVariantBulkCreate` and `ProductVariantBulkupdate` mutations - #12097 by @SzymJ- Enhance webhook's subscription query validation. Apply the validation and event inheritance to manifest validation - #11797 by @zedzior- Fix GraphQL playground when the `operationName` is set across different tabs - #11936 by @zaiste@@ -109,6 +125,7 @@ Just so you know, changes mentioned in this section are in a preview state and c### Breaking changes### GraphQL API+- Add ability to filter and sort products of a category - #10917 by @yemeksepeti-cihankarluk, @ogunheper- Add `filter` argument to `Category.products`- Add `sortBy` argument to `Category.products`diff --git a/package-lock.json b/package-lock.jsonindex 93aefbca32..6dba9da443 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "saleor",- "version": "3.12.0-a",+ "version": "3.13.0-a","lockfileVersion": 2,"requires": true,"packages": {"": {"name": "saleor",- "version": "3.12.0-a",+ "version": "3.13.0-a","license": "BSD-3-Clause","devDependencies": {"@release-it/bumper": "^4.0.0",diff --git a/package.json b/package.jsonindex 1f7251aee4..cde326200b 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "saleor",- "version": "3.12.0-a",+ "version": "3.13.0-a","engines": {"node": ">=16 <17","npm": ">=7"diff --git a/pyproject.toml b/pyproject.tomlindex bc2f5b4205..3ccaf5259f 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[tool.poetry]name = "saleor"-version = "3.12.0-a"+version = "3.13.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 a9d041aebd..b80152e982 100644--- a/saleor/__init__.py+++ b/saleor/__init__.py@@ -3,7 +3,7 @@ import pillow_avif # noqa: F401 # imported for side effectsfrom .celeryconf import app as celery_app__all__ = ["celery_app"]-__version__ = "3.12.0-a"+__version__ = "3.13.0-a"class PatchedSubscriberExecutionContext(object):