From bd8938326c73619f06b3cc3880de853c3b75e088 Mon Sep 17 00:00:00 2001 From: Ryan Morshead Date: Sun, 30 Jan 2022 20:33:32 -0800 Subject: [PATCH 1/3] Update publish-js.yml --- .github/workflows/publish-js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-js.yml b/.github/workflows/publish-js.yml index 7c4049e6..ab55d57e 100644 --- a/.github/workflows/publish-js.yml +++ b/.github/workflows/publish-js.yml @@ -24,6 +24,6 @@ jobs: npm install - name: Publish Release working-directory: ./src/js - run: npm run publish + run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }} From 0c2f4b1609a27f48a357510a6e3bf45c8ecc9e2a Mon Sep 17 00:00:00 2001 From: Mark <16909269+Archmonger@users.noreply.github.com> Date: Thu, 10 Feb 2022 00:32:57 -0800 Subject: [PATCH 2/3] header -> h1 For the readme example we currently use `html.header` which doesn't make much sense. This PR replaces it with `html.h1` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d3120e6..e24d5a07 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ from django_idom import IdomWebsocket # Components are CamelCase by ReactJS convention @component def Hello(websocket: IdomWebsocket, greeting_recipient: str): - return html.header(f"Hello {greeting_recipient}!") + return html.h1(f"Hello {greeting_recipient}!") ``` ## [`example_app/templates/your-template.html`](https://docs.djangoproject.com/en/dev/topics/templates/) From ec598234ef23cf2d3e540d150135c5df2286dd5c Mon Sep 17 00:00:00 2001 From: Ryan Morshead Date: Sat, 19 Feb 2022 17:22:34 -0800 Subject: [PATCH 3/3] Bump IDOM client requirement (#65) * bump min client requirement * bump django-idom ver * changelog entry --- CHANGELOG.md | 4 ++-- src/django_idom/__init__.py | 2 +- src/js/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac99bf59..d77066ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,9 +17,9 @@ Types of changes are to be listed in this order ## [Unreleased] -### Added +### Changed -- Nothing (yet) +- Bumped the minimum IDOM client version to 0.36.3 ## [0.0.2] - 2022-01-30 diff --git a/src/django_idom/__init__.py b/src/django_idom/__init__.py index 88821fcd..68f7e03e 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.2" +__version__ = "0.0.3" __all__ = ["IDOM_WEBSOCKET_PATH", "IdomWebsocket"] diff --git a/src/js/package.json b/src/js/package.json index 7f5e7cea..ff3c2ee1 100644 --- a/src/js/package.json +++ b/src/js/package.json @@ -18,7 +18,7 @@ "rollup-plugin-replace": "^2.2.0" }, "dependencies": { - "idom-client-react": "^0.36.0", + "idom-client-react": "^0.36.3", "react": "^17.0.2", "react-dom": "^17.0.2" }