From 92c0e4273cbdcf2f9e53a7650d261addb2251cf7 Mon Sep 17 00:00:00 2001 From: Mark <16909269+Archmonger@users.noreply.github.com> Date: Mon, 4 Apr 2022 23:14:46 -0700 Subject: [PATCH] Django IDOM v0.0.5 (#71) * idom proto -> types * bump idom version to 0.37.2 * Django IDOM v0.0.5 * add fixed entry * minor extra verbiage --- CHANGELOG.md | 15 +++++++++++++-- requirements/pkg-deps.txt | 2 +- src/django_idom/__init__.py | 2 +- src/django_idom/config.py | 2 +- src/js/package-lock.json | 14 +++++++------- src/js/package.json | 2 +- 6 files changed, 24 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e54a1af..0eeb2f49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,17 +19,27 @@ Types of changes are to be listed in this order - Nothing (yet) +## [0.0.5] - 2022-04-04 + +### Changed + +- Bumped the minimum IDOM version to 0.37.2 + +### Fixed + +- ModuleNotFoundError: No module named `idom.core.proto` caused by IDOM 0.37.2 + ## [0.0.4] - 2022-03-05 ### Changed -- Bumped the minimum IDOM client version to 0.37.1 +- Bumped the minimum IDOM version to 0.37.1 ## [0.0.3] - 2022-02-19 ### Changed -- Bumped the minimum IDOM client version to 0.36.3 +- Bumped the minimum IDOM version to 0.36.3 ## [0.0.2] - 2022-01-30 @@ -71,6 +81,7 @@ Types of changes are to be listed in this order - Support for IDOM within the Django [unreleased]: https://github.com/idom-team/django-idom/compare/0.0.2...HEAD +[0.0.5]: https://github.com/idom-team/django-idom/compare/0.0.4...0.0.5 [0.0.4]: https://github.com/idom-team/django-idom/compare/0.0.3...0.0.4 [0.0.3]: https://github.com/idom-team/django-idom/compare/0.0.2...0.0.3 [0.0.2]: https://github.com/idom-team/django-idom/compare/0.0.1...0.0.2 diff --git a/requirements/pkg-deps.txt b/requirements/pkg-deps.txt index 50c8a33a..98683e1a 100644 --- a/requirements/pkg-deps.txt +++ b/requirements/pkg-deps.txt @@ -1,3 +1,3 @@ channels <4.0.0 -idom >=0.37.1, <0.38.0 +idom >=0.37.2, <0.38.0 aiofile >=3.0, <4.0 diff --git a/src/django_idom/__init__.py b/src/django_idom/__init__.py index ac0cfcee..eb1e19d8 100644 --- a/src/django_idom/__init__.py +++ b/src/django_idom/__init__.py @@ -2,5 +2,5 @@ from .websocket.paths import IDOM_WEBSOCKET_PATH -__version__ = "0.0.4" +__version__ = "0.0.5" __all__ = ["IDOM_WEBSOCKET_PATH", "IdomWebsocket"] diff --git a/src/django_idom/config.py b/src/django_idom/config.py index c024d77d..cb037ed1 100644 --- a/src/django_idom/config.py +++ b/src/django_idom/config.py @@ -2,7 +2,7 @@ from django.conf import settings from django.core.cache import DEFAULT_CACHE_ALIAS, caches -from idom.core.proto import ComponentConstructor +from idom.core.types import ComponentConstructor IDOM_REGISTERED_COMPONENTS: Dict[str, ComponentConstructor] = {} diff --git a/src/js/package-lock.json b/src/js/package-lock.json index 96f9f15b..54aa3359 100644 --- a/src/js/package-lock.json +++ b/src/js/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "idom-client-react": "^0.37.1", + "idom-client-react": "^0.37.2", "react": "^17.0.2", "react-dom": "^17.0.2" }, @@ -99,9 +99,9 @@ "integrity": "sha512-L0s3Sid5r6YwrEvkig14SK3Emmc+kIjlfLhEGn2Vy3bk21JyDEes4MoDsbJk6luaPp8bugErnxPz86ZuAw6e5Q==" }, "node_modules/idom-client-react": { - "version": "0.37.1", - "resolved": "https://registry.npmjs.org/idom-client-react/-/idom-client-react-0.37.1.tgz", - "integrity": "sha512-91QF7+mg+pJIbP6H8hszlD+KeIDSK+JOgM2YM0UB3Nrya7D+Kh0OuoDtWLGargBik8NI4OUqPjq0wGh2ClUhWQ==", + "version": "0.37.2", + "resolved": "https://registry.npmjs.org/idom-client-react/-/idom-client-react-0.37.2.tgz", + "integrity": "sha512-9yUp39Ah57EXmdzfRF9yL9aXk3MnQgK9S+i01dTbZIfMaTdDtgfjj9sdQKmM+lEFKY6nSgkGenohuB4h1ZOy7Q==", "dependencies": { "fast-json-patch": "^3.0.0-1", "htm": "^3.0.3" @@ -379,9 +379,9 @@ "integrity": "sha512-L0s3Sid5r6YwrEvkig14SK3Emmc+kIjlfLhEGn2Vy3bk21JyDEes4MoDsbJk6luaPp8bugErnxPz86ZuAw6e5Q==" }, "idom-client-react": { - "version": "0.37.1", - "resolved": "https://registry.npmjs.org/idom-client-react/-/idom-client-react-0.37.1.tgz", - "integrity": "sha512-91QF7+mg+pJIbP6H8hszlD+KeIDSK+JOgM2YM0UB3Nrya7D+Kh0OuoDtWLGargBik8NI4OUqPjq0wGh2ClUhWQ==", + "version": "0.37.2", + "resolved": "https://registry.npmjs.org/idom-client-react/-/idom-client-react-0.37.2.tgz", + "integrity": "sha512-9yUp39Ah57EXmdzfRF9yL9aXk3MnQgK9S+i01dTbZIfMaTdDtgfjj9sdQKmM+lEFKY6nSgkGenohuB4h1ZOy7Q==", "requires": { "fast-json-patch": "^3.0.0-1", "htm": "^3.0.3" diff --git a/src/js/package.json b/src/js/package.json index e23d1d94..67bfb2a4 100644 --- a/src/js/package.json +++ b/src/js/package.json @@ -16,7 +16,7 @@ "rollup-plugin-replace": "^2.2.0" }, "dependencies": { - "idom-client-react": "^0.37.1", + "idom-client-react": "^0.37.2", "react": "^17.0.2", "react-dom": "^17.0.2" }