| 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 | ## 3.0.1 (2022-07-20) |
| 9 | ### Added |
| 10 | - New tier 3 targets ([#614]) |
| 11 | |
| 12 | ## 3.0.0 (2022-04-23) |
| 13 | ### Added |
| 14 | - `target_endian` and `target_pointer_width` fields on `Platform` ([#516]) |
| 15 | |
| 16 | ### Changed |
| 17 | - Auto-generate platforms registry from rustc ([#516]) |
| 18 | - Make `Platform` struct `#[non_exhaustive]` to allow new fields ([#516]) |
| 19 | - Make `Platform::env` field non-optional ([#516]) |
| 20 | |
| 21 | ### Fixed |
| 22 | - `serde` deserializers ([#527]) |
| 23 | |
| 24 | [#516]: https://github.com/rustsec/rustsec/pull/516 |
| 25 | [#527]: https://github.com/rustsec/rustsec/pull/527 |
| 26 | |
| 27 | ## 2.0.0 (2021-11-15) |
| 28 | ### Added |
| 29 | - New tier 3 targets ([#357]) |
| 30 | |
| 31 | ### Changed |
| 32 | - Sync with Rust platform support documentation ([#353]) |
| 33 | - Follow `upper_case_acronyms` conventions ([#473]) |
| 34 | - Make tier modules non-`pub` ([#483]) |
| 35 | - Make `Platform::ALL` an inherent constant ([#484]) |
| 36 | |
| 37 | [#353]: https://github.com/rustsec/rustsec/pull/353 |
| 38 | [#357]: https://github.com/rustsec/rustsec/pull/357 |
| 39 | [#473]: https://github.com/rustsec/rustsec/pull/473 |
| 40 | [#483]: https://github.com/rustsec/rustsec/pull/483 |
| 41 | [#484]: https://github.com/rustsec/rustsec/pull/484 |
| 42 | |
| 43 | ## 1.1.0 (2020-12-28) |
| 44 | ### Added |
| 45 | - `aarch64-apple-darwin` platform definition |
| 46 | |
| 47 | ## 1.0.3 (2020-10-29) |
| 48 | ### Changed |
| 49 | - Source `Platform::guess_current` from `$TARGET` environment variable when |
| 50 | available |
| 51 | |
| 52 | ## 1.0.2 (2020-09-14) |
| 53 | ### Removed |
| 54 | - `const fn` on `Platforms::all` |
| 55 | |
| 56 | ## 1.0.1 (2020-09-14) [YANKED] |
| 57 | ### Changed |
| 58 | - Make `Platform::all()` a `const fn` |
| 59 | - Refactor `Platform::find` and `::guess_current` |
| 60 | - Rename `ALL_PLATFORMS` to `Platform::all()` |
| 61 | |
| 62 | ## 1.0.0 (2020-09-13) [YANKED] |
| 63 | ### Added |
| 64 | - Ensure all types have `FromStr`, `Display`, and `serde` impls |
| 65 | - `aarch64-pc-windows-msvc` platform |
| 66 | |
| 67 | ### Changed |
| 68 | - Make extensible enums `non_exhaustive`; MSRV 1.40+ |
| 69 | |
| 70 | ## 0.2.1 (2019-09-24) |
| 71 | |
| 72 | - Initial GitHub Actions config |
| 73 | - Properly set up `target::os::TARGET_OS` const for unknown OS |
| 74 | |
| 75 | ## 0.2.0 (2019-01-13) |
| 76 | |
| 77 | - Update platforms to match RustForge |
| 78 | - Update to Rust 2018 edition |
| 79 | |
| 80 | ## 0.1.4 (2018-07-29) |
| 81 | |
| 82 | - `x86_64-apple-darwin`: fix typo in target triple name |
| 83 | - Have markdown-table-gen output links to Platform structs on docs.rs |
| 84 | |
| 85 | ## 0.1.3 (2018-07-28) |
| 86 | |
| 87 | - Fix Travis CI badge in Cargo.toml |
| 88 | |
| 89 | ## 0.1.2 (2018-07-27) |
| 90 | |
| 91 | - Add table of supported platforms to README.md using Markdown generator |
| 92 | |
| 93 | ## 0.1.1 (2018-07-27) |
| 94 | |
| 95 | - Impl `Display` and `std::error::Error` traits for `packages::Error` |
| 96 | |
| 97 | ## 0.1.0 (2018-07-26) |
| 98 | |
| 99 | - Add `guess_current()` |
| 100 | - Optional serde support |
| 101 | |
| 102 | ## 0.0.1 (2018-07-26) |
| 103 | |
| 104 | - Initial release |