Skip to content

Releases: fastmonkeys/qstring

v1.0.1

29 Sep 11:16
Compare
Choose a tag to compare
  • Fixed qstring.nest to use more relaxed Iterable type for params over List.

v1.0.0

29 Sep 10:01
Compare
Choose a tag to compare
  • Added support for Python 3.8 to 3.12.

  • Added type hints for the project.

  • Use modern packaging metadata with pyproject.toml.

  • Use pdm.backend as build backend.

  • Changed qstring.nest to use dict in the returned nested object instead of OrderedDict. dict retains insertion order since Python 3.7, so OrderedDict usage was redundant here.

  • Fixed a bug in qstring.nest where it returned an incorrect value when there were more than two query parameters with the same name.

    Before:

    >>> qtstring.nest([('foo', '1'), ('foo', '2'), ('foo', '3')])
    {'foo': [['1', '2'], '3']}
    

    After:

    >>> qtstring.nest([('foo', '1'), ('foo', '2'), ('foo', '3')])
    {'foo': ['1', '2', '3']}
    
  • Removed support for Python 2.7 and 3.7 or earlier.

  • Removed future dependency.

  • Removed the __version__ attribute. Use importlib.metadata.version("qstring") instead