| 1 | # Changelog |
| 2 | |
| 3 | ## Unreleased |
| 4 | |
| 5 | ## 0.3.1 |
| 6 | |
| 7 | - No significant changes since `0.3.0`. |
| 8 | |
| 9 | ## 0.3.0 |
| 10 | |
| 11 | - Add `impl_newtype_from_into!` macro. |
| 12 | - Syntax for `impl_from_for_primitive!` macro now matches `impl_from!`. |
| 13 | |
| 14 | ## 0.2.0 |
| 15 | |
| 16 | - Add `impl_leaf_error!` macro. |
| 17 | - Allow `impl_display_enum!` to omit variant's bindings. |
| 18 | - Remove leaf error support from `impl_error_enum!`. |
| 19 | - Change delimiter after type of `impl_error_enum!` to `:`. |
| 20 | - Change delimiter after type of `impl_display!` and `impl_display_enum!` to `:`. |
| 21 | - Emit `core::error::Error` in `forward_error!` and `impl_error_enum!`. |
| 22 | - Minimum supported Rust version (MSRV) is now 1.58. |
| 23 | |
| 24 | ## 0.1.9 |
| 25 | |
| 26 | - No significant changes since `0.1.8`. |
| 27 | |
| 28 | ## 0.1.8 |
| 29 | |
| 30 | - Add `impl_display!` macro. |
| 31 | |
| 32 | ## 0.1.7 |
| 33 | |
| 34 | - Add `impl_from_for_primitive!` macro. |
| 35 | |
| 36 | ## 0.1.6 |
| 37 | |
| 38 | - Add `forward_error` derive for non-generic error wrappers. |
| 39 | |
| 40 | ## 0.1.5 |
| 41 | |
| 42 | - Fix `impl_display_enum` comma handling. |
| 43 | |
| 44 | ## 0.1.4 |
| 45 | |
| 46 | - Add basic `Error` derive for enums. |
| 47 | |
| 48 | ## 0.1.3 |
| 49 | |
| 50 | - Support type parameters in `forward_display!`. |
| 51 | |
| 52 | ## 0.1.2 |
| 53 | |
| 54 | - Add `forward_display!` macro. |
| 55 | |
| 56 | ## 0.1.1 |
| 57 | |
| 58 | - No significant changes since `0.1.0`. |
| 59 | |
| 60 | ## 0.1.0 |
| 61 | |
| 62 | - Change form of `impl_as_{ref,mut}!`, `impl_deref[_mut]!`, and `impl_{from,into}!` to be clearer when using named fields. |
| 63 | - Add support for type parameters when using `impl_as_{ref,mut}!`, `impl_deref[_mut]!`, and `impl_{from,into}!`. |
| 64 | |
| 65 | ## 0.0.4 |
| 66 | |
| 67 | - No significant changes since `0.0.3`. |
| 68 | |
| 69 | ## 0.0.3 |
| 70 | |
| 71 | - Add combined `impl_as_deref_and_mut!` macro. |
| 72 | - Add `forward_deref_and_mut!` macro. |
| 73 | - Add `impl_as_ref!`, `impl_as_mut!`, `impl_deref!`, and `impl_deref_mut!` invocations for structs other than newtypes. |
| 74 | - Add support in `impl_display_enum!` for variables interpolation. |
| 75 | |
| 76 | ## 0.0.2 |
| 77 | |
| 78 | - Add basic `impl_display!` macro for enums. |
| 79 | - Add `impl_from!` and `impl_into!` macros. |
| 80 | |
| 81 | ## 0.0.1 |
| 82 | |
| 83 | - Initial release with `impl_as_ref!`, `impl_as_mut!`, `impl_deref!`, and `impl_deref_mut!` macros. |