Changelog for twilight-command-parser
.
0.9.0 - 2022-01-22
The MSRV has been updated to 1.57 (#1402 - @zeylahellyer).
The Rust edition has been updated to 2021 (#1412 - @vilgotf).
0.8.1 - 2021-12-27
The Command Parser crate has been deprecated in favor of Gateway or HTTP interactions and will be in critical bugfixing mode (#1352 - @zeylahellyer).
0.8.0 - 2021-12-03
This major version bump of the Command Parser crate is done to match all of the other crates in the ecosystem receiving a major version bump. There are no changes.
0.7.0 - 2021-10-21
The MSRV has been updated to 1.53 (#1161 - @7596ff).
0.6.0 - 2021-07-31
This major version bump of the Command Parser crate is done to match all of the other crates in the ecosystem receiving a major version bump. There are no changes.
0.5.1 - 2021-07-23
#![deny(unsafe_code)]
has been added, ensuring no unsafe code exists in the
crate (#1042 - @zeylahellyer).
0.5.0 - 2021-06-13
This major version bump of the Command Parser crate is done to match all of the other crates in the ecosystem receiving a major version bump. There are no changes.
0.4.2 - 2021-06-12
Arguments::as_str
now uses the borrowed string's lifetime (#852 -
@vilgotf).
0.4.1 - 2021-05-30
The following functions are now const
:
Arguments::as_str
CaseSensitivity::is_sensitive
CommandParserConfig::new
Parser::config
0.4.0 - 2021-05-12
The MSRV is now Rust 1.49.
Create an Arguments
instance via Arguments::new
instead of using the From
implementation.
When checking if a command is case-sensitive use
CaseSensitivity::is_sensitive
.
Remove From<&str>
implementation for Arguments
(#763 - @vivian).
Hide the unicase
dependency by offering alternatives in the API:
- Add
CaseSensitivity::is_sensitive
to check if the command is case-sensitive - Implement
AsMut<str>
forCaseSensitivity
Commands
now iterates over(&str, bool)
instead of&CaseSensitivity
CommandsMut
now iterates over(&mut str, bool)
instead of&mut CaseSensitivity
0.3.0 - 2021-01-08
This major version bump of the Command Parser crate is done to match all of the other crates in the ecosystem receiving a major version bump. There are no changes.
Export the config
module's iterators to allow them to be documented by rustdoc
(#646 - @vivian).
0.2.2 - 2020-11-02
Remove the unicode-segmentation
dependency due to the functionality used from
it also being in the stdlib (#585 - @vivian).
0.2.1 - 2020-10-31
Take whitespace after prefixes into account when creating the initial index for argument iterating, for example when the prefix is a user mention. This fixes the first argument being the last letter of the command name (#584 - @vivian).
0.2.0 - 2020-10-30
This major version bump of the Command Parser is primarily done to match all of the other crates in the ecosystem receiving a major version bump. There are no significant API changes.
Add unicode support to the Arguments
iterator (#575 - @AsianIntel).
0.2.0-beta.0 - 2020-10-10
This major version bump of the Command Parser is done to match all of the other crates in the ecosystem receiving a major version bump. There are no changes.
0.1.2 - 2020-10-07
0.1.1 - 2020-09-17
0.1.0 - 2020-09-13
Initial release.