Skip to content

Commit

Permalink
Release 3.2.4 (major error in order extending)
Browse files Browse the repository at this point in the history
  • Loading branch information
viggo-devries committed Feb 8, 2024
1 parent d619f08 commit cb93f5e
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/source/releases/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Release notes for each version of Oscar published to PyPI.
.. toctree::
:maxdepth: 1

v3.2.4
v3.2.3
v3.2.2
v3.2
Expand Down
2 changes: 1 addition & 1 deletion docs/source/releases/v3.2.3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ New Contributors
* @Ajaysainisd made their first contribution in https://github.com/django-oscar/django-oscar/pull/4207
* @frlnx made their first contribution in https://github.com/django-oscar/django-oscar/pull/4223

**Full Changelog**: https://github.com/django-oscar/django-oscar/compare/3.2.2...3.2.3a1
**Full Changelog**: https://github.com/django-oscar/django-oscar/compare/3.2.2...3.2.3
41 changes: 41 additions & 0 deletions docs/source/releases/v3.2.4.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
========================================
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**: https://github.com/django-oscar/django-oscar/compare/3.2.3...3.2.4
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "django-oscar",
"version": "3.2.3",
"version": "3.2.4",
"description": "A domain-driven e-commerce framework for Django",
"main": "index.js",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/oscar/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use 'alpha', 'beta', 'rc' or 'final' as the 4th element to indicate release type.
VERSION = (3, 2, 3, "final")
VERSION = (3, 2, 4, "final")


def get_short_version():
Expand Down

0 comments on commit cb93f5e

Please sign in to comment.