Saleor v2.10.0 Release Notes
Release Date: 2020-05-14 // almost 4 years ago-
๐ Welcome to Saleor 2.10.0 release! Read the changelog below for the full list of changes.
๐ Changelog
- ๐ OpenTracing support - #5188 by @tomaszszymanski129
- Account confirmation email - #5126 by @tomaszszymanski129
- โก๏ธ Relocate
Checkout
andCheckoutLine
methods into separate module and update checkout related plugins to use them - #4980 by @krzysztofwolski - ๐ Fix problem with free shipping voucher - #4942 by @IKarbowiak
- โ Add sub-categories to random data - #4949 by @IKarbowiak
- ๐ Deprecate
localized
field in Money type - #4952 by @IKarbowiak - ๐ Fix for shipping API not applying taxes - #4913 by @kswiatek92
- ๐ Query object translation with only
manage_translation
permission - #4914 by @fowczarek - โ Add customer note to draft orders API - #4973 by @IKarbowiak
- ๐ Allow to delete category and leave products - #4970 by @IKarbowiak
- โ Remove thumbnail generation from migration - #3494 by @kswiatek92
- ๐ Rename 'shipping_date' field in fulfillment model to 'created' - #2433 by @kswiatek92
- โฌ๏ธ Reduce number of queries for 'checkoutComplete' mutation - #4989 by @IKarbowiak
- โ Force PyTest to ignore the environment variable containing the Django settings module - #4992 by @NyanKiyoshi
- ๐ฐ Extend JWT token payload with user information - #4987 by @salwator
- โก๏ธ Optimize the queries for product list in the dashboard - #4995 by @IKarbowiak
- โฌ๏ธ Drop dashboard 1.0 - #5000 by @IKarbowiak
- ๐ Fixed serialization error on weight fields when running
loaddata
anddumpdb
- #5005 by @NyanKiyoshi - ๐ Fixed JSON encoding error on Google Analytics reporting - #5004 by @NyanKiyoshi
- ๐ Create custom field to translation, use new translation types in translations query - #5007 by @fowczarek
- Take allocated stock into account in
StockAvailability
filter - #5019 by @simonbru - Generate matching postal codes for US addresses - #5033 by @maarcingebala
- โก๏ธ Update debug toolbar - #5032 by @IKarbowiak
- ๐ Allow staff member to receive notification about customers orders - #4993 by @kswiatek92
- โ Add user's global id to the JWT payload - #5039 by @salwator
- ๐ Make middleware path resolving lazy - #5041 by @NyanKiyoshi
- Generate slug on saving the attribute value - #5055 by @fowczarek
- ๐ Fix order status after order update - #5072 by @fowczarek
- Extend top-level connection resolvers with ability to sort results - #5018 by @fowczarek
- โฌ๏ธ Drop storefront 1.0 - #5043 by @IKarbowiak
- Replace permissions strings with enums - #5038 by @kswiatek92
- โ Remove gateways forms and templates - #5075 by @IKarbowiak
- โ Add
Wishlist
models and GraphQL endpoints - #5021 by @derenio - โ Remove deprecated code - #5107 by @IKarbowiak
- ๐ Fix voucher start date filtering - #5133 by @dominik-zeglen
- Search by sku in products query - #5117 by @fowczarek
- โก๏ธ Send fulfillment update email - #5118 by @IKarbowiak
- โ Add address query - #5148 by @kswiatek92
- Add
checkout_quantity_changed
webhook - #5042 by @derenio - โ Remove unnecessary
manage_orders
permission - #5142 by @kswiatek92 - Mutation to change the user email - #5076 by @kswiatek92
- โ Add MyPy checks - #5150 by @IKarbowiak
- ๐ Move extracting user or service account to utils - #5152 by @kswiatek92
- ๐ Deprecate order status/created arguments - #5076 by @kswiatek92
- ๐ Fix getting title field in page mutations #5160 by @maarcingebala
- ๐ Copy public and private metadata from the checkout to the order upon creation - #5165 by @dankolbman
- โ Add warehouses and stocks- #4986 by @szewczykmira
- โ Add permission groups - #5176, #5513 by @IKarbowiak
- โฌ๏ธ Drop
gettext
occurrences - #5189 by @IKarbowiak - ๐ Fix
product_created
webhook - #5187 by @dzkb - โฌ๏ธ Drop unused resolver
resolve_availability
- #5190 by @maarcingebala - ๐ Fix permission for
checkoutCustomerAttach
mutation - #5192 by @maarcingebala - Restrict access to user field - #5194 by @maarcingebala
- โ Unify permission for service account API client in test - #5197 by @fowczarek
- โ Add additional confirmation step to
checkoutComplete
mutation - #5179 by @salwator - ๐ Allow sorting warehouses by name - #5211 by @dominik-zeglen
- โ Add anonymization to GraphQL's
webhookSamplePayload
endpoint - #5161 @derenio - โ Add slug to
Warehouse
,Product
andProductType
models - #5196 by @IKarbowiak - โ Add mutation for assigning, unassigning shipping zones to warehouse - #5217 by @kswiatek92
- ๐ Fix passing addresses to
PaymentData
objects - #5223 by @maarcingebala - Return
null
when queryingme
as an anonymous user - #5231 by @maarcingebala - โ Added
PLAYGROUND_ENABLED
environment variable/setting to allow to enable the GraphQL playground whenDEBUG
is disabled - #5254 by @NyanKiyoshi - ๐ Fix access to order query when request from service account - #5258 by @fowczarek
- ๐ Customer shouldn't be able to see draft orders by token - #5259 by @fowczarek
- Customer shouldn't be able to query checkout with another customer - #5268 by @fowczarek
- โ Added integration support of Jaeger Tracing - #5282 by @NyanKiyoshi
- Return
null
when queryingme
as an anonymous user - #5231 as @maarcingebala - โ Add
fulfillment created
webhook - @szewczykmira - ๐ Unify metadata API - #5178 by @fowczarek
- โ Add compiled versions of emails to the repository - #5260 by @tomaszszymanski129
- โ Add required prop to fields where applicable - #5293 by @dominik-zeglen
- Drop
get_absolute_url
methods - #5299 by @IKarbowiak - โ Add
--force
flag tocleardb
command - #5302 by @maarcingebala - Require non-empty message in
orderAddNote
mutation - #5316 by @maarcingebala - ๐จ Stock management refactor - #5323 by @IKarbowiak
- โ Add discount error codes - #5348 by @IKarbowiak
- โ Add benchmarks to checkout mutations - #5339 by @fowczarek
- โ Add pagination tests - #5363 by @fowczarek
- โ Add ability to assign multiple warehouses in mutations to create/update a shipping zone - #5399 by @fowczarek
- โ Add filter by ids to the
warehouses
query - #5414 by @fowczarek - โ Add shipping rate price validation - #5411 by @kswiatek92
- โ Remove unused settings and environment variables - #5420 by @maarcingebala
- โ Add product price validation - #5413 by @kswiatek92
- โ Add attribute validation to
attributeAssign
mutation - #5423 by @kswiatek92 - โ Add possibility to update/delete more than one item in metadata - #5446 by @koradon
- Check if image exists before validating - #5425 by @kswiatek92
- ๐ Fix warehouses query not working without id - #5441 by @koradon
- โ Add
accountErrors
toCreateToken
mutation - #5437, #5465 by @koradon - Raise
GraphQLError
if filter has invalid IDs - #5460 by @gabmartinez - Use
AccountErrorCode.INVALID_CREDENTIALS
instead ofINVALID_PASSWORD
- #5495 by @koradon - โ Add tests for pagination - #5468 by @koradon
- โ Add
Job
abstract model and interface - #5510 by @IKarbowiak - ๐จ Refactor implementation of allocation - #5445 by @fowczarek
- ๐ Fix
WeightScalar
- #5530 by @koradon - โ Add
OrderFulfill
mutation - #5525 by @fowczarek - โ Add "It Works" page - #5494 by @IKarbowiak and @dominik-zeglen
- Extend errors in
OrderFulfill
mutation - #5553 by @fowczarek - ๐จ Refactor
OrderCancel
mutation for multiple warehouses - #5554 by @fowczarek - โ Add negative weight validation - #5564 by @fowczarek
- โ Add error when user pass empty object as address - #5585 by @fowczarek
- ๐ Fix payment creation without shipping method - #5444 by @d-wysocki
- ๐ Fix checkout and order flow with variant without inventory tracking - #5599 by @fowczarek
- ๐ Fixed JWT expired token being flagged as unhandled error rather than handled. - #5603 by @NyanKiyoshi
- ๐จ Refactor read-only middleware - #5602 by @maarcingebala
- ๐ Fix availability for variants without inventory tracking - #5605 by @fowczarek
- โฌ๏ธ Drop support for configuring Vatlayer plugin from settings file. - #5614 by @korycins
- โ Add ability to query category, collection or product by slug - #5574 by @koradon
- โ Add
quantityAvailable
field toProductVariant
type - #5628 by @fowczarek - ๐ Use tags rather than time-based logs for information on requests - #5608 by @NyanKiyoshi