Skip to content

convertlib release

convertlib 3.5.0

  • [Breaking Changes]
    • Removes encodeString, decodeString from IterableCodec.
  • Renames internal abstract class HashlibConverter to CipherlibConverter.
  • Fix CryptDataBuilder.param to throw an ArgumentError when the value is null, instead of a raw TypeError.
  • Speed up Base-64 and Base-32 encoding with specialized single-pass encoders. Base-64 encoding now outperforms dart:convert.
  • Speed up Base-64 and Base-32 decoding with specialized single-pass decoders. Base-64 decoding now outperforms dart:convert.
  • Speed up toUtf8 using Uint8List buffer instead of plain List<int>. UTF-8 encoding now outperforms dart:convert.
  • Speed up fromUtf8 with a dedicated byte-to-string decoder. UTF-8 decoding now matches closely with dart:convert.
  • Refactor existing benchmarks and add missing ones. Dropping benchmark_harness dependency in favor of custom benchmarking class with better flexibility.

All posts·RSS feed