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.
3.4.3 - 2025-01-08
- Explicitly request dart.bat on windows hosts (#140)
- Detect dart path for android gradle builds via local.properties (#140)
3.4.2 - 2025-01-02
- Fixed dart path in windows CMake (#140)
3.4.1+2 - 2025-01-02
- Switched to zip archives for embedded libsodium binaries to ensure windows compatibility (#142)
3.4.1+1 - 2024-12-31
- Updated embedded libsodium binaries
3.4.1 - 2024-12-28
- Added swift package manager support
- Updated dependencies
- Updated min dart sdk to 3.6.0
- Updated min flutter sdk to 3.27.0
- Updated min sodium version to 3.4.4
- Updated embedded libsodium binaries
- Fixed detection of dart tool for CMake based platforms (#140)
3.4.0+1 - 2024-12-10
- Updated embedded libsodium binaries
3.4.0 - 2024-12-05
- Refactor
sodium_libs
to dynamically download libsodium during the build- This was required for iOS/macOS because of #135
- Introduced for all platforms to keep it consistent
- sha512sums of the binaries are embedded into the package and validated at build time
3.3.1 - 2024-12-03
- Download framework via Podfile for darwin targets (#135)
- Is required because pub.dev does not support directory symlinks, which are required for macOS
- Fix is temporary and will cause the build to break if the release binaries are updated. Proper fix will come soon.
3.3.0+4 - 2024-12-01
- Fixed invalid framework anatomy for macOS framework (#135)
3.3.0+3 - 2024-11-26
- Updated dependencies
- Updated min sodium version to 3.4.3
- Includes important bug fix
3.3.0+2 - 2024-11-05
- Update embedded libsodium binaries
3.3.0+1 - 2024-10-29
- Update embedded libsodium binaries
3.3.0 - 2024-10-21
- Run integration tests via firebase test labs
- Updated dependencies
- Update embedded libsodium binaries
- Updated min sodium version to 3.4.0
- This includes the newly added low level isolate APIs
- Removed BrowserStack integration tests as, BrowserStack does not sponsor App Automate
3.2.0+2 - 2024-09-24
- Update embedded libsodium binaries
3.2.0+1 - 2024-08-22
- Improved documentation
- Updated dev dependencies
- Fix linter issues
3.2.0 - 2024-08-18
- Updated min sodium version to 3.2.0
- This includes the newly added
pushChunked
andpullChunked
APIs
- This includes the newly added
3.0.0 - 2024-08-15
- 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!~~
2.2.1+6 - 2024-06-11
- Update embedded libsodium binaries
2.2.1+5 - 2024-05-21
- Update embedded libsodium binaries
2.2.1+4 - 2024-05-14
- Update embedded libsodium binaries
2.2.1+3 - 2024-05-08
- Update embedded libsodium binaries
2.2.1+2 - 2024-05-07
- Update embedded libsodium binaries
2.2.1+1 - 2024-03-26
- Update embedded libsodium binaries
2.2.1 - 2024-03-12
- 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
- Make compatible with cider 0.2.6
2.2.0+10 - 2024-01-23
- Update embedded libsodium binaries
2.2.0+9 - 2024-01-16
- Update embedded libsodium binaries
2.2.0+8 - 2024-01-09
- Update embedded libsodium binaries
2.2.0+7 - 2023-12-20
- Update embedded libsodium binaries
2.2.0+6 - 2023-11-28
- Update embedded libsodium binaries
2.2.0+5 - 2023-11-14
- Update embedded libsodium binaries
2.2.0+4 - 2023-11-07
- Update embedded libsodium binaries
2.2.0+3 - 2023-10-31
- Update embedded libsodium binaries
2.2.0+2 - 2023-10-24
- Update embedded libsodium binaries
2.2.0+1 - 2023-10-10
- Update embedded libsodium binaries
2.2.0 - 2023-09-23
- Added embedded binaries for linux
- Optional, pkgconfig build is still supported, but not the default anymore
- Currently,
x86_64
andaarch64
are supported
- 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
- Update embedded libsodium binaries
2.1.2+1 - 2023-09-12
- Update embedded libsodium binaries
2.1.2 - 2023-09-07
- 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
- Update embedded libsodium binaries
2.1.1+2 - 2023-07-25
- Update embedded libsodium binaries
2.1.1+1 - 2023-06-28
- Update embedded libsodium binaries
2.1.1 - 2023-06-07
- 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
- Update embedded libsodium binaries
2.1.0 - 2023-03-24
- 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 invalid publishing config that prevented android binaries from being published
2.0.1 - 2023-03-09
- 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 support for loading the
SodiumSumo
interface 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
- 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
toSodiumPlatform
interface
1.2.5+1 - 2022-09-14
- Update README
1.2.5 - 2022-09-13
- 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 yourindex.html
- Speeds up page loads
- Fixes problems with debugging flutter web applications
- Can be disabled by passing the
--no-edit-index
flag toupdate_web
- Updated minimum required
sodium
version to 1.2.4
- 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 yourindex.html
to preloadsodium.js
- Simply run
1.2.4+2 - 2022-09-07
- 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
- use pubspec_overrides.yaml for development to ensure all overrides are removed before deploying to pub.dev
1.2.4 - 2022-08-18
- Updated minimum required
sodium
version to 1.2.3 - Updated dependencies
- Deploy full android native libraries (#15)
1.2.3 - 2022-05-27
- 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
- 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
- Windows: Invoke dart via CMD in CMake to prevent problems on Windows 11 (#9)
1.2.0 - 2022-01-05
- Added support for the Sumo-Version of sodium.js (#4)
- 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
withdart_test_tools
which makes the default rules oflint
even more strict - Refactored test setup tooling
- Windows builds now required
dart
to be in the PATH (should be like that per default)
SodiumInit.ensurePlatformRegistered
is no longer needed, as platform registration now works automatically
- 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
- Various internal APIs have been removed
1.1.1 - 2021-08-26
SodiumInit.init
now automatically handles multiple initializations and no longer requires theinitNative
parameter for consecutive invocations (#3)- Updated minimum required
sodium
version to1.1.1
- The
initNative
parameter ofSodiumInit.init
has been deprecated as it no longer has any effect (#3)
1.1.0 - 2021-08-17
SodiumInit.init
can now be called withinitNative: false
to disable initialization of the native library, in case it has already been initialized
- Updated minimum required
sodium
version to1.1.0
1.0.1 - 2021-07-13
- Make links in README secure (pub.dev score)
- Use longer package description (pub.dev score)
1.0.0 - 2021-07-13
- Initial stable release