sodium_libs 1.2.5 copy "sodium_libs: ^1.2.5" to clipboard
sodium_libs: ^1.2.5 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.

1.2.5 #

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

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

Changed #

  • Updated minimum required sodium version to 1.2.4

1.2.4+2 #

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 #

Fixed #

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

1.2.4 #

Changed #

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

1.2.3 #

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 #

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 #

Fixed #

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

1.2.0 #

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

Removed #

  • Various internal APIs have been removed

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

1.1.1 #

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 #

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 #

Fixed #

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

1.0.0 #

Fixed #

  • Web/Windows builds did not work when packages was installed via pub.dev

0.1.0 #

Added #

  • Initial release

Unreleased #

Added #

Changed #

Deprecated #

Removed #

Fixed #

Security #

14
likes
0
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

License

unknown (LICENSE)

Dependencies

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

More

Packages that depend on sodium_libs