All Versions
20
Latest Version
Avg Release Cycle
4 days
Latest Release
1223 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.2.3 Changes
May 28, 2020๐ Changes:
- ๐ Bugfix: The double-quote character wasn't handled correctly inside an attrs value.
- ๐ Bugfix: Cannot pass a BufferedReader (fp) to the parse_it function.
- ๐ Bugfix: Fix the unfolding inside header content.
-
v2.2.2 Changes
May 24, 2020๐ Changes: This is a bugfix release. (#36)
- ๐ Bugfix: gt and lt implemented but missing ge and le in Header.
- ๐ Bugfix: Attributes.remove() method would fail to remove properly if with_value is None and index is not provided.
- ๐ Bugfix: Support negative index in Attributes.insert() method.
- ๐ Bugfix: Delete an attribute no longer remove members that are named after the target key. #35
- ๐ Improvement: Docstring additions.
-
v2.2.1 Changes
May 21, 2020๐ This is a bugfix release. See PR #34
๐ Fix regression seen in 2.2.0 -
v2.2.0 Changes
May 20, 2020๐ Changes:
- ๐ Improvement: Implement insert() method on Headers class.
- ๐ Feature: Introducing the
Attributes
class in models. Attributes/members are now ordered by default. - ๐ Improvement: Add pop() and insert() methods on Header class.
- ๐ Bugfix: Unescape the double quote char in the cookie value when using SetCokies or Cookie classes.
- ๐ Improvement: Implement
valued_attrs
property on Header to extract a list of distinct attributes that have at least one value attached to them.
๐ The biggest improvement is that the Header class now acts ordered on its members and attributes/keys/values. See PR #32
๐ฆ The package will most likely go into feature freeze until 3.0-dev. The current focus will be around tests/docs and issues addressed. Enjoy ๐
Thank all present and future adopters.๐ Docs are going to be updated soon.
-
v2.1.2 Changes
May 14, 2020Changes:
- ๐ Bugfix: dir method in
Header
instance could contain entries with illegal characters. - ๐ Documentation: Major update available at kiss-headers.tech
- ๐ Bugfix: Allow set item value to contain comma-separated entries in
Headers
. - ๐ Bugfix: pop() method on
Headers
was discarding output_lock_type() toggle. - ๐ Feature: Introducing
index()
method onHeaders
class. Behave like list().index(). - ๐ Bugfix:
ContentDisposition
was rejecting perfectly valid non-ASCII filename. - ๐ Improvement: Add ready-to-use methods in
ContentDisposition
class. - ๐ Improvement: Creates py.typed file. #29
- Others: Docstring improvements.
- ๐ Bugfix: dir method in
-
v2.1.1 Changes
May 11, 2020๐ Changes :
- ๐ Bugfix: Disallow single colon in username when using BasicAuth.
- โ Add: Create
ContentSecurityPolicy
custom header in builder.py. - ๐ Improvement: Add ready-to-use methods in
Authorization
,BasicAuthorization
,AltSvc
,StrictTransportSecurity
,ContentSecurityPolicy
,WwwAuthenticate
andContentRange
. - ๐ Improvement: Adjust/Add get_qualifier() method when needed in builder.py.
-
v2.1.0 Changes
May 05, 2020๐ Changes :
- ๐ Feature : Polymorphism, transform a Header object to its corresponding subclass. #26
- ๐ Feature : Implement pop() and popitem() methods in Headers.
- ๐ Bugfix : Discard multiple entries detection if the header is 'Subject'.
- ๐ Bugfix : Acknowledge the folding LF + 1 space technique to unfold.
- โ Add : Cookie custom header class in builder.py.
- ๐ Bugfix : Fix how WwwAuthenticate custom header is built.
- ๐ Feature: Add unfolded_content property to Header class.
- Other : Provide scripts for developers. #24
-
v2.0.5 Changes
April 19, 2020- ๐ Feature : Retrieve comments in header content using newly created
comments
property on Header. - ๐ Feature : Parse headers that are UTF-8 encoded when using
parse_it()
function with bytes. - ๐ Feature : Attribute value in header are unfolded by default when retrieving it.
content
property is not altered. - Other : Minor code simplification in Header class. Remove redundant private member.
- ๐ Feature : Retrieve comments in header content using newly created
-
v2.0.4 Changes
April 17, 2020๐ Changes :
- ๐ Feature : Add method
has_many()
to verify if an header or attribute name has multiple entries associated. - ๐ Improvement : Allow class that inherit from
CustomHeader
to override their header name. - ๐ Feature : Add
BasicAuthorization
in the ready-to-use headers objects. - ๐ Bugfix : Implement bool method for
Headers
class to act like list() does.
- ๐ Feature : Add method
-
v2.0.3 Changes
April 16, 2020๐ Changes :
- ๐ Bugfix : Better detection of an illegal header name.
- ๐ Improvement : parse_it() was too permissive and allowed illegal header name to be included.
- ๐ Feature : Reversed can now be called upon an Headers instance.
- ๐ Feature : Sorted can be used with an Headers instance to return a list of Header in alphabetical order.
- ๐ Bugfix : ContentDisposition custom class was not encoding fallback filename properly.
- ๐ Improvement : Headers class can be instantiated like
Headers(Header("Content-Type", "text/html"), Header("Allow", "POST"))
.