| 1 |
# fs-err Changelog |
| 2 |
|
| 3 |
## 2.9.0 |
| 4 |
|
| 5 |
* Add wrappers for [`tokio::fs`](https://docs.rs/tokio/latest/tokio/fs/index.html) ([#40](https://github.com/andrewhickman/fs-err/pull/40)). |
| 6 |
|
| 7 |
## 2.8.1 |
| 8 |
|
| 9 |
* Fixed docs.rs build |
| 10 |
|
| 11 |
## 2.8.0 |
| 12 |
|
| 13 |
* Implement I/O safety traits (`AsFd`/`AsHandle`, `Into<OwnedFd>`/`Into<OwnedHandle>`) for file. This feature requires Rust 1.63 or later and is gated behind the `io_safety` feature flag. ([#39](https://github.com/andrewhickman/fs-err/pull/39)) |
| 14 |
|
| 15 |
## 2.7.0 |
| 16 |
|
| 17 |
* Implement `From<fs_err::File> for std::fs::File` ([#38](https://github.com/andrewhickman/fs-err/pull/38)) |
| 18 |
|
| 19 |
## 2.6.0 |
| 20 |
|
| 21 |
* Added [`File::into_parts`](https://docs.rs/fs-err/2.6.0/fs_err/struct.File.html#method.into_parts) and [`File::file_mut`](https://docs.rs/fs-err/2.6.0/fs_err/struct.File.html#method.file_mut) to provide more access to the underlying `std::fs::File`. |
| 22 |
* Fixed some typos in documention ([#33](https://github.com/andrewhickman/fs-err/pull/33)) |
| 23 |
|
| 24 |
## 2.5.0 |
| 25 |
* Added `symlink` for unix platforms |
| 26 |
* Added `symlink_file` and `symlink_dir` for windows |
| 27 |
* Implemented os-specific extension traits for `File` |
| 28 |
- `std::os::unix::io::{AsRawFd, IntoRawFd}` |
| 29 |
- `std::os::windows::io::{AsRawHandle, IntoRawHandle}` |
| 30 |
- Added trait wrappers for `std::os::{unix, windows}::fs::FileExt` and implemented them for `fs_err::File` |
| 31 |
* Implemented os-specific extension traits for `OpenOptions` |
| 32 |
- Added trait wrappers for `std::os::{unix, windows}::fs::OpenOptionsExt` and implemented them for `fs_err::OpenOptions` |
| 33 |
* Improved compile times by converting arguments early and forwarding only a small number of types internally. There will be a slight performance hit only in the error case. |
| 34 |
* Reduced trait bounds on generics from `AsRef<Path> + Into<PathBuf>` to either `AsRef<Path>` or `Into<PathBuf>`, making the functions more general. |
| 35 |
|
| 36 |
## 2.4.0 |
| 37 |
* Added `canonicalize`, `hard link`, `read_link`, `rename`, `symlink_metadata` and `soft_link`. ([#25](https://github.com/andrewhickman/fs-err/pull/25)) |
| 38 |
* Added aliases to `std::path::Path` via extension trait ([#26](https://github.com/andrewhickman/fs-err/pull/26)) |
| 39 |
* Added `OpenOptions` ([#27](https://github.com/andrewhickman/fs-err/pull/27)) |
| 40 |
* Added `set_permissions` ([#28](https://github.com/andrewhickman/fs-err/pull/28)) |
| 41 |
|
| 42 |
## 2.3.0 |
| 43 |
* Added `create_dir` and `create_dir_all`. ([#19](https://github.com/andrewhickman/fs-err/pull/19)) |
| 44 |
* Added `remove_file`, `remove_dir`, and `remove_dir_all`. ([#16](https://github.com/andrewhickman/fs-err/pull/16)) |
| 45 |
|
| 46 |
## 2.2.0 |
| 47 |
* Added `metadata`. ([#15](https://github.com/andrewhickman/fs-err/pull/15)) |
| 48 |
|
| 49 |
## 2.1.0 |
| 50 |
* Updated crate-level documentation. ([#8](https://github.com/andrewhickman/fs-err/pull/8)) |
| 51 |
* Added `read_dir`, `ReadDir`, and `DirEntry`. ([#9](https://github.com/andrewhickman/fs-err/pull/9)) |
| 52 |
|
| 53 |
## 2.0.1 (2020-02-22) |
| 54 |
* Added `copy`. ([#7](https://github.com/andrewhickman/fs-err/pull/7)) |
| 55 |
|
| 56 |
## 2.0.0 (2020-02-19) |
| 57 |
* Removed custom error type in favor of `std::io::Error`. ([#2](https://github.com/andrewhickman/fs-err/pull/2)) |
| 58 |
|
| 59 |
## 1.0.1 (2020-02-15) |
| 60 |
* Fixed bad documentation link in `Cargo.toml`. |
| 61 |
|
| 62 |
## 1.0.0 (2020-02-15) |
| 63 |
* No changes from 0.1.2. |
| 64 |
|
| 65 |
## 0.1.2 (2020-02-10) |
| 66 |
* Added `Error::cause` implementation for `fs_err::Error`. |
| 67 |
|
| 68 |
## 0.1.1 (2020-02-05) |
| 69 |
* Added wrappers for `std::fs::*` functions. |
| 70 |
|
| 71 |
## 0.1.0 (2020-02-02) |
| 72 |
* Initial release, containing a wrapper around `std::fs::File`. |