Dateparser

Latest version: v1.2.0

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

0.7.5

Not secure
------------------

New features:

* Add Python 3.8 support (see 664)
* Implement a ``REQUIRE_PARTS`` setting (see 703)
* Add support for subscript and superscript numbers (see 684)
* Extended French support (see 672)
* Extended German support (see 673)


Improvements:

* Migrate test suite to Pytest (see 662)
* Add test to check the `yaml` and `json` files content (see 663 and 692)
* Add flake8 pipeline with pytest-flake8 (see 665)
* Add partial support for 8-digit dates without separators (see 639)
* Fix possible ``OverflowError`` errors and explicitly avoid to raise ``ValueError`` when parsing relative dates (see 686)
* Fix double-digit GMT and UTC parsing (see 632)
* Fix bug when using ``DATE_ORDER`` (see 628)
* Fix bug when parsing relative time with timezone (see 503)
* Fix milliseconds parsing (see 572 and 661)
* Fix wrong values to be interpreted as ``'future'`` in ``PREFER_DATES_FROM`` (see 629)
* Other small improvements (see 667, 675, 511, 626, 512, 509, 696, 702 and 699)

0.7.4

Not secure
------------------
New features:

* Extended Norwegian support (see 598)
* Implement a ``PARSERS`` setting (see 603)

Improvements:

* Add support for ``PREFER_DATES_FROM`` in relative/freshness parser (see 414)
* Add support for ``PREFER_DAY_OF_MONTH`` in base-formats parser (see 611)
* Added UTC -00:00 as a valid offset (see 574)
* Fix support for “one” (see 593)
* Fix TypeError when parsing some invalid dates (see 536)
* Fix tokenizer for non recognized characters (see 622)
* Prevent installing regex 2019.02.19 (see 600)
* Resolve DeprecationWarning related to raw string escape sequences (see 596)
* Implement a tox environment to build the documentation (see 604)
* Improve tests stability (see 591, 605)
* Documentation improvements (see 510, 578, 619, 614, 620)
* Performance improvements (see 570, 569, 625)

0.7.3

------------------
* Broken version

0.7.2

Not secure
------------------

Features:

* Extended Czech support
* Added ``time`` to valid periods
* Added timezone information to dates found with ``search_dates()``
* Support strings as date formats


Improvements:

* Fixed Collections ABCs depreciation warning
* Fixed dates with trailing colons not being parsed
* Fixed date format override on any settings change
* Fixed parsing current weekday as past date, regardless of settings
* Added UTC -2:30 as a valid offset
* Added Python 3.7 to supported versions, dropped support for Python 3.3 and 3.4
* Moved to importlib from imp where possible
* Improved support for Catalan
* Documentation improvements

0.7.1

Not secure
------------------

Features/news:

* Added detected language to return value of ``search_dates()``
* Performance improvements
* Refreshed versions of dependencies

Improvements:

* Fixed unpickleable ``DateTime`` objects with timezones
* Fixed regex pattern to avoid new behaviour of re.split in Python 3.7
* Fixed an exception thrown when parsing colons
* Fixed tests failing on days with number greater than 30
* Fixed ``ZeroDivisionError`` exceptions

0.7.0

Not secure
------------------

Features added during Google Summer of Code 2017:

* Harvesting language data from Unicode CLDR database (https://github.com/unicode-cldr/cldr-json), which includes over 200 locales (#321) - authored by Sarthak Maddan.
See full currently supported locale list in README.
* Extracting dates from longer strings of text (324) - authored by Elena Zakharova.
Special thanks for their awesome contributions!


New features:

* Added (independently from CLDR) Georgian (308) and Swedish (305)

Improvements:

* Improved support of Chinese (359), Thai (345), French (301, 304), Russian (302)
* 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.
Note that YAML is still used as format for support language files.
* Improved performance through using pre-compiling frequent regexes and lazy loading of data (293, 294, 295, 315)
* Extended tests (316, 317, 318, 323)
* Updated nose_parameterized to its current package, parameterized (381)


Planned for next release:

* Full language and locale names
* Performance and stability improvements
* Documentation improvements

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.