From 1dcd317c62e905655090f3e18f57c93860086904 Mon Sep 17 00:00:00 2001 From: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com> Date: Wed, 2 Oct 2024 13:41:44 +0300 Subject: [PATCH] Add v2.0.2 changelog --- CHANGELOG.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba430cb..b878e57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,18 @@ # Changelog +## 2.0.2 + +- Removed + - Python 3.7 support +- Improved + - Make `loads` raise `TypeError` not `AttributeError` on bad input types that do not have the `replace` attribute. + Improve error message when `bytes` is received. +- Type annotations + - Type annotate `load` input as `typing.IO[bytes]` (previously `typing.BinaryIO`). + ## 2.0.1 -- Improve +- Improved - Make bundling easier by using relative imports internally and adding license and copyright notice to source files. - Make error messages more uniform - Raise a friendly `TypeError` for wrong file mode