| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- ===========================================
- Oscar 0.7 release notes - UNDER DEVELOPMENT
- ===========================================
-
- Welcome to Oscar 0.7!
-
- Table of contents:
-
- .. contents::
- :local:
- :depth: 1
-
- Compatibility
- =============
-
- Oscar 0.7 has experimental support for Python 3. Support for Django 1.4 has
- been dropped, and support for Django 1.6 is considered stable.
-
- What's new in Oscar 0.7?
- ========================
-
- Search improvements
- ~~~~~~~~~~~~~~~~~~~
-
- * Search results can be now be sorted
-
- * If you're search backend supports it, spelling suggestions will be shown if
- the search term doesn't lead to any results.
-
- * Only products are returned by the core search view. Other content types in
- your search index are filtered out (`#370`_).
-
- .. _`#370`: https://github.com/tangentlabs/django-oscar/issues/370
-
- Minor changes
- ~~~~~~~~~~~~~
-
- * Customers can delete their profiles from within the account section.
-
- * :attr:`~oscar.core.application.Application.permissions_map` now supports more than two
- lists to evaluate permissions.
-
- * Formset handling in
- :class:`~oscar.apps.dashboard.catalogue.views.ProductCreateUpdateView` has
- been simplified and now easily allows adding further formsets.
-
- * Increased required version of Django Haystack to 2.1
-
- * The dashboard's Bootstrap and the Bootstrap JS has been bumped to 2.3.2, the
- latest release of version 2.
-
- * The dashboard's category handling now has the ability to directly create
- child categories.
-
- * Oscar's error messages now have their own CSS class, ``error-block``
- (`ef3ccf08a7`_).
-
- * It is now possible to disable the redirect that happens when a product or
- category's slug changed and an old URL is used (`b920f8ba`_).
-
- * :class:`~oscar.apps.payment.forms.BankCardNumberField` now allows specifying
- accepted card types (`32b7249`_).
-
- * Several slug fields have been turned into the newly introduced
- :class:`~oscar.models.fields.AutoSlugField` to ensure that generated slugs
- are unique.
-
- * Widget initialisation can now be prevented with adding the ``no-widget-init``
- class. Issues around widget initialisation in the dashboard promotions have
- been resolved.
-
- * The access function used to determine dashboard's menu entries' visibility
- is now settable via
- :doc:`OSCAR_DASHBOARD_DEFAULT_ACCESS_FUNCTION</ref/settings>`.
-
- .. _`b920f8ba`: https://github.com/tangentlabs/django-oscar/commit/b920f8ba288cd2f19bb167db2a012479ba956397
- .. _`ef3ccf08a7`: https://github.com/tangentlabs/django-oscar/commit/ef3ccf08a707ae1250cdb8d5f2dc6f721d020dc4
- .. _`32b7249`: https://github.com/tangentlabs/django-oscar/commit/32b7249e44b40cb1b20d01226f77ae6777a20b91
-
- Bugfixes
- ~~~~~~~~
-
- * Addresses in non-shipping countries can't be selected as default shipping
- address anymore (`be04d46639`_).
-
- * Suspended and consumed offers are no longer returned by the "active" offer
- manager. (`#1228`_).
-
- .. _`#1228`: https://github.com/tangentlabs/django-oscar/issues/1228
-
- Backwards incompatible changes in 0.7
- =====================================
-
- .. warning::
-
- Fields and models have been removed from Oscar. If you used them, you must
- ensure you create/extend the affected models appropriately.
-
- * ``AbstractProduct.status`` was an unused ``CharField`` provided for convenience
- as it's a commonly required field. But a different field type was often
- required, and as changing it is much harder than adding a field with the
- desired type, the field has been removed.
-
- * ``Contributor``, ``ContributorRole``, the through-model ``ProductContributor``
- and their abstract versions have been removed as they were unused and too
- specific to the domain of book shops.
-
- * ``ProductCategory.is_canonical`` was an unused ``BooleanField`` and has been
- removed.
-
- * ``Order.basket_id`` was a ``PositiveIntegerField`` containing the primary key of the
- associated basket. It's been refactored to be a nullable ``ForeignKey`` and
- is now called "basket".
-
- * `#1123`_ - The URL structure of ``ProductCreateRedirectView`` has been changed to use
- the product class' slug instead of the primary key. It's necessary to update
- URLs pointing to that view.
-
- .. _`#1123`: https://github.com/tangentlabs/django-oscar/pull/1123
-
- Removal of features deprecated in 0.6
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- * Django 1.4 support has been removed.
-
- Renamed templates
- ~~~~~~~~~~~~~~~~~
-
- Template block changes
- ~~~~~~~~~~~~~~~~~~~~~~
-
- Migrations
- ~~~~~~~~~~
-
- * Catalogue:
-
- - ``0014`` - Drops unused ``ProductCategory.is_canonical`` field.
- - ``0015`` - Turns a product's UPC field into a :class:`oscar.models.fields.NullCharField`
- - ``0016`` - ``AutoSlugField`` for ``AbstractProductClass`` and ``AbstractOption``
- - ``0017`` - Removes ``Product.status``, ``Contributor``, ``ContributorRole`` and ``ProductContributor``
-
- * Customer:
-
- - ``0006`` - ``AutoSlugField`` and ``unique=True`` for ``AbstractCommunicationEventType``
-
- * Offer:
-
- - ``0029`` - ``AutoSlugField`` for ``ConditionalOffer``
-
- * Order:
-
- - ``0025`` - ``AutoSlugField`` for ``AbstractPaymentEventType`` and AbstractShippingEventType``
-
- * Partner:
-
- - ``0011`` - ``AutoSlugField`` for ``AbstractPartner``
-
- * Payment:
-
- - ``0003`` - ``AutoSlugField`` and ``unique=True`` for ``AbstractSourceType``
-
- * Shipping:
-
- - ``0006`` - ``AutoSlugField`` for ``ShippingMethod``
-
-
- Features deprecated in 0.6
- ==========================
|