forked from pool/python-typedload
- 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typedload?expand=0&rev=7
This commit is contained in:
@@ -1,7 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
- 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
|
||||
@@ -13,7 +50,7 @@ Sat Oct 29 16:22:37 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 11 16:23:29 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to version 2.18
|
||||
- Update to version 2.18
|
||||
* Fix bug with loading generators that raise exceptions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user