Fixed
- Add workaround for a JRuby bug. (@katafrakt in #493)
Unclaimed project
Are you a maintainer of dry-types? Claim this project to take control of your public changelog and roadmap.
params.* with .optional can now handle empty strings consistently with optional.params.* by returning nil instead of raising an error. (@baweaver in #487, @flash-gordon in #490)
This behavior is not enabled by default because it's a breaking change. Set Dry::Types.use_namespaced_optionals(true) to enable it.
Dry::Types["params.integer"].optional.("") # => Coe...