Skip to content

Commit c99f242

Browse files
authored
Bump version to 2.1.0 (#449)
1 parent 8cec473 commit c99f242

File tree

4 files changed

+41
-6
lines changed

4 files changed

+41
-6
lines changed

CHANGELOG.md

+36-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# Change Log
22

3+
## [2.1.0] - 2020-03-07
4+
5+
### Added
6+
7+
- Added better typing and PEP-561 compliance ([#320](https://github.com/sdispater/pendulum/pull/320)).
8+
- Added the `is_anniversary()` method as an alias of `is_birthday()` ([#298](https://github.com/sdispater/pendulum/pull/298)).
9+
10+
### Changed
11+
12+
- Dropped support for Python 3.4.
13+
- `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))
14+
- `Duration.in_words()` will now return `0 milliseconds` for empty durations.
15+
16+
### Fixed
17+
18+
- 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))).
19+
- Fixed out of bound detection for `nth_of("month")` ([#357](https://github.com/sdispater/pendulum/pull/357)).
20+
- Fixed an error where extra text was accepted in `from_format()` ([#372](https://github.com/sdispater/pendulum/pull/372)).
21+
- Fixed a recursion error when adding time to a `DateTime` with a fixed timezone ([#431](https://github.com/sdispater/pendulum/pull/431)).
22+
- Fixed errors where `Period` instances were not properly compared to other classes, especially `timedelta` instances ([#427](https://github.com/sdispater/pendulum/pull/427)).
23+
- Fixed deprecation warnings due to internal regexps ([#427](https://github.com/sdispater/pendulum/pull/427)).
24+
- 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)).
25+
- Fixed an error where the `week_of_month` attribute was not returning the correct value ([#446](https://github.com/sdispater/pendulum/pull/446)).
26+
- 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)).
27+
28+
### Locales
29+
30+
- Added the `nl` locale.
31+
- Added the `it` locale.
32+
- Added the `id` locale.
33+
- Added the `nb` locale.
34+
- Added the `nn` locale.
35+
36+
337
## [2.0.5] - 2019-07-03
438

539
### Fixed
@@ -93,7 +127,8 @@
93127

94128

95129

96-
[Unreleased]: https://github.com/sdispater/pendulum/compare/2.0.5...master
130+
[Unreleased]: https://github.com/sdispater/pendulum/compare/2.1.0...master
131+
[2.1.0]: https://github.com/sdispater/pendulum/releases/tag/2.1.0
97132
[2.0.5]: https://github.com/sdispater/pendulum/releases/tag/2.0.5
98133
[2.0.4]: https://github.com/sdispater/pendulum/releases/tag/2.0.4
99134
[2.0.3]: https://github.com/sdispater/pendulum/releases/tag/2.0.3

docs/mkdocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ theme:
55
custom_dir: theme
66

77
extra:
8-
version: 2.0
8+
version: 2.1
99

1010
markdown_extensions:
1111
- codehilite

pendulum/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.0.5"
1+
__version__ = "2.1.0"

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pendulum"
3-
version = "2.0.5"
3+
version = "2.1.0"
44
description = "Python datetimes made easy"
55
authors = ["Sébastien Eustace <[email protected]>"]
66
license = "MIT"
@@ -14,13 +14,13 @@ build = "build.py"
1414

1515
packages = [
1616
{include = "pendulum"},
17-
{include = "tests", format = "sdist"},
17+
#{include = "tests", format = "sdist"},
1818
]
1919
include = ["pendulum/py.typed"]
2020

2121

2222
[tool.poetry.dependencies]
23-
python = "~2.7 || ^3.4"
23+
python = "~2.7 || ^3.5"
2424
python-dateutil = "^2.6"
2525
pytzdata = ">=2018.3"
2626

0 commit comments

Comments
 (0)