sodium_libs 2.2.1+1 copy "sodium_libs: ^2.2.1+1" to clipboard
sodium_libs: ^2.2.1+1 copied to clipboard

Flutter companion package to sodium that provides the low-level libsodium binaries for easy use.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.2.1+1 - 2024-03-26 #

Changed #

  • Update embedded libsodium binaries

2.2.1 - 2024-03-12 #

Changed #

  • Update dependencies
  • Update min dart sdk to 3.3.0
  • Update min flutter sdk to 3.19.0
  • Update min sodium version to 2.3.1
  • Update embedded libsodium binaries

2.2.0+11 - 2024-02-05 #

Fixed #

  • Make compatible with cider 0.2.6

2.2.0+10 - 2024-01-23 #

Changed #

  • Update embedded libsodium binaries

2.2.0+9 - 2024-01-16 #

Changed #

  • Update embedded libsodium binaries

2.2.0+8 - 2024-01-09 #

Changed #

  • Update embedded libsodium binaries

2.2.0+7 - 2023-12-20 #

Changed #

  • Update embedded libsodium binaries

2.2.0+6 - 2023-11-28 #

Changed #

  • Update embedded libsodium binaries

2.2.0+5 - 2023-11-14 #

Changed #

  • Update embedded libsodium binaries

2.2.0+4 - 2023-11-07 #

Changed #

  • Update embedded libsodium binaries

2.2.0+3 - 2023-10-31 #

Changed #

  • Update embedded libsodium binaries

2.2.0+2 - 2023-10-24 #

Changed #

  • Update embedded libsodium binaries

2.2.0+1 - 2023-10-10 #

Changed #

  • Update embedded libsodium binaries

2.2.0 - 2023-09-23 #

Added #

  • Added embedded binaries for linux
    • Optional, pkgconfig build is still supported, but not the default anymore
    • Currently, x86_64 and aarch64 are supported

Changed #

  • Update embedded libsodium to version 1.0.19
  • Update dependencies
  • Update min sodium version to 2.3.0
  • Update tooling for building libsodium in the CI

2.1.2+2 - 2023-09-19 #

Changed #

  • Update embedded libsodium binaries

2.1.2+1 - 2023-09-12 #

Changed #

  • Update embedded libsodium binaries

2.1.2 - 2023-09-07 #

Changed #

  • Update dependencies
  • Update min required dart SDK to 3.1.0
  • Update min required flutter SDK to 3.13.0
  • Update min sodium version to 2.1.2
  • Update embedded libsodium binaries

2.1.1+3 - 2023-08-15 #

Changed #

  • Update embedded libsodium binaries

2.1.1+2 - 2023-07-25 #

Changed #

  • Update embedded libsodium binaries

2.1.1+1 - 2023-06-28 #

Changed #

  • Update embedded libsodium binaries

2.1.1 - 2023-06-07 #

Changed #

  • Update dependencies
  • Update min dart sdk to 3.0.0
  • Update min flutter sdk to 3.10.0
  • Update min sodium version to 2.1.1
  • Update embedded libsodium binaries

2.1.0+1 - 2023-03-26 #

Changed #

  • Update embedded libsodium binaries

2.1.0 - 2023-03-24 #

Changed #

  • macOs and iOs now use embedded libsodium binaries instead of depending on Swift-Sodium
    • This "unlocks" all libsodium APIs
    • Upstream changes to libsodium can be updated easier and faster
  • Windows now uses an embedded libsodium instead of downloading it at build time
    • minisign is not needed anymore for the build
    • build is more robust and upstream changes can be distributed more easily
  • Improve libsodium integration so stable upstream changes are available faster for the package

2.0.1+1 - 2023-03-09 #

Fixed #

  • Fixed invalid publishing config that prevented android binaries from being published

2.0.1 - 2023-03-09 #

Changed #

  • The plugin now does not call WidgetsFlutterBinding.ensureInitialized(); anymore. Instead, you have to do so yourself in case you need to initialize sodium before the first frame is rendered. See README for more details (#24)
  • Depends on sodium version 2.1.0
  • Set minimum required dart SDK version to 2.19.0
  • Set minimum required flutter SDK version to 3.7.0
  • Update dependencies

2.0.0 - 2022-10-23 #

Added #

  • Added support for loading the SodiumSumo interface via SodiumSumoInit.init
    • All native platforms (android, ios, linux, windows, macos) support the new APIs
    • The web-platform also supports this, as long as it was initialized with --sumo

Changed #

  • Breaking: Depends on sodium version 2.0.0
    • Check that release for more details on all of the changes in that release.
  • Breaking: Added loadSodiumSumo to SodiumPlatform interface

1.2.5+1 - 2022-09-14 #

Changed #

  • Update README

1.2.5 - 2022-09-13 #

Added #

  • The web variant will now check if sodium.js was already loaded before attempting to add the <script> element to the page
  • The update_web command will now add a <script> element to the <head> of your index.html
    • Speeds up page loads
    • Fixes problems with debugging flutter web applications
    • Can be disabled by passing the --no-edit-index flag to update_web

Changed #

  • Updated minimum required sodium version to 1.2.4

Fixed #

  • Debugging flutter web applications now works, as long as the sodium.js library is preloaded
    • Simply run dart run sodium_libs:update_web again on your project to automatically update your index.html to preload sodium.js

1.2.4+2 - 2022-09-07 #

Changed #

  • Update dependencies
  • Set minimum required dart SDK version to 2.18.0
  • Set minimum required flutter SDK version to 3.3.0

1.2.4+1 - 2022-08-19 #

Fixed #

  • use pubspec_overrides.yaml for development to ensure all overrides are removed before deploying to pub.dev

1.2.4 - 2022-08-18 #

Changed #

  • Updated minimum required sodium version to 1.2.3
  • Updated dependencies
  • Deploy full android native libraries (#15)

1.2.3 - 2022-05-27 #

Changed #

  • Updated minimum required dart version to 1.17.0
  • Updated minimum required flutter version to 3.0.0
  • Updated minimum required sodium version to 1.2.2
  • Updated dependencies

1.2.2 - 2022-04-27 #

Changed #

  • updated referenced libsodium.js to version 0.7.10
    • integration tests now run this version
    • the update_web command will now download this version

1.2.1 - 2022-04-14 #

Fixed #

  • Windows: Invoke dart via CMD in CMake to prevent problems on Windows 11 (#9)

1.2.0 - 2022-01-05 #

Added #

  • Added support for the Sumo-Version of sodium.js (#4)

Changed #

  • Changed dependency requirements
    • Set minimum required dart SDK version to 2.15
    • Set minimum required flutter SDK version to 2.8
    • Updated minimum required sodium version to 1.2.0+2
    • Updated dependencies
  • Use newer platform setups of flutter 2.8
  • Replaced lint with dart_test_tools which makes the default rules of lint even more strict
  • Refactored test setup tooling
  • Windows builds now required dart to be in the PATH (should be like that per default)

Deprecated #

  • SodiumInit.ensurePlatformRegistered is no longer needed, as platform registration now works automatically

Fixed #

  • Fix formatting and linter issues with the newer dart SDK & dependencies
  • Removed unused native code
  • Added README hint on how to use the library on iOs Simulators

Removed #

  • Various internal APIs have been removed

1.1.1 - 2021-08-26 #

Changed #

  • SodiumInit.init now automatically handles multiple initializations and no longer requires the initNative parameter for consecutive invocations (#3)
  • Updated minimum required sodium version to 1.1.1

Deprecated #

  • The initNative parameter of SodiumInit.init has been deprecated as it no longer has any effect (#3)

1.1.0 - 2021-08-17 #

Added #

  • SodiumInit.init can now be called with initNative: false to disable initialization of the native library, in case it has already been initialized

Changed #

  • Updated minimum required sodium version to 1.1.0

1.0.1 - 2021-07-13 #

Fixed #

  • Make links in README secure (pub.dev score)
  • Use longer package description (pub.dev score)

1.0.0 - 2021-07-13 #

Added #

  • Initial stable release
14
likes
140
pub points
88%
popularity

Publisher

verified publisherskycoder42.de

Flutter companion package to sodium that provides the low-level libsodium binaries for easy use.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

args, flutter, flutter_web_plugins, html, js, meta, plugin_platform_interface, sodium, synchronized

More

Packages that depend on sodium_libs