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.

v3.2.rst 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. ========================================
  2. Oscar 3.2 release notes (in development)
  3. ========================================
  4. :release: TBD
  5. .. contents::
  6. :local:
  7. :depth: 1
  8. .. _compatibility_of_3.2:
  9. Compatibility
  10. ~~~~~~~~~~~~~
  11. Oscar 3.2 is compatible with Django 3.1 and Django 3.2 and Python versions 3.7 to 3.9.
  12. Support for Django 2.2 has been dropped. Support for Python 3.6 has been dropped.
  13. .. _new_in_3.2:
  14. What's new in Oscar 3.2?
  15. ~~~~~~~~~~~~~~~~~~~~~~~~
  16. .. _backwards_incompatible_in_3.2:
  17. Backwards incompatible changes
  18. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  19. - The interface for the OPTION_FIELD_FACTORIES has changed and now receives the
  20. form, the product and the option. Update your overrides as required.
  21. .. _removal_of_deprecated_features_in_3.2:
  22. Removal of deprecated features
  23. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  24. .. _minor_changes_in_3.2:
  25. Minor changes
  26. ~~~~~~~~~~~~~
  27. - Added a new helper ``core.utils.is_ajax`` which replicates the logic of Django's ``HttpRequest.is_ajax``
  28. method that was deprecated in Django 3.1.
  29. - Persisted ``OrderFactory.date_placed`` to the database when set, instead of just setting it on the object without saving it.
  30. .. _dependency_changes_in_3.2:
  31. Dependency changes
  32. ~~~~~~~~~~~~~~~~~~
  33. Python package dependencies:
  34. Javascript and CSS dependencies:
  35. Deprecated features
  36. ~~~~~~~~~~~~~~~~~~~
  37. - The ``annotate_form_field`` template tag is deprecated. It's functionality of annotating form fields with
  38. their widget type is now built in to Django.
  39. - In the ORDER_PLACED email templates, the variable ``status_url`` should not be used anymore. Please use
  40. ``status_path`` in conjunction with the ``absolute_url`` template tag instead. It will be removed in a future
  41. version of Oscar.