Skip to content

Commit 610b1ed

Browse files
Merge pull request #788 from hugapi/develop
2.5.1 hotfix release
2 parents 241499d + 1f6491b commit 610b1ed

File tree

123 files changed

+3896
-2879
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+3896
-2879
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 2.5.0
2+
current_version = 2.5.1
33

44
[bumpversion:file:.env]
55

.env

Lines changed: 1 addition & 1 deletion
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.0"
14+
export PROJECT_VERSION="2.5.1"
1515

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

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ Ideally, within a virtual environment.
1212

1313
Changelog
1414
=========
15+
### 2.5.1 hotfix - May 9, 2019
16+
- Fixed issue #784 - POST requests broken on 2.5.0
17+
- Optimizations and simplification of async support, taking advantadge of Python3.4 deprecation.
18+
- Fix issue #785: Empty query params are not ignored on 2.5.0
19+
- Added support for modifying falcon API directly on startup
20+
- Initial `black` formatting of code base, in preperation for CI enforced code formatting
21+
1522
### 2.5.0 - May 4, 2019
1623
- Updated to latest Falcon: 2.0.0
1724
- Added support for Marshmallow 3

CODING_STANDARD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Coding Standard
22
=========
33
Any submission to this project should closely follow the [PEP 8](https://www.python.org/dev/peps/pep-0008/) coding guidelines with the exceptions:
44

5-
1. Lines can be up to 120 characters long.
5+
1. Lines can be up to 100 characters long.
66
2. Single letter or otherwise nondescript variable names are prohibited.
77

88
Standards for new hug modules

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Account Requirements:
1818

1919
Base System Requirements:
2020

21-
- Python3.3+
21+
- Python3.5+
2222
- Python3-venv (included with most Python3 installations but some Ubuntu systems require that it be installed separately)
2323
- bash or a bash compatible shell (should be auto-installed on Linux / Mac)
2424
- [autoenv](https://github.com/kennethreitz/autoenv) (optional)

benchmarks/http/bobo_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import bobo
22

33

4-
@bobo.query('/text', content_type='text/plain')
4+
@bobo.query("/text", content_type="text/plain")
55
def text():
6-
return 'Hello, world!'
6+
return "Hello, world!"
77

88

99
app = bobo.Application(bobo_resources=__name__)

benchmarks/http/bottle_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
app = bottle.Bottle()
44

55

6-
@app.route('/text')
6+
@app.route("/text")
77
def text():
8-
return 'Hello, world!'
8+
return "Hello, world!"

benchmarks/http/cherrypy_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33

44
class Root(object):
5-
65
@cherrypy.expose
76
def text(self):
8-
return 'Hello, world!'
7+
return "Hello, world!"
98

109

1110
app = cherrypy.tree.mount(Root())

benchmarks/http/falcon_test.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22

33

44
class Resource(object):
5-
65
def on_get(self, req, resp):
76
resp.status = falcon.HTTP_200
8-
resp.content_type = 'text/plain'
9-
resp.body = 'Hello, world!'
7+
resp.content_type = "text/plain"
8+
resp.body = "Hello, world!"
109

1110

1211
app = falcon.API()
13-
app.add_route('/text', Resource())
12+
app.add_route("/text", Resource())

benchmarks/http/flask_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
app = flask.Flask(__name__)
44

55

6-
@app.route('/text')
6+
@app.route("/text")
77
def text():
8-
return 'Hello, world!'
8+
return "Hello, world!"

0 commit comments

Comments
 (0)