Skip to content

Commit

Permalink
Prepare 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreDecan committed Sep 16, 2020
1 parent 9db96c4 commit 18a9254
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Changelog


## 2.1.2 (2020-09-16)

### Added
- `IntervalDict` supports `|` and `|=`, the same way `dict` will do starting from Python 3.9 ([#37](https://github.com/AlexandreDecan/portion/issues/37)).

### Fixed
- Fix invalid simplification of 3+ intervals when a closed interval shares the lower bound of an open one ([#38](https://github.com/AlexandreDecan/portion/issues/38)).
- Fix the order in which items are returned from an `IntervalDict` when a closed interval shares the lower bound of an open one ([#39](https://github.com/AlexandreDecan/portion/issues/39)).



## 2.1.1 (2020-08-21)

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The `portion` library (formerly distributed as `python-intervals`) provides data
- Heavily tested with high code coverage.

**Latest release:**
- `portion`: 2.1.1 on 2020-08-21 ([documentation](https://github.com/AlexandreDecan/portion/blob/2.1.1/README.md), [changes](https://github.com/AlexandreDecan/portion/blob/2.1.1/CHANGELOG.md)).
- `portion`: 2.1.2 on 2020-09-16 ([documentation](https://github.com/AlexandreDecan/portion/blob/2.1.2/README.md), [changes](https://github.com/AlexandreDecan/portion/blob/2.1.2/CHANGELOG.md)).
- `python-intervals`: 1.10.0 on 2019-09-26 ([documentation](https://github.com/AlexandreDecan/portion/blob/1.10.0/README.md), [changes](https://github.com/AlexandreDecan/portion/blob/1.10.0/README.md#changelog)).

Note that `python-intervals` will no longer receive updates since it has been replaced by `portion`.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='portion',
version='2.1.1',
version='2.1.2',
license='LGPLv3',

author='Alexandre Decan',
Expand Down

0 comments on commit 18a9254

Please sign in to comment.