ソースを参照

Release 3.2.4 (major error in order extending)

master
Viggo de Vries 1年前
コミット
cb93f5efd3

+ 1
- 0
docs/source/releases/index.rst ファイルの表示

@@ -9,6 +9,7 @@ Release notes for each version of Oscar published to PyPI.
9 9
 .. toctree::
10 10
     :maxdepth: 1
11 11
 
12
+    v3.2.4
12 13
     v3.2.3
13 14
     v3.2.2
14 15
     v3.2

+ 1
- 1
docs/source/releases/v3.2.3.rst ファイルの表示

@@ -76,4 +76,4 @@ New Contributors
76 76
 * @Ajaysainisd made their first contribution in https://github.com/django-oscar/django-oscar/pull/4207
77 77
 * @frlnx made their first contribution in https://github.com/django-oscar/django-oscar/pull/4223
78 78
 
79
-**Full Changelog**: https://github.com/django-oscar/django-oscar/compare/3.2.2...3.2.3a1
79
+**Full Changelog**: https://github.com/django-oscar/django-oscar/compare/3.2.2...3.2.3

+ 41
- 0
docs/source/releases/v3.2.4.rst ファイルの表示

@@ -0,0 +1,41 @@
1
+========================================
2
+Oscar 3.2.4 release notes
3
+========================================
4
+
5
+:release: 2024-08-02
6
+
7
+.. contents::
8
+    :local:
9
+    :depth: 1
10
+
11
+
12
+.. _compatibility_of_3.2.4:
13
+
14
+Compatibility
15
+~~~~~~~~~~~~~
16
+
17
+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
18
+
19
+.. _new_in_3.2.4:
20
+
21
+What's new in Oscar 3.2.4?
22
+~~~~~~~~~~~~~~~~~~~~~~~~
23
+
24
+3.2.3 contains a major bug when overriding the OrderDiscount. It caused the following Exception:
25
+
26
+```
27
+  File "/usr/local/lib/python3.11/site-packages/oscar/core/loading.py", line 260, in get_model
28
+    import_module("%s.%s" % (app_config.name, MODELS_MODULE_NAME))
29
+  File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
30
+    return _bootstrap._gcd_import(name[level:], package, level)
31
+           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32
+  File "<FOO>/order/models.py", line 1081, in <module>
33
+    from oscar.apps.order.models import *  # NOQA
34
+    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
35
+AttributeError: module 'oscar.apps.order.models' has no attribute 'OrderDiscount'. Did you mean: 'OrderLineDiscount'?
36
+```
37
+
38
+This minor version fixes the issue
39
+
40
+
41
+**Full Changelog**: https://github.com/django-oscar/django-oscar/compare/3.2.3...3.2.4

+ 1
- 1
package-lock.json ファイルの表示

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "django-oscar",
3
-  "version": "3.2.3",
3
+  "version": "3.2.4",
4 4
   "lockfileVersion": 2,
5 5
   "requires": true,
6 6
   "packages": {

+ 1
- 1
package.json ファイルの表示

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "django-oscar",
3
-  "version": "3.2.3",
3
+  "version": "3.2.4",
4 4
   "description": "A domain-driven e-commerce framework for Django",
5 5
   "main": "index.js",
6 6
   "dependencies": {

+ 1
- 1
src/oscar/__init__.py ファイルの表示

@@ -1,5 +1,5 @@
1 1
 # Use 'alpha', 'beta', 'rc' or 'final' as the 4th element to indicate release type.
2
-VERSION = (3, 2, 3, "final")
2
+VERSION = (3, 2, 4, "final")
3 3
 
4 4
 
5 5
 def get_short_version():

読み込み中…
キャンセル
保存