Skip to content

Commit 3f51f0d

Browse files
Merge pull request #800 from hugapi/develop
2.5.4 hotfix release
2 parents 494efaf + 1f36f80 commit 3f51f0d

8 files changed

+13
-6
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 2.5.3
2+
current_version = 2.5.4
33

44
[bumpversion:file:.env]
55

.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fi
1111

1212
export PROJECT_NAME=$OPEN_PROJECT_NAME
1313
export PROJECT_DIR="$PWD"
14-
export PROJECT_VERSION="2.5.3"
14+
export PROJECT_VERSION="2.5.4"
1515

1616
if [ ! -d "venv" ]; then
1717
if ! hash pyvenv 2>/dev/null; then

ACKNOWLEDGEMENTS.md

+4
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ Code Contributors
5050
- Christopher Goes (@GhostOfGoes)
5151
- Stanislav (@atmo)
5252
- Lordran (@xzycn)
53+
- Stephan Fitzpatrick (@knowsuchagency)
54+
5355

5456
Documenters
5557
===================
@@ -81,6 +83,8 @@ Documenters
8183
- Chelsea Dole (@chelseadole)
8284
- Joshua Crowgey (@jcrowgey)
8385
- Antti Kaihola (@akaihola)
86+
- Simon Ince (@Simon-Ince)
87+
8488

8589
--------------------------------------------
8690

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ Ideally, within a virtual environment.
1111

1212
Changelog
1313
=========
14+
### 2.5.4 hotfix - May 19, 2019
15+
- Fix issue #798 - Development runner `TypeError` when executing cli
16+
1417
### 2.5.3 hotfix - May 15, 2019
1518
- Fixed issue #794 - Restore support for versions of Marshmallow pre-2.17.0
1619

documentation/TYPE_ANNOTATIONS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Here is a simple example of an API that does datetime addition.
9292

9393

9494
@hug.get('/dateadd', examples="value=1973-04-10&addend=63")
95-
def dateadd(value: fields.DateTime(),
95+
def dateadd(value: fields.Date(),
9696
addend: fields.Int(validate=Range(min=1))):
9797
"""Add a value to a date."""
9898
delta = dt.timedelta(days=addend)

hug/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
"""
2222
from __future__ import absolute_import
2323

24-
current = "2.5.3"
24+
current = "2.5.4"

hug/development_runner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def hug(
7777
sys.exit(1)
7878

7979
use_cli_router = slice(
80-
start=(sys.argv.index("-c") if "-c" in sys.argv else sys.argv.index("--command")) + 2
80+
sys.argv.index("-c") if "-c" in sys.argv else sys.argv.index("--command") + 2
8181
)
8282
sys.argv[1:] = sys.argv[use_cli_router]
8383
api.cli.commands[command]()

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def list_modules(dirname):
7878

7979
setup(
8080
name="hug",
81-
version="2.5.3",
81+
version="2.5.4",
8282
description="A Python framework that makes developing APIs "
8383
"as simple as possible, but no simpler.",
8484
long_description=long_description,

0 commit comments

Comments
 (0)