github django-oscar/django-oscar 4.0

latest releases: 4.0.1-jenkins-768, 4.0.1-jenkins-747, 4.0.1-jenkins-746...
4 months ago

Oscar 4.0 release notes

Release data: 2025-04-14

Compatibility

Oscar 4.0 is now compatible with django 5.2 and adds python 3.13 support as well.

What's new in Oscar 4.0

There are mainly bug fixes and dependency updates within this release and a few new features;

  • Added support for django 5.2; 464fa8a
  • A new 'priority' field has been added to the product model; e70a56f
  • A new 'code' field has been added to the product model; acf629d
  • Permissions system has been improved, new staff users don't automatically get access to everything; b152eb5
  • Useful prefetches have been added for performance; a79c8c2
  • Calculations are now done with four decimals to improve accuracy; b74d83c

The following list contains all changes in Oscar 4.0;

  • [Fix] Resolve rounding errors (#4455) by Samar Hassan in #4455
  • fix πŸ› resolve multiple backend error in race condition (#4457) by Samar Hassan in #4457
  • bug fix: AbstractProduct.primary_images() should check against ProductImage._meta, not ProductImage.Meta (#4419) by nevin in #4419
  • Django 5.2 (lts) support. (#4456) by Joey in #4456
  • changed button colors so it uses primary (#4449) by Rafael-Highbiza in #4449
  • [Fix] Resolve rounding error (#4448) by Samar Hassan in #4448
  • Make setuptools get dynamic version from setup.py rather than the pyprojectoml. (#4437) by Joey in #4437
  • [Fix] Number of orders sorting fix in dashboard customer listing (#4435) by Samar Hassan in #4435
  • Bump sphinxcontrib-spelling from 7.5.1 to 8.0.1 (#4417) by dependabot[bot] in #4417
  • Bump codecov/codecov-action in the github_actions group (#4430) by dependabot[bot] in #4430
  • Fix string formatting not showing which attribute is reserved (#4429) by Joey in #4429
  • fix: wrap selector attr value in double quotes (#4428) by gasoved in #4428
  • [FIXED] Issue #4344 NoneType error when discount.offer is None (#4424) by Gregory Mariani in #4344
  • Trigger build, as codecov uploading hasnt worked in 10 months. by Joey Jurjens in 81bc5bd50
  • Bump sass from 1.81.0 to 1.83.4 (#4426) by dependabot[bot] in #4426
  • Update django-extra-views requirement from <0.15,>=0.13 to >=0.13,<0.16 (#4416) by dependabot[bot] in #4416
  • Update easy-thumbnails requirement from <2.10,>=2.9 to >=2.9,<2.11 (#4415) by dependabot[bot] in #4415
  • Bump @fortawesome/fontawesome-free from 6.7.1 to 6.7.2 (#4410) by dependabot[bot] in #4410
  • Bump sphinx-rtd-theme from 1.0.0 to 3.0.2 (#4414) by dependabot[bot] in #4414
  • Bump tinymce from 7.5.1 to 7.6.0 (#4412) by dependabot[bot] in #4412
  • Bump codecov/codecov-action (#4407) by dependabot[bot] in #4407
  • Bump sphinx-issues from 3.0.1 to 5.0.0 (#4418) by dependabot[bot] in #4418
  • [FEAT] Improve Percentage discount benefit accuracy (#4423) by Samar Hassan in #4423
  • [FEAT] Add method to get all dashboard permissions (#4392) by Samar Hassan in #4392
  • fix blocktrans indentation (#4408) by Gijs in #4408
  • Solr: restore price range in search facets (#4376) by Gunther Waidacher in #4376
  • Implement pyproject.toml (#4404) by Viggo de Vries in #4404
  • Bump sass from 1.80.6 to 1.81.0 (#4397) by dependabot[bot] in #4397
  • Bump tinymce from 7.5.0 to 7.5.1 (#4398) by dependabot[bot] in #4398
  • Bump gulp-sass from 5.1.0 to 6.0.0 (#4399) by dependabot[bot] in #4399
  • Bump @fortawesome/fontawesome-free from 6.6.0 to 6.7.1 (#4400) by dependabot[bot] in #4400
  • Product code (#4402) by Voxin Muyli in #4402
  • If product is child and parent is not public, it's not viewable! (#4401) by Viggo de Vries in #4401
  • fix pylint (#4395) by Gijs in #4395
  • Bump codecov/codecov-action (#4393) by dependabot[bot] in #4393
  • put line and line_created in attributes (#4394) by Gijs in #4394
  • Merge pull request #4391 from django-oscar/fix-order-form-test by Voxin Muyli in #4391
  • fix πŸ”§ order search form must have at least one field by Samar Hassan in 2b08af5ae
  • Fix test by Viggo de Vries in 4c89087f1
  • Add blocks to basket messages (#4390) by Gijs in #4390
  • Fix a typo which caused a typeerror on string formatting (#4274) by Thomas van der Hoeven in #4274
  • Fix duplicate search box in Dashboard -> Offers -> Voucher (voucher_list.html) (#4353) by Ryan Malloy in #4353
  • Fix wrong variable name in example code (#4383) by Luiz Cavalcanti in #4383
  • Bump tinymce from 7.3.0 to 7.5.0 (#4388) by dependabot[bot] in #4388
  • Update whitenoise requirement from <6.8,>=6.7.0 to >=6.7.0,<6.9 (#4377) by dependabot[bot] in #4377
  • Update redis requirement from <5.1,>=3.5 to >=3.5,<5.3 (#4378) by dependabot[bot] in #4378
  • Bump sass from 1.78.0 to 1.80.6 (#4386) by dependabot[bot] in #4386
  • Bump nan from 2.20.0 to 2.22.0 (#4380) by dependabot[bot] in #4380
  • Merge pull request #4384 from django-oscar/dashboard-permissions by Voxin Muyli in #4384
  • chore ♻️ drop support for Django 3.2, move to LTS Django 4.2+ by Samar Hassan in a8443bd0e
  • tests βœ… add more tests by Samar Hassan in 7b7aee46e
  • feat ⭐ oscar dashboard permissions by Samar Hassan in b152eb510
  • Merge pull request #4360 from django-oscar/get_public_children_categories by nathanhighbiza in #4360
  • Get public children on category by Viggo de Vries in 12ee5083a
  • 4.0 by Viggo de Vries in 362ee0c88
  • Oscar 4.0a1 by Viggo de Vries in ef5539a24
  • Fix de docs by Viggo de Vries in 7bbe47631
  • Add nodejs to tools by Viggo de Vries in 713d6ba1c
  • release django oscar version 3.2.5 (#4354) by Viggo de Vries in #4354
  • [FEAT] Update 3.2.5 release docs (#4355) by Samar Hassan in #4355
  • Fix result of prefetch attribute values for children (#4352) by Joey in #4352
  • lint by Viggo de Vries in 2b32fc1c6
  • Add priority field (#4351) by Viggo de Vries in #4351
  • Add useful prefetch methods for bulk processing (#4350) by Joey in #4350
  • Merge pull request #4349 from django-oscar/upgrade-deps by Voxin Muyli in #4349
  • fix πŸ”§ upgrade deps in test venv by Samar Hassan in ad93b59e4
  • Merge pull request #4348 from django-oscar/fix-tests by Voxin Muyli in #4348
  • feat ⭐ upgrade setuptools version by Samar Hassan in 23b672224
  • Bump tinymce from 7.2.0 to 7.3.0 (#4342) by dependabot[bot] in #4342
  • Bump sass from 1.77.4 to 1.78.0 (#4346) by dependabot[bot] in #4346
  • fixed typo in docs (#4347) by Ryan Malloy in #4347
  • Fix basket check id and translation (#4283) by Julie Rymer in #4283
  • Bump @fortawesome/fontawesome-free from 6.5.2 to 6.6.0 (#4329) by dependabot[bot] in #4329
  • Supress mention of django-secure from deploying.rst (#4337) by Luiz Cavalcanti in #4337
  • Don’t allow adding a product with negative quantity (#4338) by sephi in #4338

Don't miss a new django-oscar release

NewReleases is sending notifications on new releases.