You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

v1.6.rst 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. =======================
  2. Oscar 1.6 release notes
  3. =======================
  4. :release: tbd
  5. Welcome to Oscar 1.6
  6. Table of contents:
  7. .. contents::
  8. :local:
  9. :depth: 1
  10. .. _compatibility_of_1.6:
  11. Compatibility
  12. -------------
  13. Oscar 1.6 is compatible with Django 1.8, 1.10 and 1.11 as well as Python 2.7,
  14. 3.3, 3.4, 3.5 and 3.6. Support for Django 1.9 is no longer officialy supported
  15. since it is longer supported by Django (end of life).
  16. .. _new_in_1.6:
  17. What's new in Oscar 1.6?
  18. ------------------------
  19. Removal of deprecated features
  20. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  21. Minor changes
  22. ~~~~~~~~~~~~~
  23. - Majority of the Oscar imports now using dynamic loading, instead of
  24. direct importing for better extensibility and customizability, except
  25. signals.
  26. - Customer transaction emails reworked on top of mailgun layout and has
  27. better look.
  28. .. _incompatible_in_1.6:
  29. Backwards incompatible changes in Oscar 1.6
  30. -------------------------------------------
  31. - ``oscar.apps.customer.auth_backends.EmailBackend`` now rejects inactive users
  32. (where ``User.is_active`` is ``False``).
  33. - ``oscar.apps.offer.models.ConditionalOffer`` now has a new flag
  34. ``exclusive`` to denote that the offer involved can not be combined on the
  35. same item on the same basket line with another offer.
  36. This flag is used by ``oscar.apps.basket.utils.LineOfferConsumer``, a facade
  37. that supercedes the old ``oscar.apps.basket.models.Line._affected_items`` counter,
  38. and replaces it with a more finegrained approach. This makes it possible to apply
  39. two distinct non-exclusive offers on the same basketline items, for example
  40. multiple distinct vouchers.
  41. A couple of methods on the basketline model have been extended with an
  42. optional ``offer`` argument, i.e. ``discount`` and ``consume``, so if you
  43. are using a customized basketline model, you have to update your methods'
  44. signatures.
  45. - Invalid URL names supplied to the ``OSCAR_DASHBOARD_NAVIGATION`` setting
  46. are now logged as an exception (previously they were silently ignored).
  47. The offending menu item will be skipped during menu rendering.
  48. In Oscar 1.8 the exception will be raised without being intercepted.
  49. - All signals are now loaded directly.
  50. Dependency changes
  51. ------------------