sodium_libs 2.0.1+1
sodium_libs: ^2.0.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.0.1+1 - 2023-03-09 #
Fixed #
- Fixed invalid publishing config that prevented android binaries from beeing 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
SodiumSumointerface viaSodiumSumoInit.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
loadSodiumSumotoSodiumPlatforminterface
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_webcommand will now add a<script>element to the<head>of yourindex.html- Speeds up page loads
- Fixes problems with debugging flutter web applications
- Can be disabled by passing the
--no-edit-indexflag toupdate_web
Changed #
- Updated minimum required
sodiumversion to 1.2.4
Fixed #
- Debugging flutter web applications now works, as long as the
sodium.jslibrary is preloaded- Simply run
dart run sodium_libs:update_webagain on your project to automatically update yourindex.htmlto preloadsodium.js
- Simply run
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.flutter-io.cn
1.2.4 - 2022-08-18 #
Changed #
- Updated minimum required
sodiumversion 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
sodiumversion 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_webcommand 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
sodiumversion to 1.2.0+2 - Updated dependencies
- Use newer platform setups of flutter 2.8
- Replaced
lintwithdart_test_toolswhich makes the default rules oflinteven more strict - Refactored test setup tooling
- Windows builds now required
dartto be in the PATH (should be like that per default)
Deprecated #
SodiumInit.ensurePlatformRegisteredis 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.initnow automatically handles multiple initializations and no longer requires theinitNativeparameter for consecutive invocations (#3)- Updated minimum required
sodiumversion to1.1.1
Deprecated #
- The
initNativeparameter ofSodiumInit.inithas been deprecated as it no longer has any effect (#3)