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 }} 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/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/) 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" }