teloxide/CHANGELOG.md

122 lines
3.3 KiB
Markdown
Raw Normal View History

2020-02-24 10:12:33 +01:00
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
2022-02-05 16:36:47 +01:00
## unreleased
2022-05-26 20:06:24 +02:00
### Fixed
- Fix `#[command(rename = "...")]` for custom command names ([issue 633](https://github.com/teloxide/teloxide/issues/633)).
2022-04-25 22:12:22 +02:00
## 0.6.1 - 2022-04-26
### Fixed
- Fix `#[derive(DialogueState)]` (function return type `dptree::Handler`).
2022-04-08 22:27:26 +02:00
## 0.6.0 - 2022-04-09
2022-03-24 12:40:30 +01:00
### Removed
2022-04-08 22:27:26 +02:00
- Support for the old dispatching: `#[teloxide(subtransition)]` [**BC**].
2022-03-24 12:40:30 +01:00
2022-04-07 20:09:57 +02:00
### Deprecated
- `#[derive(DialogueState)]` in favour of `teloxide::handler!`.
2022-03-23 02:51:23 +01:00
## 0.5.1 - 2022-03-23
### Fixed
- Make bot name check case-insensitive ([PR #16](https://github.com/teloxide/teloxide-macros/pull/16)).
2022-03-23 02:55:24 +01:00
### Added
- More command rename rules: `UPPERCASE`, `PascalCase`, `camelCase`, `snake_case`, `SCREAMING_SNAKE_CASE`, `kebab-case`, and `SCREAMING-KEBAB-CASE` ([PR #18](https://github.com/teloxide/teloxide-macros/pull/18)).
2022-03-23 02:51:23 +01:00
2022-02-05 16:36:47 +01:00
## 0.5.0 - 2022-02-05
2021-06-15 10:06:05 +02:00
2022-01-18 15:29:30 +01:00
### Added
2022-02-05 16:34:40 +01:00
- The `BotCommand::bot_commands()` method that returns `Vec<BotCommand>` ([PR #13](https://github.com/teloxide/teloxide-macros/pull/13)).
- `#[derive(DialogueState)]`, `#[handler_out(...)]`, `#[handler(...)]`.
2022-01-18 15:29:30 +01:00
2022-02-05 16:36:47 +01:00
## 0.4.1 - 2021-07-11
2021-07-11 13:41:08 +02:00
2021-06-15 10:06:05 +02:00
### Fixed
- Fix generics support for a variant's arguments ([PR #8](https://github.com/teloxide/teloxide-macros/issues/8)).
2022-02-05 16:36:47 +01:00
## 0.4.0 - 2021-03-19
2021-03-19 11:31:05 +01:00
### Changed
- Adjust dialogues with the latest teloxide (v0.4.0).
2022-02-05 16:36:47 +01:00
## 0.3.2 - 2020-07-27
2020-07-24 15:30:40 +02:00
### Added
- `#[derive(Transition)]` with `#[teloxide(subtransition)]`.
2020-07-24 15:30:40 +02:00
2020-07-24 15:31:48 +02:00
### Removed
- The `dev` branch.
2022-02-05 16:36:47 +01:00
## 0.3.1 - 2020-07-04
2020-07-04 09:39:28 +02:00
### Added
- Now you can remove command from showing in descriptions by defining `description` attribute as `"off"`.
2020-07-03 19:42:58 +02:00
2022-02-05 16:36:47 +01:00
## 0.3.0 - 2020-07-03
2020-02-24 10:12:33 +01:00
### Changed
- The description in `Cargo.toml` was changed to from "The teloxide's macros for internal usage" to "The teloxide's procedural macros".
2020-07-03 19:42:58 +02:00
- Now parsing of arguments happens using special function. There are 3 possible variants:
- Using `default` parser, which only put all text in one String field.
- Using `split` parser, which split all text by `separator` (by default is whitespace) and then use FromStr::from_str to construct value.
- Using custom separator.
- Now function `parse` return Result<T, ParseError> instead of Option<T>.
2020-02-24 10:12:33 +01:00
2020-07-03 20:07:56 +02:00
### Added
- This `CHANGELOG.md`.
- `.gitignore`.
- `#[parse_with]` attribute.
- `#[separator='%sep%']` attribute.
2022-02-05 16:36:47 +01:00
## 0.2.1 - 2020-02-25
2020-07-03 20:05:40 +02:00
### Changed
- The description in `Cargo.toml` was changed to from "The teloxide's macros for internal usage" to "The teloxide's procedural macros".
### Added
- This `CHANGELOG.md`.
- `.gitignore`.
- The functionality to parse commands only with a correct bot's name (breaks backwards compatibility).
2022-02-05 16:36:47 +01:00
## 0.1.2 - 2020-02-24
2020-02-24 10:12:33 +01:00
### Changed
- The same as v0.1.1, but fixes [the issue](https://github.com/teloxide/teloxide/issues/176) about backwards compatibility.
2022-02-05 16:36:47 +01:00
## 0.2.0 - YANKED
2020-02-24 10:12:33 +01:00
### Changed
- Fixes [the issue](https://github.com/teloxide/teloxide/issues/176) about backwards compatibility, but fairly soon I realised that semver recommends to use v0.1.2 instead.
2022-02-05 16:36:47 +01:00
## 0.1.1 - 2020-02-23
2020-02-24 10:12:33 +01:00
### Added
- The `LICENSE` file.
2022-02-05 16:36:47 +01:00
2020-02-24 10:12:33 +01:00
### Changed
- Backwards compatibility is broken and was fixed in v0.1.2.
2022-02-05 16:36:47 +01:00
## 0.1.0 - 2020-02-19
2020-02-24 10:12:33 +01:00
### Added
- This project.