From 36a20613fb313c3cbfd3ab4ef66d84c453df296f Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Sat, 28 Apr 2018 19:11:37 +0100 Subject: [PATCH] uprev, add links to contributors in history --- HISTORY.rst | 9 +++++---- docs/conf.py | 1 + pydantic/version.py | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 540af6d..f8b0b42 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,12 +3,13 @@ History ------- -v0.8.1 (2018-XX-XX) +v0.9.0 (2018-04-28) ................... * tweak email-validator import error message #145 -* fix parse error of parse_date() and parse_datetime() when input is 0 #144 -* add ``Config.anystr_strip_whitespace`` and ``strip_whitespace`` kwarg to ``constr``, by default values is `False` #163 -* add ``ConstrainedFloat``, ``confloat``, ``PositiveFloat`` and ``NegativeFloat`` types #166 +* fix parse error of ``parse_date()`` and ``parse_datetime()`` when input is 0 #144, thanks @YannLuo +* add ``Config.anystr_strip_whitespace`` and ``strip_whitespace`` kwarg to ``constr``, + by default values is ``False`` #163, thanks @Gr1N +* add ``ConstrainedFloat``, ``confloat``, ``PositiveFloat`` and ``NegativeFloat`` types #166, thanks @Gr1N v0.8.0 (2018-03-25) ................... diff --git a/docs/conf.py b/docs/conf.py index 57006f4..1dfccb5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -28,6 +28,7 @@ TMP_HISTORY_FILE = os.path.join(THIS_DIR, '.TMP_HISTORY.rst') with open(REAL_HISTORY_FILE) as f: history = f.read() history = re.sub('#(\d+)', r'`#\1 `_', history) + history = re.sub('(thanks(?: to)? *)@(\S+)', r'\1`@\2 `_', history, flags=re.I) with open(TMP_HISTORY_FILE, 'w') as f: f.write(history) diff --git a/pydantic/version.py b/pydantic/version.py index b4a817f..7335ce3 100644 --- a/pydantic/version.py +++ b/pydantic/version.py @@ -2,4 +2,4 @@ from distutils.version import StrictVersion __all__ = ['VERSION'] -VERSION = StrictVersion('0.8.1') +VERSION = StrictVersion('0.9.0')