Changelog

v0.7.1 (2025-05-15)

Fix

  • docs: update testing docs to remind user to set SEND_COMPLETION to true for properly testing

v0.7.0 (2025-05-15)

Feat

  • routing: migrate path and re_path from urls module to routing module for consistency and update docs

v0.6.1 (2025-05-12)

Fix

  • py.typed: add py.typed to let static type checker know that chanx has fulfilled type hint

v0.6.0 (2025-05-11)

Feat

  • python310: add support for python version 310

  • websocket: add kind to send_group_message to handle both pydantic message and json case

Fix

  • pyright: remove pyright section in pyproject toml and use python 310 for pyright python target version

  • sandbox: update sandbox api schema auth and group chat serializer fields

  • docs: only create docs if the commit message is the bump version message

v0.5.0 (2025-05-09)

Feat

  • pyright,urls: add support for (based)pyright and urls path,repath utils

Fix

  • basedpyright,yml,ci: fix yml indent, ci branches to run and basedpyright venv path in tox

  • tox: install camel-case for all env in tox

v0.4.0 (2025-05-02)

Feat

  • types: add and update type annotations for the entire project, and install channels stubs as well

Fix

  • dev: migrate django-environ to environs for better typing support, and update user type hint

  • refactor: remove redundant code or comments

v0.3.0 (2025-04-22)

Feat

  • camelize: add ability to auto convert incoming and outgoing message between snake and camelcase for fe compatibility

Fix

  • jwt: migrate jwt packages from extra dependencies to jwt group

v0.2.3 (2025-04-22)

Fix

  • interrogate: move interrogate badge to docs _static folder to serve on readthedocs

v0.2.2 (2025-04-22)

Refactor

  • readthedocs: force readthedocs to install the extras package

v0.2.1 (2025-04-22)

Fix

  • commitizen: add update uv.lock before bump and use shortcuts option

Refactor

  • commitizen: remove unused section

v0.2.0 (2025-04-22)

v0.1.0 (2025-04-21)

Feat

  • authenticator: refactor and enhance authenticator of chanx websocket consumer

  • playground: improve playground websocket path params handling

  • chanx: enhance authentication using drf object permission, and add path param for playground

  • utils,websocket: create reuseable websocket utils and add transform function for playground to transform websocket route info

  • utils: migrate and separate utils function under utils package with separate meaningful file module

  • auth,testing: improve auth message, and add test helper as well as the first test case

  • chanx: add routing utility and update base incoming message

  • chanx: write workable version for chanx and create sandbox app

  • init-project: start the chanx project

Fix

  • group,refactor: add some more group helper, add some more tests for group cases and some extra testing utils

  • testing: update testing get websocket header function

  • python: target python 3.11+ and remove support for python 3.10

  • pydantic: force user to use pydantic v2

  • redis: add redis to github test workflow

  • test.yml: add postgres service to github test workflow

  • test,coverage: update coveragerc and test command

Refactor

  • websocket.js: refactor big js file to multiple sub files to easier maintain and enhance

  • websocket.html: separate websocket html to different files (html, css, js) for easier maintain and update

  • sandbox-chat: migrate sandbox chat app to assistants

  • websocket: authenticated request get from response without fallback to original request