Skip to content

3.0.0a4 #129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Using the following categories, list your changes in this order:

- Nothing (yet)

## [3.0.0a3] - 2023-02-21
## [3.0.0a4] - 2023-02-21

???+ note

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

- Support for IDOM within the Django

[unreleased]: https://github.com/idom-team/django-idom/compare/3.0.0a3...HEAD
[3.0.0a3]: https://github.com/idom-team/django-idom/compare/2.2.1...3.0.0a3
[unreleased]: https://github.com/idom-team/django-idom/compare/3.0.0a4...HEAD
[3.0.0a4]: https://github.com/idom-team/django-idom/compare/2.2.1...3.0.0a4
[2.2.1]: https://github.com/idom-team/django-idom/compare/2.2.0...2.2.1
[2.2.0]: https://github.com/idom-team/django-idom/compare/2.1.0...2.2.0
[2.1.0]: https://github.com/idom-team/django-idom/compare/2.0.1...2.1.0
Expand Down
2 changes: 1 addition & 1 deletion docs/python/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
IDOM_WEBSOCKET_URL = "idom/"

# Dotted path to the default `django_idom.hooks.use_query` postprocessor function, or `None`
IDOM_DEFAULT_QUERY_POSTPROCESSOR = "example_project.utils.my_postprocessor"
IDOM_DEFAULT_QUERY_POSTPROCESSOR = "django_idom.utils.django_query_postprocessor"
2 changes: 1 addition & 1 deletion requirements/pkg-deps.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
channels >=4.0.0
idom >=1.0.0a5, <1.1.0
idom >=1.0.0a6, <1.1.0
aiofile >=3.0
dill >=0.3.5
typing_extensions
2 changes: 1 addition & 1 deletion src/django_idom/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from django_idom.websocket.paths import IDOM_WEBSOCKET_PATH


__version__ = "3.0.0a3"
__version__ = "3.0.0a4"
__all__ = [
"IDOM_WEBSOCKET_PATH",
"hooks",
Expand Down
10 changes: 6 additions & 4 deletions src/django_idom/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from __future__ import annotations

from typing import Dict

from django.conf import settings
from django.core.cache import DEFAULT_CACHE_ALIAS
from django.db import DEFAULT_DB_ALIAS
Expand All @@ -12,9 +10,13 @@
from django_idom.utils import import_dotted_path


# Not user configurable settings
IDOM_DEBUG_MODE.set_current(getattr(settings, "DEBUG"))
IDOM_REGISTERED_COMPONENTS: Dict[str, ComponentConstructor] = {}
IDOM_VIEW_COMPONENT_IFRAMES: Dict[str, ViewComponentIframe] = {}
IDOM_REGISTERED_COMPONENTS: dict[str, ComponentConstructor] = {}
IDOM_VIEW_COMPONENT_IFRAMES: dict[str, ViewComponentIframe] = {}


# Configurable through Django settings.py
IDOM_WEBSOCKET_URL = getattr(
settings,
"IDOM_WEBSOCKET_URL",
Expand Down
14 changes: 7 additions & 7 deletions src/js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"@rollup/plugin-replace": "^5.0.2"
},
"dependencies": {
"idom-client-react": "^1.0.0-a5"
"idom-client-react": "^1.0.0-a6"
}
}