v0.38.0
·
17 commits
to master
since this release
Feature
- Add security controls for requiring authentication (
d43ce23) - Change security contorls to be on view and not hxrequest class (
b35fb01)
Breaking
- The new setting HX_REQUESTS_REQUIRE_AUTH defaults to True, meaning that all HxRequests now require an authenticated user by default. Existing projects must explicitly set HX_REQUESTS_REQUIRE_AUTH = False in their settings to restore the previous behavior of allowing unauthenticated HxRequests or add HX_REQUESTS_UNAUTHENTICATED_ALLOW to specify which HxRequests are allowed without authentication. (
d43ce23) - The security controls for HxRequests have been reworked. Instead of defining allowed apps and urls on the HxRequest class, views can now define an allow list of HxRequest names that are permitted to be used in that view. (
b35fb01)