Saleor v3.8.0 Release Notes
-
Highlights
- โ Add tax exemption API for checkouts (
taxExemptionManage
mutation) - #10344 by @SzymJ - Switch GraphQL Playground to GraphiQL V2
๐ฅ Breaking changes
- ๐ Verify JWT tokens whenever they are provided with the request. Before, they were only validated when an operation required any permissions. For example: when refreshing a token, the request shouldn't include the expired one.
GraphQL API
- โ Add the ability to filter by slug. #10578 by @kadewu
- Affected types: Attribute, Category, Collection, Menu, Page, Product, ProductType, Warehouse
- Deprecated
slug
in filter formenus
. Useslugs
instead
- โ Add new
products
filters. #10784 by @kadewuisAvailable
publishedFrom
availableFrom
isVisibleInListing
- โ Add the ability to filter payments by a list of ids. #10821 by @kadewu
- โ Add the ability to filter customers by ids. #10694 by @kadewu
- โ Add
User.checkouts
field. #10862 by @zedzior - โ Add optional field
audience
to mutationtokenCreate
. If provided, the created tokens will have keyaud
with value:custom:{audience-input-value}
- #10845 by @korycins - ๐ Use
AttributeValue.name
instead ofAttributeValue.slug
to determine uniqueness of a value instance for dropdown and multi-select attributes. - #10881 by @jakubkuc - ๐ Allow sorting products by
CREATED_AT
field. #10900 by @zedzior - โ Add ability to pass metadata directly in create/update mutations for product app models - #10689 by @SzymJ
- โ Add ability to use SKU argument in
productVariantUpdate
,productVariantDelete
,productVariantBulkDelete
,productVariantStocksUpdate
,productVariantStocksDelete
,productVariantChannelListingUpdate
mutations - #10861 by @SzymJ - โ Add sorting by
CREATED_AT
field. #10911 by @zedzior- Affected types: GiftCard, Page.
- Deprecated
CREATION_DATE
sort field on Page type. UseCREATED_AT
instead.
Other changes
- Reference attribute linking to product variants - #10468 by @IKarbowiak
- โ Add base shipping price to
Order
- #10771 by @fowczarek - ๐ GraphQL view no longer generates error logs when the HTTP request doesn't contain a GraphQL query - #10901 by @NyanKiyoshi
- โ Add
iss
field to JWT tokens - #10842 by @korycins - โฌ๏ธ Drop
py
andtox
dependencies from dev requirements - #11054 by @NyanKiyoshi
Saleor Apps
- โ Add
iss
field to JWT tokens - #10842 by @korycins - โ Add new field
audience
to App manifest. If provided, App's JWT access token will haveaud
field. - #10845 by @korycins - โ Add new asynchronous events for objects metadata updates - #10520 by @rafalp
CHECKOUT_METADATA_UPDATED
COLLECTION_METADATA_UPDATED
CUSTOMER_METADATA_UPDATED
FULFILLMENT_METADATA_UPDATED
GIFT_CARD_METADATA_UPDATED
ORDER_METADATA_UPDATED
PRODUCT_METADATA_UPDATED
PRODUCT_VARIANT_METADATA_UPDATED
SHIPPING_ZONE_METADATA_UPDATED
TRANSACTION_ITEM_METADATA_UPDATED
WAREHOUSE_METADATA_UPDATED
VOUCHER_METADATA_UPDATED
- โ Add tax exemption API for checkouts (