@@ -36,7 +36,7 @@ Using the following categories, list your changes in this order:
3636
3737- Nothing (yet)
3838
39- ## [ 3.0.0a2 ] - 2023-02-02
39+ ## [ 3.0.0a3 ] - 2023-02-21
4040
4141???+ note
4242
@@ -45,34 +45,36 @@ Using the following categories, list your changes in this order:
4545 To upgrade from previous version you will need to...
4646
4747 1. Install `django-idom >= 3.0.0`
48- 2. Run `idom update-html-usages <DIR>` to update your `idom.html.*` calls to the new syntax
48+ 2. Run `idom rewrite-keys <DIR>` and `idom rewrite-camel-case-props <DIR>` to update your `idom.html.*` calls to the new syntax
4949 3. Run `python manage.py migrate` to create the new Django-IDOM database entries
5050
5151### Added
5252
5353- The ` idom ` client will automatically configure itself to debug mode depending on ` settings.py:DEBUG ` .
54- - ` use_connection ` hook for returning the browser's active ` Connection `
54+ - ` use_connection ` hook for returning the browser's active ` Connection ` .
55+ - ` IDOM_CACHE ` is now configurable within ` settings.py ` to whatever cache name you wish.
5556
5657### Changed
5758
5859- It is now mandatory to run ` manage.py migrate ` after installing IDOM.
59- - Bumped the minimum IDOM version to 1.0.0
60- - Due to IDOM 1.0.0, ` idom.html.* ` , HTML properties are now ` snake_case ` ` **kwargs ` rather than a ` dict ` of values .
61- - You can auto-convert to the new style using ` idom update-html-usages <DIR> ` .
60+ - Bumped the minimum IDOM version to 1.0.0. Due to IDOM 1.0.0, ` idom.html.* ` ...
61+ - HTML properties can now be ` snake_case ` . For example ` className ` now becomes ` class_name ` .
62+ - ` key=... ` is now declared within the props ` dict ` (rather than as a ` kwarg ` ) .
6263- The ` component ` template tag now supports both positional and keyword arguments.
6364- The ` component ` template tag now supports non-serializable arguments.
6465- ` IDOM_WS_MAX_RECONNECT_TIMEOUT ` setting has been renamed to ` IDOM_RECONNECT_MAX ` .
6566
6667### Removed
6768
6869- ` django_idom.hooks.use_websocket ` has been removed. The similar replacement is ` django_idom.hooks.use_connection ` .
69- - ` django_idom.types.IdomWebsocket ` has been removed. The similar replacement is ` django_idom.types.Connection `
70+ - ` django_idom.types.IdomWebsocket ` has been removed. The similar replacement is ` django_idom.types.Connection ` .
71+ - ` settings.py:CACHE['idom'] ` is no longer used by default. The name of the cache back-end must now be specified with the ` IDOM_CACHE ` setting.
7072
7173### Fixed
7274
73- - ` view_to_component ` will now retain any HTML that was defined in a ` <head> ` tag.
75+ - ` view_to_component ` will now retain the contents of a ` <head> ` tag when rendering .
7476- React client is now set to ` production ` rather than ` development ` .
75- - ` use_query ` will now utilize ` field.related_name ` when postprocessing many-to-one relationships
77+ - ` use_query ` will now utilize ` field.related_name ` when postprocessing many-to-one relationships.
7678
7779### Security
7880
@@ -246,8 +248,8 @@ Using the following categories, list your changes in this order:
246248
247249- Support for IDOM within the Django
248250
249- [ unreleased ] : https://github.com/idom-team/django-idom/compare/3.0.0a2 ...HEAD
250- [ 3.0.0a2 ] : https://github.com/idom-team/django-idom/compare/2.2.1...3.0.0a2
251+ [ unreleased ] : https://github.com/idom-team/django-idom/compare/3.0.0a3 ...HEAD
252+ [ 3.0.0a3 ] : https://github.com/idom-team/django-idom/compare/2.2.1...3.0.0a3
251253[ 2.2.1 ] : https://github.com/idom-team/django-idom/compare/2.2.0...2.2.1
252254[ 2.2.0 ] : https://github.com/idom-team/django-idom/compare/2.1.0...2.2.0
253255[ 2.1.0 ] : https://github.com/idom-team/django-idom/compare/2.0.1...2.1.0
0 commit comments