Releases: mirumee/prices
Releases · mirumee/prices
Allow to choose rounding type for discounts calculations
What's Changed
- Upgrade to GitHub-native Dependabot by @dependabot-preview in #38
- Allow to choose rounding type for discounts calculations by @szymj in #39
- Update CI pipeline to use Github Actions by @artursmet in #40
New Contributors
- @dependabot-preview made their first contribution in #38
- @szymj made their first contribution in #39
Full Changelog: 1.1.0...1.1.1
The one that turns Price and PriceRange to named tuples
Merge pull request #7 from mirumee/use-namedtuples Make Price and PriceRange namedtuples
Fixed discounts
This version adds a FixedDiscount
price modifier. You can use it to automatically subtract a certain amount from a price.
Price(30, currency='USD') + FixedDiscount(Price(10, currency='USD'))
# Price('20', currency='USD')
We now also have automated testing using Travis and coverage reporting using Coveralls.