Skip to content

Commit b1ff783

Browse files
authored
3.0.0 (#130)
* fix docs links
1 parent cd5d577 commit b1ff783

File tree

12 files changed

+10233
-22
lines changed

12 files changed

+10233
-22
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.0a4] - 2023-02-21
39+
## [3.0.0] - 2023-03-08
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.0a4...HEAD
252-
[3.0.0a4]: https://github.com/idom-team/django-idom/compare/2.2.1...3.0.0a4
251+
[unreleased]: https://github.com/idom-team/django-idom/compare/3.0.0...HEAD
252+
[3.0.0]: https://github.com/idom-team/django-idom/compare/2.2.1...3.0.0
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

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77

88
Django-IDOM connects your Python project to a ReactJS front-end, allowing you to create **interactive websites without needing JavaScript!**
99

10-
Following ReactJS styling, web elements are combined into [reusable "components"](https://idom-docs.herokuapp.com/docs/guides/creating-interfaces/your-first-components/index.html#parametrizing-components). These components can utilize [hooks](https://idom-docs.herokuapp.com/docs/reference/hooks-api.html) and [events](https://idom-docs.herokuapp.com/docs/guides/adding-interactivity/responding-to-events/index.html#async-event-handlers) to create infinitely complex web pages.
10+
Following ReactJS styling, web elements are combined into [reusable "components"](https://reactpy.dev/docs/guides/creating-interfaces/your-first-components/index.html#parametrizing-components). These components can utilize [hooks](https://reactpy.dev/docs/reference/hooks-api.html) and [events](https://reactpy.dev/docs/guides/adding-interactivity/responding-to-events/index.html#async-event-handlers) to create infinitely complex web pages.
1111

12-
When needed, IDOM can [use components directly from NPM](https://idom-docs.herokuapp.com/docs/guides/escape-hatches/javascript-components.html#dynamically-loaded-components). For additional flexibility, components can also be [fully developed in JavaScript](https://idom-docs.herokuapp.com/docs/guides/escape-hatches/javascript-components.html#custom-javascript-components).
12+
When needed, IDOM can [use components directly from NPM](https://reactpy.dev/docs/guides/escape-hatches/javascript-components.html#dynamically-loaded-components). For additional flexibility, components can also be [fully developed in JavaScript](https://reactpy.dev/docs/guides/escape-hatches/javascript-components.html#custom-javascript-components).
1313

1414
Any Python web framework with Websockets can support IDOM. See below for what frameworks are supported out of the box.
1515

1616
| Supported Frameworks | Supported Frameworks (External) |
1717
| --- | --- |
18-
| [`Flask`, `FastAPI`, `Sanic`, `Tornado`](https://idom-docs.herokuapp.com/docs/guides/getting-started/installing-idom.html#officially-supported-servers) | [`Django`](https://github.com/idom-team/django-idom), [`Plotly-Dash`](https://github.com/idom-team/idom-dash), [`Jupyter`](https://github.com/idom-team/idom-jupyter) |
18+
| [`Flask`, `FastAPI`, `Sanic`, `Tornado`](https://reactpy.dev/docs/guides/getting-started/installing-idom.html#officially-supported-servers) | [`Django`](https://github.com/idom-team/django-idom), [`Plotly-Dash`](https://github.com/idom-team/idom-dash), [`Jupyter`](https://github.com/idom-team/idom-jupyter) |
1919

2020
<!--intro-end-->
2121

docs/src/contribute/code.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
??? tip "Looking to contribute features that are not Django specific?"
88

9-
Everything within the `django-idom` repository must be specific to Django integration. Check out the [IDOM Core documentation](https://idom-docs.herokuapp.com/docs/about/contributor-guide.html) to contribute general features such as: components, hooks, events, and more.
9+
Everything within the `django-idom` repository must be specific to Django integration. Check out the [IDOM Core documentation](https://reactpy.dev/docs/about/contributor-guide.html) to contribute general features such as: components, hooks, events, and more.
1010

1111
---
1212

docs/src/features/components.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Convert any Django view into a IDOM component by using this decorator. Compatibl
147147

148148
<font size="4">**`transforms`**</font>
149149

150-
After your view has been turned into [VDOM](https://idom-docs.herokuapp.com/docs/reference/specifications.html#vdom) (python dictionaries), `view_to_component` will call your `transforms` functions on every VDOM node.
150+
After your view has been turned into [VDOM](https://reactpy.dev/docs/reference/specifications.html#vdom) (python dictionaries), `view_to_component` will call your `transforms` functions on every VDOM node.
151151

152152
This allows you to modify your view prior to rendering.
153153

docs/src/features/hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Standard hooks are contained within [`idom-team/idom`](https://github.com/idom-team/idom). Since `idom` is installed alongside `django-idom`, you can import them at any time.
1010

11-
Check out the [IDOM Core docs](https://idom-docs.herokuapp.com/docs/reference/hooks-api.html#basic-hooks) to see what hooks are available!
11+
Check out the [IDOM Core docs](https://reactpy.dev/docs/reference/hooks-api.html#basic-hooks) to see what hooks are available!
1212

1313
---
1414

docs/src/features/template-tag.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The `component` template tag can be used to insert any number of IDOM components
6464
For this template tag, there are two reserved keyword arguments: `class` and `key`
6565

6666
- `class` allows you to apply a HTML class to the top-level component div. This is useful for styling purposes.
67-
- `key` allows you to force the component's root node to use a [specific key value](https://idom-docs.herokuapp.com/docs/guides/creating-interfaces/rendering-data/index.html#organizing-items-with-keys). Using `key` within a template tag is effectively useless.
67+
- `key` allows you to force the component's root node to use a [specific key value](https://reactpy.dev/docs/guides/creating-interfaces/rendering-data/index.html#organizing-items-with-keys). Using `key` within a template tag is effectively useless.
6868

6969
=== "my-template.html"
7070

docs/src/get-started/learn-more.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
If you followed the previous steps, you have now created a "Hello World" component!
44

5-
The docs you are reading only covers our Django integration. To learn more about features, such as interactive events and hooks, check out the [IDOM Core Documentation](https://idom-docs.herokuapp.com/docs/guides/creating-interfaces/index.html)!
5+
The docs you are reading only covers our Django integration. To learn more about features, such as interactive events and hooks, check out the [IDOM Core Documentation](https://reactpy.dev/docs/guides/creating-interfaces/index.html)!
66

77
Additionally, the vast majority of tutorials/guides you find for ReactJS can be applied to IDOM.
88

99
=== "Learn More"
1010

11-
[Django-IDOM Advanced Usage](../features/components.md){ .md-button .md-button--primary} [IDOM Core Documentation](https://idom-docs.herokuapp.com/docs/guides/creating-interfaces/index.html){ .md-button .md-button--primary } [Ask Questions](https://github.com/idom-team/idom/discussions){ .md-button .md-button--primary }
11+
[Django-IDOM Advanced Usage](../features/components.md){ .md-button .md-button--primary} [IDOM Core Documentation](https://reactpy.dev/docs/guides/creating-interfaces/index.html){ .md-button .md-button--primary } [Ask Questions](https://github.com/idom-team/idom/discussions){ .md-button .md-button--primary }

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.0a6, <1.1.0
2+
idom >=1.0.0, <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.0a4"
5+
__version__ = "3.0.0"
66
__all__ = [
77
"IDOM_WEBSOCKET_PATH",
88
"hooks",

0 commit comments

Comments
 (0)