Releases: django-oscar/django-oscar
3.2.4
Oscar 3.2.4 release notes
:release: 2024-08-02
.. contents::
:local:
:depth: 1
.. _compatibility_of_3.2.4:
Compatibility
Oscar 3.2.4 is compatible with Django 3.2, 4.0, 4.1 and 4.2 and Python versions 3.8, 3.9, 3.10 and 3.11
.. _new_in_3.2.4:
What's new in Oscar 3.2.4?
3.2.3 contains a major bug when overriding the OrderDiscount. It caused the following Exception:
File "/usr/local/lib/python3.11/site-packages/oscar/core/loading.py", line 260, in get_model
import_module("%s.%s" % (app_config.name, MODELS_MODULE_NAME))
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<FOO>/order/models.py", line 1081, in <module>
from oscar.apps.order.models import * # NOQA
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'oscar.apps.order.models' has no attribute 'OrderDiscount'. Did you mean: 'OrderLineDiscount'?
This minor version fixes the issue
Full Changelog: 3.2.3...3.2.4
3.2.3
What's Changed
- Always use sphin-rtd-theme in docs by @viggo-devries in #4165
- Correct typo in README.rst by @blondelg in #4151
- Update django-debug-toolbar requirement from <4.2,>=2.2 to >=2.2,<4.3 by @dependabot in #4160
- Update redis requirement from <4.6,>=3.5 to >=3.5,<5.1 by @dependabot in #4158
- Bump eslint from 8.43.0 to 8.48.0 by @dependabot in #4157
- Update django-redis requirement from <5.3,>=4.12 to >=4.12,<5.4 by @dependabot in #4132
- Update whitenoise requirement from <6.5,>=5.2 to >=5.2,<6.6 by @dependabot in #4131
- Bug AbsoluteDiscountBenefit by @ebottos94 in #3954
- [FEAT] Absolute discount benefit applied on each product by @samar-hassan in #4168
- Return True in is_tax_known() when the basket is empty by @TopDevPros in #4166
- [Tests] Verify basket total amount after rounding by @samar-hassan in #4173
- [FIX] Offer's slug doesn't support unicode by @samar-hassan in #4172
- Update Dockerfile by @viggo-devries in #4175
- 3.2.2 by @viggo-devries in #4182
- Bulk attributes save by @specialunderwear in #4167
- 3.2.2 by @viggo-devries in #4185
- Add Bootstrap responsive image class by @jamesp9 in #4192
- Entity attribute update by @specialunderwear in #4205
- Pass the tax code trough to the shipping discounts by @viggo-devries in #4204
- setuptools recognises src these days, no config is needed. by @specialunderwear in #4206
- Wrong translation. by @Asp1ro in #4208
- Fix broken Font Awesome links by @jamesp9 in #4179
- Fixes #3844 suspend offer doesn't display with is_active 'NO' by @vallabhtiwari in #4184
- Fixes broken migration of attribute values by @specialunderwear in #4214
- Add prepare save method to make it possible to bulk save attributes by @viggo-devries in #4209
- Add codes to unidentifiable catalogue models by @viggo-devries in #4216
- Return no attribute values if the product has not yet been saved by @viggo-devries in #4217
- Register discounts per line by @viggo-devries in #4138
- [Refactor] Move OfferWizardStepView to separate file by @samar-hassan in #4174
- Bump node-sass from 8.0.0 to 9.0.0 by @dependabot in #4113
- Register the Notification model to Django admin by @IslamMesha in #4186
- Bump tinymce from 6.4.2 to 6.8.1 by @dependabot in #4210
- Bump @fortawesome/fontawesome-free from 6.4.0 to 6.5.1 by @dependabot in #4212
- Bump eslint from 8.48.0 to 8.54.0 by @dependabot in #4211
- Bump sass from 1.62.1 to 1.69.5 by @dependabot in #4193
- fixed "Create database" indentation by @Ajaysainisd in #4207
- Bump nan from 2.17.0 to 2.18.0 by @dependabot in #4176
- Bump jquery from 3.7.0 to 3.7.1 by @dependabot in #4155
- Update django-environ requirement from <0.11,>=0.4 to >=0.4,<0.12 by @dependabot in #4159
- Speedup Range.product_queryset(): exclude child Products in a join by @gwaidacher in #4222
- fix link to documentation in the README.rst by @frlnx in #4223
- Update BasketMiddleware.get_basket() to show warning only if items have been merged by @gwaidacher in #4145
- Release 3.2.3 alpha 1 by @viggo-devries in #4224
- README.rst: Fix typo by @cclauss in #4229
- make black by @cclauss in #4235
- Keep GitHub Actions up to date with Dependabot by @cclauss in #4230
New Contributors
- @blondelg made their first contribution in #4151
- @ebottos94 made their first contribution in #3954
- @TopDevPros made their first contribution in #4166
- @Asp1ro made their first contribution in #4208
- @vallabhtiwari made their first contribution in #4184
- @IslamMesha made their first contribution in #4186
- @Ajaysainisd made their first contribution in #4207
- @frlnx made their first contribution in #4223
- @cclauss made their first contribution in #4229
Full Changelog: 3.2.2...3.2.3
3.2.2
What's Changed
- Bump eslint from 8.22.0 to 8.33.0 by @dependabot in #4047
- Bump sass from 1.54.0 to 1.58.0 by @dependabot in #4045
- post_save_set_ancestors_are_public should not run when loading fixtures, by @specialunderwear in #4040
- Fix combination offer removal bug by @samar-hassan in #4017
- orderlist view added email when there isn't a name by @nathanhighbiza in #4009
- Query optimization in dashboard user detail page by @samar-hassan in #4051
- [FIX] Exclude suspended offers when is_active filter is applied by @samar-hassan in #4059
- Exclude non-public Products from Offers by @gwaidacher in #4053
- [FIX] Show address update button only if there exists one by @samar-hassan in #4044
- Optimize range products reordering by @samar-hassan in #4010
- Fix review list template by @dd in #4014
- Removing unnecessary permissions from static and documentation f⦠by @dd in #4067
- [FEAT] Optimize order count calculation in user listing page by @samar-hassan in #4061
- fix for #4049 by @mghiglieri in #4050
- Update whitenoise requirement from <6.3,>=5.2 to >=5.2,<6.5 by @dependabot in #4064
- Update redis requirement from <4.4,>=3.5 to >=3.5,<4.6 by @dependabot in #4065
- Bump @fortawesome/fontawesome-free from 6.1.2 to 6.4.0 by @dependabot in #4075
- Bump jquery from 3.6.0 to 3.6.4 by @dependabot in #4076
- Update django-environ requirement from <0.10,>=0.4 to >=0.4,<0.11 by @dependabot in #4078
- Exclusivevoucherbug by @joeyjurjens in #4095
- Update django-debug-toolbar requirement from <3.6,>=2.2 to >=2.2,<4.1 by @dependabot in #4091
- Reduce db calls by counting offers in voucher listing by @samar-hassan in #4084
- Update how_to_setup_solr.rst by @gwaidacher in #4085
- Create SECURITY.md by @specialunderwear in #4094
- Bump sass from 1.58.0 to 1.62.1 by @dependabot in #4093
- Add default auto field for django 3 by @viggo-devries in #4097
- i18n fixes by @dhvcc in #3965
- Bump eslint from 8.33.0 to 8.39.0 by @dependabot in #4090
- Use voucher_set name for vouchers in basket totals template by @joeyjurjens in #3996
- chore: Set permissions for GitHub actions by @naveensrinivasan in #3914
- Update how_to_integrate_payment.rst by @gwaidacher in #4087
- Bump flake8 from 4.0.1 to 6.0.0 by @dependabot in #4021
- Bump nan from 2.16.0 to 2.17.0 by @dependabot in #3998
- Bump node-sass from 7.0.1 to 8.0.0 by @dependabot in #4022
- Bump tinymce from 6.1.2 to 6.4.2 by @dependabot in #4089
- Bump @tinymce/tinymce-jquery from 2.0.0 to 2.1.0 by @dependabot in #4080
- Updated javascript dependencies with npm audit by @specialunderwear in #4099
- If a product has a option it cannot be oversold by @joeyjurjens in #4096
- Make products without price unable to be added to basket by @Wessellix in #4013
- changed keyOrder to form.field_order by @joeyjurjens in #4101
- Bump inputmask from 5.0.7 to 5.0.8 by @dependabot in #4081
- project contribution section and code of conduct by @brahim12chamakh in #4088
- When there are product discountable true and variant discountable false in cart in the same time, discount is calculated for variant which is incorrect. by @specialunderwear in #4102
- Hutchison/master by @specialunderwear in #4106
- Use entire queryset for offer report download rather than paginated one by @joeyjurjens in #4105
- [Fix] Remove duplicate count in voucher offers by @samar-hassan in #4107
- Speeding up Range.product_queryset() by @gwaidacher in #4100
- Fixed extra ) in apps.py by @WaqarAnwar in #4108
- Django 4.2, Python 3.11 by @viggo-devries in #4098
- Fix convert_to_valid_json migrations by @jribbens in #4118
- [FEAT] Optimize Offer Listing page by @samar-hassan in #4120
- Only change order line status when status is available by @viggo-devries in #3948
- Make the oscar migrations able to handle different DEFAULT_AUTO_FIELD settings by @specialunderwear in #4121
- Bump jquery from 3.6.4 to 3.7.0 by @dependabot in #4114
- Remove Werkzeug dependency, creates security errors. by @viggo-devries in #4122
- Update django-debug-toolbar requirement from <4.1,>=2.2 to >=2.2,<4.2 by @dependabot in #4112
- Bump eslint from 8.39.0 to 8.43.0 by @dependabot in #4125
- Update flake8 requirement from <6.0.0 to <7.0.0 by @dependabot in #4110
- Manage excluded_products in ranges dashboard by @gwaidacher in #4073
- Make all the things black by @hertogjan-bier in #4126
- Add a .git-blame-ignore-revs file to ignore the black & pylint commit in blame view. by @joeyjurjens in #4129
- Update basket_totals.html - Fixed surcharges display by @patrick-agbokou in #4127
- [FEAT] Optimize range listing by @samar-hassan in #4128
- Save tax codes on the basket and order for reference by @viggo-devries in #4136
New Contributors
- @samar-hassan made their first contribution in #4017
- @nathanhighbiza made their first contribution in #4009
- @dd made their first contribution in #4014
- @mghiglieri made their first contribution in #4050
- @dhvcc made their first contribution in #3965
- @naveensrinivasan made their first contribution in #3914
- @Wessellix made their first contribution in #4013
- @brahim12chamakh made their first contribution in #4088
- @WaqarAnwar made their first contribution in #4108
- @jribbens made their first contribution in #4118
- @hertogjan-bier made their first contribution in #4126
- @patrick-agbokou made their first contribution in #4127
Full Changelog: 3.2...3.2.1a
3.2
Welcome to Oscar 3.2!
Please read the release notes to find out what's new in Oscar 3.2.
3.1
Welcome to Oscar 3.1!
Please read the release notes to find out what's new in Oscar 3.1.
3.0.0
Welcome to Oscar 3.0!
Please read the release notes to find out what's new in Oscar 3.0.
2.1.0
Welcome to Oscar 2.1!
Please read the release notes to find out what's new in Oscar 2.1.
2.0.0
Welcome to Oscar 2.0!
This is a significant release which includes a number of new features and backwards incompatible changes. In particular the way Oscar configures apps has been refactored and projects that have forked apps will need to follow the migration instructions in the documentaton.
Oscar 2.0 is compatible with Django 1.11, Django 2.1 and Django 2.2 as well as Python 3.5, 3.6 and 3.7. Support for Python 2.7 and Python 3.4 has been dropped.