Skip to content

Commit

Permalink
v0.2.0 — "action" keyword
Browse files Browse the repository at this point in the history
- `NormalizedDict`'s default normalizer (exposed as the `lower()` function) now passes non-strings through unchanged
- `HeaderParser` instances can now be compared for non-identity equality
- `HeaderParser.add_field()` and `HeaderParser.add_additional()` now take an optional `action` argument for customizing the parser's behavior when a field is encountered
- Made the `unfold()` function public
  • Loading branch information
jwodder committed Feb 15, 2018
1 parent b74dc59 commit 909bdf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
v0.2.0 (in development)
-----------------------
v0.2.0 (2018-02-14)
-------------------
- `NormalizedDict`'s default normalizer (exposed as the `lower()` function) now
passes non-strings through unchanged
- `HeaderParser` instances can now be compared for non-identity equality
Expand Down
2 changes: 1 addition & 1 deletion headerparser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from .scanner import scan_file, scan_lines, scan_string
from .types import BOOL, lower, unfold

__version__ = '0.2.0.dev1'
__version__ = '0.2.0'
__author__ = 'John Thorvald Wodder II'
__author_email__ = 'headerparser@varonathe.org'
__license__ = 'MIT'
Expand Down

0 comments on commit 909bdf5

Please sign in to comment.