Skip to content

Commit 718095b

Browse files
committed
Bump version
1 parent 31c7eef commit 718095b

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ mostly a wrapper supposed to have a nice API)!
7474
Changelog
7575
---------
7676

77+
**v0.4.0**
78+
79+
- Compatible with Webtest > 2.0
80+
- hard-deprecate 'Set HTTP Host', will be removed soon.
81+
7782
**v0.3.4**
7883

7984
- Add support for python-json-pointer >= 0.6 (if you experienced

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name='robotframework-httplibrary',
15-
version="0.3.4",
15+
version="0.4.0",
1616
description='Robot Framework keywords for HTTP requests',
1717
long_description=long_description,
1818
author='Filip Noetzel',

src/HttpLibrary/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class HTTP:
3535
Pointer, go to http://tools.ietf.org/html/draft-pbryan-zyp-json-pointer-00.
3636
"""
3737

38-
ROBOT_LIBRARY_VERSION = "0.3.4"
38+
ROBOT_LIBRARY_VERSION = "0.4.0"
3939

4040
class Context(object):
4141
def __init__(self, http, host=None, scheme='http'):
@@ -154,7 +154,7 @@ def set_http_host(self, host):
154154
"""
155155
*DEPRECATED* Use `Create HTTP Context` instead.
156156
"""
157-
self.create_http_context(host)
157+
assert False, "Use the keyword 'Create HTTP Context' instead, this keyword is deprecated."
158158

159159
def create_http_context(self, host=None, scheme='http'):
160160
"""

0 commit comments

Comments
 (0)