Skip to content

Commit

Permalink
Release 1.2.1 (#1247)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
4 people authored Feb 5, 2025
1 parent 36a5634 commit 7c39594
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .bumpversion.cfg

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ jobs:
- name: Run tests
run: tox -e ${{ matrix.toxenv || 'py' }}
- name: Upload coverage.xml to codecov
uses: codecov/[email protected]
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
24 changes: 24 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,30 @@
History
=======

1.2.1 (unreleased)
------------------

Fixes:

- Fix PytzUsageWarning (#1109)
- Fix date_parser with prefer_month_of_year wrong results (#1224)
- Fix skipped day when UTC and tz are different days (#1183)

Improvements:

- Avoid repeated loop over timezones (#1238)
- Proofread README.rst (#1234)
- Check for derived types for configuration (#1223)
- Parse some abbreviated strings as relative dates (#1219)
- Migrate from hijri-converter to hijridate (#1211)
- Fixed ClusterFuzz build error by adding dateparser.data as a binary (#1208)
- Fix an issue detected by OSSFuzz (#1203)
- Support two-digit years in non-Gregorian calendars (#1187)
- Refactored CI to run extras separately and test minimum versions of dependencies, replaced flake8 with ruff, fixed tests (#1248)
- Set minimum versions for dependencies (#1248)
- Limited ``numpy`` to 1.x when installing ``dateparser[fasttext]`` (#1248)


1.2.0 (2023-11-17)
------------------

Expand Down
14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
[tool.bumpversion]
current_version = "1.2.0"
commit = true
tag = true

[[tool.bumpversion.files]]
filename = "dateparser/__init__.py"

[[tool.bumpversion.files]]
filename = 'HISTORY.rst'
search = "\\(unreleased\\)$"
replace = "({now:%Y-%m-%d})"
regex = true

[tool.ruff]
exclude = ["date_translation_data"]

Expand Down

0 comments on commit 7c39594

Please sign in to comment.