v4.0.0
- Fixed
fallbackanddevFallbackfor env variables with union schemas - Empty string now treated as
None. It used to work for string-like schemas, now it works for every kind of schema. Can be overwritten withallowEmptyoption. S.jsonandS.unknownnow coerced using JSON.parse.S.literal("")now requiresallowEmpty=true. Otherwise, the input will be treated asundefined.- Improved parsing performance for non-union schemas.
Full Changelog: v3.1.0...v4.0.0