All Versions
20
Latest Version
Avg Release Cycle
4 days
Latest Release
518 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")).