typed-encoding v0.5.0 Release Notes

  • ๐Ÿ”„ Changes on a high level

    • โฌ†๏ธ Most of the changes should not create a big impact on upgrading. Many definitions were moved to a different module but these modules are and had been re-exported by either Data.TypedEncoding or ๐Ÿ‘ Data.TypedEncoding.Instances.Support
    • ๐Ÿšš Some functionality has been moved to Examples or removed, notably:
      • "do-" encodings
      • SomeEnc, SomeAnnotation
      • HasA typeclass
    • ๐Ÿ—„ Some functions have been renamed or type signatures adjusted to follow consistent naming conventions. In most cases the changes have been made on previously deprecated definitions.

    Details

    • ๐Ÿšš Data.TypedEncoding.Instances.Do.Sample moved to Examples
    • Examples.TypedEncoding folder re-org
    • ๐Ÿšš Data.TypedEncoding.Instances.Support.Helpers removed foldEncStr, foldCheckedEncStr renamed splitSomePayload to splitCheckedPayload
    • ๐Ÿšš HasA typeclass moved to Examples
    • โœ‚ removed experimental Data.TypedEncoding.Instances.Restriction.Bool in favor of combinator helpers Data.TypedEncoding.Instances.Support.Bool
    • ๐Ÿšš Data.TypedEncoding.Common.Types.SomeEnc moved to Examples
    • ๐Ÿšš Data.TypedEncoding.Common.Types.SomeAnnotation moved to Examples
    • camel-case of some property names
    • ๐Ÿšš Text instances for "Base64" moved to Data.TypedEncoding.Instances.Enc.Warn.Base64
    • โœ‚ Removed instanced for "r-()" encoding
    • ๐Ÿšš Functions from Data.TypedEncoding.Instances.Support.Common moved to Data.TypedEncoding.Instances.Support.Decode
    • ๐Ÿšš Signature changed in previously deprecated function runDecoding to match mn ~ alg convention and deprecation removed
    • ๐Ÿšš Signature changed in previously deprecated function runDecodings to match mns ~ algs convention and deprecation removed
    • ๐Ÿšš Signature changed in previously deprecated function runValidation to match mns ~ algs convention and deprecation removed
    • runValidationChecks renamed to runValidationChecks' to match /typed-encoding/ naming conventions.
    • โœ‚ removed deprecated propEncodesInto'
    • ๐Ÿšš moved Append type family from from Data.TypedEncoding.Common.Class.Util to Data.TypedEncoding.Common.Util.TypeLits
    • Data.TypedEncoding.Common.Class.Util renamed to Data.TypedEncoding.Common.Class.Common
    • ๐Ÿšš function extractEither removed from Data.TypedEncoding.Internal.Util
    • ๐Ÿšš function withSomeSymbol moved to Data.TypedEncoding.Common.Util.TypeLits
    • ๐Ÿšš function proxyCons moved to Data.TypedEncoding.Common.Util.TypeLits

    • More general instances for some encodings in Data.TypedEncoding.Instances.Restriction.Misc

    • ๐Ÿ—„ mkDecoding deprecated in favor of _mkDecoding to follow the naming convention

    • ๐Ÿ—„ mkValidation deprecated in favor of _mkValidation to follow the naming convention

    • validR' function renamed to _validR