All Versions
20
Latest Version
Avg Release Cycle
4 days
Latest Release
1429 days ago

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, 2020

    Changes:

    • ๐Ÿ›  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 on Headers 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.
  • 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 and ContentRange.
    • ๐Ÿ‘Œ 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

    ๐Ÿ”„ Changes : #22 #21 #20

    • ๐Ÿ”‹ 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.
  • 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.
  • 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")).