Skip to content

chore(deps): bump github.com/markusmobius/go-dateparser from 1.2.4 to 1.4.3 - #99

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/markusmobius/go-dateparser-1.4.3
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/markusmobius/go-dateparser-1.4.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 15, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/markusmobius/go-dateparser from 1.2.4 to 1.4.3.

Release notes

Sourced from github.com/markusmobius/go-dateparser's releases.

v1.4.3

Go-DateParser v1.4.3

This release tracks the applicable Python dateparser changes through v1.4.3, with all 66 commits after the previous v1.2.1 baseline accounted for in the compatibility ledger. Intentional Go differences and known exceptions remain documented there.

NOTE: The upgrade from 1.2.4 to 1.4.3 was performed with the help of GPT-6-Astra.

Upgrade

Requires Go 1.26.0 or newer; the recommended development toolchain is Go 1.27.1.

go get github.com/markusmobius/go-dateparser@v1.4.3
go mod tidy

Downstream modules, including go-htmldate, can use this tag without waiting for a merge into main. They must also support the new Go minimum.

Changes

  • Enable checked-in, pure-Go re2go exact locale matchers by default with cgo either enabled or disabled. Consumers need no generator, build tag, or configuration change.
  • Add conservative ASCII fast paths for timezone rejection and split-token classification, retaining existing Unicode and malformed-UTF-8 behavior.
  • Refresh CLDR locale data to 44.1.0, preserving older vocabulary and locales and adding regional overrides including en-US.
  • Add optional n-gram search, English time-span results, and parsing with unknown surrounding edge text.
  • Fix relative offsets, Russian phrases/search, ambiguous dates, required-parts validation, ordinal layouts, and BST/HDT offsets.
  • Fix shared normalization and search-state races; refresh dependencies, tests, CI, API documentation, and executable README examples.

Performance and Validation

On the documented Windows/Go 1.27.1 corpora, current defaults used 31.3% less parse time and 36.8% less search time than the same current parser with these optimizations disabled. Generated matching adds about 2.06 MB (14%) to the root test executable. These are workload-specific results, not guarantees; see the full measurements and limitations.

Release checks passed: full Go 1.26.0 suite without cgo, full Go 1.26.0 RE2/Wasm suite, and full Go 1.27.1 race suite. Native RE2/cgo linking was not tested locally because its separate library is not installed.

See CHANGELOG.md for the complete release summary and README.md for usage and build modes.

Changelog

Sourced from github.com/markusmobius/go-dateparser's changelog.

v1.4.3 - 2026-09-10

  • Require Go 1.26.0 (recommended toolchain 1.27.1) and refresh runtime, test, and code-generator dependencies.
  • Refresh README examples, public API documentation, and performance comparisons after the dependency update; clarify that generated matchers are enabled with or without cgo.
  • Catch up with Python dateparser v1.4.3, accounting for all 66 commits after v1.2.1 in https://github.com/markusmobius/go-dateparser/blob/main/UPSTREAM.md.
  • Refresh generated locale data to CLDR 44.1.0, retain older accepted vocabulary and locale codes, and support supplementary regional overrides including en-US.
  • Enable checked-in re2go-generated exact locale matchers by default, with no cgo requirement or build flags. Regenerate them alongside locale data and retain regex fallback behavior for malformed UTF-8.
  • Add ASCII fast paths for timezone candidate rejection and split-token classification, preserving timezone extraction and backend-specific Unicode and malformed-UTF-8 behavior.
  • Add the optional n-gram search strategy and time-span results, including configurable week starts and rolling month lengths.
  • Add opt-in parsing of dates surrounded by unknown edge text, preserving strict and required-parts checks.
  • Port signed relative offsets, Russian search and compound-number fixes, whitespace handling, explicit-language ISO dates, year-first/Japanese component fixes, and the upstream language additions.
  • Correct required-parts validation and ambiguous-year retries. Support ordinal-day custom layouts and preferred centuries for two-digit years.
  • Correct BST to UTC+01:00 and HDT to UTC-09:00 without changing other ambiguous timezone abbreviations.
  • Isolate shared normalization and search state for concurrent parsing and searching; add race regressions and a Linux multi-timezone CI matrix.
  • Preserve Go time layouts, period types, existing language ordering, and the optional end-of-month behavior. See the compatibility ledger for known differences and verification limitations.

2021-12-10

  • Implement locale data loader and its unit tests.

2021-12-07

  • Implement timezone parser and its unit tests.

2021-12-05

  • Implement script to generate Go code. At this point all Python script is ported.
  • Restructure directories layout.

2021-12-04

No commit today as well, back to home.

2021-12-03

No commit today, going to meet family.

2021-12-02

  • Implement script to generate locale data from supplementary data.

2021-12-01

  • Implement script to generate simplified locale data from CLDR data.

2021-11-30

  • Implement script for parsing CLDR gregorian data.
  • Implement script for parsing CLDR date fields data.

... (truncated)

Commits
  • ce55302 Release v1.4.3: sync Python dateparser and enable default fast paths
  • See full diff 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 [github.com/markusmobius/go-dateparser](https://github.com/markusmobius/go-dateparser) from 1.2.4 to 1.4.3.
- [Release notes](https://github.com/markusmobius/go-dateparser/releases)
- [Changelog](https://github.com/markusmobius/go-dateparser/blob/main/CHANGELOG.md)
- [Commits](markusmobius/go-dateparser@v1.2.4...v1.4.3)

---
updated-dependencies:
- dependency-name: github.com/markusmobius/go-dateparser
  dependency-version: 1.4.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Sep 15, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 22, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #100.

@dependabot dependabot Bot closed this Sep 22, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/markusmobius/go-dateparser-1.4.3 branch September 22, 2026 22:22
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants