Skip to content

Latest commit

 

History

History
398 lines (247 loc) · 22.4 KB

CHANGELOG.md

File metadata and controls

398 lines (247 loc) · 22.4 KB

Changelog

0.37.0 (2024-12-07)

  • Bot API 8.1 - #239

0.36.0 (2024-12-03)

  • Bot API 8.0 - #234

0.35.0 (2024-11-27)

  • feat: try fit wasm partially - #225
  • fix!: fix serialization of InlineQueryResult - #230
  • build(cargo): update bon requirement from 2.2.0 to 3.0.0 - #232
  • build(cargo): update thiserror requirement from 1 to 2 - #228

0.34.1 (2024-11-02)

0.34.0 (2024-09-19)

  • docs: show the required feature on docs.rs - #209
  • refactor!: flatten the module structure - #208
  • perf!: always take params reference - #211
  • refactor!: use MessageOrBool over EditMessageResponse - #212
  • build!: remove implicit features - #214
  • Use consistent builder derive configs across API types - #213
  • test: improve testing for api error response - #216
  • refactor!: simplify traits with macros - #210
  • style: group imports - #217
  • refactor: generalize serde logic into macro - #218
  • test(error): expect api error - #222
  • docs: deduplicate spaces - #220
  • test(json): assert_str - #221

0.33.0 (2024-09-11)

  • refactor!: merge Error and HttpError by @EdJoPaTo - #204
  • refactor: improve generic argument naming by @EdJoPaTo - #205
  • refactor(json)!: generalize encoding/decoding by @EdJoPaTo - #206
  • Migrate from typed-builder to bon by @Veetaha - #196

0.32.5 (2024-09-07)

  • Bot API 7.10 - #200
  • docs(examples): simplify update offset logic - #198
  • refactor(api): reuse new_url - #199
  • fix: clippy::too_long_first_doc_paragraph - #197
  • add into attributes for chat_id in SendInvoice and SendPaidMedia - #194
  • refactor: clippy::must_use_candidate - #191

0.32.4 (2024-08-18)

  • Bot API 7.9 - #192
  • feat: add Eq when possible on PartialEq - #188
  • refactor: simplify Fromureq::Error - #189
  • build(cargo): enable nursery lints - #190

0.32.3 (2024-08-08)

0.32.2 (2024-08-03)

  • fix parsing of PaidMediaInfo - #184

0.32.1 (2024-07-16)

  • Update typed-builder requirement from 0.18 to 0.19 - #180

0.32.0 (2024-07-14)

0.31.0 (2024-05-20)

0.30.8 (2024-04-26)

  • fix: remove "status" from ChatMemberRestricted - #165
  • fix: message_id is optional in ExternalReplyInfo - #166

0.30.7 (2024-04-20)

  • Use i64 for ChatShared::chat_id - #162

0.30.6 (2024-04-19)

0.30.5 (2024-03-26)

  • Fix the winners_count field in the Giveaway struct - #150
  • Improve ci - #152
  • Fix lints - #151

0.30.4 (2024-02-17)

0.30.3 (2024-02-12)

  • Support unknown message entity types - #146

0.30.2 (2024-01-17)

  • Fix custom emoji decoding - #143

0.30.1 (2024-01-07)

  • Fix parsing of callback queries - #137

0.30.0 (2024-01-06)

0.29.2 (2023-12-29)

  • Add blockquote to MessageEntityType - #126

0.29.1 (2023-10-14)

  • Add unpin_all_chat_messages method - #122

0.29.0 (2023-10-04)

  • Fix parsing 'kicked' chat member status - #119

0.28.0 (2023-09-24)

0.27.0 (2023-08-21)

0.26.0 (2023-06-16)

  • Rename File enum into FileUpload - #109

0.25.0 (2023-04-23)

0.24.1 (2023-03-18)

  • Update typed-builder to 0.14
  • Update mockito dependency to 1.0

0.24.0 (2023-03-12)

0.23.0 (2023-02-04)

  • Added the struct KeyboardButtonRequestUser and the field request_user to the struct KeyboardButton.
  • Added the struct KeyboardButtonRequestChat and the field request_chat to the struct KeyboardButton.
  • Added the structs UserShared, ChatShared and the fields user_shared, and chat_shared to the struct Message.
  • Replaced the fields can_send_media_messages in the structs ChatMemberRestricted and ChatPermissions with separate fields can_send_audios, can_send_documents, can_send_photos, can_send_videos, can_send_video_notes, and can_send_voice_notes for different media types.
  • Added the parameter use_independent_chat_permissions to the structs RestrictChatMemberParams and SetChatPermissionsParams.
  • Added the field user_chat_id to the struct ChatJoinRequest.

0.22.1 (2023-02-01)

  • Improve code style - #96
  • Update typed-builder requirement from 0.11 to 0.12 - #95

0.22.0 (2022-12-31)

  • Added the field is_persistent to the struct ReplyKeyboardMarkup, allowing to control when the keyboard is shown.
  • Added the parameter has_spoiler to the methods send_photo, send_video, and send_animation.
  • Added the field has_spoiler to the structs InputMediaPhoto, InputMediaVideo, and InputMediaAnimation.
  • Added the field has_media_spoiler to the struct Message.
  • The parameters name and icon_custom_emoji_id of the method edit_forum_topic are now optional. If they are omitted, the existing values are kept.
  • Added the structs ForumTopicEdited, GeneralForumTopicHidden, GeneralForumTopicUnhidden, and WriteAccessAllowed and the fields forum_topic_edited, general_forum_topic_hidden, general_forum_topic_unhidden, and write_access_allowed to the struct Message.
  • Added the methods edit_general_forum_topic, close_general_forum_topic, reopen_general_forum_topic, hide_general_forum_topic, unhide_general_forum_topic for managing the General topic in forums.
  • Added the parameter message_thread_id to the method send_chat_action for sending chat actions to a specific message thread or a forum topic.
  • Added the field has_hidden_members to the struct Chat. Note that the method get_chat_member is only guaranteed to work if the bot is an administrator in the chat.
  • Added the field has_aggressive_anti_spam_enabled to the struct Chat.

0.21.0 (2022-10-06)

  • Added the fields is_topic_message and message_thread_id to the struct Message to allow detection of messages belonging to a forum topic and their message thread identifier.
  • Added the structs ForumTopicCreated, ForumTopicClosed, and ForumTopicReopened and the fields forum_topic_created, forum_topic_closed, and forum_topic_reopened to the struct Message
  • Added the field can_manage_topics to the structs ChatAdministratorRights, ChatPermissions, ChatMemberAdministrator, and ChatMemberRestricted.
  • Added the parameter can_manage_topics to the struct PromoteChatMemberParams.
  • Added the methods create_forum_topic, edit_forum_topic, close_forum_topic, reopen_forum_topic, delete_forum_topic, unpin_all_forum_topic_messages, and get_forum_topic_icon_stickers for forum topic management.
  • Added the field message_thread_id to the methods SendMessageParams, SendPhotoParams, SendVideoParams, SendAnimationParams, SendAudioParams, SendDocumentParams, SendStickerParams, SendVideoNoteParams, SendVoiceParams, SendLocationParams, SendVenueParams, SendContactParams, SendPollParams, SendDiceParams, SendInvoiceParams, SendGameParams, SendMediaGroupParams, CopyMessageParams, ForwardMessageParams to support sending of messages to a forum topic.
  • Added support for Multiple Usernames via the field active_usernames in the struct Chat.
  • Added the field emoji_status_custom_emoji_id to the struct Chat.

0.20.0 (2022-08-13)

  • Change the offset field's type for getUpdates - #86
  • Change connect_timeout for async client - #83
  • Added the MessageEntity type custom_emoji.
  • Added the field custom_emoji_id to the class MessageEntity for custom_emoji entities.
  • Added the method getCustomEmojiStickers.
  • Added the fields type and custom_emoji_id to the class Sticker.
  • Added the field sticker_type to the class StickerSet, describing the type of stickers in the set.
  • The field contains_masks has been removed from the documentation of the class StickerSet. The field is still returned on the object for backward compatibility, but new bots should use the field sticker_type instead.
  • Added the parameter sticker_type to the method createNewStickerSet.
  • The parameter contains_masks has been removed from the documentation of the method createNewStickerSet. The parameter will still work for backward compatibility, but new bots should use the parameter sticker_type instead.

0.19.2 (2022-07-20)

  • Fix: Use client timeout of 500 seconds by @EdJoPaTo in #82
  • Chore: build with all features on docs.rs by @OpenByteDev in #81

0.19.1 (2022-07-09)

  • Fix status field of banned chat members #78

0.19.0 (2022-07-06)

  • Add builders for API clients #77

0.18.0 (2022-06-21)

  • Added the fields join_to_send_messages and join_by_request to the struct Chat.
  • Added the method create_invoice_link to generate an HTTP link for an invoice
  • Added the field is_premium to the struct User.
  • Added the field premium_animation to the struct Sticker.
  • Added the field added_to_attachment_menu to the struct User.
  • Added the parameter secret_token to the method set_webhook.

0.17.0 (2022-06-16)

  • Change type of file_size from u32 to u64 by @ayrat555 in #70
  • Refactor: specify Eq when possible on PartialEq by @EdJoPaTo in #71
  • Refactor: adopt breaking lints by @EdJoPaTo in #72

0.16.0 (2022-06-07)

  • Reduce Message struct memory size #69

0.15.1 (2022-06-02)

  • Add new_with_client to AsyncApi #66

0.15.0 (2022-05-11)

  • Convert allowed_update type into enum - #65

0.14.0 (2022-05-09)

  • Optimize Update struct by migrating its content to enum - #62

0.13.0 (2022-04-18)

0.12.0 (2022-03-20)

  • Switch from derive_builder to typed-builder - #53

0.11.0 (2022-03-19)

  • Add ParseMode enum - #49
  • Derive Copy when possible - #50
  • Improve error handling - #51

0.10.1 (2022-02-08)

  • Remove serde_json from trait features - #43

0.10.0 (2022-02-08)

  • Add optional async API - #38

0.9.5 (2022-02-02)

  • Disable unused features in the multipart crate - #41

0.9.4 (2022-02-01)

  • Bot API 5.7 Changes - #40

0.9.3 (2022-01-15)

  • Configure request timeout - #39
  • Use ureq's agent to make requests - #39

0.9.2 (2022-01-01)

0.9.1 (2021-12-24)

  • Add From trait impl for File enum - #35

0.9.0 (2021-12-13)

  • Use builders for all structs - #34

0.8.1 (2021-12-08)

0.8.0 (2021-12-05)

  • fix InputMessageContent enum
  • improve error handling

0.7.1 (2021-11-08)

  • Rename impl feature to http-client - #30
  • Improve CI - #31

0.7.0 (2021-11-06)

0.6.0 (2021-08-26)

  • Use enums instead of strings for type fields - #25

0.5.3 (2021-08-14)

  • Make Api struct cloneable - #23

0.5.2 (2021-07-10)

  • Make SendChatActionParams.action an enum - #22

0.5.1 (2021-07-06)

  • Fix ReplyKeyboardMarkup serialization error - #20

0.5.0 (2021-06-26)

Other Changes

  • Move type field into enums - #19

0.4.0 (2021-06-13)

  • Feature: Get rid of isize/usize types (#11, #16, ab72b4469b3ed)
  • Chore: Fix clippy::pedantic warnings (#12, #14)
  • Chore: remove Enum postfix from enums (#13)
  • Chore: bump multipart from 0.17 to 0.18 (#15)

0.3.1 (2021-05-15)

  • Make serde_json optional dependency (#6)

0.3.0 (2021-05-09)

0.2.1 (2021-05-02)

0.2.0 (2021-05-01)

  • The first release on crates.io