Skip to content

Commit

Permalink
Bump version to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson committed Mar 15, 2023
1 parent 95b6ec7 commit ebe1dee
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions CHANGES.md
@@ -1,3 +1,18 @@
Version 2.0.0 released 2023-03-15

Additions:

* Add a generic `register_preserialisation_callback` mechanism, which
allows users to teach canonicaljson how to JSON-encode custom types.

Breaking changes:

* Remove support for serialising `frozendict` instances. Use the new
`register_preserialisation_callback` mechanism to replace this
functionality if needed.
* Remove support for `simplejson` and the `set_json_library`alternative
json libraries.

Version 1.6.5 released 2023-02-15

* Update type hints to pass under mypy 1.0.
Expand Down
2 changes: 1 addition & 1 deletion src/canonicaljson/__init__.py
Expand Up @@ -18,7 +18,7 @@
from typing import Callable, Generator, Type, TypeVar


__version__ = "1.6.5"
__version__ = "2.0.0"


@functools.singledispatch
Expand Down

0 comments on commit ebe1dee

Please sign in to comment.