[!IMPORTANT]
This is an incompatible source change. See our versioning strategy for more details on when we could publish it.
📝 Description
We want to introduce a public constructor in the NotBlankString type accepting a String value for replacing the create(Any?) and the createOrNull(Any?) functions from its companion object. For ensuring a smooth migration, we also want to deprecate these functions with an error level indicating that these will be removed in the next minor release. The deprecation should suggest an automatic replacement for using the new constructor.
📝 Description
We want to introduce a public constructor in the
NotBlankString
type accepting aString
value for replacing thecreate(Any?)
and thecreateOrNull(Any?)
functions from its companion object. For ensuring a smooth migration, we also want to deprecate these functions with an error level indicating that these will be removed in the next minor release. The deprecation should suggest an automatic replacement for using the new constructor.✅ Checklist
create(Any?)
function with an error level.createOrNull(Any?)
function with an error level.create(Any?)
and thecreateOrNull(Any?)
functions in the next minor release.