1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-24 08:22:22 +02:00
This commit is contained in:
Jakub Roztocil 2016-08-13 22:51:42 +02:00
parent 6d65668355
commit 487c7a9221
4 changed files with 20 additions and 5 deletions

View File

@ -9,12 +9,17 @@ This project adheres to `Semantic Versioning <http://semver.org/>`_.
`1.0.0-dev`_ (Unreleased) `1.0.0-dev`_ (Unreleased)
------------------------- -------------------------
`0.9.5`_ (2016-08-13)
---------------------
* Added Python 3 as a dependency for Homebrew installations * Added Python 3 as a dependency for Homebrew installations
to ensure some of the newer HTTP features work out of the box to ensure some of the newer HTTP features work out of the box
for macOS users (starting with HTTPie 0.9.4.). for macOS users (starting with HTTPie 0.9.4.).
* Added the ability to unset a request header with ``Header:``, and send an * Added the ability to unset a request header with ``Header:``, and send an
empty value with ``Header;``. empty value with ``Header;``.
* Added ``--default-scheme <URL_SCHEME>``. * Added ``--default-scheme <URL_SCHEME>`` to enable things like
``$ alias https='http --default-scheme=https``.
* Added ``-I`` as a shortcut for ``--ignore-stdin``. * Added ``-I`` as a shortcut for ``--ignore-stdin``.
* Added fish shell completion (located in ``extras/httpie-completion.fish`` * Added fish shell completion (located in ``extras/httpie-completion.fish``
in the Github repo). in the Github repo).
@ -22,6 +27,8 @@ This project adheres to `Semantic Versioning <http://semver.org/>`_.
``pip install requests[socks]``. ``pip install requests[socks]``.
* Changed the default JSON ``Accept`` header from ``application/json`` * Changed the default JSON ``Accept`` header from ``application/json``
to ``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) `0.9.4`_ (2016-07-01)
@ -303,4 +310,5 @@ This project adheres to `Semantic Versioning <http://semver.org/>`_.
.. _0.9.2: https://github.com/jkbrzt/httpie/compare/0.9.1...0.9.2 .. _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.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.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 .. _1.0.0-dev: https://github.com/jkbrzt/httpie/compare/0.9.4...master

View File

@ -57,10 +57,12 @@ test-bdist-wheel: clean uninstall-httpie
test-all: uninstall-all clean init test test-tox test-dist 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 $(TAG)Testing wheel build an installation$(END)
@echo "$(VERSION)" @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 register
python setup.py sdist upload python setup.py sdist upload
python setup.py bdist_wheel upload python setup.py bdist_wheel upload
@ -92,3 +94,7 @@ uninstall-all: uninstall-httpie
@echo $(TAG)Uninstalling development requirements$(END) @echo $(TAG)Uninstalling development requirements$(END)
- pip uninstall --yes -r $(REQUIREMENTS) - pip uninstall --yes -r $(REQUIREMENTS)
homebrew-formula-vars:
extras/get-homebrew-formula-variables.py

View File

@ -3,7 +3,7 @@ HTTPie - a CLI, cURL-like tool for humans.
""" """
__author__ = 'Jakub Roztocil' __author__ = 'Jakub Roztocil'
__version__ = '1.0.0-dev' __version__ = '0.9.5'
__licence__ = 'BSD' __licence__ = 'BSD'

View File

@ -35,10 +35,11 @@ tests_require = [
install_requires = [ install_requires = [
'requests>=2.10.0', 'requests>=2.11.0',
'Pygments>=1.5' 'Pygments>=1.5'
] ]
# Conditional dependencies: # Conditional dependencies:
# sdist # sdist