Pārlūkot izejas kodu

Release 3.2.4 (major error in order extending)

master
Viggo de Vries 1 gadu atpakaļ
vecāks
revīzija
cb93f5efd3

+ 1
- 0
docs/source/releases/index.rst Parādīt failu

9
 .. toctree::
9
 .. toctree::
10
     :maxdepth: 1
10
     :maxdepth: 1
11
 
11
 
12
+    v3.2.4
12
     v3.2.3
13
     v3.2.3
13
     v3.2.2
14
     v3.2.2
14
     v3.2
15
     v3.2

+ 1
- 1
docs/source/releases/v3.2.3.rst Parādīt failu

76
 * @Ajaysainisd made their first contribution in https://github.com/django-oscar/django-oscar/pull/4207
76
 * @Ajaysainisd made their first contribution in https://github.com/django-oscar/django-oscar/pull/4207
77
 * @frlnx made their first contribution in https://github.com/django-oscar/django-oscar/pull/4223
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 Parādīt failu

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 Parādīt failu

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

+ 1
- 1
package.json Parādīt failu

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

+ 1
- 1
src/oscar/__init__.py Parādīt failu

1
 # Use 'alpha', 'beta', 'rc' or 'final' as the 4th element to indicate release type.
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
 def get_short_version():
5
 def get_short_version():

Notiek ielāde…
Atcelt
Saglabāt