From c550625503f6a3bc36e9464431bf3971f192d0e4 Mon Sep 17 00:00:00 2001 From: Waqas Shabir Date: Fri, 17 Jun 2016 01:46:49 +0500 Subject: [PATCH] Release 0.4.0 --- HISTORY.rst | 19 +++++++++++++++++++ README.rst | 4 ++-- dateparser/__init__.py | 2 +- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 6c1a3bd7f..6772ccc6b 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,25 @@ History ======= +0.4.0 (2016-06-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. + +Improvements: + +* 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. + + 0.3.5 (2016-04-27) ------------------ New features: diff --git a/README.rst b/README.rst index 8bf291224..21afd94ee 100644 --- a/README.rst +++ b/README.rst @@ -167,12 +167,12 @@ Dependencies `dateparser` relies on following libraries in some ways: * dateutil_'s module ``relativedelta`` for its freshness parser. - * PyYAML_ for reading language and configuration files. + * ruamel.yaml_ for reading language and configuration files. * jdatetime_ to convert *Jalali* dates to *Gregorian*. * umalqurra_ to convert *Hijri* dates to *Gregorian*. .. _dateutil: https://pypi.python.org/pypi/python-dateutil -.. _PyYAML: https://pypi.python.org/pypi/PyYAML +.. _ruamel.yaml: https://pypi.python.org/pypi/ruamel.yaml .. _jdatetime: https://pypi.python.org/pypi/jdatetime .. _umalqurra: https://pypi.python.org/pypi/umalqurra/ diff --git a/dateparser/__init__.py b/dateparser/__init__.py index 08bee431e..0a75e9405 100644 --- a/dateparser/__init__.py +++ b/dateparser/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -__version__ = '0.3.5' +__version__ = '0.4.0' from .date import DateDataParser from .conf import apply_settings