|
| 1 | +## 3.0.6 |
| 2 | + |
| 3 | +* Move to `dart-lang/core` monorepo. |
| 4 | + |
| 5 | +## 3.0.5 |
| 6 | + |
| 7 | +* Revert switch to enable fast "sinks" on Wasm because it breaks `dart2js` with |
| 8 | + server mode. |
| 9 | + |
| 10 | +## 3.0.4 |
| 11 | + |
| 12 | +* Fix WebAssembly support. |
| 13 | +* Require Dart 3.4 |
| 14 | + |
| 15 | +## 3.0.3 |
| 16 | + |
| 17 | +* Require Dart 2.19.0. |
| 18 | +* Add topics to `pubspec.yaml`. |
| 19 | + |
| 20 | +## 3.0.2 |
| 21 | + |
| 22 | +* Require Dart 2.14.0. |
| 23 | +* Fix bug calculating hashes for content larger than 512MB when compiled to JS. |
| 24 | + |
| 25 | +## 3.0.1 |
| 26 | + |
| 27 | +* Fix doc links in README. |
| 28 | + |
| 29 | +## 3.0.0 |
| 30 | + |
| 31 | +* Stable release for null safety. |
| 32 | +* Adds SHA-2 512/224 and SHA-2 512/256 from FIPS 180-4 |
| 33 | +* Removes `newInstance` instance members on some classes |
| 34 | + and updates documentation. |
| 35 | + |
| 36 | +## 2.1.5 |
| 37 | + |
| 38 | +* Improve example and package description to address package site maintenance |
| 39 | + suggestions. |
| 40 | + |
| 41 | +## 2.1.4 |
| 42 | + * BugFix: padding was incorrect for some SHA-512/328. |
| 43 | + |
| 44 | +## 2.1.3 |
| 45 | + * **Security vulnerability**: Fixed constant-time comparison in `Digest`. |
| 46 | + |
| 47 | +## 2.1.2 |
| 48 | + * Fix bug in SHA-2 384/512 blocksize. |
| 49 | + * Added HMAC-SHA-2 test vectors |
| 50 | + |
| 51 | +## 2.1.1+1 |
| 52 | + * Bump version number for publish mishap (spare file uploaded with `pub |
| 53 | + publish`). |
| 54 | + |
| 55 | +## 2.1.1 |
| 56 | + * Added a workaround for a bug in DDC (used in build_web_compilers 1.x). |
| 57 | + This bug is not present in DDK (used in build_web_compilers 2.x). |
| 58 | + |
| 59 | +## 2.1.0 |
| 60 | + * Added SHA384, and SHA512 |
| 61 | + * Add Sha224 + Refactor |
| 62 | + * Support 32bit and 64bit operations for SHA384/51 |
| 63 | + * Add conditional imports |
| 64 | + * De-listify 32bit allocations |
| 65 | + * Add sha monte tests for 224,256,384, and 512 |
| 66 | + |
| 67 | +## 2.0.5 |
| 68 | + |
| 69 | +* Changed the max message size instead to 0x3ffffffffffff, which is the largest |
| 70 | + portable value for both JS and the Dart VM. |
| 71 | + |
| 72 | +## 2.0.4 |
| 73 | + |
| 74 | +* Made max message size a BigNum instead of an int so that dart2js can compile |
| 75 | + with crypto. |
| 76 | + |
| 77 | +## 2.0.3 |
| 78 | + |
| 79 | +* Updated SDK version to 2.0.0-dev.17.0 |
| 80 | + |
| 81 | +## 2.0.2+1 |
| 82 | + |
| 83 | +* Fix SDK constraint. |
| 84 | + |
| 85 | +## 2.0.2 |
| 86 | + |
| 87 | +* Prepare `HashSink` implementation for limiting integers to 64 bits in Dart |
| 88 | + language. |
| 89 | + |
| 90 | +## 2.0.1 |
| 91 | + |
| 92 | +* Support `convert` 2.0.0. |
| 93 | + |
| 94 | +## 2.0.0 |
| 95 | + |
| 96 | +**Note**: There are no APIs in 2.0.0 that weren't also in 0.9.2. Packages that |
| 97 | +would use 2.0.0 as a lower bound should use 0.9.2 instead—for example, `crypto: |
| 98 | +">=0.9.2 <3.0.0"`. |
| 99 | + |
| 100 | +* `Hash` and `Hmac` no longer extend `ChunkedConverter`. |
| 101 | + |
| 102 | +## 1.1.1 |
| 103 | + |
| 104 | +* Properly close sinks passed to `Hash.startChunkedConversion()` when |
| 105 | + `ByteConversionSink.close()` is called. |
| 106 | + |
| 107 | +## 1.1.0 |
| 108 | + |
| 109 | +* `Hmac` and `Hash` now extend the new `ChunkedConverter` class from |
| 110 | + `dart:convert`. |
| 111 | + |
| 112 | +* Fix all strong mode warnings. |
| 113 | + |
| 114 | +## 1.0.0 |
| 115 | + |
| 116 | +* All APIs that were deprecated in 0.9.2 have been removed. No new APIs have |
| 117 | + been added. Packages that would use 1.0.0 as a lower bound should use 0.9.2 |
| 118 | + instead—for example, `crypto: ">=0.9.2 <2.0.0"`. |
| 119 | + |
| 120 | +## 0.9.2+1 |
| 121 | + |
| 122 | +* Avoid core library methods that don't work on dart2js. |
| 123 | + |
| 124 | +## 0.9.2 |
| 125 | + |
| 126 | +* `Hash`, `MD5`, `SHA1`, and `SHA256` now implement `Converter`. They convert |
| 127 | + between `List<int>`s and the new `Digest` class, which represents a hash |
| 128 | + digest. The `Converter` APIs—`Hash.convert()` and |
| 129 | + `Hash.startChunkedConversion`—should be used in preference to the old APIs, |
| 130 | + which are now deprecated. |
| 131 | + |
| 132 | +* `SHA1`, `SHA256`, and `HMAC` have been renamed to `Sha1`, `Sha256`, and |
| 133 | + `Hmac`, respectively. The old names still work, but are deprecated. |
| 134 | + |
| 135 | +* Top-level `sha1`, `sha256`, and `md5` fields have been added to make it easier |
| 136 | + to use those hash algorithms without having to instantiate new instances. |
| 137 | + |
| 138 | +* Hashing now works correctly for input sizes up to 2^64 bytes. |
| 139 | + |
| 140 | +### Deprecations |
| 141 | + |
| 142 | +* `Hash.add`, `Hash.close`, and `Hash.newInstance` are deprecated. |
| 143 | + `Hash.convert` should be used for hashing single values, and |
| 144 | + `Hash.startChunkedConversion` should be used for hashing streamed values. |
| 145 | + |
| 146 | +* `SHA1` and `SHA256` are deprecated. Use the top-level `sha1` and `sha256` |
| 147 | + fields instead. |
| 148 | + |
| 149 | +* While the `MD5` class is not deprecated, the `new MD5()` constructor is. Use |
| 150 | + the top-level `md5` field instead. |
| 151 | + |
| 152 | +* `HMAC` is deprecated. Use `Hmac` instead. |
| 153 | + |
| 154 | +* `Base64Codec`, `Base64Encoder`, `Base64Decoder`, `Base64EncoderSink`, |
| 155 | + `Base64DecoderSink`, and `BASE64` are deprecated. Use the Base64 APIs in |
| 156 | + `dart:convert` instead. |
| 157 | + |
| 158 | +* `CryptoUtils` is deprecated. Use the Base64 APIs in `dart:convert` and the hex |
| 159 | + APIs in the `convert` package instead. |
| 160 | + |
| 161 | +## 0.9.1 |
| 162 | + |
| 163 | +* Base64 convert returns an Uint8List |
| 164 | +* Base64 codec and encoder can now take an encodePaddingCharacter |
| 165 | +* Implement a Base64 codec similar to codecs in 'dart:convert' |
| 166 | + |
| 167 | +## 0.9.0 |
| 168 | + |
| 169 | +* ChangeLog starts here. |
0 commit comments