Skip to content

Releases: Skycoder42/libsodium_dart_bindings

Release of package sodium - Version 3.2.0

18 Aug 17:32
8a1bcea
Compare
Choose a tag to compare

Changelog

3.2.0 - 2024-08-18

Added

  • Added crypto.secretStream.pushChunked and crypto.secretStream.pullChunked
    • Serve as a replacement for the deprecated push and pull APIs
    • Allow for a secure and bug-free encryption of files and other binary streams
      by requiring a chunkSize that is used to partition the incoming binary
      data into fix-sized chunks, just as the API expects.
  • Added file encryption/decryption example

Deprecated

  • Deprecated crypto.secretStream.push and crypto.secretStream.pull
    • These methods where error prone and hard to use, as the API assumes that
      the stream events are pre-chunked and "separate" from each other, while
      Stream<List<int>> in dart typically means an "arbitrary binary stream"
    • Use pushChunked and pullChunked as replacement
    • Related: #114, #52, #26

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

Release of package sodium_libs - Version 3.0.0

15 Aug 11:39
e25029d
Compare
Choose a tag to compare

Changelog

3.0.0 - 2024-08-15

Changed

  • Updated dependencies
  • Updated min dart sdk to 3.5.0
  • Updated min flutter sdk to 3.24.0
  • Updated min sodium version to 3.0.1
  • Updated embedded libsodium to version 1.0.20 (0.7.14 for JS)
  • [BREAKING] Updated min Android SDK level to 21
  • Unified iOS and macOS plugin code
    • Uses xcframwork with embedded frameworks for both
    • Supported platforms have not changed
  • Run Android/iOS Integration tests via https://www.browserstack.com/
    • Special thanks to BrowserStack for sponsoring this project with a free subscription to App Automate!

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

Release of package sodium - Version 3.1.0

15 Aug 16:34
5b04d74
Compare
Choose a tag to compare

Changelog

3.1.0 - 2024-08-15

Fixed

  • Added override for SodiumSumo.runIsolated that passes a SodiumSumo instance to the callback (#116)

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

Release of package sodium - Version 3.0.1

15 Aug 05:52
0ff4eff
Compare
Choose a tag to compare

Changelog

3.0.1 - 2024-08-15

Changed

  • Updated min required dart SDK to 3.5.0
  • Updated dependencies

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

Release of package sodium - Version 3.0.0

26 Jul 13:19
fb86299
Compare
Choose a tag to compare

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.

Release of package sodium_libs - Version 2.2.1+6

16 Jun 18:52
321ea21
Compare
Choose a tag to compare

Changelog

2.2.1+6 - 2024-06-11

Changed

  • Update embedded libsodium binaries

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

[INTERNAL] Precompiled libsodium binaries v1.0.20

12 Jul 06:20
321ea21
Compare
Choose a tag to compare

Internal release of precompiled libsodium binaries, required for the sodium_libs package.

Release of package sodium_libs - Version 2.2.1+5

21 May 04:55
c186602
Compare
Choose a tag to compare

Changelog

2.2.1+5 - 2024-05-21

Changed

  • Update embedded libsodium binaries

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

Release of package sodium_libs - Version 2.2.1+4

14 May 04:59
87263a4
Compare
Choose a tag to compare

Changelog

2.2.1+4 - 2024-05-14

Changed

  • Update embedded libsodium binaries

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

Release of package sodium_libs - Version 2.2.1+3

08 May 20:12
737153e
Compare
Choose a tag to compare

Changelog

2.2.1+3 - 2024-05-08

Changed

  • Update embedded libsodium binaries

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