| 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 | # Guiding Principles |
| 10 | |
| 11 | * Changelogs are for _humans_, not machines. |
| 12 | * There should be an entry for every single version. |
| 13 | * The same types of changes should be grouped. |
| 14 | * Versions and sections should be linkable. |
| 15 | * The latest version comes first. |
| 16 | * The release date of each version is displayed. |
| 17 | * Mention whether you follow Semantic Versioning. |
| 18 | |
| 19 | # Types of changes |
| 20 | |
| 21 | * `Added` for new features. |
| 22 | * `Changed` for changes in existing functionality. |
| 23 | * `Deprecated` for soon-to-be removed features. |
| 24 | * `Removed` for now removed features. |
| 25 | * `Fixed` for any bug fixes. |
| 26 | * `Security` in case of vulnerabilities. |
| 27 | --> |
| 28 | |
| 29 | <!-- next-header --> |
| 30 | ## [Unreleased] - ReleaseDate |
| 31 | |
| 32 | ## [2.0.0] - 2020-10-22 |
| 33 | ### Breaking changed |
| 34 | * Behavior of `config_dir` on macOS is changed. |
| 35 | According to [Apple guideline][appple-configdir], configuration files should be placed |
| 36 | in subdirectory of `Library/Application Support`. The old behavior of `config_dir` |
| 37 | returns `Library/Preferences`, which is incorrect. As users should use `CFPreferences` |
| 38 | API to get and set preference values for their app instead. |
| 39 | |
| 40 | [appple-configdir]: https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html#//apple_ref/doc/uid/TP40010672-CH2-SW1 |
| 41 | |
| 42 | ## [1.0.2] - 2020-10-13 |
| 43 | ### Changed |
| 44 | * Bump cfg-if version to v1 |
| 45 | |
| 46 | ## [1.0.1] |
| 47 | ### Fixed |
| 48 | * Relax pinning `cfg-if` at `0.1.9`. Previously we inherited that from upstream repository when forking. |
| 49 | The original author wanted to keep minimum Rust version at 1.13 which we don't anymore. |
| 50 | |
| 51 | ## [1.0.0] - 2020-05-17 |
| 52 | |
| 53 | This is the re-publish of `dirs` crate as is. |
| 54 | |
| 55 | <!-- next-url --> |
| 56 | [Unreleased]: https://github.com/xdg-rs/dirs/compare/dirs-v2.0.0...HEAD |
| 57 | [2.0.0]: https://github.com/xdg-rs/dirs/compare/dirs-v1.0.2...dirs-v2.0.0 |
| 58 | [1.0.2]: https://github.com/xdg-rs/dirs/compare/dirs-v1.0.1...dirs-v1.0.2 |
| 59 | [1.0.1]: https://github.com/xdg-rs/dirs/compare/dirs-v1.0.0...dirs-v1.0.1 |
| 60 | [1.0.0]: https://github.com/xdg-rs/dirs/releases/tag/dirs-v1.0.0 |