Skip to content

Releases: Ousret/kiss-headers

Version 2.4.3

12 Nov 18:16
598676b
Compare
Choose a tag to compare

The function parse_it was improved.

  • Added support for niquests.Response
  • Added support for kiss_headers.Headers (deep copy returned)

Version 2.4.2

23 Oct 11:40
fe18870
Compare
Choose a tag to compare
  • Fixed parse_it when given Mapping contains unattended types (outside str and bytes)

Version 2.4.1

22 Oct 14:58
f06abea
Compare
Choose a tag to compare
  • Fixed an issue where parse_it is given a Mapping-like containing bytes in values or keys and crashes on decode_partials.
  • Added hints on Header (common attributes) and Headers (standard headers).

Version 2.4.0

30 Sep 11:37
6c2fd5d
Compare
Choose a tag to compare

Long overdue refresh for this package.

Added

  • Support for JSON value in a header. It is now interpreted.
  • Explicit support for Python 3.12

Fixed

  • Incorrectly split a header when it contains a valid JSON (due to the comma delimiter)

Removed

  • Support for Python 3.6

Changed

  • (internal) Changed absolute import to relative ones.
  • The generic T passed to get_polymorphic is now bound to CustomHeader and covariants.

Version 2.3.1

16 Apr 05:46
e079c36
Compare
Choose a tag to compare

Changes:

Explicit support for Python 3.11, migrate to GHA, and add _all_ to top-level init.
Minor package refresh.

Version 2.3.0

02 Feb 22:01
47b1356
Compare
Choose a tag to compare

Changes :

  • Feature: Offer an opinionated way to un/serialize headers #45
  • Bugfix: Fix inserting attribute in header using index when header is empty ad546fe
  • Miscellaneous: Add python 3.10 to supported interpreters

Version 2.2.4

27 Jan 04:15
411c38d
Compare
Choose a tag to compare

Changes :

  • Bugfix: Function is_legal_header_name approved some illegal header name. #41
  • Miscelaneous: Added MANIFEST.in file
  • Other: Method values() of the class Headers was returning NotImplemented, now raise NotImplementedError instead.

kiss-headers

28 May 18:30
8377579
Compare
Choose a tag to compare

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.

kiss-headers

24 May 08:06
fa3a1c8
Compare
Choose a tag to compare

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.

kiss-headers

21 May 22:58
7820c03
Compare
Choose a tag to compare

This is a bugfix release. See PR #34
Fix regression seen in 2.2.0