Skip to content

Commit 7c39594

Browse files
serhii73wRARGallaecio
authored
Release 1.2.1 (#1247)
* Release 1.2.1 * Update HISTORY.rst Co-authored-by: Andrey Rakhmatullin <[email protected]> * Fix tests (#1248) * Fix tests * Fix the TestLocalTZOffset test * Setup tests for minimum deps * Run pre-commit --------- Co-authored-by: Adrián Chaves <[email protected]> * Add #1248 to History rst * .bumpversion.cfg → pyproject.toml, and have it set the release date * Undo version change to be made by bump-my-version * Update HISTORY.rst Co-authored-by: Adrián Chaves <[email protected]> * Use CODECOV_TOKEN. --------- Co-authored-by: Andrey Rakhmatullin <[email protected]> Co-authored-by: Adrián Chaves <[email protected]> Co-authored-by: Andrey Rakhmatullin <[email protected]>
1 parent 36a5634 commit 7c39594

File tree

4 files changed

+41
-7
lines changed

4 files changed

+41
-7
lines changed

.bumpversion.cfg

-6
This file was deleted.

.github/workflows/main.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,6 @@ jobs:
4747
- name: Run tests
4848
run: tox -e ${{ matrix.toxenv || 'py' }}
4949
- name: Upload coverage.xml to codecov
50-
uses: codecov/[email protected]
50+
uses: codecov/codecov-action@v5
51+
with:
52+
token: ${{ secrets.CODECOV_TOKEN }}

HISTORY.rst

+24
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,30 @@
33
History
44
=======
55

6+
1.2.1 (unreleased)
7+
------------------
8+
9+
Fixes:
10+
11+
- Fix PytzUsageWarning (#1109)
12+
- Fix date_parser with prefer_month_of_year wrong results (#1224)
13+
- Fix skipped day when UTC and tz are different days (#1183)
14+
15+
Improvements:
16+
17+
- Avoid repeated loop over timezones (#1238)
18+
- Proofread README.rst (#1234)
19+
- Check for derived types for configuration (#1223)
20+
- Parse some abbreviated strings as relative dates (#1219)
21+
- Migrate from hijri-converter to hijridate (#1211)
22+
- Fixed ClusterFuzz build error by adding dateparser.data as a binary (#1208)
23+
- Fix an issue detected by OSSFuzz (#1203)
24+
- Support two-digit years in non-Gregorian calendars (#1187)
25+
- Refactored CI to run extras separately and test minimum versions of dependencies, replaced flake8 with ruff, fixed tests (#1248)
26+
- Set minimum versions for dependencies (#1248)
27+
- Limited ``numpy`` to 1.x when installing ``dateparser[fasttext]`` (#1248)
28+
29+
630
1.2.0 (2023-11-17)
731
------------------
832

pyproject.toml

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
[tool.bumpversion]
2+
current_version = "1.2.0"
3+
commit = true
4+
tag = true
5+
6+
[[tool.bumpversion.files]]
7+
filename = "dateparser/__init__.py"
8+
9+
[[tool.bumpversion.files]]
10+
filename = 'HISTORY.rst'
11+
search = "\\(unreleased\\)$"
12+
replace = "({now:%Y-%m-%d})"
13+
regex = true
14+
115
[tool.ruff]
216
exclude = ["date_translation_data"]
317

0 commit comments

Comments
 (0)