Skip to content

Commit

Permalink
Bump version to 2.1.0 (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdispater authored Mar 7, 2020
1 parent 8cec473 commit c99f242
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 6 deletions.
37 changes: 36 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Change Log

## [2.1.0] - 2020-03-07

### Added

- Added better typing and PEP-561 compliance ([#320](https://github.com/sdispater/pendulum/pull/320)).
- Added the `is_anniversary()` method as an alias of `is_birthday()` ([#298](https://github.com/sdispater/pendulum/pull/298)).

### Changed

- Dropped support for Python 3.4.
- `is_utc()` will now return `True` for any datetime with an offset of 0, similar to the behavior in the `1.*` versions ([#295](https://github.com/sdispater/pendulum/pull/295))
- `Duration.in_words()` will now return `0 milliseconds` for empty durations.

### Fixed

- Fixed various issues with timezone transitions for some edge cases ([#321](https://github.com/sdispater/pendulum/pull/321), ([#350](https://github.com/sdispater/pendulum/pull/350))).
- Fixed out of bound detection for `nth_of("month")` ([#357](https://github.com/sdispater/pendulum/pull/357)).
- Fixed an error where extra text was accepted in `from_format()` ([#372](https://github.com/sdispater/pendulum/pull/372)).
- Fixed a recursion error when adding time to a `DateTime` with a fixed timezone ([#431](https://github.com/sdispater/pendulum/pull/431)).
- Fixed errors where `Period` instances were not properly compared to other classes, especially `timedelta` instances ([#427](https://github.com/sdispater/pendulum/pull/427)).
- Fixed deprecation warnings due to internal regexps ([#427](https://github.com/sdispater/pendulum/pull/427)).
- Fixed an error where the `test()` helper would not unset the test instance when an exception was raised ([#445](https://github.com/sdispater/pendulum/pull/445)).
- Fixed an error where the `week_of_month` attribute was not returning the correct value ([#446](https://github.com/sdispater/pendulum/pull/446)).
- Fixed an error in the way the `Z` ISO-8601 UTC designator was not parsed as UTC ([#448](https://github.com/sdispater/pendulum/pull/448)).

### Locales

- Added the `nl` locale.
- Added the `it` locale.
- Added the `id` locale.
- Added the `nb` locale.
- Added the `nn` locale.


## [2.0.5] - 2019-07-03

### Fixed
Expand Down Expand Up @@ -93,7 +127,8 @@



[Unreleased]: https://github.com/sdispater/pendulum/compare/2.0.5...master
[Unreleased]: https://github.com/sdispater/pendulum/compare/2.1.0...master
[2.1.0]: https://github.com/sdispater/pendulum/releases/tag/2.1.0
[2.0.5]: https://github.com/sdispater/pendulum/releases/tag/2.0.5
[2.0.4]: https://github.com/sdispater/pendulum/releases/tag/2.0.4
[2.0.3]: https://github.com/sdispater/pendulum/releases/tag/2.0.3
Expand Down
2 changes: 1 addition & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ theme:
custom_dir: theme

extra:
version: 2.0
version: 2.1

markdown_extensions:
- codehilite
Expand Down
2 changes: 1 addition & 1 deletion pendulum/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.5"
__version__ = "2.1.0"
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pendulum"
version = "2.0.5"
version = "2.1.0"
description = "Python datetimes made easy"
authors = ["Sébastien Eustace <[email protected]>"]
license = "MIT"
Expand All @@ -14,13 +14,13 @@ build = "build.py"

packages = [
{include = "pendulum"},
{include = "tests", format = "sdist"},
#{include = "tests", format = "sdist"},
]
include = ["pendulum/py.typed"]


[tool.poetry.dependencies]
python = "~2.7 || ^3.4"
python = "~2.7 || ^3.5"
python-dateutil = "^2.6"
pytzdata = ">=2018.3"

Expand Down

0 comments on commit c99f242

Please sign in to comment.