@@ -24,176 +24,4 @@ Using the following categories, list your changes in this order:
24
24
25
25
- Nothing (yet)
26
26
27
- ## [ 2.2.0] - 2022-12-28
28
-
29
- ### Added
30
-
31
- - Add ` options: QueryOptions ` parameter to ` use_query ` to allow for configuration of this hook.
32
-
33
- ### Changed
34
-
35
- - By default, ` use_query ` will recursively prefetch all many-to-many or many-to-one relationships to prevent ` SynchronousOnlyOperation ` exceptions.
36
-
37
- ### Removed
38
-
39
- - ` django_idom.hooks._fetch_lazy_fields ` has been deleted. The equivalent replacement is ` django_idom.utils.django_query_postprocessor ` .
40
-
41
- ## [ 2.1.0] - 2022-11-01
42
-
43
- ### Changed
44
-
45
- - Minimum ` channels ` version is now ` 4.0.0 ` .
46
-
47
- ### Fixed
48
-
49
- - Change type hint on ` view_to_component ` callable to have ` request ` argument be optional.
50
- - Change type hint on ` view_to_component ` to represent it as a decorator with parenthesis (such as ` @view_to_component(compatibility=True) ` )
51
-
52
- ### Security
53
-
54
- - Add note to docs about potential information exposure via ` view_to_component ` when using ` compatibility=True ` .
55
-
56
- ## [ 2.0.1] - 2022-10-18
57
-
58
- ### Fixed
59
-
60
- - Ability to use ` key=... ` parameter on all prefabricated components.
61
-
62
- ## [ 2.0.0] - 2022-10-17
63
-
64
- ### Added
65
-
66
- - ` use_origin ` hook for returning the browser's ` location.origin ` .
67
-
68
- ### Changed
69
-
70
- - ` view_to_component ` now returns a ` Callable ` , instead of directly returning a ` Component ` . Check the docs for new usage info.
71
- - ` use_mutation ` and ` use_query ` will now log any query failures.
72
-
73
- ### Fixed
74
-
75
- - Allow ` use_mutation ` to have ` refetch=None ` , as the docs suggest is possible.
76
- - ` use_query ` will now prefetch all fields to prevent ` SynchronousOnlyOperation ` exceptions.
77
- - ` view_to_component ` , ` django_css ` , and ` django_js ` type hints will now display like normal functions.
78
- - IDOM preloader no longer attempts to parse commented out IDOM components.
79
- - Tests are now fully functional on Windows
80
-
81
- ## [ 1.2.0] - 2022-09-19
82
-
83
- ### Added
84
-
85
- - ` auth_required ` decorator to prevent your components from rendering to unauthenticated users.
86
- - ` use_query ` hook for fetching database values.
87
- - ` use_mutation ` hook for modifying database values.
88
- - ` view_to_component ` utility to convert legacy Django views to IDOM components.
89
-
90
- ### Changed
91
-
92
- - Bumped the minimum IDOM version to 0.40.2
93
- - Testing suite now uses ` playwright ` instead of ` selenium `
94
-
95
- ### Fixed
96
-
97
- - IDOM preloader is no longer sensitive to whitespace within template tags.
98
-
99
- ## [ 1.1.0] - 2022-07-01
100
-
101
- ### Added
102
-
103
- - ` django_css ` and ` django_js ` components to defer loading CSS & JS files until needed.
104
-
105
- ### Changed
106
-
107
- - Bumped the minimum IDOM version to 0.39.0
108
-
109
- ## [ 1.0.0] - 2022-05-22
110
-
111
- ### Added
112
-
113
- - Django-specific hooks! ` use_websocket ` , ` use_scope ` , and ` use_location ` are now available within the ` django_idom.hooks ` module.
114
- - Documentation has been placed into a formal docs webpage.
115
- - Logging for when a component fails to import, or if no components were found within Django.
116
-
117
- ### Changed
118
-
119
- - ` idom_component ` template tag has been renamed to ` component `
120
- - Bumped the minimum IDOM version to 0.38.0
121
-
122
- ### Removed
123
-
124
- - ` websocket ` parameter for components has been removed. Functionally, it is replaced with ` django_idom.hooks.use_websocket ` .
125
-
126
- ## [ 0.0.5] - 2022-04-04
127
-
128
- ### Changed
129
-
130
- - Bumped the minimum IDOM version to 0.37.2
131
-
132
- ### Fixed
133
-
134
- - ModuleNotFoundError: No module named ` idom.core.proto ` caused by IDOM 0.37.2
135
-
136
- ## [ 0.0.4] - 2022-03-05
137
-
138
- ### Changed
139
-
140
- - Bumped the minimum IDOM version to 0.37.1
141
-
142
- ## [ 0.0.3] - 2022-02-19
143
-
144
- ### Changed
145
-
146
- - Bumped the minimum IDOM version to 0.36.3
147
-
148
- ## [ 0.0.2] - 2022-01-30
149
-
150
- ### Added
151
-
152
- - Ability to declare the HTML class of the top-level component ` div `
153
- - ` name = ... ` parameter to IDOM HTTP paths for use with ` django.urls.reverse() `
154
- - Cache versioning to automatically invalidate old web module files from the cache back-end
155
- - Automatic pre-population of the IDOM component registry
156
- - Type hinting for ` IdomWebsocket `
157
-
158
- ### Changed
159
-
160
- - Fetching web modules from disk and/or cache is now fully async
161
- - Static files are now contained within a ` django_idom/ ` parent folder
162
- - Upgraded IDOM to version ` 0.36.0 `
163
- - Minimum Django version required is now ` 4.0 `
164
- - Minimum Python version required is now ` 3.8 `
165
-
166
- ### Removed
167
-
168
- - ` IDOM_WEB_MODULES_PATH ` has been replaced with Django ` include(...) `
169
- - ` IDOM_WS_MAX_RECONNECT_DELAY ` has been renamed to ` IDOM_WS_MAX_RECONNECT_TIMEOUT `
170
- - ` idom_web_modules ` cache back-end has been renamed to ` idom `
171
-
172
- ### Fixed
173
-
174
- - Increase test timeout values to prevent false positives
175
- - Windows compatibility for building Django-IDOM
176
-
177
- ### Security
178
-
179
- - Fixed potential directory traversal attack on the IDOM web modules URL
180
-
181
- ## [ 0.0.1] - 2021-08-18
182
-
183
- ### Added
184
-
185
- - Support for IDOM within the Django
186
-
187
- [ unreleased ] : https://github.com/idom-team/django-idom/compare/2.2.0...HEAD
188
- [ 2.2.0 ] : https://github.com/idom-team/django-idom/compare/2.1.0...2.2.0
189
- [ 2.1.0 ] : https://github.com/idom-team/django-idom/compare/2.0.1...2.1.0
190
- [ 2.0.1 ] : https://github.com/idom-team/django-idom/compare/2.0.0...2.0.1
191
- [ 2.0.0 ] : https://github.com/idom-team/django-idom/compare/1.2.0...2.0.0
192
- [ 1.2.0 ] : https://github.com/idom-team/django-idom/compare/1.1.0...1.2.0
193
- [ 1.1.0 ] : https://github.com/idom-team/django-idom/compare/1.0.0...1.1.0
194
- [ 1.0.0 ] : https://github.com/idom-team/django-idom/compare/0.0.5...1.0.0
195
- [ 0.0.5 ] : https://github.com/idom-team/django-idom/compare/0.0.4...0.0.5
196
- [ 0.0.4 ] : https://github.com/idom-team/django-idom/compare/0.0.3...0.0.4
197
- [ 0.0.3 ] : https://github.com/idom-team/django-idom/compare/0.0.2...0.0.3
198
- [ 0.0.2 ] : https://github.com/idom-team/django-idom/compare/0.0.1...0.0.2
199
- [ 0.0.1 ] : https://github.com/idom-team/django-idom/releases/tag/0.0.1
27
+ [ unreleased ] : https://github.com/reactive-python/reactpy/compare/1.0.0...HEAD
0 commit comments