Releases: vst/pypara
Releases · vst/pypara
v0.1.1
v0.1.0
0.1.0 (2023-06-15)
⚠ BREAKING CHANGES
- drop Python 3.8 support
- drop {Money,Price}.{ccy,qty,dov} type hints
- make {Money,Price}.NA a classmethod, rename to .na
Features
- add {Money,Price}.ccy_or_none method (a6c25d1)
- add {Money,Price}.dimap method (0f10309)
- add {Money,Price}.dov_or_none method (0ee64ab)
- add {Money,Price}.fmap method (cffe534)
- add {Money,Price}.or_else method (d7085cb)
- add {Money,Price}.qty_map method (f859908)
- add {Money,Price}.qty_or_else method (081b335)
- add {Money,Price}.qty_or_none method (ae9c480)
- add {Money,Price}.qty_or_zero method (62b97d4)
- add type guards for {None,Some}{Money,Price} type checks (98f8259)
Bug Fixes
- correct spelling for some documentation and exception messages (a029cb8)
- drop Python 3.8 support (c978c2e)
- fix Protocol definitions (7977dd4)
- make NonePrice.money a property (a705315)
- use more common names for pre-defined currencies (a00a403)
Code Refactoring
- drop {Money,Price}.{ccy,qty,dov} type hints (c98b60d)
- make {Money,Price}.NA a classmethod, rename to .na (c79b092)
Documentation
- update README (74c76bc)