insanusmokrassar/TelegramBotAPI (dev.inmo:tgbotapi)
### [`v9.0.0`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#900)
**THIS UPDATE CONTAINS BREAKING CHANGES: USERNAMES OF BOTS NOW BECAME NULLABLE**
- `Version`:
- `Coroutines`: `1.6.4` -> `1.7.1`
- `Ktor`: `2.3.1` -> `2.3.2`
- `MicroUtils`: `0.19.4` -> `0.19.7`
- `Core`:
- **All bots now have nullable usernames just like common users ([#772](https://togithub.com/InsanusMokrassar/ktgbotapi/issues/772))**
- Decrease possible errors in updates handling by additional handling of update deserialization wrapping ([#773](https://togithub.com/InsanusMokrassar/ktgbotapi/issues/773))
- New interface `GetUpdatesRequest`. You may implement it to show default telegram bot ktor executor that this
request is an updates request and should be handled in a different way
- Now it is possible to get raw updates with `GetUpdatesRaw` request
- `Utils`:
- Improve extension `Update.sourceChat` to add opportunity to select some chats by logic different with the default
### [`v8.1.0`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#810)
**PARTIALLY BREAKING CHANGES: Exclude `.*Impl` classcasts from `ClassCastsNew`**
- `Version`:
- `MicroUtils`: `0.19.2` -> `0.19.4`
- `Utils`:
- Add deep links formatting for internal `tg://` prefix (thanks to [@klimatov](https://togithub.com/klimatov))
- Exclude `.*Impl` classcasts from `ClassCastsNew`
### [`v8.0.1`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#801)
- `Version`:
- `UUID`: `0.7.0` -> `0.7.1`
- `Ktor`: `2.3.0` -> `2.3.1`
- `MicroUtils`: `0.19.1` -> `0.19.2`
### [`v8.0.0`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#800)
**THIS UPDATE CONTAINS BREAKING CHANGES**
**ALL PROJECT DEPRECATIONS HAVE BEEN REMOVED**
**IN THIS UPDATE KORLIBS HAVE BEEN UPDATED TO VERSION `4.0.2`. SINCE THAT VERSION A LOT OF PACKAGES HAVE BEEN RENAMED.
MIGRATIONS USED IN THIS LIB:**
- `com.soywiz.klock` -> `korlibs.time`
- `com.soywiz.krypto` -> `korlibs.crypto`
- `Versions`:
- `Korlibs`: `3.4.0` -> `4.0.3`
- `MicroUtils`: `0.18.4` -> `0.19.1`
### [`v7.1.3`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#713)
- `Versions`:
- `Serialization`: `1.5.0` -> `1.5.1`
- `MicroUtils`: `0.18.1` -> `0.18.4`
- `Core`:
- Actualize kdocs in `InputFile`
- `BehaviourBuilder`:
- Now it is possible to use `waitMediaContent`/`waitMediaContentMessage`/`onMediaContent`
- Add `onMention`/`waitMention` functionality
- Add opportunity to map content with extensions to `Flow`
### [`v7.1.2`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#712)
- `Versions`:
- `MicroUtils`: `0.18.0` -> `0.18.1`
- `Core`:
- Now it is possible to serialize `Sticker`s
### [`v7.1.1`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#711)
- `Versions`:
- `Kotlin`: `1.8.20` -> `1.8.21`
- `MicroUtils`: `0.17.8` -> `0.18.0`
- `Utils`:
- Fixes in `makeLinkToMessage`
### [`v7.1.0`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#710)
**This update contains changes according to the [Telegram Bot API 6.7](https://core.telegram.org/bots/api-changelog#april-21-2023)**
- `API`:
- Rename `editMessageCaption` to `editMessageMedia` due to wrong old naming
- Add `edit` extensions for `InlineMessageIdentifier`s
- `BehaviourBuilder`:
- `BehaviourContext` extensions `onDeepLink` and `waitDeepLinks` now can be used with `Regex` or `String` as first parameters
### [`v7.0.2`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#702)
*This update brings experimental support of `linuxX64` and `mingwX64` platforms*
- `Versions`:
- `Kotlin`: `1.8.10` -> `1.8.20`
- `MicroUtils`: `0.17.5` -> `0.17.8`
- `Ktor`: `2.2.4` -> `2.3.0`
- `Core`:
- New `RequestsExecutor` - `MultipleClientKtorRequestsExecutor`
- Old `KtorRequestsExecutor` has been renamed to `DefaultKtorRequestsExecutor`
- `KtorRequestsExecutor` now is `expect class`
- On `JS`, `JVM` and `MinGWX64` platforms it is `DefaultKtorRequestsExecutor`
- On `LinuxX64` platform it is `MultipleClientKtorRequestsExecutor`
### [`v7.0.1`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#701)
- `Core`:
- New interface `WithChat` which contains `chat` field
- `Message` now inherits `WithChat`
- `ChatMemberUpdated` now inherits `WithChat`
- `Utils`:
- Improvements in `same`-notations
### [`v7.0.0`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#700)
This update contains support of [Telegram Bot API 6.6](https://core.telegram.org/bots/api-changelog#march-9-2023)
**THIS VERSION CONTAINS BREAKING CHANGES**:
- All previous deprecations have been removed
- Fully reworked mechanism of stickers creating and adding
- All separations of stickers types like `Animeted` have been replaces with type `StickerFormat`
- New `InputSticker` type (and all subtypes) as replacements for old raw fields in methods
- Reworked mechanism of files uploading
Other changes
- `Versions`:
- `MicroUtils`: `0.17.3` -> `0.17.5`
### [`v6.1.0`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#610)
- `Versions`:
- `MicroUtils`: `0.17.2` -> `0.17.3`
- `API`:
- Fix of [#732](https://togithub.com/InsanusMokrassar/TelegramBotAPI/issues/732)
### [`v6.0.3`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#603)
- `Versions`:
- `MicroUtils`: `0.17.1` -> `0.17.2`
- `Core`:
- `User` in `CallbackQuery` now is `CommonUser` as well as in `from`
- `User` in `InlineQuery` now is `CommonUser` as well as in `from`
- `BehaviourBuilder`:
- Fixes in `DeepLink` triggers and waiters
### [`v6.0.2`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#602)
- `Core`:
- Long polling now uses media groups debounce as in webhooks
### [`v6.0.1`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#601)
- `Versions`:
- `Ktor`: `2.2.3` -> `2.2.4`
- `MicroUtils`: `0.17.0` -> `0.17.1`
### [`v6.0.0`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#600)
- `Versions`:
- `Kotlin`: `1.7.22` -> `1.8.10`
- `MicroUtils`: `0.16.10` -> `0.17.0`
- `Serialization`: `1.4.1` -> `1.5.0`
- `uuid`: `0.6.0` -> `0.7.0`
- `Core`:
- `*.link` extensions have been deprecated with renaming to avoid collisions with `link` methods
- `API`:
- Add `TelegramBot.resend` methods
- `BehaviourBuilder`:
- Add triggers and waiters for `VisualMediaGroupPartContent`
- `Utils`:
- `*.link` extensions have been deprecated with renaming to avoid collisions with `link` methods
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
5.2.1
->9.0.0
Release Notes
insanusmokrassar/TelegramBotAPI (dev.inmo:tgbotapi)
### [`v9.0.0`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#900) **THIS UPDATE CONTAINS BREAKING CHANGES: USERNAMES OF BOTS NOW BECAME NULLABLE** - `Version`: - `Coroutines`: `1.6.4` -> `1.7.1` - `Ktor`: `2.3.1` -> `2.3.2` - `MicroUtils`: `0.19.4` -> `0.19.7` - `Core`: - **All bots now have nullable usernames just like common users ([#772](https://togithub.com/InsanusMokrassar/ktgbotapi/issues/772))** - Decrease possible errors in updates handling by additional handling of update deserialization wrapping ([#773](https://togithub.com/InsanusMokrassar/ktgbotapi/issues/773)) - New interface `GetUpdatesRequest`. You may implement it to show default telegram bot ktor executor that this request is an updates request and should be handled in a different way - Now it is possible to get raw updates with `GetUpdatesRaw` request - `Utils`: - Improve extension `Update.sourceChat` to add opportunity to select some chats by logic different with the default ### [`v8.1.0`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#810) **PARTIALLY BREAKING CHANGES: Exclude `.*Impl` classcasts from `ClassCastsNew`** - `Version`: - `MicroUtils`: `0.19.2` -> `0.19.4` - `Utils`: - Add deep links formatting for internal `tg://` prefix (thanks to [@klimatov](https://togithub.com/klimatov)) - Exclude `.*Impl` classcasts from `ClassCastsNew` ### [`v8.0.1`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#801) - `Version`: - `UUID`: `0.7.0` -> `0.7.1` - `Ktor`: `2.3.0` -> `2.3.1` - `MicroUtils`: `0.19.1` -> `0.19.2` ### [`v8.0.0`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#800) **THIS UPDATE CONTAINS BREAKING CHANGES** **ALL PROJECT DEPRECATIONS HAVE BEEN REMOVED** **IN THIS UPDATE KORLIBS HAVE BEEN UPDATED TO VERSION `4.0.2`. SINCE THAT VERSION A LOT OF PACKAGES HAVE BEEN RENAMED. MIGRATIONS USED IN THIS LIB:** - `com.soywiz.klock` -> `korlibs.time` - `com.soywiz.krypto` -> `korlibs.crypto` - `Versions`: - `Korlibs`: `3.4.0` -> `4.0.3` - `MicroUtils`: `0.18.4` -> `0.19.1` ### [`v7.1.3`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#713) - `Versions`: - `Serialization`: `1.5.0` -> `1.5.1` - `MicroUtils`: `0.18.1` -> `0.18.4` - `Core`: - Actualize kdocs in `InputFile` - `BehaviourBuilder`: - Now it is possible to use `waitMediaContent`/`waitMediaContentMessage`/`onMediaContent` - Add `onMention`/`waitMention` functionality - Add opportunity to map content with extensions to `Flow` ### [`v7.1.2`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#712) - `Versions`: - `MicroUtils`: `0.18.0` -> `0.18.1` - `Core`: - Now it is possible to serialize `Sticker`s ### [`v7.1.1`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#711) - `Versions`: - `Kotlin`: `1.8.20` -> `1.8.21` - `MicroUtils`: `0.17.8` -> `0.18.0` - `Utils`: - Fixes in `makeLinkToMessage` ### [`v7.1.0`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#710) **This update contains changes according to the [Telegram Bot API 6.7](https://core.telegram.org/bots/api-changelog#april-21-2023)** - `API`: - Rename `editMessageCaption` to `editMessageMedia` due to wrong old naming - Add `edit` extensions for `InlineMessageIdentifier`s - `BehaviourBuilder`: - `BehaviourContext` extensions `onDeepLink` and `waitDeepLinks` now can be used with `Regex` or `String` as first parameters ### [`v7.0.2`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#702) *This update brings experimental support of `linuxX64` and `mingwX64` platforms* - `Versions`: - `Kotlin`: `1.8.10` -> `1.8.20` - `MicroUtils`: `0.17.5` -> `0.17.8` - `Ktor`: `2.2.4` -> `2.3.0` - `Core`: - New `RequestsExecutor` - `MultipleClientKtorRequestsExecutor` - Old `KtorRequestsExecutor` has been renamed to `DefaultKtorRequestsExecutor` - `KtorRequestsExecutor` now is `expect class` - On `JS`, `JVM` and `MinGWX64` platforms it is `DefaultKtorRequestsExecutor` - On `LinuxX64` platform it is `MultipleClientKtorRequestsExecutor` ### [`v7.0.1`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#701) - `Core`: - New interface `WithChat` which contains `chat` field - `Message` now inherits `WithChat` - `ChatMemberUpdated` now inherits `WithChat` - `Utils`: - Improvements in `same`-notations ### [`v7.0.0`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#700) This update contains support of [Telegram Bot API 6.6](https://core.telegram.org/bots/api-changelog#march-9-2023) **THIS VERSION CONTAINS BREAKING CHANGES**: - All previous deprecations have been removed - Fully reworked mechanism of stickers creating and adding - All separations of stickers types like `Animeted` have been replaces with type `StickerFormat` - New `InputSticker` type (and all subtypes) as replacements for old raw fields in methods - Reworked mechanism of files uploading Other changes - `Versions`: - `MicroUtils`: `0.17.3` -> `0.17.5` ### [`v6.1.0`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#610) - `Versions`: - `MicroUtils`: `0.17.2` -> `0.17.3` - `API`: - Fix of [#732](https://togithub.com/InsanusMokrassar/TelegramBotAPI/issues/732) ### [`v6.0.3`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#603) - `Versions`: - `MicroUtils`: `0.17.1` -> `0.17.2` - `Core`: - `User` in `CallbackQuery` now is `CommonUser` as well as in `from` - `User` in `InlineQuery` now is `CommonUser` as well as in `from` - `BehaviourBuilder`: - Fixes in `DeepLink` triggers and waiters ### [`v6.0.2`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#602) - `Core`: - Long polling now uses media groups debounce as in webhooks ### [`v6.0.1`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#601) - `Versions`: - `Ktor`: `2.2.3` -> `2.2.4` - `MicroUtils`: `0.17.0` -> `0.17.1` ### [`v6.0.0`](https://togithub.com/insanusmokrassar/TelegramBotAPI/blob/HEAD/CHANGELOG.md#600) - `Versions`: - `Kotlin`: `1.7.22` -> `1.8.10` - `MicroUtils`: `0.16.10` -> `0.17.0` - `Serialization`: `1.4.1` -> `1.5.0` - `uuid`: `0.6.0` -> `0.7.0` - `Core`: - `*.link` extensions have been deprecated with renaming to avoid collisions with `link` methods - `API`: - Add `TelegramBot.resend` methods - `BehaviourBuilder`: - Add triggers and waiters for `VisualMediaGroupPartContent` - `Utils`: - `*.link` extensions have been deprecated with renaming to avoid collisions with `link` methodsConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.