Releases: ssg/trid
Releases · ssg/trid
5.0.0
4.0.0
Breaking changes
-
Removed
TryFromimpls for&Bytesand&[u8]types. The only conversion
is possible from&strnow. Changed the validation to use&strinstead of
&[u8]. The main reason I made this change is that it makes no sense to
convert from a ASCII-encoded&[u8]not have it as&str. The conversion
can alerady be done withfrom_utf8(), no need to repeat it there. -
Removed
Displayimpl fromTurkishIdErrorcompletely as derivingDebugalready does it.
This might mean that any code that relies on the fmt output ofTurkishIdErrormight break.
3.0.0
2.0.0
This release has perf improvements by avoiding multiple validations, and changes From implementations to TryFrom instead as per @EkremDincel's suggestions.