Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

v2.1.rst 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. =======================
  2. Oscar 2.1 release notes (in development)
  3. =======================
  4. :release: tbd
  5. Welcome to Oscar 2.1.
  6. .. contents::
  7. :local:
  8. :depth: 1
  9. .. _compatibility_of_2.1:
  10. Compatibility
  11. ~~~~~~~~~~~~~
  12. .. _new_in_2.1:
  13. What's new in Oscar 2.1?
  14. ~~~~~~~~~~~~~~~~~~~~~~~~
  15. - The database performance of ``offer.Range.all_products()`` was substantially
  16. improved. The internals of that method have changed and specifically
  17. ``Range.invalidate_cached_ids()`` has been removed and replaced with
  18. ``Range.invalidate_cached_queryset()``.
  19. - The ``upload_to`` argument of image fields in Oscar's ``ProductImage`` and
  20. ``ProductAttributeValue`` models was changed to use a callable, so that
  21. Django doesn't generate migrations if a project modifies the ``OSCAR_IMAGE_FOLDER``
  22. to specify a custom directory structure for uploaded images.
  23. Bug fixes
  24. ~~~~~~~~~
  25. - Fixed a bug in the handling of requests to save an item in the basket for
  26. later(:issue:`3215`).
  27. - Fixed an error when deleting an offer whose related conditions/benefits have
  28. been deleted.
  29. Removal of deprecated features
  30. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  31. Minor changes
  32. ~~~~~~~~~~~~~
  33. - ``OrderPlacementMixin.place_order`` now ignores inactive vouchers when placing
  34. an order (instead of raising an exception), for consistency with how
  35. the basket flows handle inactive vouchers.
  36. - Fixed the logic of ``StockRequired.parent_availability_policy`` to use
  37. child products to determine availability of children, rather than the parent.
  38. Dependency changes
  39. ~~~~~~~~~~~~~~~~~~
  40. - Upgraded ``django-phonenumber-field`` to use the latest in the 3.x series.
  41. - Upgraded ``select2`` to version 4.0.10.
  42. - Upgraded ``inputmask`` to version 4.0.8.
  43. .. _deprecated_features_in_2.1:
  44. Deprecated features
  45. ~~~~~~~~~~~~~~~~~~