Skip to content

Commit

Permalink
prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-barz-brickmakers committed Mar 24, 2023
1 parent 75aa4f2 commit 2fc0038
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 17 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/sodium_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ on:
paths:
- "packages/sodium/**"
- ".github/workflows/sodium_ci.yaml"
pull_request:
branches:
- "**"
paths:
- "packages/sodium/**"
- ".github/workflows/sodium_ci.yaml"

jobs:
ci:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/sodium_libs_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ on:
paths:
- "packages/sodium_libs/**"
- ".github/workflows/sodium_libs_ci.yaml"
pull_request:
branches:
- "**"
paths:
- "packages/sodium_libs/**"
- ".github/workflows/sodium_libs_ci.yaml"

jobs:
ci:
Expand Down
13 changes: 12 additions & 1 deletion packages/sodium_libs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,19 @@ 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.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 beeing published
- Fixed invalid publishing config that prevented android binaries from being published

## [2.0.1] - 2023-03-09
### Changed
Expand Down Expand Up @@ -132,6 +142,7 @@ the page
### Added
- Initial stable release

[2.1.0]: https://github.com/Skycoder42/libsodium_dart_bindings/compare/sodium_libs-v2.0.1+1...sodium_libs-v2.1.0
[2.0.1+1]: https://github.com/Skycoder42/libsodium_dart_bindings/compare/sodium_libs-v2.0.1...sodium_libs-v2.0.1+1
[2.0.1]: https://github.com/Skycoder42/libsodium_dart_bindings/compare/sodium_libs%2Fv2.0.0...sodium_libs-v2.0.1
[2.0.0]: https://github.com/Skycoder42/libsodium_dart_bindings/compare/sodium_libs%2Fv1.2.5+1...sodium_libs%2Fv2.0.0
Expand Down
2 changes: 1 addition & 1 deletion packages/sodium_libs/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'de.skycoder42.sodium_libs'
version '1.2.0'
version '2.1.0'

buildscript {
ext.kotlin_version = '1.7.10'
Expand Down
2 changes: 1 addition & 1 deletion packages/sodium_libs/ios/sodium_libs.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'sodium_libs'
s.version = '1.2.0'
s.version = '2.1.0'
s.summary = 'Flutter companion package to sodium that provides the low-level libsodium binaries for easy use.'
s.description = <<-DESC
Flutter companion package to sodium that provides the low-level libsodium binaries for easy use.
Expand Down
2 changes: 1 addition & 1 deletion packages/sodium_libs/macos/sodium_libs.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'sodium_libs'
s.version = '1.2.0'
s.version = '2.1.0'
s.summary = 'Flutter companion package to sodium that provides the low-level libsodium binaries for easy use.'
s.description = <<-DESC
Flutter companion package to sodium that provides the low-level libsodium binaries for easy use.
Expand Down
2 changes: 1 addition & 1 deletion packages/sodium_libs/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sodium_libs
version: 2.0.1+1
version: 2.1.0
description: Flutter companion package to sodium that provides the low-level libsodium binaries for easy use.
homepage: https://github.com/Skycoder42/libsodium_dart_bindings

Expand Down
2 changes: 2 additions & 0 deletions packages/sodium_libs/tool/libsodium/.last-modified.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
https://download.libsodium.org/libsodium/releases/libsodium-1.0.18-stable-msvc.zip - Wed, 01 Mar 2023 16:18:29 GMT
https://download.libsodium.org/libsodium/releases/libsodium-1.0.18-stable.tar.gz - Wed, 01 Mar 2023 16:05:26 GMT
18 changes: 18 additions & 0 deletions tool/setup-git-hooks.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash
set -eo pipefail

mkdir -p .git/hooks

cat << EOF > .git/hooks/pre-commit
#!/bin/bash
set -eo pipefail
pushd packages/sodium
dart run dart_pre_commit
popd
pushd packages/sodium_libs
flutter pub run dart_pre_commit
popd
EOF
chmod a+x .git/hooks/pre-commit

0 comments on commit 2fc0038

Please sign in to comment.