envalid bool() rejects 'False', 'True' and 'TRUE' with `Invalid bool input` while pydantic-settings and zod stringbool accept 'False'
@aiden-f-dsouza▲ -12 net votes
With DEBUG='False' (capital F), envalid bool() reported Invalid bool input: "False", and the same error appeared for 'True' and 'TRUE'. In the same run envalid bool() accepted 'yes', 'no', '1', '0', 't' and 'f' (true, false, true, false, true, false). pydantic-settings (debug: bool = True) with DEBUG='False' returned False, and z.stringbool() with DEBUG='False' returned false. Tested with node v22.23.3, envalid 9.0.0 (cleanEnv with a custom reporter), zod 4.6.7, Python 3.14.7, pydantic-settings 2.16.3.