| 1 |
.. :changelog: |
| 2 |
|
| 3 |
History |
| 4 |
======= |
| 5 |
|
| 6 |
1.4.3 (2026-09-03) |
| 7 |
------------------ |
| 8 |
|
| 9 |
Fixes: |
| 10 |
|
| 11 |
- Make parsing thread-safe: parsing from several threads no longer |
| 12 |
raises an intermittent ``KeyError`` from the shared language caches, |
| 13 |
and a ``DATE_ORDER`` or ``RELATIVE_BASE`` value meant for one parse no |
| 14 |
longer leaks into the settings that other parses read, where it could |
| 15 |
make them return a wrong date (#1346) |
| 16 |
- Do not share the language detector and the detected locale between |
| 17 |
``search_dates()`` calls, so concurrent searches over text in |
| 18 |
different languages no longer return ``None`` or a date read in the |
| 19 |
wrong locale (#1371) |
| 20 |
- Resolve the ``BST`` and ``HDT`` timezone abbreviations to the offsets |
| 21 |
the tz database gives them, UTC+1 (British Summer Time) and UTC-9 |
| 22 |
(Hawaii-Aleutian Daylight Time), instead of +11 and -9:30, which no |
| 23 |
zone goes by those names today; abbreviations that the tz database |
| 24 |
maps to more than one offset, such as ``CST`` and ``IST``, keep their |
| 25 |
current offset. Text carrying these abbreviations keeps its wall clock |
| 26 |
but moves by 10 hours for ``BST`` and 30 minutes for ``HDT``, which can |
| 27 |
put the parsed instant on a different day (#1366) |
| 28 |
- Reject a ``%j`` (day of year) value that the parsed year does not |
| 29 |
have, instead of rolling it over into the next year, so "1999366" with |
| 30 |
``date_formats=["%Y%j"]`` returns ``None`` rather than 2000-01-01. A |
| 31 |
format with no year directive is checked against the year ``strptime`` |
| 32 |
defaults to, 1900, which is not a leap year, so "366" with |
| 33 |
``date_formats=["%j"]`` now returns ``None`` where it used to return |
| 34 |
January 1 (#1370) |
| 35 |
|
| 36 |
Cleanups and internal improvements: |
| 37 |
|
| 38 |
- Add CodSpeed benchmarks and a workflow that runs them, so a |
| 39 |
performance regression such as the quadratic backtracking fixed in |
| 40 |
1.4.1 is reported on the pull request that introduces it (#1365) |
| 41 |
|
| 42 |
1.4.2 (2026-08-04) |
| 43 |
------------------ |
| 44 |
|
| 45 |
New features: |
| 46 |
|
| 47 |
- Add an ``IGNORE_SURROUNDING_TEXT`` setting that, when enabled, retries |
| 48 |
parsing after ignoring the leading and trailing words the language does |
| 49 |
not recognize, so a date wrapped in extra text such as "Published on |
| 50 |
16/04/2019" is parsed (#1356) |
| 51 |
- Add a ``strategy`` argument to ``search_dates()`` to choose the search |
| 52 |
strategy: the default ``"split"`` keeps the current behavior, while the |
| 53 |
new ``"ngram"`` strategy parses the longest sequences of tokens as dates |
| 54 |
for more predictable results on noisy text (#1351) |
| 55 |
|
| 56 |
Fixes: |
| 57 |
|
| 58 |
- Do not read a two-digit number as a year once a later component has been |
| 59 |
found in year-first date orders, so the day in Japanese dates such as |
| 60 |
"4月20日" is no longer consumed as the year (#1358) |
| 61 |
- Parse ISO 8601 dates (those starting with a four-digit year) in month-day |
| 62 |
order even when an explicit day-first language such as ``it`` or ``fr`` is |
| 63 |
given, without needing to set ``PREFER_LOCALE_DATE_ORDER`` to ``False`` |
| 64 |
(#1352) |
| 65 |
- Honor ``PREFER_DATES_FROM`` and ``RELATIVE_BASE`` when parsing with custom |
| 66 |
``date_formats`` that use a two-digit year (``%y``) (#1342) |
| 67 |
- Honor the ``%j`` (day of year) directive in ``date_formats`` instead of |
| 68 |
overwriting the parsed month and day with the current date (#1345) |
| 69 |
|
| 70 |
Improvements: |
| 71 |
|
| 72 |
- Update the bundled CLDR locale data to 44.1.0, adding many newly |
| 73 |
recognized date forms across locales and a standalone hour/duration unit |
| 74 |
(e.g. Catalan "2 hores"), while keeping previously supported forms |
| 75 |
parseable (#1343) |
| 76 |
- Add the Italian expressions "un ora fa" and "un'ora fa", and skip "alle" |
| 77 |
so phrases like "oggi alle 11:00" parse (#1049) |
| 78 |
- Expand Czech date translations with month locative/dative forms (e.g. "v |
| 79 |
lednu 2023"), the July abbreviation "črv", and relative expressions such |
| 80 |
as "za týden", "za měsíc" and "za rok" (#1172) |
| 81 |
- Specify the README header content as RST rather than raw HTML (#1360) |
| 82 |
|
| 83 |
1.4.1 (2026-06-15) |
| 84 |
------------------ |
| 85 |
|
| 86 |
Breaking changes: |
| 87 |
|
| 88 |
- Remove fastText language detection support: the ``fasttext`` extra is |
| 89 |
dropped and ``detect_languages()`` now raises ``ImportError``. Migrate to |
| 90 |
the ``langdetect`` extra, which also unblocks ``numpy`` 2.x compatibility |
| 91 |
(#1315) |
| 92 |
|
| 93 |
Security fixes: |
| 94 |
|
| 95 |
- Make digit quantifiers possessive in the relative-date regexes to prevent |
| 96 |
quadratic backtracking (ReDoS) on long digit runs (#1335) |
| 97 |
|
| 98 |
New features: |
| 99 |
|
| 100 |
- Add the ``USE_GIVEN_LANGUAGE_ORDER`` setting to try ``languages`` and |
| 101 |
``locales`` in the order given rather than by frequency (#789) |
| 102 |
|
| 103 |
Fixes: |
| 104 |
|
| 105 |
- Preserve explicit signs on individual components when parsing relative |
| 106 |
dates that combine decades with years, such as "-1 decade +2 years" (#1330) |
| 107 |
- Fall back to other provided languages in ``search_dates`` when the |
| 108 |
detected language yields no dates (#1331) |
| 109 |
- Parse relative date expressions with spaces between the sign and number, |
| 110 |
such as "now - 2 hours" and "now + 1 day" (#1327) |
| 111 |
- Use the parser-relative ``now`` for the current month when filling in |
| 112 |
incomplete dates so the month and day stay consistent (#1332) |
| 113 |
- Fix Norwegian Bokmål (``nb``) parsing of relative date expressions such |
| 114 |
as "3 måneder siden" and "om 2 måneder" (#1334) |
| 115 |
- Parse abbreviated English month expressions such as "1mon ago" and |
| 116 |
"3mons ago" (#1329) |
| 117 |
- Preserve surrounding whitespace when removing skip tokens during |
| 118 |
translation to avoid spurious double spaces (#1324) |
| 119 |
|
| 120 |
Improvements: |
| 121 |
|
| 122 |
- Move project metadata and build configuration to ``pyproject.toml`` (#1311) |
| 123 |
- Add alternative Korean date expressions for today, yesterday, tomorrow, |
| 124 |
and "N months ago/later" (#1289) |
| 125 |
- Expand Czech date translations with additional inflections, word numbers, |
| 126 |
decade and century expressions, and clock phrases like "čtvrt na tři" |
| 127 |
(#1325) |
| 128 |
- Replace internal ``OrderedDict`` usage with the built-in ``dict`` (#1328) |
| 129 |
|
| 130 |
1.4.0 (2026-03-26) |
| 131 |
------------------ |
| 132 |
|
| 133 |
Security fixes: |
| 134 |
|
| 135 |
- Remove import-time loading of timezone offset data from pickle to prevent |
| 136 |
unsafe deserialization from packaged data |
| 137 |
- Replace ``eval()`` use when parsing ``no_word_spacing`` with strict boolean |
| 138 |
parsing to prevent code execution from locale metadata (#1056) |
| 139 |
|
| 140 |
New features: |
| 141 |
|
| 142 |
- Add support for expressions like "N {interval} from now" in English (#1271) |
| 143 |
- Add support for the ``en-US`` locale (#1222) |
| 144 |
|
| 145 |
Fixes: |
| 146 |
|
| 147 |
- Honor ``REQUIRE_PARTS`` for ambiguous month-number inputs by retrying with a |
| 148 |
year-biased ``DATE_ORDER`` (#1298) |
| 149 |
- Fix parsing word-number relative phrases such as "two days later" (#1316) |
| 150 |
- Allow md5hash to work in FIPS environments (#1267) |
| 151 |
|
| 152 |
Improvements: |
| 153 |
|
| 154 |
- Add Bosnian Cyrillic (ijekavica) date translations (#1293) |
| 155 |
- Add a new browser-based demo to the project documentation (#1306) |
| 156 |
- Update installation documentation to replace ``setup.py install`` guidance |
| 157 |
(#1310) |
| 158 |
- Add a project security policy (#1318) |
| 159 |
|
| 160 |
1.3.0 (2026-02-04) |
| 161 |
------------------ |
| 162 |
|
| 163 |
Dropped Python 3.9 support. (#1296) |
| 164 |
|
| 165 |
New features: |
| 166 |
|
| 167 |
- ``search_dates()`` can now detect time spans from expressions like “past |
| 168 |
month”, “last week”, etc. For details, see the “Time Span Detection” section |
| 169 |
and the ``RETURN_TIME_SPAN``, ``DEFAULT_START_OF_WEEK`` and |
| 170 |
``DEFAULT_DAYS_IN_MONTH`` settings in the documentation. (#1284) |
| 171 |
|
| 172 |
Fixes: |
| 173 |
|
| 174 |
- Assume the current year if not specified (#1288) |
| 175 |
- Support expressions like “yesterday +1h” (#1303) |
| 176 |
- English: Support most 2-letter day-of-the-week names (#1214) |
| 177 |
- English: Support “in N weeks' time” (#1283) |
| 178 |
- Finnish: Support dates with “klo” (#1301) |
| 179 |
- Russian: Support compound ordinals (#1280) |
| 180 |
|
| 181 |
Cleanups and internal improvements: |
| 182 |
|
| 183 |
- Fixed year expectation issues in tests. (#1294) |
| 184 |
|
| 185 |
1.2.2 (2025-06-26) |
| 186 |
------------------ |
| 187 |
|
| 188 |
Fixes: |
| 189 |
|
| 190 |
- Handle the Russian preposition “с” (#1261) |
| 191 |
- Fix weekday search (#1274) |
| 192 |
|
| 193 |
Improvements: |
| 194 |
|
| 195 |
- Add Python 3.14 support (#1273) |
| 196 |
- Cache timezone offsets to improve import time (#1250) |
| 197 |
|
| 198 |
1.2.1 (2025-02-05) |
| 199 |
------------------ |
| 200 |
|
| 201 |
Fixes: |
| 202 |
|
| 203 |
- Fix PytzUsageWarning (#1109) |
| 204 |
- Fix date_parser with prefer_month_of_year wrong results (#1224) |
| 205 |
- Fix skipped day when UTC and tz are different days (#1183) |
| 206 |
|
| 207 |
Improvements: |
| 208 |
|
| 209 |
- Avoid repeated loop over timezones (#1238) |
| 210 |
- Proofread README.rst (#1234) |
| 211 |
- Check for derived types for configuration (#1223) |
| 212 |
- Parse some abbreviated strings as relative dates (#1219) |
| 213 |
- Migrate from hijri-converter to hijridate (#1211) |
| 214 |
- Fixed ClusterFuzz build error by adding dateparser.data as a binary (#1208) |
| 215 |
- Fix an issue detected by OSSFuzz (#1203) |
| 216 |
- Support two-digit years in non-Gregorian calendars (#1187) |
| 217 |
- Refactored CI to run extras separately and test minimum versions of dependencies, replaced flake8 with ruff, fixed tests (#1248) |
| 218 |
- Set minimum versions for dependencies (#1248) |
| 219 |
- Limited ``numpy`` to 1.x when installing ``dateparser[fasttext]`` (#1248) |
| 220 |
|
| 221 |
|
| 222 |
1.2.0 (2023-11-17) |
| 223 |
------------------ |
| 224 |
|
| 225 |
New features: |
| 226 |
|
| 227 |
- New ``PREFER_MONTH_OF_YEAR`` setting (#1146) |
| 228 |
|
| 229 |
Fixes: |
| 230 |
|
| 231 |
- Absolute years in Russian are no longer being treated as a number of years in |
| 232 |
the past (#1129) |
| 233 |
|
| 234 |
Cleanups and internal improvements: |
| 235 |
|
| 236 |
- Removed the use of ``datetime.utcnow``, deprecated on Python 3.12 (#1179) |
| 237 |
- Applied Black formatting to the code base (#1158) |
| 238 |
- Initial integration with OSSFuzz (#1198) |
| 239 |
- Extended test cases (#1191) |
| 240 |
|
| 241 |
|
| 242 |
1.1.8 (2023-03-22) |
| 243 |
------------------ |
| 244 |
|
| 245 |
Improvements: |
| 246 |
|
| 247 |
- Improved date parsing for Chinese (#1148) |
| 248 |
- Improved date parsing for Czech (#1151) |
| 249 |
- Reorder language by popularity (#1152) |
| 250 |
- Fix leak of memory in cache (#1140) |
| 251 |
- Add support for "\d units later" (#1154) |
| 252 |
- Move modification in CLDR data to yaml (#1153) |
| 253 |
- Add support to use timezone via settings to get PREFER_DATES_FROM result (#1155) |
| 254 |
|
| 255 |
|
| 256 |
1.1.7 (2023-02-02) |
| 257 |
------------------ |
| 258 |
|
| 259 |
Improvements: |
| 260 |
|
| 261 |
- Add an “ago” synonym for Arabic (#1128) |
| 262 |
- Improved date parsing for Czech (#1131) |
| 263 |
- Improved date parsing for Indonesian (#1134) |
| 264 |
|
| 265 |
|
| 266 |
1.1.6 (2023-01-12) |
| 267 |
------------------ |
| 268 |
|
| 269 |
Improvements: |
| 270 |
|
| 271 |
- Fix the bug where Monday is parsed as a month (#1121) |
| 272 |
- Prevent ReDoS in Spanish sentence splitting regex (#1084) |
| 273 |
|
| 274 |
|
| 275 |
1.1.5 (2022-12-29) |
| 276 |
------------------ |
| 277 |
|
| 278 |
Improvements: |
| 279 |
|
| 280 |
- Parse short versions of day, month, and year (#1103) |
| 281 |
- Add a test for “in 1d” (#1104) |
| 282 |
- Update languages_info (#1107) |
| 283 |
- Add a workaround for zipimporter not having exec_module before Python 3.10 (#1069) |
| 284 |
- Stabilize tests at midnight (#1111) |
| 285 |
- Add a test case for French (#1110) |
| 286 |
|
| 287 |
Cleanups: |
| 288 |
|
| 289 |
- Remove the requirements-build file (#1113) |
| 290 |
|
| 291 |
|
| 292 |
1.1.4 (2022-11-21) |
| 293 |
------------------ |
| 294 |
|
| 295 |
Improvements: |
| 296 |
|
| 297 |
- Improved support for languages such as Slovak, Indonesian, Hindi, German and Japanese (#1064, #1094, #986, #1071, #1068) |
| 298 |
- Recursively create a model home (#996) |
| 299 |
- Replace regex sub with simple string replace (#1095) |
| 300 |
- Add Python 3.10, 3.11 support (#1096) |
| 301 |
- Drop support for Python 3.5, 3.6 versions (#1097) |
| 302 |
|
| 303 |
|
| 304 |
1.1.3 (2022-11-03) |
| 305 |
------------------ |
| 306 |
|
| 307 |
New features: |
| 308 |
|
| 309 |
- Add support for fractional units (#876) |
| 310 |
|
| 311 |
Improvements: |
| 312 |
|
| 313 |
- Fix the returned datetime skipping a day with time+timezone input and PREFER_DATES_FROM = 'future' (#1002) |
| 314 |
- Fix input translatation breaking keep_formatting (#720) |
| 315 |
- English: support "till date" (#1005) |
| 316 |
- English: support “after” and “before” in relative dates (#1008) |
| 317 |
|
| 318 |
Cleanups: |
| 319 |
|
| 320 |
- Reorganize internal data (#1090) |
| 321 |
- CI updates (#1088) |
| 322 |
|
| 323 |
|
| 324 |
1.1.2 (2022-10-20) |
| 325 |
------------------ |
| 326 |
|
| 327 |
Improvements: |
| 328 |
|
| 329 |
- Added support for negative timestamp (#1060) |
| 330 |
- Fixed PytzUsageWarning for Python versions >= 3.6 (#1062) |
| 331 |
- Added support for dates with dots and spaces (#1028) |
| 332 |
- Improved support for Ukrainian, Croatian and Russian (#1072, #1074, #1079, #1082, #1073, #1083) |
| 333 |
- Added support for parsing Unix timestamps consistently regardless of timezones (#954) |
| 334 |
- Improved tests (#1086) |
| 335 |
|
| 336 |
|
| 337 |
1.1.1 (2022-03-17) |
| 338 |
------------------ |
| 339 |
|
| 340 |
Improvements: |
| 341 |
|
| 342 |
- Fixed issue with regex library by pinning dependencies to an earlier version (< 2022.3.15, #1046). |
| 343 |
- Extended support for Russian language dates starting with lowercase (#999). |
| 344 |
- Allowed to use_given_order for languages too (#997). |
| 345 |
- Fixed link to settings section (#1018). |
| 346 |
- Defined UTF-8 encoding for Windows (#998). |
| 347 |
- Fixed directories creation error in CLI utils (#1022). |
| 348 |
|
| 349 |
|
| 350 |
1.1.0 (2021-10-04) |
| 351 |
------------------ |
| 352 |
|
| 353 |
New features: |
| 354 |
|
| 355 |
* Support language detection based on ``langdetect``, ``fastText``, or a |
| 356 |
custom implementation (see #932) |
| 357 |
* Add support for 'by <time>' (see #839) |
| 358 |
* Sort default language list by internet usage (see #805) |
| 359 |
|
| 360 |
Improvements: |
| 361 |
|
| 362 |
* Improved support of Chinese (#910), Czech (#977) |
| 363 |
* Improvements in ``search_dates`` (see #953) |
| 364 |
* Make order of previous locales deterministic (see #851) |
| 365 |
* Fix parsing with trailing space (see #841) |
| 366 |
* Consider ``RETURN_TIME_AS_PERIOD`` for timestamp times (see #922) |
| 367 |
* Exclude failing regex version (see #974) |
| 368 |
* Ongoing work multithreading support (see #881, #885) |
| 369 |
* Add demo URL (see #883) |
| 370 |
|
| 371 |
QA: |
| 372 |
|
| 373 |
* Migrate pipelines from Travis CI to Github Actions (see #859, #879, #884, |
| 374 |
#886, #911, #966) |
| 375 |
* Use versioned CLDR data (see #825) |
| 376 |
* Add a script to update table of supported languages and locales (see #601) |
| 377 |
* Sort 'skip' keys in yaml files (see #844) |
| 378 |
* Improve test coverage (see #827) |
| 379 |
* Code cleanup (see #888, #907, #951, #958, #957) |
| 380 |
|
| 381 |
|
| 382 |
1.0.0 (2020-10-29) |
| 383 |
------------------ |
| 384 |
|
| 385 |
Breaking changes: |
| 386 |
|
| 387 |
* Drop support for Python 2.7 and pypy (see #727, #744, #748, #749, #754, #755, #758, #761, #763, #764, #777 and #783) |
| 388 |
* Now ``DateDataParser.get_date_data()`` returns a ``DateData`` object instead of a ``dict`` (see #778). |
| 389 |
* From now wrong ``settings`` are not silenced and raise ``SettingValidationError`` (see #797) |
| 390 |
* Now ``dateparser.parse()`` is deterministic and doesn't try previous locales. Also, ``DateDataParser.get_date_data()`` doesn't try the previous locales by default (see #781) |
| 391 |
* Remove the ``'base-formats'`` parser (see #721) |
| 392 |
* Extract the ``'no-spaces-time'`` parser from the ``'absolute-time'`` parser and make it an optional parser (see #786) |
| 393 |
* Remove ``numeral_translation_data`` (see #782) |
| 394 |
* Remove the undocumented ``SKIP_TOKENS_PARSER`` and ``FUZZY`` settings (see #728, #794) |
| 395 |
* Remove support for using strings in ``date_formats`` (see #726) |
| 396 |
* The undocumented ``ExactLanguageSearch`` class has been moved to the private scope and some internal methods have changed (see #778) |
| 397 |
* Changes in ``dateparser.utils``: ``normalize_unicode()`` doesn't accept ``bytes`` as input and ``convert_to_unicode`` has been deprecated (see #749) |
| 398 |
|
| 399 |
New features: |
| 400 |
|
| 401 |
* Add Python 3.9 support (see #732, #823) |
| 402 |
* Detect hours separated with a period/dot (see #741) |
| 403 |
* Add support for "decade" (see #762) |
| 404 |
* Add support for the hijri calendar in Python ≥ 3.6 (see #718) |
| 405 |
|
| 406 |
Improvements: |
| 407 |
|
| 408 |
* New logo! (see #719) |
| 409 |
* Improve the README and docs (see #779, #722) |
| 410 |
* Fix the "calendars" extra (see #740) |
| 411 |
* Fix leap years when ``PREFER_DATES_FROM`` is set (see #738) |
| 412 |
* Fix ``STRICT_PARSING`` setting in ``no-spaces-time`` parser (see #715) |
| 413 |
* Consider ``RETURN_AS_TIME_PERIOD`` setting for ``relative-time`` parser (see #807) |
| 414 |
* Parse the 24hr time format with meridian info (see #634) |
| 415 |
* Other small improvements (see #698, #709, #710, #712, #730, #731, #735, #739, #784, #788, #795 and #801) |
| 416 |
|
| 417 |
|
| 418 |
0.7.6 (2020-06-12) |
| 419 |
------------------ |
| 420 |
|
| 421 |
Improvements: |
| 422 |
|
| 423 |
* Rename ``scripts`` to ``dateparser_scripts`` to avoid name collisions with modules from other packages or projects (see #707) |
| 424 |
|
| 425 |
|
| 426 |
0.7.5 (2020-06-10) |
| 427 |
------------------ |
| 428 |
|
| 429 |
New features: |
| 430 |
|
| 431 |
* Add Python 3.8 support (see #664) |
| 432 |
* Implement a ``REQUIRE_PARTS`` setting (see #703) |
| 433 |
* Add support for subscript and superscript numbers (see #684) |
| 434 |
* Extended French support (see #672) |
| 435 |
* Extended German support (see #673) |
| 436 |
|
| 437 |
|
| 438 |
Improvements: |
| 439 |
|
| 440 |
* Migrate test suite to Pytest (see #662) |
| 441 |
* Add test to check the `yaml` and `json` files content (see #663 and #692) |
| 442 |
* Add flake8 pipeline with pytest-flake8 (see #665) |
| 443 |
* Add partial support for 8-digit dates without separators (see #639) |
| 444 |
* Fix possible ``OverflowError`` errors and explicitly avoid to raise ``ValueError`` when parsing relative dates (see #686) |
| 445 |
* Fix double-digit GMT and UTC parsing (see #632) |
| 446 |
* Fix bug when using ``DATE_ORDER`` (see #628) |
| 447 |
* Fix bug when parsing relative time with timezone (see #503) |
| 448 |
* Fix milliseconds parsing (see #572 and #661) |
| 449 |
* Fix wrong values to be interpreted as ``'future'`` in ``PREFER_DATES_FROM`` (see #629) |
| 450 |
* Other small improvements (see #667, #675, #511, #626, #512, #509, #696, #702 and #699) |
| 451 |
|
| 452 |
|
| 453 |
0.7.4 (2020-03-06) |
| 454 |
------------------ |
| 455 |
New features: |
| 456 |
|
| 457 |
* Extended Norwegian support (see #598) |
| 458 |
* Implement a ``PARSERS`` setting (see #603) |
| 459 |
|
| 460 |
Improvements: |
| 461 |
|
| 462 |
* Add support for ``PREFER_DATES_FROM`` in relative/freshness parser (see #414) |
| 463 |
* Add support for ``PREFER_DAY_OF_MONTH`` in base-formats parser (see #611) |
| 464 |
* Added UTC -00:00 as a valid offset (see #574) |
| 465 |
* Fix support for “one” (see #593) |
| 466 |
* Fix TypeError when parsing some invalid dates (see #536) |
| 467 |
* Fix tokenizer for non recognized characters (see #622) |
| 468 |
* Prevent installing regex 2019.02.19 (see #600) |
| 469 |
* Resolve DeprecationWarning related to raw string escape sequences (see #596) |
| 470 |
* Implement a tox environment to build the documentation (see #604) |
| 471 |
* Improve tests stability (see #591, #605) |
| 472 |
* Documentation improvements (see #510, #578, #619, #614, #620) |
| 473 |
* Performance improvements (see #570, #569, #625) |
| 474 |
|
| 475 |
|
| 476 |
0.7.3 (2020-03-06) |
| 477 |
------------------ |
| 478 |
* Broken version |
| 479 |
|
| 480 |
|
| 481 |
0.7.2 (2019-09-17) |
| 482 |
------------------ |
| 483 |
|
| 484 |
Features: |
| 485 |
|
| 486 |
* Extended Czech support |
| 487 |
* Added ``time`` to valid periods |
| 488 |
* Added timezone information to dates found with ``search_dates()`` |
| 489 |
* Support strings as date formats |
| 490 |
|
| 491 |
|
| 492 |
Improvements: |
| 493 |
|
| 494 |
* Fixed Collections ABCs depreciation warning |
| 495 |
* Fixed dates with trailing colons not being parsed |
| 496 |
* Fixed date format override on any settings change |
| 497 |
* Fixed parsing current weekday as past date, regardless of settings |
| 498 |
* Added UTC -2:30 as a valid offset |
| 499 |
* Added Python 3.7 to supported versions, dropped support for Python 3.3 and 3.4 |
| 500 |
* Moved to importlib from imp where possible |
| 501 |
* Improved support for Catalan |
| 502 |
* Documentation improvements |
| 503 |
|
| 504 |
|
| 505 |
0.7.1 (2019-02-12) |
| 506 |
------------------ |
| 507 |
|
| 508 |
Features/news: |
| 509 |
|
| 510 |
* Added detected language to return value of ``search_dates()`` |
| 511 |
* Performance improvements |
| 512 |
* Refreshed versions of dependencies |
| 513 |
|
| 514 |
Improvements: |
| 515 |
|
| 516 |
* Fixed unpickleable ``DateTime`` objects with timezones |
| 517 |
* Fixed regex pattern to avoid new behaviour of re.split in Python 3.7 |
| 518 |
* Fixed an exception thrown when parsing colons |
| 519 |
* Fixed tests failing on days with number greater than 30 |
| 520 |
* Fixed ``ZeroDivisionError`` exceptions |
| 521 |
|
| 522 |
|
| 523 |
|
| 524 |
0.7.0 (2018-02-08) |
| 525 |
------------------ |
| 526 |
|
| 527 |
Features added during Google Summer of Code 2017: |
| 528 |
|
| 529 |
* Harvesting language data from Unicode CLDR database (https://github.com/unicode-cldr/cldr-json), which includes over 200 locales (#321) - authored by Sarthak Maddan. |
| 530 |
See full currently supported locale list in README. |
| 531 |
* Extracting dates from longer strings of text (#324) - authored by Elena Zakharova. |
| 532 |
Special thanks for their awesome contributions! |
| 533 |
|
| 534 |
|
| 535 |
New features: |
| 536 |
|
| 537 |
* Added (independently from CLDR) Georgian (#308) and Swedish (#305) |
| 538 |
|
| 539 |
Improvements: |
| 540 |
|
| 541 |
* Improved support of Chinese (#359), Thai (#345), French (#301, #304), Russian (#302) |
| 542 |
* Removed ruamel.yaml from dependencies (#374). This should reduce the number of installation issues and improve performance as the result of moving away from YAML as basic data storage format. |
| 543 |
Note that YAML is still used as format for support language files. |
| 544 |
* Improved performance through using pre-compiling frequent regexes and lazy loading of data (#293, #294, #295, #315) |
| 545 |
* Extended tests (#316, #317, #318, #323) |
| 546 |
* Updated nose_parameterized to its current package, parameterized (#381) |
| 547 |
|
| 548 |
|
| 549 |
Planned for next release: |
| 550 |
|
| 551 |
* Full language and locale names |
| 552 |
* Performance and stability improvements |
| 553 |
* Documentation improvements |
| 554 |
|
| 555 |
|
| 556 |
0.6.0 (2017-03-13) |
| 557 |
------------------ |
| 558 |
|
| 559 |
New features: |
| 560 |
|
| 561 |
* Consistent parsing in terms of true python representation of date string. See #281 |
| 562 |
* Added support for Bangla, Bulgarian and Hindi languages. |
| 563 |
|
| 564 |
Improvements: |
| 565 |
|
| 566 |
* Major bug fixes related to parser and system's locale. See #277, #282 |
| 567 |
* Type check for timezone arguments in settings. see #267 |
| 568 |
* Pinned dependencies' versions in requirements. See #265 |
| 569 |
* Improved support for cn, es, dutch languages. See #274, #272, #285 |
| 570 |
|
| 571 |
Packaging: |
| 572 |
|
| 573 |
* Make calendars extras to be used at the time of installation if need to use calendars feature. |
| 574 |
|
| 575 |
|
| 576 |
0.5.1 (2016-12-18) |
| 577 |
------------------ |
| 578 |
|
| 579 |
New features: |
| 580 |
|
| 581 |
* Added support for Hebrew |
| 582 |
|
| 583 |
Improvements: |
| 584 |
|
| 585 |
* Safer loading of YAML. See #251 |
| 586 |
* Better timezone parsing for freshness dates. See #256 |
| 587 |
* Pinned dependencies' versions in requirements. See #265 |
| 588 |
* Improved support for zh, fi languages. See #249, #250, #248, #244 |
| 589 |
|
| 590 |
|
| 591 |
0.5.0 (2016-09-26) |
| 592 |
------------------ |
| 593 |
|
| 594 |
New features: |
| 595 |
|
| 596 |
* ``DateDataParser`` now also returns detected language in the result dictionary. |
| 597 |
* Explicit and lucid timezone conversion for a given datestring using ``TIMEZONE``, ``TO_TIMEZONE`` settings. |
| 598 |
* Added Hungarian language. |
| 599 |
* Added setting, ``STRICT_PARSING`` to ignore incomplete dates. |
| 600 |
|
| 601 |
Improvements: |
| 602 |
|
| 603 |
* Fixed quite a few parser bugs reported in issues #219, #222, #207, #224. |
| 604 |
* Improved support for chinese language. |
| 605 |
* Consistent interface for both Jalali and Hijri parsers. |
| 606 |
|
| 607 |
|
| 608 |
0.4.0 (2016-06-17) |
| 609 |
------------------ |
| 610 |
|
| 611 |
New features: |
| 612 |
|
| 613 |
* Support for Language based date order preference while parsing ambiguous dates. |
| 614 |
* Support for parsing dates with no spaces in between components. |
| 615 |
* Support for custom date order preference using ``settings``. |
| 616 |
* Support for parsing generic relative dates in future.e.g. "tomorrow", "in two weeks", etc. |
| 617 |
* Added ``RELATIVE_BASE`` settings to set date context to any datetime in past or future. |
| 618 |
* Replaced ``dateutil.parser.parse`` with dateparser's own parser. |
| 619 |
|
| 620 |
Improvements: |
| 621 |
|
| 622 |
* Added simplifications for "12 noon" and "12 midnight". |
| 623 |
* Fixed several bugs |
| 624 |
* Replaced PyYAML library by its active fork `ruamel.yaml` which also fixed the issues with installation on windows using python35. |
| 625 |
* More predictable ``date_formats`` handling. |
| 626 |
|
| 627 |
|
| 628 |
0.3.5 (2016-04-27) |
| 629 |
------------------ |
| 630 |
|
| 631 |
New features: |
| 632 |
|
| 633 |
* Danish language support. |
| 634 |
* Japanese language support. |
| 635 |
* Support for parsing date strings with accents. |
| 636 |
|
| 637 |
Improvements: |
| 638 |
|
| 639 |
* Transformed languages.yaml into base file and separate files for each language. |
| 640 |
* Fixed vietnamese language simplifications. |
| 641 |
* No more version restrictions for python-dateutil. |
| 642 |
* Timezone parsing improvements. |
| 643 |
* Fixed test environments. |
| 644 |
* Cleaned language codes. Now we strictly follow codes as in ISO 639-1. |
| 645 |
* Improved chinese dates parsing. |
| 646 |
|
| 647 |
|
| 648 |
0.3.4 (2016-03-03) |
| 649 |
------------------ |
| 650 |
|
| 651 |
Improvements: |
| 652 |
|
| 653 |
* Fixed broken version 0.3.3 by excluding latest python-dateutil version. |
| 654 |
|
| 655 |
0.3.3 (2016-02-29) |
| 656 |
------------------ |
| 657 |
|
| 658 |
New features: |
| 659 |
|
| 660 |
* Finnish language support. |
| 661 |
|
| 662 |
Improvements: |
| 663 |
|
| 664 |
* Faster parsing with switching to regex module. |
| 665 |
* ``RETURN_AS_TIMEZONE_AWARE`` setting to return tz aware date object. |
| 666 |
* Fixed conflicts with month/weekday names similarity across languages. |
| 667 |
|
| 668 |
0.3.2 (2016-01-25) |
| 669 |
------------------ |
| 670 |
|
| 671 |
New features: |
| 672 |
|
| 673 |
* Added Hijri Calendar support. |
| 674 |
* Added settings for better control over parsing dates. |
| 675 |
* Support to convert parsed time to the given timezone for both complete and relative dates. |
| 676 |
|
| 677 |
Improvements: |
| 678 |
|
| 679 |
* Fixed problem with caching :func:`datetime.now` in :class:`FreshnessDateDataParser`. |
| 680 |
* Added month names and week day names abbreviations to several languages. |
| 681 |
* More simplifications for Russian and Ukrainian languages. |
| 682 |
* Fixed problem with parsing time component of date strings with several kinds of apostrophes. |
| 683 |
|
| 684 |
|
| 685 |
0.3.1 (2015-10-28) |
| 686 |
------------------ |
| 687 |
|
| 688 |
New features: |
| 689 |
|
| 690 |
* Support for Jalali Calendar. |
| 691 |
* Belarusian language support. |
| 692 |
* Indonesian language support. |
| 693 |
|
| 694 |
|
| 695 |
Improvements: |
| 696 |
|
| 697 |
* Extended support for Russian and Polish. |
| 698 |
* Fixed bug with time zone recognition. |
| 699 |
* Fixed bug with incorrect translation of "second" for Portuguese. |
| 700 |
|
| 701 |
|
| 702 |
0.3.0 (2015-07-29) |
| 703 |
------------------ |
| 704 |
|
| 705 |
New features: |
| 706 |
|
| 707 |
* Compatibility with Python 3 and PyPy. |
| 708 |
|
| 709 |
Improvements: |
| 710 |
|
| 711 |
* `languages.yaml` data cleaned up to make it human-readable. |
| 712 |
* Improved Spanish date parsing. |
| 713 |
|
| 714 |
|
| 715 |
0.2.1 (2015-07-13) |
| 716 |
------------------ |
| 717 |
|
| 718 |
* Support for generic parsing of dates with UTC offset. |
| 719 |
* Support for Tagalog/Filipino dates. |
| 720 |
* Improved support for French and Spanish dates. |
| 721 |
|
| 722 |
|
| 723 |
0.2.0 (2015-06-17) |
| 724 |
------------------ |
| 725 |
|
| 726 |
* Easy to use ``parse`` function |
| 727 |
* Languages definitions using YAML. |
| 728 |
* Using translation based approach for parsing non-english languages. Previously, :mod:`dateutil.parserinfo` was used for language definitions. |
| 729 |
* Better period extraction. |
| 730 |
* Improved tests. |
| 731 |
* Added a number of new simplifications for more comprehensive generic parsing. |
| 732 |
* Improved validation for dates. |
| 733 |
* Support for Polish, Thai and Arabic dates. |
| 734 |
* Support for :mod:`pytz` timezones. |
| 735 |
* Fixed building and packaging issues. |
| 736 |
|
| 737 |
|
| 738 |
0.1.0 (2014-11-24) |
| 739 |
------------------ |
| 740 |
|
| 741 |
* First release on PyPI. |