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.7KB

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