File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed
Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
99## [ unreleased]
1010
11+ ## [ 0.24.2] - 2024-09-03
12+ - Makes optional input form fields truly optional instead of just being able to accept ` "" ` .
13+
1114## [ 0.24.1] - 2024-08-16
1215
1316- Sets time out for httpx client to 30s everywhere. - https://github.com/supertokens/supertokens-python/issues/516
Original file line number Diff line number Diff line change 8383
8484setup (
8585 name = "supertokens_python" ,
86- version = "0.24.1 " ,
86+ version = "0.24.2 " ,
8787 author = "SuperTokens" ,
8888 license = "Apache 2.0" ,
8989
Original file line number Diff line number Diff line change 1414from __future__ import annotations
1515
1616SUPPORTED_CDI_VERSIONS = ["3.0" ]
17- VERSION = "0.24.1 "
17+ VERSION = "0.24.2 "
1818TELEMETRY = "/telemetry"
1919USER_COUNT = "/users/count"
2020USER_DELETE = "/user/remove"
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ async def validate_form_or_throw_error(
5151 if is_invalid_value :
5252 continue
5353
54+ assert input_field is not None
55+
5456 error = await field .validate (input_field .value , tenant_id )
5557 if error is not None :
5658 validation_errors .append (ErrorFormField (field .id , error ))
You can’t perform that action at this time.
0 commit comments