Skip to content

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

Update main to `3.23` (#18254)

Marcin Wcisło170d71869d55
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8fe36e12f0..9c46d105dd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,159 +2,14 @@
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.22.0 [Unreleased]
+# 3.23.0 [Unreleased]
### Breaking changes
-- The following changes were implemented to orders with a zero total amount:
- - No manual charge (`Transaction` or `Payment`) object will be created.
- - The `OrderEvents.ORDER_MARKED_AS_PAID` event will no longer be emitted.
-- Logic associated with `WebhookEventAsyncType.CHECKOUT_FULLY_PAID` event will no longer be triggered when creating a transaction event from webhook response for checkouts with having total gross being 0. At the point of creating the transaction event checkout is already considered fully paid.
-- Creating a Payment (old API) for a Checkout object with an existing Transaction (new API) is no longer permitted as it leads to inconsistent behavior.
-- Webhooks are no longer triggered for deactivated Apps.
### GraphQL API
-- You can now filter and search orders using the new `where` and `search` fields on the `pages` query.
- - Use `where` to define complex conditions with `AND`/`OR` logic and operators like `eq`, `oneOf`, `range`.
- - Use `search` to perform full-text search across relevant fields.
-- Add support for filtering `pages` by associated attributes
-- You can now filter and search orders using the new `where` and `search` fields on the `orders` query.
- - Use `where` to define complex conditions with `AND`/`OR` logic and operators like `eq`, `oneOf`, `range`.
- - Use `search` to perform full-text search across relevant fields.
- - Added filtering options for orders:
- - Filter by voucher codes.
- - Filter by invoice existence.
- - Filter by associated invoice creation date.
- - Filter by fulfillment existence.
- - Filter by associated fulfillment status and metadata.
- - Filter by number of lines in the order.
- - Filter by order total gross and net price amount.
- - Filter by order metadata.
- - Filter by associated lines metadata.
- - Filter by the product type of related order lines.
- - Filter by associated event type and date.
- - Filter by associated payment method name and type.
- - Filter by associated billing and shipping address phone number and country code.
- - Filter by associated transactionItems metadata.
- - Filter by warehouse used to fulfill the order.
-- You can now filter and search orders using the new `where` and `search` fields on the `orders` query.
- - Use `where` to define complex conditions with `AND`/`OR` logic and operators like `eq`, `oneOf`, `range`.
- - Use `search` to perform full-text search across relevant fields.
- - Added filtering options for draft orders:
- - Filter by number.
- - Filter by last update date.
- - Filter by voucher codes.
- - Filter by authorize and charge status.
- - Filter by number of lines in the draft order.
- - Filter by draft order total gross and net price amount.
- - Filter by draft order metadata.
- - Filter by draft order by associated lines metadata.
- - Filter by the product type of related order lines.
- - Filter by associated event type and date.
- - Filter by associated payment method name and type.
- - Filter by associated billing and shipping address phone number and country code.
-- Extend the `Page` type with an `attribute` field. Adds support for querying a specific attribute on a page by `slug`, returning the matching attribute and its assigned values, or null if no match is found.
-- Enhanced order search options. Orders can now be searched using:
- - The order's ID
- - IDs of invoices linked to the order
- - Messages from related order events
- - The content of customer note
- - The order external reference
-- Extend sorting options. You can now sort orders by their status.
-- Add support for payment method details in the Transaction API. The payment method details associated with a transaction can now be persisted on the Saleor side. See [docs](https://docs.saleor.io/developer/payments/transactions#via-transaction-mutations) to learn more.
-- You can now filter and search customers using the new `where` and `search` fields on the `customers` query.
- - Use `where` to define complex conditions with `AND`/`OR` logic and operators like `eq`, `oneOf`, `range`.
- - Use `search` to perform full-text search across relevant fields.
- - Introduced new filtering options for customers:
- - Filter by email address.
- - Filter by first and last name.
- - Filter by active status (`isActive`).
- - Filter by phone numbers and country of associated user addresses.
- - Filter by phone numbers associated with user addresses.
- - Filter by number of orders placed by the user.
-- Deprecated the `filter` argument in favor of the new `where` and `search` arguments.
- The `where` argument introduces more flexible filtering, allowing complex conditions using `AND`/`OR` logic and operators such as `eq`, `oneOf`, and `range`.
- The `filter` argument has been deprecated in the following queries:
- - `attributes`
- - `customers`
- - `products`
- - `productVariants`
- - `orders`
- - `draftOrders`
- - `productType.availableAttributes`
- - `category.products`
- - `collection.products`
- - `pageType.availableAttributes`
-- Extend `AttributeEntityType` with `CATEGORY` and `COLLECTION`. You can now assign category and collection as a attribute reference.
-- You can now filter and search attribute choices using the new `where` and `search` fields on the `attribute.choices` query.
-- Filtering products by `category` now also includes subcategories. The filter will return products that belong to the specified categories as well as their subcategories.
-- Deprecated `Transaction.gatewayResponse` field. Please migrate to Transaction API and Apps.
-- Add new `single-reference` attribute. You can now create a reference attribute that points to only one object (unlike the existing `reference` type, which supports multiple references).
-Like `reference`, the `single-reference` type can target entities defined in the `AttributeEntityTypeEnum`.
-- Extended support for filtering `products` by associated attributes
- - Attribute slug is now optional when filtering by attribute values
- - Added support for filtering by associated reference objects (e.g., `products`, `pages`, `variants`)
-- Added `fractionalAmount` and `fractionDigits` fields to the `Money` type. These fields allow monetary values to be represented as a pair of integers, which is often required when integrating with payment service providers.
-- Add support for filtering `productVariants` by associated attributes
-- Refunds are now more powerful. You can configure new `RefundSettings` to accept a `reasonReferenceType`. Once assigned, creating refunds (both manual and with grant refunds) will require a reason type to be specified. `refundReasonReferenceTypeClear` clears the settings.
-- You can now use the `AssignedAttribute` interface and the `assignedAttribute`, `assignedAttributes` fields on `Page`, `Product`, and `ProductVariant` to fetch assigned attributes and their values in a cleaner, more focused shape.
- - `attribute` and `attributes` fields on Page, Product, and ProductVariant are deprecated.
-- Added support for restricting available references for `REFERENCE` and `SINGLE_REFERENCE` attributes by specifying reference product or page types.
- - You can now define `referenceTypes` on an `Attribute` to limit reference choices. Use `productType` for product and product variant references, and page types for page references.
### Webhooks
-- Transaction webhooks responsible for processing payments can now return payment method details`, which will be associated with the corresponding transaction. See [docs](https://docs.saleor.io/developer/extending/webhooks/synchronous-events/transaction#response-4) to learn more.
### Other changes
-- Add JSON schemas for synchronous webhooks, now available in `saleor/json_schemas.py`. These schemas define the expected structure of webhook responses sent back to Saleor, enabling improved validation and tooling support for integrations. This change helps ensure that responses from webhook consumers meet Saleor’s expectations and can be reliably processed.
-
-- deps: upgraded urllib3 from v1.x to v2.x
-- Fix PAGE_DELETE webhook to include pageType in payload - #17697 by @Jennyyyy0212 and @CherineCho2016
-- Stripe Plugin has been deprecated. It will be removed in the future. Please use [the Stripe App](https://docs.saleor.io/developer/app-store/apps/stripe/overview) instead
-- App Extensions: Added new allowed extension target: NEW_TAB. Once handled in the Dashboard, an extension will be able to open a link in new tab
-- App Extensions: New mount points for Dashboard categories, collections, gift cards, draft orders, discounts, vouchers, pages, pages types and menus
-- App Extensions: Now mount point types have been added, meant to be used as widgets. Additionally, a new target `WIDGET` has been added. For `NEW_TAB` and `WIDGET` targets, new field `options`. See [docs](https://docs.saleor.io/developer/extending/apps/extending-dashboard-with-apps) to learn more
-- Changed logging settings of failed requests to reduce logs amount in production:
-
- - Downgraded the "A query had an error" log from INFO to DEBUG level.
- - Increased the `django.request` logger's level to ERROR, to reduce the number of WARNING logs for failed GraphQL or 404 requests.
-
- Previously, a failed GraphQL request (up to Saleor 3.21) would generate the following logs:
-
- ```
- 2025-06-06 13:26:06,104 INFO saleor.graphql.errors.handled A query had an error [PID:21676:ThreadPoolExecutor-5_0]
- 2025-06-06 13:26:06,107 WARNING django.request Bad Request: /graphql/ [PID:21676:ThreadPoolExecutor-6_0]
- INFO: 127.0.0.1:63244 - "POST /graphql/ HTTP/1.1" 400 Bad Request
- ```
-
- Starting from Saleor 3.22, the same request logs only the HTTP-level message:
-
- ```
- INFO: 127.0.0.1:63345 - "POST /graphql/ HTTP/1.1" 400 Bad Request
- ```
-
- To see details of why a GraphQL request is failing, you can use OpenTelemetry tracing, where each span for a failing request will be marked with an error flag and will include an error message.
-
-- Fixed bug when not-authenticated staff user couldn't fetch `appExtension.app` without `MANAGE_APPS`. Now apps access is available by staff users and the app itself (for app and extension it owns)
-
-- Fixed bug in user email filtering to make it case-insensitive.
-
-- Checkouts having total gross amount equal to 0 will get their authorization statuses updated to `CheckoutAuthorizeStatus.FULL` upon fetching checkout data.
-
-- Fixed a bug that could prevent rich text attributes written in scripts using combining diacritical marks (for example, Arabic) from being saved properly.
-
-- Fixed a bug where a Checkout partially paid by Transaction(s) and partially paid by Gift Card(s) could not be completed due to `CHECKOUT_NOT_FULLY_PAID` error. Checkout authorize and charge statuses are now recalculcated more reliably. Status calculcation is now taking into account available gift cards balance.
### Deprecations
-
-Following plugins are now marked as deprecated:
-
-| Plugin Name | Plugin ID | Possible replacements |
-|-------------|-----------|-------------|
-| Braintree | `mirumee.payments.braintree` | [JusPay Hyperswitch App](https://docs.hyperswitch.io/explore-hyperswitch/e-commerce-platform-plugins/saleor-app) or [Custom App](https://docs.saleor.io/developer/extending/apps/overview) |
-| Razorpay | `mirumee.payments.razorpay` | [JusPay Hyperswitch App](https://docs.hyperswitch.io/explore-hyperswitch/e-commerce-platform-plugins/saleor-app) or [Custom App](https://docs.saleor.io/developer/extending/apps/overview) |
-| Sendgrid | `mirumee.notifications.sendgrid_email` | [Saleor SMTP App](https://apps.saleor.io/apps/smtp) |
-| Dummy | `mirumee.payments.dummy` | [Saleor Dummy Payment App](https://github.com/saleor/dummy-payment-app) |
-| DummyCreditCard | `mirumee.payments.dummy_credit_card` | [Saleor Dummy Payment App](https://github.com/saleor/dummy-payment-app) |
-| Avalara | `mirumee.taxes.avalara` | [Saleor Avalara AvaTax App](https://apps.saleor.io/apps/avatax) |
-
-We plan to remove deprecated plugins in the future versions of Saleor.
diff --git a/package-lock.json b/package-lock.json
index 75d7da7b4c..a6d69c712d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "saleor",
- "version": "3.22.0-a.0",
+ "version": "3.23.0-a.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "saleor",
- "version": "3.22.0-a.0",
+ "version": "3.23.0-a.0",
"license": "BSD-3-Clause",
"devDependencies": {
"@release-it/bumper": "^7.0.5",
diff --git a/package.json b/package.json
index 5ba68ecf29..f234570c77 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "saleor",
- "version": "3.22.0-a.0",
+ "version": "3.23.0-a.0",
"engines": {
"node": ">=20 <22",
"npm": ">=7"
diff --git a/pyproject.toml b/pyproject.toml
index 7ba5712a0e..a690a59474 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "saleor"
-version = "3.22.0-a.0"
+version = "3.23.0-a.0"
description = "A modular, high performance, headless e-commerce platform built with Python, GraphQL, Django, and React."
authors = [{ name = "Saleor Commerce", email = "[email protected]" }]
requires-python = ">=3.12,<3.13"
diff --git a/saleor/__init__.py b/saleor/__init__.py
index 165707fccb..1b40dd4214 100644
--- a/saleor/__init__.py
+++ b/saleor/__init__.py
@@ -3,7 +3,7 @@ import pillow_avif # noqa: F401 # imported for side effects
from .celeryconf import app as celery_app
__all__ = ["celery_app"]
-__version__ = "3.22.0-a.0"
+__version__ = "3.23.0-a.0"
class PatchedSubscriberExecutionContext:
diff --git a/saleor/graphql/core/descriptions.py b/saleor/graphql/core/descriptions.py
index 52a25243e5..5c76822144 100644
--- a/saleor/graphql/core/descriptions.py
+++ b/saleor/graphql/core/descriptions.py
@@ -15,6 +15,7 @@ ADDED_IN_319 = "\n\nAdded in Saleor 3.19."
ADDED_IN_320 = "\n\nAdded in Saleor 3.20."
ADDED_IN_321 = "\n\nAdded in Saleor 3.21."
ADDED_IN_322 = "\n\nAdded in Saleor 3.22."
+ADDED_IN_323 = "\n\nAdded in Saleor 3.23."
PREVIEW_FEATURE = (
diff --git a/uv.lock b/uv.lock
index 6ef49efcd2..60dad70331 100644
--- a/uv.lock
+++ b/uv.lock
@@ -2521,7 +2521,7 @@ wheels = [
[[package]]
name = "saleor"
-version = "3.22.0a0"
+version = "3.23.0a0"
source = { virtual = "." }
dependencies = [
{ name = "adyen", marker = "platform_python_implementation != 'PyPy'" },