Dj-shop-cart

Latest version: v7.1.1

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

7.1.0

What's Changed
* refactor: cart does not depend on request anymore
* build: drop support for python < 3.10 and django < 4
* build(deps-dev): bump pre-commit from 3.2.1 to 3.3.3 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/101
* build(deps): bump django from 4.1.7 to 4.2.2 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/100
* build(deps-dev): bump redis from 4.5.3 to 4.5.5 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/98
* build(deps-dev): bump ipython from 8.11.0 to 8.12.2 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/97
* build(deps-dev): bump black from 23.1.0 to 23.3.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/88


**Full Changelog**: https://github.com/Tobi-De/dj-shop-cart/compare/7.0.0...v7.1.0

7.0.0

**Full Changelog**: https://github.com/Tobi-De/dj-shop-cart/compare/6.0.1...7.0.0

- rewrite `empty_all` as a classmethod
- the `empty` method on cart objects now clears the metadata by default

6.0.1

**Full Changelog**: https://github.com/Tobi-De/dj-shop-cart/compare/v6.0.0...6.0.1

- Resolved an issue where cart metadata from previous sessions were not being loaded upon instantiation of a new cart.
- The `get_price` method now accepts any numeric type (int, float, Decimal) as a parameter, rather than only relying on Decimal values.

6.0.0

What's Changed

* The format in which the cart data is saved has been changed, cart with the old format will lose data.
* Add a new property `items` to easily access all items in the cart.
* build(deps-dev): bump mypy from 1.0.1 to 1.1.1 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/82
* build(deps-dev): bump pytest from 7.2.1 to 7.2.2 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/81


**Full Changelog**: https://github.com/Tobi-De/dj-shop-cart/compare/5.6.0...v6.0.0

5.6.0

What's Changed

* You can now manage multiple carts for the same user / session via the new [`prefix`](https://tobi-de.github.io/dj-shop-cart/usage/#multiple-carts) option.
* A new [`metadata`](https://tobi-de.github.io/dj-shop-cart/usage/#additional-properties-of-the-cart-object) property is available on the cart object, it is a dictionary that can be used to store any information you want to attach to the cart.

Dependencies upgrade

* Bump pre-commit from 3.0.2 to 3.0.3 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/69
* build(deps-dev): bump pre-commit from 3.0.3 to 3.0.4 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/70
* Bump hiredis from 2.1.1 to 2.2.1 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/68
* build(deps-dev): bump mypy from 0.991 to 1.0.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/71
* build(deps-dev): bump redis from 4.4.2 to 4.5.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/72
* build(deps-dev): bump ipython from 8.9.0 to 8.10.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/74
* build(deps-dev): bump redis from 4.5.0 to 4.5.1 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/73
* build(deps-dev): bump mypy from 1.0.0 to 1.0.1 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/77
* build(deps-dev): bump django-stubs from 1.14.0 to 1.15.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/78
* build(deps): bump django from 4.1.6 to 4.1.7 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/76
* build(deps-dev): bump pre-commit from 3.0.4 to 3.1.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/79
* build(deps-dev): bump pre-commit from 3.1.0 to 3.1.1 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/80


**Full Changelog**: https://github.com/Tobi-De/dj-shop-cart/compare/5.3.2...5.6.0

5.3.2

What's Changed
* [Manage multiple carts](https://tobi-de.github.io/dj-shop-cart/usage/#multiple-carts)
* Bump ipython from 8.4.0 to 8.5.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/21
* Bump django from 4.1 to 4.1.1 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/19
* Bump black from 22.6.0 to 22.8.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/18
* Bump pytest from 7.1.2 to 7.1.3 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/20
* Bump poetryup from 0.10.0 to 0.11.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/22
* Bump poetryup from 0.11.0 to 0.11.1 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/23
* Bump poetryup from 0.11.1 to 0.12.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/24
* Bump mypy from 0.971 to 0.981 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/25
* Bump django from 4.1.1 to 4.1.2 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/26
* Bump mypy from 0.981 to 0.982 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/27
* Bump poetryup from 0.12.0 to 0.12.1 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/28
* Bump black from 22.8.0 to 22.10.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/30
* Bump poetryup from 0.12.1 to 0.12.2 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/29
* Bump poetryup from 0.12.2 to 0.12.3 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/31
* Bump pytest from 7.1.3 to 7.2.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/32
* Bump ipython from 8.5.0 to 8.6.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/33
* Bump django from 4.1.2 to 4.1.3 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/34
* Bump django-stubs from 1.12.0 to 1.13.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/35
* Bump mypy from 0.982 to 0.990 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/36
* Bump mypy from 0.990 to 0.991 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/37
* Bump redis from 4.3.4 to 4.3.5 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/38
* Bump poetryup from 0.12.3 to 0.12.5 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/40
* Bump ipython from 8.6.0 to 8.7.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/41
* Bump black from 22.10.0 to 22.12.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/45
* Bump django from 4.1.3 to 4.1.4 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/43
* Bump django-stubs from 1.13.0 to 1.13.1 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/44
* Bump redis from 4.3.5 to 4.4.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/42
* Bump isort from 5.10.1 to 5.11.2 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/48
* Bump hiredis from 2.0.0 to 2.1.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/47
* Bump isort from 5.11.2 to 5.11.3 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/49
* Bump pre-commit from 2.20.0 to 2.21.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/53
* Bump django from 4.1.4 to 4.1.5 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/54
* Bump ipython from 8.7.0 to 8.8.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/55
* Bump poetryup from 0.12.5 to 0.12.7 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/50
* Bump isort from 5.11.3 to 5.11.4 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/52
* Bump redis from 4.4.0 to 4.4.1 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/56
* Bump hiredis from 2.1.0 to 2.1.1 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/57
* Bump redis from 4.4.1 to 4.4.2 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/58
* Bump pre-commit from 2.21.0 to 3.0.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/61
* Bump pytest from 7.2.0 to 7.2.1 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/59
* Bump django-stubs from 1.13.1 to 1.14.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/63
* Bump pre-commit from 3.0.0 to 3.0.1 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/62
* Bump isort from 5.11.4 to 5.12.0 by dependabot in https://github.com/Tobi-De/dj-shop-cart/pull/66


**Full Changelog**: https://github.com/Tobi-De/dj-shop-cart/compare/v5.2.0...5.3.2

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.