Skip to content

Release of package sodium - Version 3.0.0

Compare
Choose a tag to compare
@Skycoder42 Skycoder42 released this 26 Jul 13:19
fb86299

Changelog

3.0.0 - 2024-07-26

Changed

  • Updated min required dart SDK to 3.4.0
  • Updated dependencies
  • Updated expected libsodium version 1.0.20
  • [BREAKING] Use BigInt for crypto.kdf.deriveFromKeys subKeyId
    • This ensure that 64bit integers can be used safely in the VM and JS
  • Refactor JS implementation to use the new dart:js\_interop and package:web libraries
    • This ensures compatibility with WASM and modern dart/flutter
  • Seal all data types

Removed

  • [BREAKING] Removed deprecations
    • Removed pwhash and aead from the non-sumo API
      • They still exist in the sumo API
    • Removed old SodiumInit.init* methods
      • The SodiumInit.init*2 methods have been renamed to remove the 2

The package and it's documentation are available at pub.dev.