Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Releases: ltworf/typedload

2.28

23 Apr 14:25
0bc2151
Compare
Choose a tag to compare

2.28

  • Add support for uuid.UUID

2.27

15 Jan 14:50
f8f1cea
Compare
Choose a tag to compare

2.27

  • Add support for re.Patterns

2.26

11 Sep 18:18
a225913
Compare
Choose a tag to compare

2.26

  • Update type hints file

2.25

27 Aug 07:52
d19badd
Compare
Choose a tag to compare

2.25

  • 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

2.24

02 Jul 06:52
888609c
Compare
Choose a tag to compare

2.24

  • 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.

2.23

01 Jun 06:15
89ab432
Compare
Choose a tag to compare

2.23

  • 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.

2.22

27 Feb 11:22
08d4e05
Compare
Choose a tag to compare

2.22

  • Improve loading time for literals
  • Support attrs converter

2.21

23 Jan 18:31
e8c5197
Compare
Choose a tag to compare

2.21

  • Drop support to Python 3.5 and 3.6
  • Improve performance for dumping
  • Generate pure python wheel

2.20

11 Dec 16:16
e5d111e
Compare
Choose a tag to compare

2.20

  • Switch to setuptools
    Since python decided to drop the only installation method available within the stdlib
  • Add pyproject.toml

2.19

03 Oct 19:27
9374e97
Compare
Choose a tag to compare

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