8000 Bump version to 2.0.0 · matrix-org/python-canonicaljson@ebe1dee · GitHub
[go: up one dir, main page]

Skip to content

Commit ebe1dee

Browse files
author
David Robertson
committed
Bump version to 2.0.0
1 parent 95b6ec7 commit ebe1dee

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

CHANGES.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
Version 2.0.0 released 2023-03-15
2+
3+
Additions:
4+
5+
* Add a generic `register_preserialisation_callback` mechanism, which
6+
allows users to teach canonicaljson how to JSON-encode custom types.
7+
8+
Breaking changes:
9+
10+
* Remove support for serialising `frozendict` instances. Use the new
11+
`register_preserialisation_callback` mechanism to replace this
12+
functionality if needed.
13+
* Remove support for `simplejson` and the `set_json_library`alternative
14+
json libraries.
15+
116
Version 1.6.5 released 2023-02-15
217

318
* Update type hints to pass under mypy 1.0.

src/canonicaljson/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from typing import Callable, Generator, Type, TypeVar
1919

2020

21-
__version__ = "1.6.5"
21+
__version__ = "2.0.0"
2222

2323

2424
@functools.singledispatch

0 commit comments

Comments
 (0)
0