Skip to content

Commit

Permalink
Merge pull request #800 from hugapi/develop
Browse files Browse the repository at this point in the history
2.5.4 hotfix release
  • Loading branch information
timothycrosley authored May 20, 2019
2 parents 494efaf + 1f36f80 commit 3f51f0d
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.5.3
current_version = 2.5.4

[bumpversion:file:.env]

Expand Down
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fi

export PROJECT_NAME=$OPEN_PROJECT_NAME
export PROJECT_DIR="$PWD"
export PROJECT_VERSION="2.5.3"
export PROJECT_VERSION="2.5.4"

if [ ! -d "venv" ]; then
if ! hash pyvenv 2>/dev/null; then
Expand Down
4 changes: 4 additions & 0 deletions ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ Code Contributors
- Christopher Goes (@GhostOfGoes)
- Stanislav (@atmo)
- Lordran (@xzycn)
- Stephan Fitzpatrick (@knowsuchagency)


Documenters
===================
Expand Down Expand Up @@ -81,6 +83,8 @@ Documenters
- Chelsea Dole (@chelseadole)
- Joshua Crowgey (@jcrowgey)
- Antti Kaihola (@akaihola)
- Simon Ince (@Simon-Ince)


--------------------------------------------

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Ideally, within a virtual environment.

Changelog
=========
### 2.5.4 hotfix - May 19, 2019
- Fix issue #798 - Development runner `TypeError` when executing cli

### 2.5.3 hotfix - May 15, 2019
- Fixed issue #794 - Restore support for versions of Marshmallow pre-2.17.0

Expand Down
2 changes: 1 addition & 1 deletion documentation/TYPE_ANNOTATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Here is a simple example of an API that does datetime addition.


@hug.get('/dateadd', examples="value=1973-04-10&addend=63")
def dateadd(value: fields.DateTime(),
def dateadd(value: fields.Date(),
addend: fields.Int(validate=Range(min=1))):
"""Add a value to a date."""
delta = dt.timedelta(days=addend)
Expand Down
2 changes: 1 addition & 1 deletion hug/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
"""
from __future__ import absolute_import

current = "2.5.3"
current = "2.5.4"
2 changes: 1 addition & 1 deletion hug/development_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def hug(
sys.exit(1)

use_cli_router = slice(
start=(sys.argv.index("-c") if "-c" in sys.argv else sys.argv.index("--command")) + 2
sys.argv.index("-c") if "-c" in sys.argv else sys.argv.index("--command") + 2
)
sys.argv[1:] = sys.argv[use_cli_router]
api.cli.commands[command]()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def list_modules(dirname):

setup(
name="hug",
version="2.5.3",
version="2.5.4",
description="A Python framework that makes developing APIs "
"as simple as possible, but no simpler.",
long_description=long_description,
Expand Down

0 comments on commit 3f51f0d

Please sign in to comment.