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
removedfoldEncStr
,foldCheckedEncStr
renamedsplitSomePayload
tosplitCheckedPayload
- ๐
HasA
typeclass moved to Examples - โ removed experimental
Data.TypedEncoding.Instances.Restriction.Bool
in favor of combinator helpersData.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 toData.TypedEncoding.Instances.Support.Decode
- ๐ Signature changed in previously deprecated function
runDecoding
to matchmn ~ alg
convention and deprecation removed - ๐ Signature changed in previously deprecated function
runDecodings
to matchmns ~ algs
convention and deprecation removed - ๐ Signature changed in previously deprecated function
runValidation
to matchmns ~ algs
convention and deprecation removed runValidationChecks
renamed torunValidationChecks'
to match /typed-encoding/ naming conventions.- โ removed deprecated
propEncodesInto'
- ๐ moved
Append
type family from fromData.TypedEncoding.Common.Class.Util
toData.TypedEncoding.Common.Util.TypeLits
Data.TypedEncoding.Common.Class.Util
renamed toData.TypedEncoding.Common.Class.Common
- ๐ function
extractEither
removed fromData.TypedEncoding.Internal.Util
- ๐ function
withSomeSymbol
moved toData.TypedEncoding.Common.Util.TypeLits
๐ function
proxyCons
moved toData.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 conventionvalidR'
function renamed to_validR
- โฌ๏ธ 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