| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- ===========================================
- Oscar 0.8 release notes - UNDER DEVELOPMENT
- ===========================================
-
- Welcome to Oscar 0.8!
-
- Table of contents:
-
- .. contents::
- :local:
- :depth: 1
-
- .. _overview:
-
- Overview
- ========
-
- Oscar now has a demo site customised for the US!
-
- .. _compatibility:
-
- Compatibility
- =============
-
- Oscar 0.8 is compatible with Django 1.5-1.7.
-
- Support for Python 2.6 has been dropped; Oscar works with Python 2.7, 3.3
- and 3.4.
-
- .. _what_is_new:
-
- What's new in Oscar 0.8?
- ========================
-
- Minor cleanup around shipping methods
- -------------------------------------
-
- * The models of the shipping app now have abstract base classes, similar to
- the rest of Oscar.
-
- * The legacy ``ShippingMethod`` name of the interface of the shipping app has
- been removed. Inherit from ``shipping.base.Base`` for the class instead, and
- inherit from ``shipping.abstract_models.AbstractBase`` for model-based
- shipping methods.
-
- * ``oscar.apps.shipping.Scales`` has been renamed and moved to
- ``oscar.apps.shipping.scales.Scale``, and is now overridable.
-
- * ``WeightBand.upper_limit`` is now a ``DecimalField``, just like the other
- weight-related fields.
-
- Customisation improvements
- --------------------------
-
- Oscar's views are now dynamically imported. This means that they can be
- overridden like most other classes in Oscar; overriding the related
- Application instance is not necessary any more. Updated instructions are
- available in :doc:`/topics/customisation`.
-
- US demo site
- ------------
-
- To help developers building sites for the US, a new example Oscar site has been
- included in the repo. This customises core Oscar to treat all prices as
- excluding tax and then calculate and apply taxes once the shipping address is
- known.
-
- See :ref:`us_site` for more information.
-
- .. _minor_changes:
-
- Minor changes
- -------------
-
- * The ``OSCAR_CURRENCY_LOCALE`` setting has been removed. The locale is now
- automatically determined from the current language. This ensures prices are
- always shown in the correct format when switching languages.
-
- * The login and registration view now redirects staff users to the dashboard
- after logging in. It also employs flash messages to welcome returning and
- newly registered users.
-
- * The basket middleware now assigns a ``basket_hash`` attribute to the
- ``request`` instance. This provides a hook for basket caching.
-
- Bugfixes
- ~~~~~~~~
-
- .. _backwards_incompatible_changes:
-
- Backwards incompatible changes in 0.8
- =====================================
-
- * The ``shipping`` app saw a few renames; please see the section above.
-
- .. _removal_of_deprecated_features:
-
- Removal of features deprecated in 0.8
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- Migrations
- ~~~~~~~~~~
-
- * Shipping:
-
- - ``0007`` - Change ``WeightBand.upper_limit`` from ``FloatField`` to ``DecimalField``
-
- .. _deprecated_features:
-
- Features deprecated in 0.8
- ==========================
|