Skip to content

Releases: MMZK1526/mmzk-typeid

v0.7.0.0

03 Jul 16:45
Compare
Choose a tag to compare

0.7.0.0 -- 2024-07-03

  • Use Strings instead of Texts inside the constructors of TypeIDError so that it is easier to use the promoted constructors.

  • More complete compile-time error messages for KindID errors.

  • Hide away internal type-level programming details from Haddock.

    • Many of the type-level helper declarations are now internal.

v0.6.3.1

23 Jun 23:02
Compare
Choose a tag to compare

0.6.3.1 -- 2024-06-23

  • Relax the version constraint on bytestring dependency.

v0.6.3.0

01 Jun 08:58
Compare
Choose a tag to compare

0.6.3.0 -- 2024-06-01

  • Update implementation so that the prefix for KindID now conforms with specification v0.3.0.

  • More useful compile-time errors for invalid KindID prefixes.

  • TypeIDError now includes the contextual prefix when necessary to produce better error messages.

  • More tests.

  • Fix known documentation typos.

v0.6.2.0

28 May 18:20
Compare
Choose a tag to compare

0.6.2.0 -- 2024-05-28

  • Fix the bug where the first 32768 TypeIDs may not of the same timestamp.
  • Test on GHC 9.8.2.

v0.6.0.1

26 Apr 06:39
Compare
Choose a tag to compare

0.6.0.1 -- 2024-04-26

  • Fix typo in the maintainer's email address.
    • Astounded at the fact that I mismatched the local part and domain name and didn't realise it for a year.
  • More test cases on parsing.
  • Fix other typos and inconsistencies in the documentation.

v0.6.0.0

19 Apr 08:39
Compare
Choose a tag to compare

0.6.0.0 -- 2024-04-19

  • Update implementation to conform with specification v0.3.0.
    • Allow TypeID prefix to contain underscores.
    • Update parsing logic as well as Binary and Storable instances to reflect the changes.
    • Add tests.
  • Have a breaking change in TypeIDError to better reflect the error cases for the update in the specification.

v0.5.0.2

10 Mar 11:40
Compare
Choose a tag to compare

0.5.0.2 -- 2024-3-10

  • Add Typeable and Data instances for TypeID and KindID.

  • Fix all warnings.

v0.5.0.1

19 Sep 06:39
Compare
Choose a tag to compare

0.5.0.1 --2023-9-18

  • Fix bad links in the documentation.

v0.5.0.0

31 Aug 07:21
Compare
Choose a tag to compare

0.5.0.0 -- 2023-08-31

  • Support TypeID and KindID with UUID suffixes of version 5.

    • They are exported in Data.TypeID.V5 and Data.KindID.V5.
  • Tests for V5 TypeID and KindID.

  • Change signature for genID_ to support UUIDv5.

  • Decide against moving the decorate method.

v0.4.0.1

19 Aug 11:11
Compare
Choose a tag to compare

0.4.0.1 -- 2023-08-19

  • Support TypeID and KindID with UUID suffixes of version 1.

    • They are exported in Data.TypeID.V1 and Data.KindID.V1.
  • Tests for V1 TypeID and KindID.

  • Fix documentation typos.

  • The decorate method will be moved from IDGen to IDType in the next major release.

  • The type signature for genID_ is likely to change in the next major release to support UUIDv5. Hopefully it will not affect any existing concrete functions.