Skip to content

Commit

Permalink
update sodium dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Skycoder42 committed Jun 6, 2023
1 parent a94b4fc commit f283ba1
Show file tree
Hide file tree
Showing 35 changed files with 118 additions and 1,153 deletions.
1 change: 1 addition & 0 deletions .github/workflows/sodium_cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
name: Publish
uses: Skycoder42/dart_test_tools/.github/workflows/publish.yml@main
with:
environment: pub-deploy
tagPrefix: sodium-v
workingDirectory: packages/sodium
buildRunner: true
11 changes: 10 additions & 1 deletion packages/sodium/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.1.1] - 2023-06-06
### Changed
- Update dependencies
- Update min dart SDK to 3.0.0

### Removed
- Remove non libsodium definitions from generated ffi code

## [2.1.0] - 2023-03-08
### Added
- `SodiumInit.init2` and `SodiumSumoInit.init2` - these methods replace the now deprecated `.init` methods (#24)
Expand Down Expand Up @@ -130,6 +138,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial stable release

[2.1.1]: https://github.com/Skycoder42/libsodium_dart_bindings/compare/sodium-v2.1.0...sodium-v2.1.1
[2.1.0]: https://github.com/Skycoder42/libsodium_dart_bindings/compare/sodium%2Fv2.0.1...sodium-v2.1.0
[2.0.1]: https://github.com/Skycoder42/libsodium_dart_bindings/compare/sodium%2Fv2.0.0...sodium%2Fv2.0.1
[2.0.0]: https://github.com/Skycoder42/libsodium_dart_bindings/compare/sodium%2Fv1.2.5...sodium%2Fv2.0.0
Expand All @@ -145,4 +154,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[1.1.2]: https://github.com/Skycoder42/libsodium_dart_bindings/compare/sodium%2Fv1.1.1...sodium%2Fv1.1.2
[1.1.1]: https://github.com/Skycoder42/libsodium_dart_bindings/compare/sodium%2Fv1.1.0...sodium%2Fv1.1.1
[1.1.0]: https://github.com/Skycoder42/libsodium_dart_bindings/compare/sodium%2Fv1.0.0...sodium%2Fv1.1.0
[1.0.0]: https://github.com/Skycoder42/libsodium_dart_bindings/releases/tag/sodium%2Fv1.0.0
[1.0.0]: https://github.com/Skycoder42/libsodium_dart_bindings/releases/tag/sodium%2Fv1.0.0
3 changes: 2 additions & 1 deletion packages/sodium/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include: package:dart_test_tools/analysis_options_package.yaml
include: package:dart_test_tools/package.yaml

analyzer:
exclude:
Expand All @@ -10,3 +10,4 @@ linter:
rules:
comment_references: false
avoid_catches_without_on_clauses: false
type_literal_in_constant_pattern: false
3 changes: 1 addition & 2 deletions packages/sodium/lib/src/ffi/api/helpers/keygen_mixin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ mixin KeygenMixin {
Pointer<UnsignedChar> pk,
Pointer<UnsignedChar> sk,
Pointer<UnsignedChar> seed,
)
implementation,
) implementation,
}) {
SecureKeyFFI? secretKey;
SodiumPointer<UnsignedChar>? publicKeyPtr;
Expand Down
Loading

0 comments on commit f283ba1

Please sign in to comment.