From c6b8a7bafceb84038827206a4f07fb744af0dc79 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 22 Aug 2022 19:47:05 -0500 Subject: [PATCH] docs: Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd1d6982f94..9421322e96e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - `Arg::short_aliases` and other builder functions that took `&[]` need the `&` dropped - Changed `Arg::requires_ifs` and `Arg::default_value*_ifs*` to taking an `ArgPredicate`, removing ambiguity with `None` when accepting owned and borrowed types - Replaced `Arg::requires_all` with `Arg::requires_ifs` now that it takes an `ArgPredicate` +- Removed lifetimes from `Command`, `Arg`, `ArgGroup`, and `PossibleValue` - *(help)* Make `DeriveDisplayOrder` the default and removed the setting. To sort help, set `next_display_order(None)` (#2808) - *(help)* Subcommand display order respects `Command::next_display_order` instead of `DeriveDisplayOrder` and using its own initial display order value (#2808) - *(env)* Parse `--help` and `--version` like any `ArgAction::SetTrue` flag (#3776) @@ -72,6 +73,7 @@ MSRV is now 1.60.0 - `arg!(--long [value])` to accept `0..=1` per occurrence rather than across all occurrences, making it safe to use with `ArgAction::Append` - Allow `OsStr`s for `Arg::{required_if_eq,required_if_eq_any,required_if_eq_all}` - Allow non-bool `value_parser`s for `ArgAction::SetTrue` / `ArgAction::SetFalse` +- Can now pass runtime generated data to `Command`, `Arg`, `ArgGroup`, `PossibleValue`, etc without managing lifetimes - *(assert)* Always enforce that version is specified when the `ArgAction::Version` is used - *(assert)* Add missing `#[track_caller]`s to make it easier to debug asserts - *(assert)* Ensure `overrides_with` IDs are valid