ulid 2.1.0
ulid: ^2.1.0 copied to clipboard
Lexicographically sortable, 128-bit identifier (UUID) with 48-bit timestamp and 80 random bits. Canonically encoded as a 26 character string, as opposed to the 36 character UUID.
Changelog #
2.1.0 #
- Fixed minor correctness bugs, invalid ULID string will throw
FormatException. - Added
Ulid.toBase32(): uppercase, spec-aligned 26-character format, with an optionallowercaseparameter. Added a matchinguppercaseparameter toUlid.toUuid(). - Clarified method docs on which format and casing each
toXxx()method emits. Ulid.parsedoc clarifies it accepts both upper- and lowercase input (unchanged behavior).- Deprecated
Ulid.toCanonical()in favor ofUlid.toBase32(); it will be removed in a future major version. - Warning:
Ulid.toString()currently returns the lowercase canonical format, but a future major version will switch it to the uppercasetoBase32()format. CalltoBase32()ortoCanonical()explicitly if your code depends on a specific casing.
2.0.2 #
- Updated lints and readme.
2.0.1 #
- Updated lints.
2.0.0 #
- Migrate to null safety. (#10 by ChristianGaertner)
1.1.0 #
- Updated code to 2.7 Dart and latest
pedanticlints. - Added
Ulid.toBytesandUlid.fromBytes.
1.0.4 #
- implement
operator ==andhashCode
1.0.3 #
- Fixed bit loss in browser's int handling.
1.0.2 #
- Using
package:pedantic. - Removed leftover
mainmethod.
1.0.1 #
- Declared support for Dart 2.
- Upgraded dependencies.
1.0.0 #
- First public version.