✨ Added
- The
EmailAddressRegex
experimental type representing a regular expression for validating email addresses, in thetypes
Gradle subproject (#809). - The
EmailAddress.Companion.orNull(String, EmailAddressRegex)
and theEmailAddress.Companion.orThrow(String, EmailAddressRegex)
experimental functions, in thetypes
Gradle subproject, for creating an email address matching the specified regular expression (#809). - The
EmailAddressRegex.Companion.stringSerializer()
experimental function, in thetypes-kotlinx-serialization
Gradle subproject, for serializing theEmailAddressRegex
type asString
(#809). - The
KotoolsTypesSerializersModule()
experimental function, in thetypes-kotlinx-serialization
Gradle subproject, for providing a collection of default serializers for serializing types provided by Kotools Types (#790). - The following extension functions on the
Zero.Companion
experimental type, in thetypes-kotlinx-serialization
Gradle subproject (#793):byteSerializer()
for serializing theZero
type asByte
.shortSerializer()
for serializing theZero
type asShort
.intSerializer()
for serializing theZero
type asInt
.longSerializer()
for serializing theZero
type asLong
.floatSerializer()
for serializing theZero
type asFloat
.doubleSerializer()
for serializing theZero
type asDouble
.stringSerializer()
for serializing theZero
type asString
.
- The
EmailAddress.Companion.stringSerializer()
experimental function, in thetypes-kotlinx-serialization
Gradle subproject, for serializing theEmailAddress
type asString
(#794). - Explanations associated to each symbol used in patterns present in the API reference (fba9c4e).
♻️ Changed
- The README documentation of the
types-kotlinx-serialization
Gradle subproject, for using the newKotoolsTypesSerializersModule()
function (#790).
🗑️ Deprecated
- The
EmailAddress.Companion.PATTERN
experimental property with an error level for using theEmailAddressRegex.Companion.default()
function instead (#809). - The
EmailAddress.Companion.orNull(String, String)
experimental function with an error level for using theorNull(String, EmailAddressRegex)
overload instead (#809). - The
EmailAddress.Companion.orThrow(String, String)
experimental function with an error level for using theorThrow(String, EmailAddressRegex)
overload instead (#809).
🔥 Removed
- Versions 4.5.0, 4.5.1 and 4.5.2 from the API reference (#771).
- Experimental declarations from the
kotools.types.*
packages in thetypes
Gradle subproject (#802). Better alternatives for these declarations will be introduced in theorg.kotools.types
package. - The
KotoolsTypesSerializers
experimental type from thetypes-kotlinx-serialization
Gradle subproject, for using theKotoolsTypesSerializersModule()
function instead (#790). - The
ZeroAsByteSerializer
experimental type, from thetypes-kotlinx-serialization
Gradle subproject, for using theZero.Companion.byteSerializer()
function instead (#795). - The
EmailAddressAsStringSerializer
experimental type, from thetypes-kotlinx-serialization
Gradle subproject, for using theEmailAddress.Companion.stringSerializer()
function instead (#796).
Thanks to @LVMVRQUXL for contributing to this new release. 🙏