From 25b2c125d8a910bc3b5673c768336d2d54826554 Mon Sep 17 00:00:00 2001 From: Mark <16909269+Archmonger@users.noreply.github.com> Date: Fri, 3 Feb 2023 00:08:29 -0800 Subject: [PATCH] v3.0.0a2 (#126) --- CHANGELOG.md | 6 +++--- docs/src/features/components.md | 4 ++-- docs/src/features/utils.md | 2 +- requirements/pkg-deps.txt | 2 +- src/django_idom/__init__.py | 2 +- src/js/package.json | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aca2dceb..4546daec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,7 +36,7 @@ Using the following categories, list your changes in this order: - Nothing (yet) -## [3.0.0a1] - 2023-02-02 +## [3.0.0a2] - 2023-02-02 ???+ note @@ -246,8 +246,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.0a1...HEAD -[3.0.0a1]: https://github.com/idom-team/django-idom/compare/2.2.1...3.0.0a1 +[unreleased]: https://github.com/idom-team/django-idom/compare/3.0.0a2...HEAD +[3.0.0a2]: https://github.com/idom-team/django-idom/compare/2.2.1...3.0.0a2 [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 diff --git a/docs/src/features/components.md b/docs/src/features/components.md index 37a50cb8..599ed62a 100644 --- a/docs/src/features/components.md +++ b/docs/src/features/components.md @@ -184,7 +184,7 @@ Allows you to defer loading a CSS stylesheet until a component begins rendering. | --- | --- | | `Component` | An IDOM component. | -??? question "Should I put `django_css` at the top of my component?" +??? question "Should I put `django_css` at the top of my HTML?" Yes, if the stylesheet contains styling for your component. @@ -239,7 +239,7 @@ Allows you to defer loading JavaScript until a component begins rendering. This | --- | --- | | `Component` | An IDOM component. | -??? question "Should I put `django_js` at the bottom of my component?" +??? question "Should I put `django_js` at the bottom of my HTML?" Yes, if your scripts are reliant on the contents of the component. diff --git a/docs/src/features/utils.md b/docs/src/features/utils.md index 3cf63c29..73c5248d 100644 --- a/docs/src/features/utils.md +++ b/docs/src/features/utils.md @@ -10,7 +10,7 @@ This is the default postprocessor for the `use_query` hook. -This postprocessor is designed to prevent Django's `SynchronousOnlyException` by recursively fetching all fields within a `Model` or `QuerySet` to prevent [lazy execution](https://docs.djangoproject.com/en/dev/topics/db/queries/#querysets-are-lazy). +This postprocessor is designed to avoid Django's `SynchronousOnlyException` by recursively fetching all fields within a `Model` or `QuerySet` to prevent [lazy execution](https://docs.djangoproject.com/en/dev/topics/db/queries/#querysets-are-lazy). === "components.py" diff --git a/requirements/pkg-deps.txt b/requirements/pkg-deps.txt index ef43fa41..dc87a347 100644 --- a/requirements/pkg-deps.txt +++ b/requirements/pkg-deps.txt @@ -1,5 +1,5 @@ channels >=4.0.0 -idom >=1.0.0a2, <1.1.0 +idom >=1.0.0a3, <1.1.0 aiofile >=3.0 dill >=0.3.5 typing_extensions diff --git a/src/django_idom/__init__.py b/src/django_idom/__init__.py index ed57b138..2856d386 100644 --- a/src/django_idom/__init__.py +++ b/src/django_idom/__init__.py @@ -2,7 +2,7 @@ from django_idom.websocket.paths import IDOM_WEBSOCKET_PATH -__version__ = "3.0.0a1" +__version__ = "3.0.0a2" __all__ = [ "IDOM_WEBSOCKET_PATH", "hooks", diff --git a/src/js/package.json b/src/js/package.json index b43be2dc..06e00606 100644 --- a/src/js/package.json +++ b/src/js/package.json @@ -17,6 +17,6 @@ "@rollup/plugin-replace": "^5.0.2" }, "dependencies": { - "idom-client-react": "^1.0.0-a2" + "idom-client-react": "^1.0.0-a3" } }