File python-typedload.changes of Package python-typedload

-------------------------------------------------------------------
Thu Dec 11 05:06:17 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

- Update to 2.39:
  * Fix unintended behaviour where a str could be loaded as list[str]. This
    is caused by a quirk of python's types. To restore the previous behaviour
    set iterstr=True
  * Drop support to python 3.9
  * Do not use new syntax in any place. It confuses tooling
  * Drop support for EOL versions of python
  * Support typing.ReadOnly
  * Add support for typing.TypeAliasType (PEP 695)
  * Add tests to make sure mypy validation works
  * Fix mypy failure when loading a Literal directly
  * Remove cloudflare tracking from html documentation once again -_-
  * Improve documentation
  * Improve typechecks
  * Support Required for TypedDict
  * Make example more current
  * Fix bug with dumping dataclasses with slots
  * Improve performance for loading unions of objects #12
  * Improve performance for dumping dataclasses #13 #14
  * Improve performance for loading various types
  * Fix bug when loading attrs objects with missing attributes, the correct
    exception is raised #9
  * Raise TypeError instead of ValueError when there is a problem with the
    arguments of the objects This is in line with what python does #9
  * Fix bug for dumping object with a ForwardRef to itself #8
  * Fix bug where dictionary load would fail if the type for the value wasn't
    cached already
  * Move project to Codeberg
- Ship LICENSE and README in binary packages.

-------------------------------------------------------------------
Thu May  2 22:03:52 UTC 2024 - Dirk Müller <dmueller@suse.com>

- update to 2.28:
  * Add support for uuid.UUID

-------------------------------------------------------------------
Sun Jan 21 11:12:29 UTC 2024 - Dirk Müller <dmueller@suse.com>

- update to 2.27:
  * Add support for re.Patterns

-------------------------------------------------------------------
Wed Dec 13 10:19:48 UTC 2023 - Dirk Müller <dmueller@suse.com>

- update to 2.26:
  * Update type hints file
  * Improve performance for loading objects
    (attrs/dataclasses/NamedTuple)
  * Improve performance for loading dictionary keys that are
    basic types
  * Improve performance for loading dataclasses
  * Switch performance tests to test against pydantic2
  * Drop support to Python 3.7 (which has reached EOL)
  * Make is_optional slightly faster
  * Keep track of the index when loading iterables the first time
  * It makes the normal case slightly slower, and gives massive
    performance improvements when exceptions are raised.
  * When loading a string into datetime.date/time/datetime, ISO
    8601 is used
  * When dumping, setting `isodates=True` dumps an ISO 8601
    string instead of a list of ints. The previous behaviour is
    now deprecated.
  * Add support for datetime.timedelta. It is dumped as a float
    representing seconds
  * Deprecate dump handlers without type hints
  * Improve performance for dumping, by carrying type hints
  * Remove `jsons` and `dataclasses-json` from benchmarks.
  * They were too slow to be a useful comparison.
  * Improve loading time for literals
  * Support attrs converter
  * Drop support to Python 3.5 and 3.6
  * Improve performance for dumping
  * Generate pure python wheel
  * Switch to setuptools
  * Since python decided to drop the only installation method
    available within the stdlib
  * Add pyproject.toml

-------------------------------------------------------------------
Sat Oct 29 16:22:37 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

- Update to version 2.19
  * Fix minor bug about exception raising from string constructed types
  * Simplify type checking functions, defining only the one for the current python version
  * Fix type definitions of some private functions for compatibility with cython
  * Improved loading speed for dictionaries
  * Improved loading speed for iterators
  * Improved documentation
  * Improved performance testing code

-------------------------------------------------------------------
Tue Oct 11 16:23:29 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

- Update to version 2.18
  * Fix bug with loading generators that raise exceptions

-------------------------------------------------------------------
Sat Oct 30 13:58:34 UTC 2021 - Ben Greiner <code@bnavigator.de>

- Specfile for version 2.12
- Required by localslackirc
openSUSE Build Service is sponsored by