diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2ba4d3b7..5ddb596f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,12 +9,17 @@ This project adheres to `Semantic Versioning `_. `1.0.0-dev`_ (Unreleased) ------------------------- + +`0.9.5`_ (2016-08-13) +--------------------- + * Added Python 3 as a dependency for Homebrew installations to ensure some of the newer HTTP features work out of the box for macOS users (starting with HTTPie 0.9.4.). * Added the ability to unset a request header with ``Header:``, and send an empty value with ``Header;``. -* Added ``--default-scheme ``. +* Added ``--default-scheme `` to enable things like + ``$ alias https='http --default-scheme=https``. * Added ``-I`` as a shortcut for ``--ignore-stdin``. * Added fish shell completion (located in ``extras/httpie-completion.fish`` in the Github repo). @@ -22,6 +27,8 @@ This project adheres to `Semantic Versioning `_. ``pip install requests[socks]``. * Changed the default JSON ``Accept`` header from ``application/json`` to ``application/json, */*``. +* Changed the pre-processing of request HTTP headers so that any leading + and trailing whitespace is removed. `0.9.4`_ (2016-07-01) @@ -303,4 +310,5 @@ This project adheres to `Semantic Versioning `_. .. _0.9.2: https://github.com/jkbrzt/httpie/compare/0.9.1...0.9.2 .. _0.9.3: https://github.com/jkbrzt/httpie/compare/0.9.2...0.9.3 .. _0.9.4: https://github.com/jkbrzt/httpie/compare/0.9.3...0.9.4 +.. _0.9.5: https://github.com/jkbrzt/httpie/compare/0.9.3...0.9.5 .. _1.0.0-dev: https://github.com/jkbrzt/httpie/compare/0.9.4...master diff --git a/Makefile b/Makefile index 89e0342e..80767349 100644 --- a/Makefile +++ b/Makefile @@ -57,10 +57,12 @@ test-bdist-wheel: clean uninstall-httpie test-all: uninstall-all clean init test test-tox test-dist -publish: test-all +publish: test-all publish-no-test + +publish-no-test: @echo $(TAG)Testing wheel build an installation$(END) @echo "$(VERSION)" - @echo "$(VERSION)" | grep -q "dev" && echo "!!!Not publishing dev version!!!" && exit 1 + @echo "$(VERSION)" | grep -q "dev" && echo '!!!Not publishing dev version!!!' && exit 1 || echo ok python setup.py register python setup.py sdist upload python setup.py bdist_wheel upload @@ -92,3 +94,7 @@ uninstall-all: uninstall-httpie @echo $(TAG)Uninstalling development requirements$(END) - pip uninstall --yes -r $(REQUIREMENTS) + + +homebrew-formula-vars: + extras/get-homebrew-formula-variables.py diff --git a/httpie/__init__.py b/httpie/__init__.py index 6c7fe03b..8a0a1543 100644 --- a/httpie/__init__.py +++ b/httpie/__init__.py @@ -3,7 +3,7 @@ HTTPie - a CLI, cURL-like tool for humans. """ __author__ = 'Jakub Roztocil' -__version__ = '1.0.0-dev' +__version__ = '0.9.5' __licence__ = 'BSD' diff --git a/setup.py b/setup.py index f4b56a33..a508d483 100644 --- a/setup.py +++ b/setup.py @@ -35,10 +35,11 @@ tests_require = [ install_requires = [ - 'requests>=2.10.0', + 'requests>=2.11.0', 'Pygments>=1.5' ] + # Conditional dependencies: # sdist