| 1 | <!-- markdownlint-disable blanks-around-headings blanks-around-lists no-duplicate-heading --> |
| 2 | |
| 3 | # Changelog |
| 4 | |
| 5 | All notable changes to this project will be documented in this file. |
| 6 | |
| 7 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 8 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 9 | |
| 10 | <!-- next-header --> |
| 11 | ## [Unreleased] - ReleaseDate |
| 12 | ## [0.20.6] - 2026-01-22 |
| 13 | ### Changed |
| 14 | - [PR#86](https://github.com/EmbarkStudios/cfg-expr/pull/86) updated the builtin target list to 1.93.0. |
| 15 | |
| 16 | ## [0.20.5] - 2025-12-12 |
| 17 | ### Changed |
| 18 | - [PR#85](https://github.com/EmbarkStudios/cfg-expr/pull/85) updated the builtin target list to 1.92.0. |
| 19 | |
| 20 | ## [0.20.4] - 2025-10-31 |
| 21 | ### Changed |
| 22 | - [PR#83](https://github.com/EmbarkStudios/cfg-expr/pull/83) updated the builtin target list to 1.91.0. |
| 23 | |
| 24 | ## [0.20.3] - 2025-09-18 |
| 25 | ### Changed |
| 26 | - [PR#82](https://github.com/EmbarkStudios/cfg-expr/pull/82) updated the builtin target list to 1.90.0. |
| 27 | |
| 28 | ## [0.20.2] - 2025-08-07 |
| 29 | ### Changed |
| 30 | - [PR#81](https://github.com/EmbarkStudios/cfg-expr/pull/81) updated the builtin target list to 1.89.0. |
| 31 | |
| 32 | ## [0.20.1] - 2025-07-07 |
| 33 | ### Changed |
| 34 | - [PR#80](https://github.com/EmbarkStudios/cfg-expr/pull/80) updated the builtin target list to 1.88.0. |
| 35 | |
| 36 | ## [0.20.0] - 2025-05-16 |
| 37 | ### Changed |
| 38 | - [PR#79](https://github.com/EmbarkStudios/cfg-expr/pull/79) updated the builtin target list to 1.87.0. |
| 39 | |
| 40 | ## [0.19.0] - 2025-04-03 |
| 41 | ### Changed |
| 42 | - [PR#78](https://github.com/EmbarkStudios/cfg-expr/pull/78) updated the builtin target list to 1.86.0. |
| 43 | - [PR#78](https://github.com/EmbarkStudios/cfg-expr/pull/78) changed the MSRV to 1.85.0 and the edition to 2024. |
| 44 | |
| 45 | ## [0.18.0] - 2025-02-20 |
| 46 | ### Changed |
| 47 | - [PR#77](https://github.com/EmbarkStudios/cfg-expr/pull/77) updated the builtin target list to 1.84.1 and 1.85.0. |
| 48 | |
| 49 | ## [0.17.2] - 2024-11-29 |
| 50 | ### Changed |
| 51 | - [PR#76](https://github.com/EmbarkStudios/cfg-expr/pull/76) updated the builtin target list to 1.83.0. |
| 52 | |
| 53 | ## [0.17.1] - 2024-11-15 |
| 54 | ### Changed |
| 55 | - [PR#75](https://github.com/EmbarkStudios/cfg-expr/pull/75) updated the builtin target list to 1.82.0. |
| 56 | |
| 57 | ## [0.17.0] - 2024-09-05 |
| 58 | ### Changed |
| 59 | - [PR#74](https://github.com/EmbarkStudios/cfg-expr/pull/74) updated the builtin target list to 1.81.0. |
| 60 | |
| 61 | ## [0.16.0] - 2024-07-29 |
| 62 | ### Changed |
| 63 | - [PR#70](https://github.com/EmbarkStudios/cfg-expr/pull/70) updated the builtin target list to 1.80.0. Thanks [@sunshowers](https://github.com/sunshowers)! |
| 64 | |
| 65 | ## [0.15.8] - 2024-04-10 |
| 66 | ### Changed |
| 67 | - [PR#69](https://github.com/EmbarkStudios/cfg-expr/pull/69) updated the builtin target list to 1.77.2. |
| 68 | |
| 69 | ## [0.15.7] - 2024-02-09 |
| 70 | ### Changed |
| 71 | - [PR#67](https://github.com/EmbarkStudios/cfg-expr/pull/67) updated the builtin target list to 1.76.0. |
| 72 | |
| 73 | ## [0.15.6] - 2024-01-02 |
| 74 | ### Changed |
| 75 | - [PR#66](https://github.com/EmbarkStudios/cfg-expr/pull/66) updated the builtin target list to 1.75.0. |
| 76 | |
| 77 | ## [0.15.5] - 2023-09-08 |
| 78 | ### Changed |
| 79 | - [PR#64](https://github.com/EmbarkStudios/cfg-expr/pull/64) updated the builtin target list to 1.72.0. It also changed the MSRV to 1.70.0. |
| 80 | |
| 81 | ## [0.15.4] - 2023-07-28 |
| 82 | ### Changed |
| 83 | - [PR#62](https://github.com/EmbarkStudios/cfg-expr/pull/62) updated the builtin target list to 1.71.0. |
| 84 | |
| 85 | ## [0.15.3] - 2023-06-19 |
| 86 | ### Fixed |
| 87 | - [PR#61](https://github.com/EmbarkStudios/cfg-expr/pull/61) fixed an issue where `target_os = "none"` was not matching target triplets where `os = None`. Thanks [@sunshowers](https://github.com/sunshowers)! |
| 88 | |
| 89 | ## [0.15.2] - 2023-06-02 |
| 90 | ### Changed |
| 91 | - [PR#59](https://github.com/EmbarkStudios/cfg-expr/pull/60) updated the builtin target list to 1.70.0. |
| 92 | |
| 93 | ## [0.15.1] - 2023-04-20 |
| 94 | ### Changed |
| 95 | - [PR#59](https://github.com/EmbarkStudios/cfg-expr/pull/59) updated the builtin target list to 1.69.0. |
| 96 | |
| 97 | ## [0.15.0] - 2023-04-04 |
| 98 | ### Changed |
| 99 | - [PR#58](https://github.com/EmbarkStudios/cfg-expr/pull/58) updated the builtin target list to 1.68.2. |
| 100 | |
| 101 | ## [0.14.0] - 2023-01-27 |
| 102 | ### Changed |
| 103 | - [PR#57](https://github.com/EmbarkStudios/cfg-expr/pull/57) updated the builtin target list to 1.67.0. |
| 104 | |
| 105 | ## [0.13.0] - 2022-12-19 |
| 106 | ### Changed |
| 107 | - [PR#56](https://github.com/EmbarkStudios/cfg-expr/pull/56) updated the builtin target list to 1.66.0. Thanks [@sunshowers](https://github.com/sunshowers)! |
| 108 | |
| 109 | ## [0.12.0] - 2022-11-07 |
| 110 | ### Changed |
| 111 | - [PR#53](https://github.com/EmbarkStudios/cfg-expr/pull/53) updated the builtin target list to 1.65.0. Thanks [@sunshowers](https://github.com/sunshowers)! |
| 112 | |
| 113 | ### Added |
| 114 | - [PR#54](https://github.com/EmbarkStudios/cfg-expr/pull/54) added support for `abi`, which is currently nightly only, but should have no affect on stable. Thanks [@carols10cents](https://github.com/carols10cents)! |
| 115 | |
| 116 | ## [0.11.0] - 2022-09-27 |
| 117 | ### Changed |
| 118 | - [PR#51](https://github.com/EmbarkStudios/cfg-expr/pull/51) updated the builtin target list to 1.64.0. Thanks [@sunshowers](https://github.com/sunshowers)! |
| 119 | - [PR#51](https://github.com/EmbarkStudios/cfg-expr/pull/51) bumped the MSRV to 1.58.0. |
| 120 | |
| 121 | ## [0.10.3] - 2022-05-19 |
| 122 | ### Added |
| 123 | - [PR#49](https://github.com/EmbarkStudios/cfg-expr/pull/49) added support for the `has_target_atomic = "<ptr | integer>"` and `panic = "<strategy>"` predicates. Thanks [@sunshowers](https://github.com/sunshowers)! |
| 124 | |
| 125 | ## [0.10.2] - 2022-02-25 |
| 126 | ### Changed |
| 127 | - [PR#48](https://github.com/EmbarkStudios/cfg-expr/pull/48) updated the builtin target list to 1.59.0. |
| 128 | |
| 129 | ## [0.10.1] - 2022-02-07 |
| 130 | ### Fixed |
| 131 | - [PR#46](https://github.com/EmbarkStudios/cfg-expr/pull/46) fixed comparison of dynamic target families. |
| 132 | |
| 133 | ## [0.10.0] - 2022-02-04 |
| 134 | ### Changed |
| 135 | - [PR#44](https://github.com/EmbarkStudios/cfg-expr/pull/44) added support for multiple target families that are available from Rust 1.58.0+. Thanks [@sunshowers](https://github.com/sunshowers)! |
| 136 | |
| 137 | ## [0.9.1] - 2022-02-01 |
| 138 | ### Changed |
| 139 | - [PR#42](https://github.com/EmbarkStudios/cfg-expr/pull/42) updated the builtin target list to 1.58.0. Thanks [@sunshowers](https://github.com/sunshowers)! |
| 140 | |
| 141 | ## [0.9.0] - 2021-08-31 |
| 142 | ### Changed |
| 143 | - [PR#35](https://github.com/EmbarkStudios/cfg-expr/pull/35) changed `TargetInfo`, `Os`, `Arch`, `Env`, and `Vendor` to use a `Cow<'static, str>` to avoid the need for lifetime parameters for the common case of statically known target information, but still support arbitrary/future variants. Thanks [@sunshowers](https://github.com/sunshowers)! |
| 144 | - [PR#38](https://github.com/EmbarkStudios/cfg-expr/pull/38) updated the built-in target list to `1.54.0`, which notably includes the addition of the new `wasm` variant to `target_family`. Thanks [@sunshowers](https://github.com/sunshowers)! |
| 145 | |
| 146 | ### Fixed |
| 147 | - [PR#33](https://github.com/EmbarkStudios/cfg-expr/pull/33) added clippy.toml with an `msrv` so clippy lints are consistent across environments. Thanks [@remilauzier](https://github.com/remilauzier)! |
| 148 | |
| 149 | ## [0.8.1] - 2021-08-05 |
| 150 | ### Changed |
| 151 | - [PR#31](https://github.com/EmbarkStudios/cfg-expr/pull/31) reverted the usage of "or patterns" that were only added in 1.53.0. We now state the MSRV as 1.52.0. Thanks [@cgwalters](https://github.com/cgwalters)! |
| 152 | |
| 153 | ## [0.8.0] - 2021-07-16 |
| 154 | ### Changed |
| 155 | - [PR#28](https://github.com/EmbarkStudios/cfg-expr/pull/28) updated target-lexicon to 0.12. Thanks [@remilauzier](https://github.com/remilauzier)! |
| 156 | - [PR#29](https://github.com/EmbarkStudios/cfg-expr/pull/29) updated the built-in target list to 1.53.0. |
| 157 | |
| 158 | ## [0.7.4] - 2021-03-16 |
| 159 | ### Added |
| 160 | - [PR#26](https://github.com/EmbarkStudios/cfg-expr/pull/26) added `Expression::original` to get the original string the expression was parsed from. Thanks [@gdesmott](https://github.com/gdesmott)! |
| 161 | |
| 162 | ## [0.7.3] - 2021-03-16 |
| 163 | ### Added |
| 164 | - [PR#25](https://github.com/EmbarkStudios/cfg-expr/pull/25) added `Clone` for `Expression`. Thanks [@gdesmott](https://github.com/gdesmott)! |
| 165 | |
| 166 | ## [0.7.2] - 2021-03-16 |
| 167 | ### Added |
| 168 | - [PR#23](https://github.com/EmbarkStudios/cfg-expr/pull/23) added a `PartialEq` implementation for `Expression`, primarily for cases where an `Expression` is stored in a type that itself requires `PartialEq`. This is only a simple syntactical equality check. Thanks [@gdesmott](https://github.com/gdesmott)! |
| 169 | |
| 170 | ## [0.7.1] - 2021-02-17 |
| 171 | ### Fixed |
| 172 | - Fixed support for the `uclibceabi` environment added for one target in rust 1.50.0. |
| 173 | |
| 174 | ## [0.7.0] - 2021-02-12 |
| 175 | ### Changed |
| 176 | - Updated the builtin target list to Rust 1.50.0. Again, somewhat of a breaking change as many targets were removed or changed. |
| 177 | |
| 178 | ### Fixed |
| 179 | - Update smallvec to fix an [advisory](https://rustsec.org/advisories/RUSTSEC-2021-0003) |
| 180 | |
| 181 | ## [0.6.0] - 2021-01-04 |
| 182 | ### Changed |
| 183 | - Updated the builtin target list to Rust 1.49.0, this is somewhat of a breaking change, as rustc now considers all `android` targets to have the `gnu` environment, where previously, it was unspecified. |
| 184 | |
| 185 | ## [0.5.1] - 2020-12-15 |
| 186 | ### Changed |
| 187 | - Updated the builtin target list to Rust 1.48.0 |
| 188 | |
| 189 | ## [0.5.0] - 2020-10-20 |
| 190 | ### Changed |
| 191 | - Updated the builtin target list to Rust 1.47.0 |
| 192 | |
| 193 | ## [0.4.1] - 2020-06-04 |
| 194 | ### Fixed |
| 195 | - Removed `dbg!` prints accidentally left in. |
| 196 | |
| 197 | ## [0.4.0] - 2020-06-04 |
| 198 | ### Added |
| 199 | - [PR#9](https://github.com/EmbarkStudios/cfg-expr/pull/9) added the optional `targets` feature, which allows matching the various `target_` predicates against a [`target_lexicon::Triple`](https://docs.rs/target-lexicon/0.11.0/target_lexicon/struct.Triple.html). |
| 200 | |
| 201 | ### Changed |
| 202 | - [PR#9](https://github.com/EmbarkStudios/cfg-expr/pull/9) changed the `Arch`, `Vendor`, `Os`, and `Env` types to not be longer enums, and are instead thin wrappers around strings. This allows for custom targets where one or more components of the target triple are not built-in to rustc. Resolved [#8](https://github.com/EmbarkStudios/cfg-expr/issues/8). |
| 203 | - Changed `ParseError` to remove the lifetime and just keep an owned string of the expression that failed to parse. |
| 204 | - Updated the list of built-in rustc targets to 1.43.1. |
| 205 | |
| 206 | ## [0.3.0] - 2020-04-05 |
| 207 | ### Changed |
| 208 | - [PR#7](https://github.com/EmbarkStudios/cfg-expr/pull/7) changed `Expression::eval` to take a `Logic` trait, to enable evaluation of 'unknown' predicates. Thanks [@sunshowers](https://github.com/sunshowers)! |
| 209 | |
| 210 | ## [0.2.1] - 2020-03-30 |
| 211 | ### Fixed |
| 212 | - [PR#6](https://github.com/EmbarkStudios/cfg-expr/pull/6) fixed nested predicate evaluation. Thanks [@sunshowers](https://github.com/sunshowers)! |
| 213 | |
| 214 | ## [0.2.0] - 2020-02-05 |
| 215 | ### Added |
| 216 | - Added `targets::rustc_version` which can be used to retrieve the version string of the rustc used to generate the list of targets. |
| 217 | |
| 218 | ### Changed |
| 219 | - `targets::ALL` now uses the built-in targets for rustc 1.41.0 |
| 220 | |
| 221 | ## [0.1.0] - 2020-01-09 |
| 222 | ### Added |
| 223 | - Initial add of all the things |
| 224 | |
| 225 | <!-- next-url --> |
| 226 | [Unreleased]: https://github.com/EmbarkStudios/cfg-expr/compare/0.20.6...HEAD |
| 227 | [0.20.6]: https://github.com/EmbarkStudios/cfg-expr/compare/0.20.5...0.20.6 |
| 228 | [0.20.5]: https://github.com/EmbarkStudios/cfg-expr/compare/0.20.4...0.20.5 |
| 229 | [0.20.4]: https://github.com/EmbarkStudios/cfg-expr/compare/0.20.3...0.20.4 |
| 230 | [0.20.3]: https://github.com/EmbarkStudios/cfg-expr/compare/0.20.2...0.20.3 |
| 231 | [0.20.2]: https://github.com/EmbarkStudios/cfg-expr/compare/0.20.1...0.20.2 |
| 232 | [0.20.1]: https://github.com/EmbarkStudios/cfg-expr/compare/0.20.0...0.20.1 |
| 233 | [0.20.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.19.0...0.20.0 |
| 234 | [0.19.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.18.0...0.19.0 |
| 235 | [0.18.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.17.2...0.18.0 |
| 236 | [0.17.2]: https://github.com/EmbarkStudios/cfg-expr/compare/0.17.1...0.17.2 |
| 237 | [0.17.1]: https://github.com/EmbarkStudios/cfg-expr/compare/0.17.0...0.17.1 |
| 238 | [0.17.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.16.0...0.17.0 |
| 239 | [0.16.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.15.8...0.16.0 |
| 240 | [0.15.8]: https://github.com/EmbarkStudios/cfg-expr/compare/0.15.7...0.15.8 |
| 241 | [0.15.7]: https://github.com/EmbarkStudios/cfg-expr/compare/0.15.6...0.15.7 |
| 242 | [0.15.6]: https://github.com/EmbarkStudios/cfg-expr/compare/0.15.5...0.15.6 |
| 243 | [0.15.5]: https://github.com/EmbarkStudios/cfg-expr/compare/0.15.4...0.15.5 |
| 244 | [0.15.4]: https://github.com/EmbarkStudios/cfg-expr/compare/0.15.3...0.15.4 |
| 245 | [0.15.3]: https://github.com/EmbarkStudios/cfg-expr/compare/0.15.2...0.15.3 |
| 246 | [0.15.2]: https://github.com/EmbarkStudios/cfg-expr/compare/0.15.1...0.15.2 |
| 247 | [0.15.1]: https://github.com/EmbarkStudios/cfg-expr/compare/0.15.0...0.15.1 |
| 248 | [0.15.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.14.0...0.15.0 |
| 249 | [0.14.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.13.0...0.14.0 |
| 250 | [0.13.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.12.0...0.13.0 |
| 251 | [0.12.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.11.0...0.12.0 |
| 252 | [0.11.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.10.3...0.11.0 |
| 253 | [0.10.3]: https://github.com/EmbarkStudios/cfg-expr/compare/0.10.2...0.10.3 |
| 254 | [0.10.2]: https://github.com/EmbarkStudios/cfg-expr/compare/0.10.1...0.10.2 |
| 255 | [0.10.1]: https://github.com/EmbarkStudios/cfg-expr/compare/0.10.0...0.10.1 |
| 256 | [0.10.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.9.1...0.10.0 |
| 257 | [0.9.1]: https://github.com/EmbarkStudios/cfg-expr/compare/0.9.0...0.9.1 |
| 258 | [0.9.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.8.1...0.9.0 |
| 259 | [0.8.1]: https://github.com/EmbarkStudios/cfg-expr/compare/0.8.0...0.8.1 |
| 260 | [0.8.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.7.4...0.8.0 |
| 261 | [0.7.4]: https://github.com/EmbarkStudios/cfg-expr/compare/0.7.3...0.7.4 |
| 262 | [0.7.3]: https://github.com/EmbarkStudios/cfg-expr/compare/0.7.2...0.7.3 |
| 263 | [0.7.2]: https://github.com/EmbarkStudios/cfg-expr/compare/0.7.1...0.7.2 |
| 264 | [0.7.1]: https://github.com/EmbarkStudios/cfg-expr/compare/0.7.0...0.7.1 |
| 265 | [0.7.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.6.0...0.7.0 |
| 266 | [0.6.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.5.1...0.6.0 |
| 267 | [0.5.1]: https://github.com/EmbarkStudios/cfg-expr/compare/0.5.0...0.5.1 |
| 268 | [0.5.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.4.1...0.5.0 |
| 269 | [0.4.1]: https://github.com/EmbarkStudios/cfg-expr/compare/0.4.0...0.4.1 |
| 270 | [0.4.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.3.0...0.4.0 |
| 271 | [0.3.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.2.1...0.3.0 |
| 272 | [0.2.1]: https://github.com/EmbarkStudios/cfg-expr/compare/0.2.0...0.2.1 |
| 273 | [0.2.0]: https://github.com/EmbarkStudios/cfg-expr/compare/0.1.0...0.2.0 |
| 274 | [0.1.0]: https://github.com/EmbarkStudios/cfg-expr/releases/tag/0.1.0 |