Skip to content

Commit f0edfe6

Browse files
committed
bumps patch version
1 parent dd17c8b commit f0edfe6

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383

8484
setup(
8585
name="supertokens_python",
86-
version="0.24.1",
86+
version="0.24.2",
8787
author="SuperTokens",
8888
license="Apache 2.0",
8989
author_email="[email protected]",

supertokens_python/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from __future__ import annotations
1515

1616
SUPPORTED_CDI_VERSIONS = ["3.0"]
17-
VERSION = "0.24.1"
17+
VERSION = "0.24.2"
1818
TELEMETRY = "/telemetry"
1919
USER_COUNT = "/users/count"
2020
USER_DELETE = "/user/remove"

supertokens_python/recipe/emailpassword/api/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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))

0 commit comments

Comments
 (0)