Skip to content

Commit cd5d577

Browse files
authored
3.0.0a4 (#129)
1 parent 0e37352 commit cd5d577

File tree

7 files changed

+20
-18
lines changed

7 files changed

+20
-18
lines changed

CHANGELOG.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Using the following categories, list your changes in this order:
3636

3737
- Nothing (yet)
3838

39-
## [3.0.0a3] - 2023-02-21
39+
## [3.0.0a4] - 2023-02-21
4040

4141
???+ note
4242

@@ -248,8 +248,8 @@ Using the following categories, list your changes in this order:
248248

249249
- Support for IDOM within the Django
250250

251-
[unreleased]: https://github.com/idom-team/django-idom/compare/3.0.0a3...HEAD
252-
[3.0.0a3]: https://github.com/idom-team/django-idom/compare/2.2.1...3.0.0a3
251+
[unreleased]: https://github.com/idom-team/django-idom/compare/3.0.0a4...HEAD
252+
[3.0.0a4]: https://github.com/idom-team/django-idom/compare/2.2.1...3.0.0a4
253253
[2.2.1]: https://github.com/idom-team/django-idom/compare/2.2.0...2.2.1
254254
[2.2.0]: https://github.com/idom-team/django-idom/compare/2.1.0...2.2.0
255255
[2.1.0]: https://github.com/idom-team/django-idom/compare/2.0.1...2.1.0

docs/python/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
IDOM_WEBSOCKET_URL = "idom/"
1313

1414
# Dotted path to the default `django_idom.hooks.use_query` postprocessor function, or `None`
15-
IDOM_DEFAULT_QUERY_POSTPROCESSOR = "example_project.utils.my_postprocessor"
15+
IDOM_DEFAULT_QUERY_POSTPROCESSOR = "django_idom.utils.django_query_postprocessor"

requirements/pkg-deps.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
channels >=4.0.0
2-
idom >=1.0.0a5, <1.1.0
2+
idom >=1.0.0a6, <1.1.0
33
aiofile >=3.0
44
dill >=0.3.5
55
typing_extensions

src/django_idom/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from django_idom.websocket.paths import IDOM_WEBSOCKET_PATH
33

44

5-
__version__ = "3.0.0a3"
5+
__version__ = "3.0.0a4"
66
__all__ = [
77
"IDOM_WEBSOCKET_PATH",
88
"hooks",

src/django_idom/config.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from __future__ import annotations
22

3-
from typing import Dict
4-
53
from django.conf import settings
64
from django.core.cache import DEFAULT_CACHE_ALIAS
75
from django.db import DEFAULT_DB_ALIAS
@@ -12,9 +10,13 @@
1210
from django_idom.utils import import_dotted_path
1311

1412

13+
# Not user configurable settings
1514
IDOM_DEBUG_MODE.set_current(getattr(settings, "DEBUG"))
16-
IDOM_REGISTERED_COMPONENTS: Dict[str, ComponentConstructor] = {}
17-
IDOM_VIEW_COMPONENT_IFRAMES: Dict[str, ViewComponentIframe] = {}
15+
IDOM_REGISTERED_COMPONENTS: dict[str, ComponentConstructor] = {}
16+
IDOM_VIEW_COMPONENT_IFRAMES: dict[str, ViewComponentIframe] = {}
17+
18+
19+
# Configurable through Django settings.py
1820
IDOM_WEBSOCKET_URL = getattr(
1921
settings,
2022
"IDOM_WEBSOCKET_URL",

src/js/package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
"@rollup/plugin-replace": "^5.0.2"
1818
},
1919
"dependencies": {
20-
"idom-client-react": "^1.0.0-a5"
20+
"idom-client-react": "^1.0.0-a6"
2121
}
2222
}

0 commit comments

Comments
 (0)