Skip to content

Commit

Permalink
v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasa committed Feb 2, 2016
1 parent 66eb54f commit 6ad29ac
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ In chronological order:

- Support for 'never indexed' header fields.
- Refactor of header table code.
- Add support for returning bytestring headers instead of UTF-8 decoded ones.

- Eugene Obukhov (@irvind)

Expand Down
13 changes: 10 additions & 3 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Release History
===============

dev
---
2.1.0 (2016-02-02)
------------------

**API Changes (Backward Incompatible)**
**API Changes (Backward Compatible)**

- Added new ``InvalidTableIndex`` exception, a subclass of
``HPACKDecodingError``.
Expand All @@ -14,6 +14,13 @@ dev
not UTF-8 encoded, HPACK now throws ``HPACKDecodingError``.
- Instead of throwing ``IndexError`` when encountering invalid table offsets,
HPACK now throws ``InvalidTableIndex``.
- Added ``raw`` flag to ``decode``, allowing ``decode`` to return bytes instead
of attempting to decode the headers as UTF-8.

**Bugfixes**

- ``memoryview`` objects are now used when decoding HPACK, improving the
performance by avoiding unnecessary data copies.

2.0.1 (2015-11-09)
------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
# built documents.
#
# The short X.Y version.
version = '2.0.1'
version = '2.1.0'
# The full version, including alpha/beta/rc tags.
release = '2.0.1'
release = '2.1.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 2 additions & 2 deletions hpack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
HTTP/2 header encoding for Python.
"""
from .hpack import Encoder, Decoder
from .exceptions import HPACKError, HPACKDecodingError
from .exceptions import HPACKError, HPACKDecodingError, InvalidTableIndex

__version__ = '2.0.1'
__version__ = '2.1.0'

0 comments on commit 6ad29ac

Please sign in to comment.