Skip to content

Latest commit

 

History

History
89 lines (42 loc) · 1.5 KB

CHANGELOG.md

File metadata and controls

89 lines (42 loc) · 1.5 KB

Unreleased

  • Omit the support for Python 3.6.

0.10.4

  • FIX: ecoding None as list should cause TypeMismatch.

0.10.3

  • Fix: typedjson.decode should accept int as float.

0.10.2

  • Fix: Decoding None should fail as tuple.

0.10.1

  • Fix: Decoding Tuple[T, ...] should accept tuple().

0.10.0

  • Support typing.NewType.
  • Fix: typedjson.dump should not check the existence of an attribute named __dict__.

0.9.0

  • Add py.typed to enable type-checking for typedjson users.

0.8.0

  • Add dataclasses as Python restricted dependency.

0.7.1

  • Remove a needless function call for print.

0.7.0

  • Use __init__.__annotation__ to decode JSON as arbitrary class.

0.6.0

  • Support API like 'json.dump' and 'json.dumps' (#1 by @rruc).
  • Fix #5: Raise TypeMismatching with priority over UnsupportedDecoding.

0.5.0

  • Support Python 3.6.x for environments where Python 3.7 is unavailable.

0.4.0

  • Support decoding List.

0.3.0

  • Support decoding parameterized data class.
  • Prohibit decoding generic and raw type

0.2.0

  • Support API like json.load and json.loads.

0.1.0

  • Support decoding types as below:
    • primitive types like str, int, float, bool and None. -Union and Optional.
    • homogeneous and heterogeneous Tuple
    • variable-length Tuple.
    • non-generic dataclasses.