Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Bump main to 3.19.0-a.0 (#14736)
Marcin Gębalade696963725d
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3d87d3f491..5473bfae5c 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,16 +2,29 @@All notable, unreleased changes to this project will be documented in this file. For the released changes, please visit the [Releases](https://github.com/saleor/saleor/releases) page.-# 3.18.0 [Unreleased]+# 3.19.0 [Unreleased]### Highlights++### Breaking changes++### GraphQL API++### Saleor Apps++### Other changes++# 3.18.0++### Highlights+- Allow including draft orders in voucher usage. New `includeDraftOrderInVoucherUsage` flag allows defining if vouchers used in draft orders should be counted into voucher usage. - #14288 by @zedzior, @IKarbowiak, @michal-macioszczyk- Add `includeDraftOrderInVoucherUsage` to `OrderSettings`- Add `includeDraftOrderInVoucherUsage` to `OrderSettingsInput`-### Breaking changes+- Optimize number of queries in bulk mutations when calling webhooks. This change affects only users of open-source Saleor, who have their own custom plugin implementations. To adjust to this change, the `webhooks` parameter should be added to any of the affected method. Affected methods:- `attribute_updated`- `attribute_deleted`@@ -23,6 +36,7 @@ All notable, unreleased changes to this project will be documented in this file.- Drop `defaultTransactionFlowStrategy` from `OrderSettings` type. Use `PaymentSettings.defaultTransactionFlowStrategy` instead. Drop `defaultTransactionFlowStrategy` from `OrderSettingsInput` type. Use `PaymentSettingsInput.defaultTransactionFlowStrategy` instead. - #14671 by @korycins### GraphQL API+- Fix draft order voucher assignment - #14336 by @IKarbowiak- Allow add multiple codes per voucher - #14123 by @SzymJ, @IKarbowiak, @michal-macioszczyk, @zedzior- Add `VoucherInput.addCodes` to `voucherCreate` and `voucherUpdate` mutations.@@ -120,6 +134,7 @@ All notable, unreleased changes to this project will be documented in this file.- `SaleToggle` - Use `PromotionStarted` and `PromotionEnded` instead.### Breaking changes+- Deprecate `external_url` on `Invoice` GraphQL type in favour of `url`. No matter if the invoice is stored on Saleor or is a link to an external invoice it will get returned in the `url` field.- Optimize number of queries in bulk mutations when calling Webhooks. This change affects only users of open-source Saleor, who have their own custom plugin implementations. To adjust to this change, the `webhooks` parameter should be added to any of the affected method. Affected methods:- `channel_updated`diff --git a/package-lock.json b/package-lock.jsonindex b7fabb0f47..d20ab88c40 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "saleor",- "version": "3.18.0-a.0",+ "version": "3.19.0-a.0","lockfileVersion": 2,"requires": true,"packages": {"": {"name": "saleor",- "version": "3.18.0-a.0",+ "version": "3.19.0-a.0","license": "BSD-3-Clause","devDependencies": {"@release-it/bumper": "^4.0.0",diff --git a/package.json b/package.jsonindex 1c88bd7100..619d1e16ac 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "saleor",- "version": "3.18.0-a.0",+ "version": "3.19.0-a.0","engines": {"node": ">=16 <17","npm": ">=7"diff --git a/pyproject.toml b/pyproject.tomlindex 99203adb05..e0ab78d0c7 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"[tool.poetry]name = "saleor"-version = "3.18.0-a.0"+version = "3.19.0-a.0"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 abbe6a77ad..d9d75e54a0 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.18.0-a.0"+__version__ = "3.19.0-a.0"class PatchedSubscriberExecutionContext:diff --git a/saleor/graphql/core/descriptions.py b/saleor/graphql/core/descriptions.pyindex d86ae42848..d6e8ce17f9 100644--- a/saleor/graphql/core/descriptions.py+++ b/saleor/graphql/core/descriptions.py@@ -36,6 +36,7 @@ ADDED_IN_315 = "\n\nAdded in Saleor 3.15."ADDED_IN_316 = "\n\nAdded in Saleor 3.16."ADDED_IN_317 = "\n\nAdded in Saleor 3.17."ADDED_IN_318 = "\n\nAdded in Saleor 3.18."+ADDED_IN_319 = "\n\nAdded in Saleor 3.19."PREVIEW_FEATURE = (