+
Skip to content

5.0.1

Latest
Compare
Choose a tag to compare
@LVMVRQUXL LVMVRQUXL released this 26 Apr 18:10
· 45 commits to main since this release
5.0.1
c75503e

✨ Added

  • The EmailAddressRegex experimental type representing a regular expression for validating email addresses, in the types Gradle subproject (#809).
  • The EmailAddress.Companion.orNull(String, EmailAddressRegex) and the EmailAddress.Companion.orThrow(String, EmailAddressRegex) experimental functions, in the types Gradle subproject, for creating an email address matching the specified regular expression (#809).
  • The EmailAddressRegex.Companion.stringSerializer() experimental function, in the types-kotlinx-serialization Gradle subproject, for serializing the EmailAddressRegex type as String (#809).
  • The KotoolsTypesSerializersModule() experimental function, in the types-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 the types-kotlinx-serialization Gradle subproject (#793):
    • byteSerializer() for serializing the Zero type as Byte.
    • shortSerializer() for serializing the Zero type as Short.
    • intSerializer() for serializing the Zero type as Int.
    • longSerializer() for serializing the Zero type as Long.
    • floatSerializer() for serializing the Zero type as Float.
    • doubleSerializer() for serializing the Zero type as Double.
    • stringSerializer() for serializing the Zero type as String.
  • The EmailAddress.Companion.stringSerializer() experimental function, in the types-kotlinx-serialization Gradle subproject, for serializing the EmailAddress type as String (#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 new KotoolsTypesSerializersModule() function (#790).

🗑️ Deprecated

  • The EmailAddress.Companion.PATTERN experimental property with an error level for using the EmailAddressRegex.Companion.default() function instead (#809).
  • The EmailAddress.Companion.orNull(String, String) experimental function with an error level for using the orNull(String, EmailAddressRegex) overload instead (#809).
  • The EmailAddress.Companion.orThrow(String, String) experimental function with an error level for using the orThrow(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 the types Gradle subproject (#802). Better alternatives for these declarations will be introduced in the org.kotools.types package.
  • The KotoolsTypesSerializers experimental type from the types-kotlinx-serialization Gradle subproject, for using the KotoolsTypesSerializersModule() function instead (#790).
  • The ZeroAsByteSerializer experimental type, from the types-kotlinx-serialization Gradle subproject, for using the Zero.Companion.byteSerializer() function instead (#795).
  • The EmailAddressAsStringSerializer experimental type, from the types-kotlinx-serialization Gradle subproject, for using the EmailAddress.Companion.stringSerializer() function instead (#796).

Thanks to @LVMVRQUXL for contributing to this new release. 🙏

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载