@@ -36,7 +36,7 @@ Using the following categories, list your changes in this order:
36
36
37
37
- Nothing (yet)
38
38
39
- ## [ 3.0.0a2 ] - 2023-02-02
39
+ ## [ 3.0.0a3 ] - 2023-02-21
40
40
41
41
???+ note
42
42
@@ -45,34 +45,36 @@ Using the following categories, list your changes in this order:
45
45
To upgrade from previous version you will need to...
46
46
47
47
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
49
49
3. Run `python manage.py migrate` to create the new Django-IDOM database entries
50
50
51
51
### Added
52
52
53
53
- 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.
55
56
56
57
### Changed
57
58
58
59
- 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 ` ) .
62
63
- The ` component ` template tag now supports both positional and keyword arguments.
63
64
- The ` component ` template tag now supports non-serializable arguments.
64
65
- ` IDOM_WS_MAX_RECONNECT_TIMEOUT ` setting has been renamed to ` IDOM_RECONNECT_MAX ` .
65
66
66
67
### Removed
67
68
68
69
- ` 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.
70
72
71
73
### Fixed
72
74
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 .
74
76
- 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.
76
78
77
79
### Security
78
80
@@ -246,8 +248,8 @@ Using the following categories, list your changes in this order:
246
248
247
249
- Support for IDOM within the Django
248
250
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
251
253
[ 2.2.1 ] : https://github.com/idom-team/django-idom/compare/2.2.0...2.2.1
252
254
[ 2.2.0 ] : https://github.com/idom-team/django-idom/compare/2.1.0...2.2.0
253
255
[ 2.1.0 ] : https://github.com/idom-team/django-idom/compare/2.0.1...2.1.0
0 commit comments