Repository navigation
Deprecate instead of remove - #1556
Merged
AdrianAtZyte merged 5 commits intoOct 30, 2026
Merged
Conversation
2 tasks done
Codecov Reportβ
All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1556 +/- ##
==========================================
+ Coverage 99.18% 99.19% +0.01%
==========================================
Files 239 239
Lines 4030 4098 +68
==========================================
+ Hits 3997 4065 +68
Misses 33 33 β View full report in Codecov by Harness. π New features to boost your workflow:
|
serhii73
approved these changes
Oct 30, 2026
serhii73
left a comment
Collaborator
There was a problem hiding this comment.
Approving. CI is green, and I ran the full suite with this PR and the other pending 1.5.0 changes together (25107 passed).
Two non-blocking gaps compared with 1.4.3, both on undocumented extension points, that you may want to close here or in a follow-up. I checked both against v1.4.3:
CalendarBase.get_date()now callsparser._parse_with_parts(). A parser class that only hasparse(source, settings) -> (date, period)raisesAttributeError; it works on 1.4.3.DateParser.parse()still unpacks the result ofparse_methodas(date, period, parts). Aparse_methodthat returns(date, period)raisesValueError: not enough values to unpack; it works on 1.4.3.
Neither affects the library's own code paths.
serhii73
added a commit
to AdrianAtZyte/dateparser
that referenced
this pull request
Nov 4, 2026
Bring the draft in line with master after "Deprecate instead of remove" (scrapinghub#1556): what it turned back into deprecations moves from "Breaking changes" to "Deprecations", and the removal of the public parse() return tuples is dropped because it no longer happens. Check every other entry against the code and 1.4.3: replace examples that behave the same on 1.4.3 or only under explicit languages with ones that show the change, add the caveats a user would trip over (the ngram strategy of the date_formats argument, the locales of the Levantine month names, the default PREFER_MONTH_OF_YEAR for quarters), drop the English label-and-colon example of scrapinghub#1496 because scrapinghub#1482 undid that change, and add the fixes that had no entry: the region argument (scrapinghub#1423), Russian numeric dates (scrapinghub#1554) and the IndexError of search_dates() for zh-Hans, zh-Hant and yue (scrapinghub#1401, scrapinghub#1407). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
serhii73
added a commit
that referenced
this pull request
Nov 4, 2026
* Add release notes for 1.5.0 * Update the 1.5.0 release notes Bring the draft in line with master after "Deprecate instead of remove" (#1556): what it turned back into deprecations moves from "Breaking changes" to "Deprecations", and the removal of the public parse() return tuples is dropped because it no longer happens. Check every other entry against the code and 1.4.3: replace examples that behave the same on 1.4.3 or only under explicit languages with ones that show the change, add the caveats a user would trip over (the ngram strategy of the date_formats argument, the locales of the Levantine month names, the default PREFER_MONTH_OF_YEAR for quarters), drop the English label-and-colon example of #1496 because #1482 undid that change, and add the fixes that had no entry: the region argument (#1423), Russian numeric dates (#1554) and the IndexError of search_dates() for zh-Hans, zh-Hant and yue (#1401, #1407). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Serhii A <24910277+serhii73@users.noreply.github.com> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.