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.2.rst 3.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. .. spelling::
  2. jQuery
  3. =======================
  4. Oscar 1.2 release notes
  5. =======================
  6. :release: 2016-03-18
  7. Welcome to Oscar 1.2.
  8. Table of contents:
  9. .. contents::
  10. :local:
  11. :depth: 1
  12. .. _compatibility_of_1.2:
  13. Compatibility
  14. -------------
  15. Oscar 1.2 is compatible with Django 1.7 and 1.8 as well as Python 2.7,
  16. 3.3, 3.4 and 3.5.
  17. .. _new_in_1.2:
  18. What's new in Oscar 1.2?
  19. ------------------------
  20. - ``django-compressor`` has been removed as a dependency, and as a way of
  21. building ``less`` files for development. Removing or disabling it was
  22. commonly required as it didn't work well with deploying on :abbr:`PaaS
  23. (Platform as a Service)` providers, and many current projects understandably
  24. prefer to use Javascript build chains (``gulp``, ``grunt``, etc.) for all their
  25. statics. But ``django-compressor`` was hard to remove on a per-project basis,
  26. so the decision was made to remove it altogether.
  27. For development, ``USE_LESS`` now enables the browser-based on-the-fly
  28. pre-processor. ``make css`` continues to run a locally installed LESS binary.
  29. .. _minor_changes_in_1.2:
  30. Minor changes
  31. ~~~~~~~~~~~~~
  32. - Fix missing ``page_url`` field in the promotions form (:issue:`1816`)
  33. - The order of basket, order and wishlist lines in now guaranteed
  34. to be in the order of creation. Previously, this wasn't guaranteed,
  35. but still almost always the case.
  36. - `Partner` instances got a default ordering by name.
  37. - If a child product has no weight, we check if a parent's product weight
  38. is set before falling back to the default weight (:issue:`1965`).
  39. - `Address.active_address_fields` now uses the saner common name of a country
  40. instead of the official name (:issue:`1964`).
  41. - Custom benefits now don't enforce uniqueness on the ``proxy_class``
  42. field, making them more useful (:issue:`685`).
  43. - Move logic to create basket messages to it's own utility class
  44. `basket.utils.BasketMessageGenerator()`. (:issue:`1930`)
  45. - Fix a caching issue in `Product.get_absolute_url()` (:issue:`1925`)
  46. - Update the `recently_viewed_products` templatetag to accept a
  47. `current_product` attribute. (:issue:`1948`)
  48. .. _incompatible_in_1.2:
  49. Backwards incompatible changes in Oscar 1.2
  50. -------------------------------------------
  51. - The ``mainstyles`` template block was removed. It served as a wrapper
  52. for the ``styles`` content black and was needed to be extensible while
  53. still being able to compress CSS. As ``django-compressor`` has been
  54. removed, it's not needed any more. Just use ``styles`` instead if you
  55. happened to use it.
  56. - The `keywords` block is removed from the main template (:issue:`1799`)
  57. - The US and Demo sites were both removed from the repository as they
  58. were not up-to-date anymore. These might return in the future as
  59. separate repositories.
  60. - The `RecentReviewsManager`, `TopScoredReviewsManager` and
  61. `TopVotedReviewsManager` managers are removed from the reviews app
  62. since they were broken and unused.
  63. - A new unique index is added to `catalogue.AbstractAttributeOption` to make
  64. sure that the `group`, `option` combination is unique (:issue:`1935`)
  65. Dependency changes
  66. ------------------
  67. * The following packages are updated:
  68. - `django-treebeard >= 4.0` (Django 1.9 support)
  69. - `sorl.thumbnail >= 12.4a1` (Django 1.9 support)
  70. * jQuery UI is no longer included in the dashboard (:issue:`1792`)