Skip to content

Bump dateparser from 1.5.0 to 1.5.1 - #1728

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/dateparser-1.5.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/dateparser-1.5.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor

Bumps dateparser from 1.5.0 to 1.5.1.

Release notes

Sourced from dateparser's releases.

1.5.1

Security fixes:

  • Prevent quadratic regex matching on long whitespace runs in the Jalali calendar (GHSA-rq5p-ww4m-666c <https://github.com/scrapinghub/dateparser/security/advisories/GHSA-rq5p-ww4m-666c>_)
  • Prevent quadratic parsing in search_dates() on a long run of skipped words after a number (GHSA-c83m-fh72-x3jp <https://github.com/scrapinghub/dateparser/security/advisories/GHSA-c83m-fh72-x3jp>_)
  • Prevent unbounded recursion and quadratic parsing in search_dates() on many quantities written in words (GHSA-8hqv-h88c-f367 <https://github.com/scrapinghub/dateparser/security/advisories/GHSA-8hqv-h88c-f367>_)
  • Prevent quadratic time in search_dates() on a long text whose words and Unicode-normalized words differ in number (GHSA-wr9g-q4w6-fp42 <https://github.com/scrapinghub/dateparser/security/advisories/GHSA-wr9g-q4w6-fp42>_)
  • Prevent quadratic parsing in parse() on a long run of separators followed by skipped words (GHSA-5g92-f88x-gwj5 <https://github.com/scrapinghub/dateparser/security/advisories/GHSA-5g92-f88x-gwj5>_)

New features:

  • Support "less than a minute ago" in Russian, such as "Меньше 1 минуты назад", which was not parsed before (#1546)

Fixes:

  • search_dates() looks for the words of a quantity written in words among at most 16 words, so a longer quantity can give a different result
  • search_dates() yields at most eight dates from a run of more than eight quantities written in words, where it yielded all of them before
  • Keep a full stop that belongs to a date inside the date in search_dates(), so "Sept. 5, 2020" is no longer split at the full stop (#1577)
  • Use the reference date's year when a custom format has no year, so PREFER_DAY_OF_MONTH="last" returns February 29 in a leap year instead of February 28, and skip invalid leap days instead of raising ValueError; with PREFER_DAY_OF_MONTH or PREFER_MONTH_OF_YEAR set to "current", the day or month of RELATIVE_BASE is used when it is set (#1389)
  • Leave out a time span that does not fit in the years 1 to 9999, instead of raising ValueError in search_dates() with RETURN_TIME_SPAN, so the other dates of the text are kept (#1580)
  • Treat digits that the regular expression module matches but int() rejects as not a number, instead of raising ValueError in parse() and search_dates() (#1581)
  • Do not raise KeyError for a month or weekday name in date_formats that is spelled with a letter the regular expression module equates with a letter of the name when ignoring case, such as the long s for "s"; the date is read as that name (#1579)
  • Stop the Vietnamese year simplification from eating the month name "năm",

... (truncated)

Changelog

Sourced from dateparser's changelog.

1.5.1 (2026-11-17)

Security fixes:

  • Prevent quadratic regex matching on long whitespace runs in the Jalali calendar (GHSA-rq5p-ww4m-666c <https://github.com/scrapinghub/dateparser/security/advisories/GHSA-rq5p-ww4m-666c>_)
  • Prevent quadratic parsing in search_dates() on a long run of skipped words after a number (GHSA-c83m-fh72-x3jp <https://github.com/scrapinghub/dateparser/security/advisories/GHSA-c83m-fh72-x3jp>_)
  • Prevent unbounded recursion and quadratic parsing in search_dates() on many quantities written in words (GHSA-8hqv-h88c-f367 <https://github.com/scrapinghub/dateparser/security/advisories/GHSA-8hqv-h88c-f367>_)
  • Prevent quadratic time in search_dates() on a long text whose words and Unicode-normalized words differ in number (GHSA-wr9g-q4w6-fp42 <https://github.com/scrapinghub/dateparser/security/advisories/GHSA-wr9g-q4w6-fp42>_)
  • Prevent quadratic parsing in parse() on a long run of separators followed by skipped words (GHSA-5g92-f88x-gwj5 <https://github.com/scrapinghub/dateparser/security/advisories/GHSA-5g92-f88x-gwj5>_)

New features:

  • Support "less than a minute ago" in Russian, such as "Меньше 1 минуты назад", which was not parsed before (#1546)

Fixes:

  • search_dates() looks for the words of a quantity written in words among at most 16 words, so a longer quantity can give a different result
  • search_dates() yields at most eight dates from a run of more than eight quantities written in words, where it yielded all of them before
  • Keep a full stop that belongs to a date inside the date in search_dates(), so "Sept. 5, 2020" is no longer split at the full stop (#1577)
  • Use the reference date's year when a custom format has no year, so PREFER_DAY_OF_MONTH="last" returns February 29 in a leap year instead of February 28, and skip invalid leap days instead of raising ValueError; with PREFER_DAY_OF_MONTH or PREFER_MONTH_OF_YEAR set to "current", the day or month of RELATIVE_BASE is used when it is set (#1389)
  • Leave out a time span that does not fit in the years 1 to 9999, instead of raising ValueError in search_dates() with RETURN_TIME_SPAN, so the other dates of the text are kept (#1580)
  • Treat digits that the regular expression module matches but int() rejects as not a number, instead of raising ValueError in parse() and search_dates() (#1581)
  • Do not raise KeyError for a month or weekday name in date_formats that is spelled with a letter the regular expression module equates with a letter of the name when ignoring case, such as the long s for "s"; the

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dateparser](https://github.com/scrapinghub/dateparser) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/scrapinghub/dateparser/releases)
- [Changelog](https://github.com/scrapinghub/dateparser/blob/master/HISTORY.rst)
- [Commits](scrapinghub/dateparser@v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: dateparser
  dependency-version: 1.5.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants