| 1 |
# Changelog |
| 2 |
|
| 3 |
All notable changes to this project will be documented in this file. |
| 4 |
|
| 5 |
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 |
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 |
|
| 8 |
|
| 9 |
## [Unreleased] |
| 10 |
|
| 11 |
_No unreleased changes in the pipeline at the moment._ |
| 12 |
|
| 13 |
|
| 14 |
## [5.0.6] - 2021-01-16 |
| 15 |
|
| 16 |
### Added |
| 17 |
|
| 18 |
- As a result of the bugfix mentioned below, there is no performance motivation |
| 19 |
to gate `raw` features behind a feature flag, so those features are now |
| 20 |
available by default without a `raw_` prefix. Usage of the `raw_` prefix and |
| 21 |
the `raw` feature flag is deprecated and these may be removed in a future |
| 22 |
major release, but it doesn't harm to keep them indefinitely for now. |
| 23 |
|
| 24 |
### Changed |
| 25 |
|
| 26 |
- Benchmarks now use `criterion`, and have been significantly cleaned up along |
| 27 |
the way. They are now more extensive and more reliable. |
| 28 |
- Moved MSRV to Rust 1.36 because we now use crossbeam for testing, which |
| 29 |
requires that much. The crate itself should still support Rust 1.34 for now, |
| 30 |
but we cannot test that it continues doing so... |
| 31 |
|
| 32 |
### Fixed |
| 33 |
|
| 34 |
- Removed a possibility of data race that was not observed on current hardware, |
| 35 |
but could be triggered by future hardware or compiler evolutions. See |
| 36 |
https://github.com/HadrienG2/triple-buffer/issues/14 . |
| 37 |
|
| 38 |
|
| 39 |
## [5.0.5] - 2020-07-05 |
| 40 |
|
| 41 |
### Changed |
| 42 |
|
| 43 |
- Use only cache-padded instead of the full crossbeam-utils crate |
| 44 |
- Clean up CI config and cache Rust toolchain there |
| 45 |
|
| 46 |
|
| 47 |
## [5.0.4] - 2020-02-10 |
| 48 |
|
| 49 |
### Added |
| 50 |
|
| 51 |
- Add a changelog to the repository. |
| 52 |
|
| 53 |
### Changed |
| 54 |
|
| 55 |
- Deduplicate CI configuration some more. |
| 56 |
|
| 57 |
### Fixed |
| 58 |
|
| 59 |
- Drop now-unnecessary manual `rustfmt` configuration. |
| 60 |
- Avoid false sharing of back-buffer information. |
| 61 |
|
| 62 |
|
| 63 |
## [5.0.3] - 2020-02-07 |
| 64 |
|
| 65 |
### Changed |
| 66 |
|
| 67 |
- Clean up and deduplicate GitHub Actions configuration. |
| 68 |
- Tune down concurrent test speed to reduce CI false positives. |
| 69 |
|
| 70 |
|
| 71 |
## [5.0.2] - 2020-01-29 |
| 72 |
|
| 73 |
### Changed |
| 74 |
|
| 75 |
- Move continuous integration to GitHub Actions. |
| 76 |
|
| 77 |
|
| 78 |
## [5.0.1] - 2019-11-07 |
| 79 |
|
| 80 |
### Fixed |
| 81 |
|
| 82 |
- Update to current version of dependencies. |
| 83 |
|
| 84 |
|
| 85 |
## [5.0.0] - 2019-04-12 |
| 86 |
|
| 87 |
### Changed |
| 88 |
|
| 89 |
- Bump travis CI configuration to Ubuntu Xenial. |
| 90 |
- Bump minimal supported Rust version to 1.34.0. |
| 91 |
|
| 92 |
### Fixed |
| 93 |
|
| 94 |
- Don't use an `usize` for buffer indices where an `u8` will suffice. |
| 95 |
- Improve Rust API guidelines compliance. |
| 96 |
|
| 97 |
|
| 98 |
## [4.0.1] - 2018-12-31 |
| 99 |
|
| 100 |
### Fixed |
| 101 |
|
| 102 |
- Display `raw` feature documentation on docs.rs. |
| 103 |
|
| 104 |
|
| 105 |
## [4.0.0] - 2018-12-18 |
| 106 |
|
| 107 |
### Changed |
| 108 |
|
| 109 |
- Migrate to Rust 2018. |
| 110 |
- Bump minimal supported Rust version to 1.31.0. |
| 111 |
|
| 112 |
### Fixed |
| 113 |
|
| 114 |
- Update to current version of dependencies. |
| 115 |
- Start using Clippy and integrate it into continuous integration. |
| 116 |
- Re-apply `rustfmt` coding style (was not in CI at the time...). |
| 117 |
|
| 118 |
|
| 119 |
## [3.0.1] - 2018-08-27 |
| 120 |
|
| 121 |
### Fixed |
| 122 |
|
| 123 |
- Make `testbench` a dev-dependency, as it's only used for tests and benchmarks. |
| 124 |
|
| 125 |
|
| 126 |
## [3.0.0] - 2018-08-27 |
| 127 |
|
| 128 |
### Changed |
| 129 |
|
| 130 |
- Buffers are now padded to the size of a cache line to reduce false sharing. |
| 131 |
- Bump minimal supported Rust version to 1.26.0. |
| 132 |
|
| 133 |
### Fixed |
| 134 |
|
| 135 |
- Make `testbench` version requirement more explicit. |
| 136 |
|
| 137 |
|
| 138 |
## [2.0.0] - 2018-02-11 |
| 139 |
|
| 140 |
### Changed |
| 141 |
|
| 142 |
- Switch license to MPLv2, which is a better match to Rust's static linking |
| 143 |
philosophy than LGPL. |
| 144 |
|
| 145 |
|
| 146 |
## [1.1.1] - 2017-11-19 |
| 147 |
|
| 148 |
### Fixed |
| 149 |
|
| 150 |
- Fix my understanding of Cargo features & make the `raw` feature actually work. |
| 151 |
|
| 152 |
|
| 153 |
## [1.1.0] - 2017-11-18 |
| 154 |
|
| 155 |
### Added |
| 156 |
|
| 157 |
- Allow in-place writes on the input and output side, at the cost of stronger |
| 158 |
synchronization barriers, through use of the `raw` Cargo feature. |
| 159 |
|
| 160 |
### Fixed |
| 161 |
|
| 162 |
- Do not require a `Clone` bound on the inner data. |
| 163 |
|
| 164 |
|
| 165 |
## [1.0.0] - 2017-11-10 |
| 166 |
|
| 167 |
### Changed |
| 168 |
|
| 169 |
- Simplify component naming convention, e.g. `TripleBufferInput` -> `Input`. |
| 170 |
|
| 171 |
|
| 172 |
## [0.3.4] - 2017-06-25 |
| 173 |
|
| 174 |
### Changed |
| 175 |
|
| 176 |
- Use `testbench::RaceCell` as an improved form of data race detection in tests. |
| 177 |
|
| 178 |
### Fixed |
| 179 |
|
| 180 |
- Do not require a `PartialEq` bound on the inner data. |
| 181 |
|
| 182 |
|
| 183 |
## [0.3.3] - 2017-06-15 |
| 184 |
|
| 185 |
### Changed |
| 186 |
|
| 187 |
- Tune down concurrent test speed to reduce CI false positives. |
| 188 |
|
| 189 |
|
| 190 |
## [0.3.2] - 2017-06-15 |
| 191 |
|
| 192 |
### Changed |
| 193 |
|
| 194 |
- Tune down concurrent test speed to reduce CI false positives. |
| 195 |
|
| 196 |
|
| 197 |
## [0.3.1] - 2017-06-15 |
| 198 |
|
| 199 |
### Changed |
| 200 |
|
| 201 |
- Tune down concurrent test speed to reduce CI false positives. |
| 202 |
|
| 203 |
|
| 204 |
## [0.3.0] - 2017-06-14 |
| 205 |
|
| 206 |
### Added |
| 207 |
|
| 208 |
- Introduce Travis CI continuous integration. |
| 209 |
|
| 210 |
### Fixed |
| 211 |
|
| 212 |
- Use CI to clarify minimal supported Rust version (currently 1.12.0). |
| 213 |
|
| 214 |
|
| 215 |
## [0.2.4] - 2017-04-04 |
| 216 |
|
| 217 |
### Changed |
| 218 |
|
| 219 |
- Use `testbench` crate for concurrent testing and benchmarking. |
| 220 |
|
| 221 |
|
| 222 |
## [0.2.3] - 2017-03-24 |
| 223 |
|
| 224 |
### Changed |
| 225 |
|
| 226 |
- More detailed comparison with other synchronization primitives in README. |
| 227 |
|
| 228 |
### Fixed |
| 229 |
|
| 230 |
- Adopt `rustfmt` coding style. |
| 231 |
|
| 232 |
|
| 233 |
## [0.2.2] - 2017-03-20 |
| 234 |
|
| 235 |
### Changed |
| 236 |
|
| 237 |
- Reduce reliance on Acquire-Release synchronization. |
| 238 |
|
| 239 |
|
| 240 |
## [0.2.1] - 2017-03-11 |
| 241 |
|
| 242 |
### Changed |
| 243 |
|
| 244 |
- Make README a bit more spambot-proof. |
| 245 |
|
| 246 |
|
| 247 |
## [0.2.0] - 2017-03-11 |
| 248 |
|
| 249 |
### Added |
| 250 |
|
| 251 |
- First tagged release of triple-buffer. |
| 252 |
|
| 253 |
|
| 254 |
|
| 255 |
[Unreleased]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.6...HEAD |
| 256 |
[5.0.4]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.5...v5.0.6 |
| 257 |
[5.0.4]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.4...v5.0.5 |
| 258 |
[5.0.4]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.3...v5.0.4 |
| 259 |
[5.0.3]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.2...v5.0.3 |
| 260 |
[5.0.2]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.1...v5.0.2 |
| 261 |
[5.0.1]: https://github.com/HadrienG2/triple-buffer/compare/v5.0.0...v5.0.1 |
| 262 |
[5.0.0]: https://github.com/HadrienG2/triple-buffer/compare/v4.0.1...v5.0.0 |
| 263 |
[4.0.1]: https://github.com/HadrienG2/triple-buffer/compare/v4.0.0...v4.0.1 |
| 264 |
[4.0.0]: https://github.com/HadrienG2/triple-buffer/compare/v3.0.1...v4.0.0 |
| 265 |
[3.0.1]: https://github.com/HadrienG2/triple-buffer/compare/v3.0.0...v3.0.1 |
| 266 |
[3.0.0]: https://github.com/HadrienG2/triple-buffer/compare/v2.0.0...v3.0.0 |
| 267 |
[2.0.0]: https://github.com/HadrienG2/triple-buffer/compare/v1.1.1...v2.0.0 |
| 268 |
[1.1.1]: https://github.com/HadrienG2/triple-buffer/compare/v1.1.0...v1.1.1 |
| 269 |
[1.1.0]: https://github.com/HadrienG2/triple-buffer/compare/v1.0.0...v1.1.0 |
| 270 |
[1.0.0]: https://github.com/HadrienG2/triple-buffer/compare/v0.3.4...v1.0.0 |
| 271 |
[0.3.4]: https://github.com/HadrienG2/triple-buffer/compare/v0.3.3...v0.3.4 |
| 272 |
[0.3.3]: https://github.com/HadrienG2/triple-buffer/compare/v0.3.2...v0.3.3 |
| 273 |
[0.3.2]: https://github.com/HadrienG2/triple-buffer/compare/v0.3.1...v0.3.2 |
| 274 |
[0.3.1]: https://github.com/HadrienG2/triple-buffer/compare/v0.3.0...v0.3.1 |
| 275 |
[0.3.0]: https://github.com/HadrienG2/triple-buffer/compare/v0.2.4...v0.3.0 |
| 276 |
[0.2.4]: https://github.com/HadrienG2/triple-buffer/compare/v0.2.3...v0.2.4 |
| 277 |
[0.2.3]: https://github.com/HadrienG2/triple-buffer/compare/v0.2.2...v0.2.3 |
| 278 |
[0.2.2]: https://github.com/HadrienG2/triple-buffer/compare/v0.2.1...v0.2.2 |
| 279 |
[0.2.1]: https://github.com/HadrienG2/triple-buffer/compare/v0.2.0...v0.2.1 |
| 280 |
[0.2.0]: https://github.com/HadrienG2/triple-buffer/releases/tag/v0.2.0 |