Skip to content

Bump dateparser from 1.4.1 to 1.4.2 - #1671

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

Bump dateparser from 1.4.1 to 1.4.2#1671
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/dateparser-1.4.2

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubAug 10, 2026

Copy link
Copy Markdown
Contributor

Bumps dateparser from 1.4.1 to 1.4.2.

Release notes

Sourced from dateparser's releases.

1.4.2

New features

  • Add an IGNORE_SURROUNDING_TEXT setting that, when enabled, retries parsing after ignoring leading and trailing words the language does not recognize, so a date wrapped in extra text such as "Published on 16/04/2019" is parsed (#1356)
  • Add a strategy argument to search_dates() to choose the search strategy: the default "split" keeps the current behavior, while the new "ngram" strategy parses the longest sequences of tokens as dates for more predictable results on noisy text (#1351)

Fixes

  • Do not read a two-digit number as a year once a later component has been found in year-first date orders, so the day in Japanese dates such as "4月20日" is no longer consumed as the year (#1358)
  • Parse ISO 8601 dates (those starting with a four-digit year) in month-day order even when an explicit day-first language such as it or fr is given, without needing to set PREFER_LOCALE_DATE_ORDER to False (#1352)
  • Honor PREFER_DATES_FROM and RELATIVE_BASE when parsing with custom date_formats that use a two-digit year (%y) (#1342)
  • Honor the %j (day of year) directive in date_formats instead of overwriting the parsed month and day with the current date (#1345)

Improvements

  • Update the bundled CLDR locale data to 44.1.0, adding many newly recognized date forms across locales and a standalone hour/duration unit (e.g. Catalan "2 hores"), while keeping previously supported forms parseable (#1343)
  • Add the Italian expressions "un ora fa" and "un'ora fa", and skip "alle" so phrases like "oggi alle 11:00" parse (#1049)
  • Expand Czech date translations with month locative/dative forms (e.g. "v lednu 2023"), the July abbreviation "črv", and relative expressions such as "za týden", "za měsíc" and "za rok" (#1172)
  • Specify the README header content as RST rather than raw HTML (#1360)
Changelog

Sourced from dateparser's changelog.

1.4.2 (2026-08-04)

New features:

  • Add an IGNORE_SURROUNDING_TEXT setting that, when enabled, retries parsing after ignoring the leading and trailing words the language does not recognize, so a date wrapped in extra text such as "Published on 16/04/2019" is parsed (#1356)
  • Add a strategy argument to search_dates() to choose the search strategy: the default "split" keeps the current behavior, while the new "ngram" strategy parses the longest sequences of tokens as dates for more predictable results on noisy text (#1351)

Fixes:

  • Do not read a two-digit number as a year once a later component has been found in year-first date orders, so the day in Japanese dates such as "4月20日" is no longer consumed as the year (#1358)
  • Parse ISO 8601 dates (those starting with a four-digit year) in month-day order even when an explicit day-first language such as it or fr is given, without needing to set PREFER_LOCALE_DATE_ORDER to False (#1352)
  • Honor PREFER_DATES_FROM and RELATIVE_BASE when parsing with custom date_formats that use a two-digit year (%y) (#1342)
  • Honor the %j (day of year) directive in date_formats instead of overwriting the parsed month and day with the current date (#1345)

Improvements:

  • Update the bundled CLDR locale data to 44.1.0, adding many newly recognized date forms across locales and a standalone hour/duration unit (e.g. Catalan "2 hores"), while keeping previously supported forms parseable (#1343)
  • Add the Italian expressions "un ora fa" and "un'ora fa", and skip "alle" so phrases like "oggi alle 11:00" parse (#1049)
  • Expand Czech date translations with month locative/dative forms (e.g. "v lednu 2023"), the July abbreviation "črv", and relative expressions such as "za týden", "za měsíc" and "za rok" (#1172)
  • Specify the README header content as RST rather than raw HTML (#1360)
Commits
  • b1f603e 1.4.2 release (#1361)
  • ff3dcb9 Specify README header content as RST (#1360)
  • d886e23 Parse dates wrapped in harmless extra text (Close #518) (#1356)
  • 06ca032 Do not read the day as a two-digit year after the year position (#1358)
  • 315e396 Fix ISO8601 parsing with explicit languages (#1352)
  • cf6d3e5 Add "ngram" search strategy to search_dates (#1351)
  • 93b3c63 Update CLDR data to 44.1.0 and add hour/duration support (#1343)
  • 762dfff fix: Apply PREFER_DATES_FROM logic to custom date formats (Fixes #445) (#1342)
  • 273eb23 fix: %j (day of year) format directive ignored month/day in parse_with_format...
  • 33e913c italian: support 'un ora fa', 'un'ora fa', 'oggi alle 11:00'. (#1049)
  • Additional commits viewable in compare view

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.4.1 to 1.4.2.
- [Release notes](https://github.com/scrapinghub/dateparser/releases)
- [Changelog](https://github.com/scrapinghub/dateparser/blob/master/HISTORY.rst)
- [Commits](scrapinghub/dateparser@v1.4.1...v1.4.2)
---
updated-dependencies:
- dependency-name: dateparser
dependency-version: 1.4.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Aug 10, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filepython:uvPull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants