From e27e4952ca8c4f055f28eacf322cce2fe4fe2ebe Mon Sep 17 00:00:00 2001 From: marc Date: Thu, 4 Jun 2020 12:43:35 +0200 Subject: [PATCH] Release 0.7.5 --- AUTHORS.rst | 98 +++++------------------------------------- HISTORY.rst | 93 ++++++++++++++++++++++++--------------- dateparser/__init__.py | 2 +- 3 files changed, 70 insertions(+), 123 deletions(-) diff --git a/AUTHORS.rst b/AUTHORS.rst index baa5f9894..1d671cb10 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -2,92 +2,16 @@ Credits ======= +Currently, more than 100 committers have contributed to this project, making this +contributors list really hard to maintain, so we have decided to stop updating +this list. -Committers ----------- +To see the people behind this code, you can run ``git shortlog -s -n`` or visit the +contributions section in Github: https://github.com/scrapinghub/dateparser/graphs/contributors -* Adam LeVasseur -* Adrián Chaves -* Ahmad Musaffa -* Alec Koumjian -* Alexis Svinartchouk -* Ammar Azif -* Anarcat -* Anderson Berg -* Andrés Portillo -* Andrey Rahmatullin -* Andrey Zhelnin -* Artur Sadurski -* Artur Gaspar -* atchoum31 -* Atul Krishna -* Benjamin Bach -* Bruno Alla -* Cesar Flores -* CJStuart -* Claudio Salazar -* conanca -* David Beitey -* Dawid Wolski -* demelziraptor -* Derek Schmidt -* Dongkuo Ma -* Edwin Zhang -* Elena Zakharova -* Elias Dorneles -* Eugene Amirov -* Faisal Anees -* Fernando Tricas García -* Georgi Valkov -* Håkan W -* Hristo Vrigazov -* Hugo van Kemenade -* ishirav -* Ismael Carnales -* James M. Allen -* Ján Jančár -* Jan Rygl -* Jakub Kukul -* Jolo Balbin -* Joseph Kahn -* Kamil Nematli -* Kishan Mehta -* Konstantin Lopuhin -* Lucas Dutra Ferreira do Nascimento -* Marc Hernández -* Mark Baas -* Marko Horvatić -* Mateusz Golewski -* Mats Gustafsson -* Michael Palumbo -* Mike Shriver -* msopko81 -* nanolab -* Opp Lieamsiriwong -* Paul Tremberth -* Pengyu Chen -* phuslu -* Rajat Goyal -* Raul Gallegos -* Renne Rocha -* Robert Schütz -* Roman -* Sakari Vaelma -* samoylovfp -* Sarthak Madaan -* Shuai Lin -* Sigit Dewanto -* Sinan Nalkaya -* Sviatoslav Sydorenko -* Taito Horiuchi -* Takahiro Kamatani -* Thomas Steinacher -* Timothy Allen -* tkisme -* Tom Russell -* Umair Ashraf -* Ville Skyttä -* Waqas Shabir -* Watchful1 -* Xavier Barbosa -* Yongwen Zhuang +We really appreciate **all the people that has contributed to this project with their +time and ideas**. Special mention to **Waqas Shabir** (waqasshabbir), **Eugene Amirov** +(Allactaga) and **Artur Sadurski** (asadurski) for creating and maintaining this awesome +project. + +To all of you... thank you for building and improving this! diff --git a/HISTORY.rst b/HISTORY.rst index 7e402efad..0eee34573 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,37 +3,60 @@ History ======= -0.7.4 (2020-03-06) + +0.7.5 (2020-06-10) ------------------ +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: -* Fixed Python 2.7 tests +* 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.3 (2020-03-06) +0.7.4 (2020-03-06) ------------------ - New features: -* Extended Norwegian support (see https://github.com/scrapinghub/dateparser/pull/598) -* Implement a PARSERS setting (see https://github.com/scrapinghub/dateparser/pull/603) - +* Extended Norwegian support (see #598) +* Implement a ``PARSERS`` setting (see #603) Improvements: -* Add support for `PREFER_DATES_FROM` in relative/freshness parser (https://github.com/scrapinghub/dateparser/pull/414) -* Add support for `PREFER_DAY_OF_MONTH` in base-formats parser (see https://github.com/scrapinghub/dateparser/pull/611) -* Added UTC -00:00 as a valid offset (see https://github.com/scrapinghub/dateparser/pull/574) -* Fix support for “one” (see https://github.com/scrapinghub/dateparser/pull/593) -* Fix TypeError when parsing some invalid dates (see https://github.com/scrapinghub/dateparser/pull/536) -* Fix tokenizer for non recognized characters (see https://github.com/scrapinghub/dateparser/pull/622) -* Prevent installing regex 2019.02.19 (https://github.com/scrapinghub/dateparser/pull/600) -* Resolve DeprecationWarning related to raw string escape sequences (see https://github.com/scrapinghub/dateparser/pull/596) -* Implement a tox environment to build the documentation (https://github.com/scrapinghub/dateparser/pull/604) -* Improve tests stability (see https://github.com/scrapinghub/dateparser/pull/591, https://github.com/scrapinghub/dateparser/pull/605) -* Documentation improvements (see https://github.com/scrapinghub/dateparser/pull/510, https://github.com/scrapinghub/dateparser/pull/578, https://github.com/scrapinghub/dateparser/pull/619, https://github.com/scrapinghub/dateparser/pull/614, https://github.com/scrapinghub/dateparser/pull/620) -* Performance improvements (see https://github.com/scrapinghub/dateparser/pull/570, https://github.com/scrapinghub/dateparser/pull/569, https://github.com/scrapinghub/dateparser/pull/625) +* 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 (2020-03-06) +------------------ +* Broken version 0.7.2 (2019-09-17) @@ -42,8 +65,8 @@ Improvements: Features: * Extended Czech support -* Added `time` to valid periods -* Added timezone information to dates found with `search_dates()` +* Added ``time`` to valid periods +* Added timezone information to dates found with ``search_dates()`` * Support strings as date formats @@ -65,17 +88,17 @@ Improvements: Features/news: -* Added detected language to return value of `search_dates()` +* Added detected language to return value of ``search_dates()`` * Performance improvements * Refreshed versions of dependencies Improvements: -* Fixed unpickleable `DateTime` objects with timezones +* 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 +* Fixed ``ZeroDivisionError`` exceptions @@ -151,10 +174,10 @@ Improvements: New features: -* `DateDataParser` now also returns detected language in the result dictionary. -* Explicit and lucid timezone conversion for a given datestring using `TIMEZONE`, `TO_TIMEZONE` settings. +* ``DateDataParser`` now also returns detected language in the result dictionary. +* Explicit and lucid timezone conversion for a given datestring using ``TIMEZONE``, ``TO_TIMEZONE`` settings. * Added Hungarian language. -* Added setting, `STRICT_PARSING` to ignore incomplete dates. +* Added setting, ``STRICT_PARSING`` to ignore incomplete dates. Improvements: @@ -170,17 +193,17 @@ New features: * Support for Language based date order preference while parsing ambiguous dates. * Support for parsing dates with no spaces in between components. -* Support for custom date order preference using `settings`. -* Support for parsing generic relative dates in future.e.g. `tomorrow`, `in two weeks`, etc. -* Added `RELATIVE_BASE` settings to set date context to any datetime in past or future. -* Replaced dateutil.parser.parse with dateparser's own parser. +* Support for custom date order preference using ``settings``. +* Support for parsing generic relative dates in future.e.g. "tomorrow", "in two weeks", etc. +* Added ``RELATIVE_BASE`` settings to set date context to any datetime in past or future. +* Replaced ``dateutil.parser.parse`` with dateparser's own parser. Improvements: -* Added simplifications for `12 noon` and `12 midnight`. +* Added simplifications for "12 noon" and "12 midnight". * Fixed several bugs * Replaced PyYAML library by its active fork `ruamel.yaml` which also fixed the issues with installation on windows using python35. -* More predictable `date_formats` handling. +* More predictable ``date_formats`` handling. 0.3.5 (2016-04-27) @@ -220,7 +243,7 @@ New features: Improvements: * Faster parsing with switching to regex module. -* `RETURN_AS_TIMEZONE_AWARE` setting to return tz aware date object. +* ``RETURN_AS_TIMEZONE_AWARE`` setting to return tz aware date object. * Fixed conflicts with month/weekday names similarity across languages. 0.3.2 (2016-01-25) @@ -281,7 +304,7 @@ Improvements: 0.2.0 (2015-06-17) ------------------ -* Easy to use `parse` function +* Easy to use ``parse`` function * Languages definitions using YAML. * Using translation based approach for parsing non-english languages. Previously, :mod:`dateutil.parserinfo` was used for language definitions. * Better period extraction. diff --git a/dateparser/__init__.py b/dateparser/__init__.py index 49aba8b29..442f5a6a8 100644 --- a/dateparser/__init__.py +++ b/dateparser/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -__version__ = '0.7.4' +__version__ = '0.7.5' from .date import DateDataParser from .conf import apply_settings