diff --git a/CHANGES.md b/CHANGES.md index 7295df3..513f172 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,14 @@ No significant changes since the last release +## 2.3.1 + +| Released on | Released by | +|-------------|---------------| +| 2025-02-27 | @millerdev | + +- Restore `jsonobject.JsonObjectMeta` + ## 2.3.0 | Released on | Released by | diff --git a/jsonobject/__init__.py b/jsonobject/__init__.py index 0349521..18174b9 100644 --- a/jsonobject/__init__.py +++ b/jsonobject/__init__.py @@ -1,12 +1,13 @@ +from .base import JsonObjectMeta from .containers import JsonArray from .properties import * from .api import JsonObject -__version__ = '2.3.0' +__version__ = '2.3.1' __all__ = [ 'IntegerProperty', 'FloatProperty', 'DecimalProperty', 'StringProperty', 'BooleanProperty', 'DateProperty', 'DateTimeProperty', 'TimeProperty', 'ObjectProperty', 'ListProperty', 'DictProperty', 'SetProperty', - 'JsonObject', 'JsonArray', + 'JsonObject', 'JsonObjectMeta', 'JsonArray', ] diff --git a/test/tests.py b/test/tests.py index ffbfd1d..02b5d8a 100644 --- a/test/tests.py +++ b/test/tests.py @@ -1,5 +1,6 @@ from copy import deepcopy import unittest +import jsonobject from jsonobject import * from jsonobject.exceptions import ( BadValueError, @@ -429,6 +430,10 @@ class Foo(JsonObject): foo = Foo() self.assertIsInstance(foo.bar, Bar) + def test_module_has_jsonobjectmeta(self): + # regression test + self.assertIsInstance(jsonobject.JsonObjectMeta, type) + class TestJsonArray(unittest.TestCase):