diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 0278631..8a8eb2d 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -47,7 +47,7 @@ jobs: matrix: # Add macos-latest and/or windows-latest if relevant for this package. os: [ubuntu-latest] - sdk: [2.19.0, dev] + sdk: [3.2, dev] steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d diff --git a/CHANGELOG.md b/CHANGELOG.md index eacf774..5b9cadf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.0.4-wip + +* Require Dart 3.2 + ## 3.0.3 * Require Dart 2.19.0. diff --git a/analysis_options.yaml b/analysis_options.yaml index abf3b91..2ca6941 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -11,4 +11,3 @@ linter: - avoid_unused_constructor_parameters - cancel_subscriptions - package_api_docs - - test_types_in_equals diff --git a/lib/src/md5.dart b/lib/src/md5.dart index c4f7ff4..df30a3f 100644 --- a/lib/src/md5.dart +++ b/lib/src/md5.dart @@ -61,7 +61,7 @@ const _shiftAmounts = [ 10, 15, 21, 06, 10, 15, 21 ]; -/// The concrete implementation of [MD5]. +/// The concrete implementation of `MD5`. /// /// This is separate so that it can extend [HashSink] without leaking additional /// public members. diff --git a/lib/src/sha1.dart b/lib/src/sha1.dart index 3120c58..5fc13a0 100644 --- a/lib/src/sha1.dart +++ b/lib/src/sha1.dart @@ -29,7 +29,7 @@ class _Sha1 extends Hash { ByteConversionSink.from(_Sha1Sink(sink)); } -/// The concrete implementation of [Sha1]. +/// The concrete implementation of `Sha1`. /// /// This is separate so that it can extend [HashSink] without leaking additional /// public members. diff --git a/lib/src/sha256.dart b/lib/src/sha256.dart index 66e7c4d..36808d3 100644 --- a/lib/src/sha256.dart +++ b/lib/src/sha256.dart @@ -139,7 +139,7 @@ abstract class _Sha32BitSink extends HashSink { } } -/// The concrete implementation of [Sha256]. +/// The concrete implementation of `Sha256`. /// /// This is separate so that it can extend [HashSink] without leaking additional /// public members. @@ -164,7 +164,7 @@ class _Sha256Sink extends _Sha32BitSink { ])); } -/// The concrete implementation of [Sha224]. +/// The concrete implementation of `Sha224`. /// /// This is separate so that it can extend [HashSink] without leaking additional /// public members. diff --git a/lib/src/sha512_fastsinks.dart b/lib/src/sha512_fastsinks.dart index 636af26..c2a0f97 100644 --- a/lib/src/sha512_fastsinks.dart +++ b/lib/src/sha512_fastsinks.dart @@ -96,7 +96,7 @@ abstract class _Sha64BitSink extends HashSink { } } -/// The concrete implementation of [Sha384]. +/// The concrete implementation of `Sha384`. /// /// This is separate so that it can extend [HashSink] without leaking additional /// public members. @@ -119,7 +119,7 @@ class Sha384Sink extends _Sha64BitSink { ])); } -/// The concrete implementation of [Sha512]. +/// The concrete implementation of `Sha512`. /// /// This is separate so that it can extend [HashSink] without leaking additional /// public members. diff --git a/lib/src/sha512_slowsinks.dart b/lib/src/sha512_slowsinks.dart index 5c5d597..2dd64e0 100644 --- a/lib/src/sha512_slowsinks.dart +++ b/lib/src/sha512_slowsinks.dart @@ -271,7 +271,7 @@ abstract class _Sha64BitSink extends HashSink { } } -/// The concrete implementation of [Sha384]. +/// The concrete implementation of `Sha384`. /// /// This is separate so that it can extend [HashSink] without leaking additional /// public members. @@ -302,7 +302,7 @@ class Sha384Sink extends _Sha64BitSink { ])); } -/// The concrete implementation of [Sha512]. +/// The concrete implementation of `Sha512`. /// /// This is separate so that it can extend [HashSink] without leaking additional /// public members. diff --git a/pubspec.yaml b/pubspec.yaml index 968e5c0..8d06f19 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,17 +1,18 @@ name: crypto -version: 3.0.3 +version: 3.0.4-wip description: Implementations of SHA, MD5, and HMAC cryptographic functions. repository: https://github.com/dart-lang/crypto topics: - crypto + - cryptography environment: - sdk: '>=2.19.0 <3.0.0' + sdk: ^3.2.0 dependencies: typed_data: ^1.3.0 dev_dependencies: convert: ^3.0.0 - dart_flutter_team_lints: ^1.0.0 + dart_flutter_team_lints: ^2.0.0 test: ^1.16.0