diff --git a/CHANGELOG.md b/CHANGELOG.md index e4d77c8..c9fb8fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,49 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2023-04-05 + +### Changes + +--- + +Packages with breaking changes: + + - [`native_crypto_platform_interface` - `v0.2.0`](#native_crypto_platform_interface---v020) + +Packages with other changes: + + - [`native_crypto_android` - `v0.1.2`](#native_crypto_android---v012) + - [`native_crypto_ios` - `v0.1.2`](#native_crypto_ios---v012) + +--- + +#### `native_crypto_platform_interface` - `v0.2.0` + + - **REFACTOR**: (WIP) optimize exceptions and bytearray. + - **FIX**: update verify function. + - **FEAT**: make api injectable for test. + - **FEAT**: add exception code for platform throw. + - **DOCS**: update readmes/licences. + - **BREAKING** **FEAT**: set pigeon as default implementation. + - **BREAKING** **FEAT**: add pigeon + add hmac + remove useless decryption method. + +#### `native_crypto_android` - `v0.1.2` + + - **FIX**: file encryption. + - **FEAT**: use kotlin pigeon generator. + - **FEAT**: generate pigeon messages. + - **DOCS**: update readmes/licences. + +#### `native_crypto_ios` - `v0.1.2` + + - **REFACTOR**: remove useless lines/classes. + - **FIX**: key length in bits. + - **FEAT**: use swift pigeon generator. + - **FEAT**: generate pigeon messages. + - **DOCS**: update readmes/licences. + + ## 2022-05-25 ### Changes diff --git a/packages/native_crypto/pubspec.yaml b/packages/native_crypto/pubspec.yaml index f5b311c..2588e97 100644 --- a/packages/native_crypto/pubspec.yaml +++ b/packages/native_crypto/pubspec.yaml @@ -14,19 +14,19 @@ dependencies: native_crypto_android: git: url: https://github.com/hugo-pcl/native-crypto-flutter.git - ref: native_crypto_android-v0.1.1 + ref: native_crypto_android-v0.1.2 path: packages/native_crypto_android native_crypto_ios: git: url: https://github.com/hugo-pcl/native-crypto-flutter.git - ref: native_crypto_ios-v0.1.1 + ref: native_crypto_ios-v0.1.2 path: packages/native_crypto_ios native_crypto_platform_interface: git: url: https://github.com/hugo-pcl/native-crypto-flutter.git - ref: native_crypto_platform_interface-v0.1.1 + ref: native_crypto_platform_interface-v0.2.0 path: packages/native_crypto_platform_interface equatable: ^2.0.5 diff --git a/packages/native_crypto_android/CHANGELOG.md b/packages/native_crypto_android/CHANGELOG.md index ce1055b..6654c9d 100644 --- a/packages/native_crypto_android/CHANGELOG.md +++ b/packages/native_crypto_android/CHANGELOG.md @@ -1,3 +1,10 @@ +## 0.1.2 + + - **FIX**: file encryption. + - **FEAT**: use kotlin pigeon generator. + - **FEAT**: generate pigeon messages. + - **DOCS**: update readmes/licences. + ## 0.1.1 - **REFACTOR**: clean and modernize kotlin code. diff --git a/packages/native_crypto_android/pubspec.yaml b/packages/native_crypto_android/pubspec.yaml index 8b40a04..85d421f 100644 --- a/packages/native_crypto_android/pubspec.yaml +++ b/packages/native_crypto_android/pubspec.yaml @@ -1,6 +1,6 @@ name: native_crypto_android description: Android implementation of NativeCrypto -version: 0.1.1 +version: 0.1.2 environment: sdk: ">=2.15.1 <3.0.0" diff --git a/packages/native_crypto_ios/CHANGELOG.md b/packages/native_crypto_ios/CHANGELOG.md index 1511feb..734a8b0 100644 --- a/packages/native_crypto_ios/CHANGELOG.md +++ b/packages/native_crypto_ios/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.1.2 + + - **REFACTOR**: remove useless lines/classes. + - **FIX**: key length in bits. + - **FEAT**: use swift pigeon generator. + - **FEAT**: generate pigeon messages. + - **DOCS**: update readmes/licences. + ## 0.1.1 - **REFACTOR**: rework swift part. diff --git a/packages/native_crypto_ios/pubspec.yaml b/packages/native_crypto_ios/pubspec.yaml index f4de824..921ff4e 100644 --- a/packages/native_crypto_ios/pubspec.yaml +++ b/packages/native_crypto_ios/pubspec.yaml @@ -1,6 +1,6 @@ name: native_crypto_ios description: iOS implementation of NativeCrypto -version: 0.1.1 +version: 0.1.2 environment: sdk: ">=2.15.0 <3.0.0" diff --git a/packages/native_crypto_platform_interface/CHANGELOG.md b/packages/native_crypto_platform_interface/CHANGELOG.md index 8b44888..8dad1ae 100644 --- a/packages/native_crypto_platform_interface/CHANGELOG.md +++ b/packages/native_crypto_platform_interface/CHANGELOG.md @@ -1,3 +1,15 @@ +## 0.2.0 + +> Note: This release has breaking changes. + + - **REFACTOR**: (WIP) optimize exceptions and bytearray. + - **FIX**: update verify function. + - **FEAT**: make api injectable for test. + - **FEAT**: add exception code for platform throw. + - **DOCS**: update readmes/licences. + - **BREAKING** **FEAT**: set pigeon as default implementation. + - **BREAKING** **FEAT**: add pigeon + add hmac + remove useless decryption method. + ## 0.1.1 - **PERF**: x10 perfomance improvement on android with better list management. diff --git a/packages/native_crypto_platform_interface/pubspec.yaml b/packages/native_crypto_platform_interface/pubspec.yaml index 320e4ba..62fde47 100644 --- a/packages/native_crypto_platform_interface/pubspec.yaml +++ b/packages/native_crypto_platform_interface/pubspec.yaml @@ -1,6 +1,6 @@ name: native_crypto_platform_interface description: A common interface for NativeCrypto plugin. -version: 0.1.1 +version: 0.2.0 environment: sdk: ">=2.17.0 <3.0.0" diff --git a/packages/native_crypto_web/pubspec.yaml b/packages/native_crypto_web/pubspec.yaml new file mode 100644 index 0000000..a3b6d99 --- /dev/null +++ b/packages/native_crypto_web/pubspec.yaml @@ -0,0 +1,40 @@ +name: native_crypto_web +description: Web implementation of NativeCrypto +version: 0.1.1 + +publish_to: 'none' + +environment: + sdk: ">=2.15.1 <3.0.0" + flutter: ">=2.5.0" + +dependencies: + flutter: + sdk: flutter + flutter_web_plugins: + sdk: flutter + + js: ^0.6.4 + + native_crypto_platform_interface: + git: + url: https://github.com/hugo-pcl/native-crypto-flutter.git + ref: native_crypto_platform_interface-v0.2.0 + path: packages/native_crypto_platform_interface + +dev_dependencies: + flutter_test: + sdk: flutter + + wyatt_analysis: + git: + url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages + ref: wyatt_analysis-v2.1.0 + path: packages/wyatt_analysis + +flutter: + plugin: + platforms: + web: + pluginClass: NativeCryptoWeb + fileName: native_crypto_web.dart \ No newline at end of file