Skip to content

Commit

Permalink
Bump versions and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
swamp-agr committed May 25, 2024
1 parent 6023997 commit 1fbbea1
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 9 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ You can use a [Nix flake](https://wiki.nixos.org/wiki/Flakes) from this repo to
| 0.11.1 | 6.5.1 |
| 0.12 | 6.7.1 |
| 0.13 | 7.0 |
| 0.14 | 7.3 |

_Nick_
36 changes: 36 additions & 0 deletions telegram-bot-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# telegram-bot-api

## 7.3 -- 2024-05-25

- Drop support GHC 8.10, 9.0, add support GHC 9.8, 9.10 (see [#182](https://github.com/fizruk/telegram-bot-simple/pull/182)).
- Fix missing `blockquote` MessageEntityType (see [#184](https://github.com/fizruk/telegram-bot-simple/pull/184)).

### Bot API 7.1 support

See [#181](https://github.com/fizruk/telegram-bot-simple/pull/181).

- Add `ChatBoostAdded` type.
- Modify existing types: `Chat`, `ChatAdministratorRights`, `Message`, `Story`.

### Bot API 7.2 support

See [#182](https://github.com/fizruk/telegram-bot-simple/pull/182).

- Add new types:
- `Birthdate`, `BusinessIntro`, `BusinessLocation`, `BusinessOpeningHours`, `BusinessOpeningHoursInterval`, `SharedUser`.
- Modify existing types: `BusinessConnection`, `BusinessMessageDeleted`, `Chat`, `ChatShared`, `KeyboardButtonRequestChat`, `KeyboardButtonRequestUser`, `Message`, `InputSticker`, `UsersShared`.
- Add new methods:
- `GetBusinessConnection`.
- Modify existing methods (with business connection identifier mostly):
- `sendGameRequest`, `sendAnimation`, `sendAudio`, `sendChatAction`, `sendContact`, `sendDice`, `sendDocument`, `sendLocation`, `sendMediaGroup`, `sendMessage`, `sendPhoto`, `sendPoll`, `sendVenue`, `sendVideo`, `sendVideoNote`, `sendVoice`, `sendSticker`.

### Bot API 7.3 support

See [#183](https://github.com/fizruk/telegram-bot-simple/pull/183).

- Add new types:
- `BackgroundType`, `BackgroundFill`, `ChatBackground`, `InputPollOption`.
- `Chat` type split into `Chat`, `ChatType` and `ChatFullInfo` (most of `Chat` fields were moved there).
- Modify existing types:
- `ChatMemberUpdated`, `GiveawayWinners`, `InlineKeyboardButton`, `Message`, `Poll`, `PollOption`.
- Modify existing methods:
- `editMessageLiveLocation`, `getChat`, `sendPoll`.

## 7.0 -- 2024-02-06

- Support GHC 9.6 (see [#163](https://github.com/fizruk/telegram-bot-simple/pull/163)).
Expand Down
2 changes: 1 addition & 1 deletion telegram-bot-api/telegram-bot-api.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 1.12

name: telegram-bot-api
version: 7.0
version: 7.3
synopsis: Easy to use library for building Telegram bots. Exports Telegram Bot API.
description: Please see the README on Github at <https://github.com/fizruk/telegram-bot-simple#readme>
.
Expand Down
11 changes: 9 additions & 2 deletions telegram-bot-simple/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
0.14 -- 2024-05-25
---

- Drop support GHC 8.10, 9.0, add support GHC 9.8, 9.10 (see [#182](https://github.com/fizruk/telegram-bot-simple/pull/182)).
- Support `telegram-bot-api == 7.3`.
- Ignore updates that produces parsing errors (see [#175](https://github.com/fizruk/telegram-bot-simple/pull/175)).

0.13 -- 2024-02-06
---

- Support GHC 9.6 (see [#163](https://github.com/fizruk/telegram-bot-simple/pull/163)).
- Support `telegram-bot-api == 0.7`.
- Support `telegram-bot-api == 7.0`.
- Fix bot hanging via rethrowing exceptions (see [#170](https://github.com/fizruk/telegram-bot-simple/pull/170)).


Expand All @@ -12,7 +19,7 @@
- Add support for testing WebApps (see [#148](https://github.com/fizruk/telegram-bot-simple/pull/148));
- Add nix flake (see [#149](https://github.com/fizruk/telegram-bot-simple/pull/149));
- Improve documentation for `callbackQueryDataRead` (see [#153](https://github.com/fizruk/telegram-bot-simple/pull/153));
- Support `telegram-bot-api == 0.6.7` (breaking changes included).
- Support `telegram-bot-api == 6.7` (breaking changes included).

- **Migration guide**:

Expand Down
1 change: 1 addition & 0 deletions telegram-bot-simple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ Feel free to ping me on GitHub, file an issue or submit a PR :)
| 0.11.1 | 6.5.1 |
| 0.12 | 6.7 |
| 0.13 | 7.0 |
| 0.14 | 7.3 |

_Nick_
12 changes: 6 additions & 6 deletions telegram-bot-simple/telegram-bot-simple.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 1.12

name: telegram-bot-simple
version: 0.13
version: 0.14
synopsis: Easy to use library for building Telegram bots.
description: Please see the README on Github at <https://github.com/fizruk/telegram-bot-simple#readme>
category: Web
Expand Down Expand Up @@ -70,7 +70,7 @@ library
, split
, stm
, template-haskell
, telegram-bot-api
, telegram-bot-api >= 7.3
, text
, time
, transformers
Expand Down Expand Up @@ -117,7 +117,7 @@ executable example-echo-bot
if flag(examples)
build-depends:
telegram-bot-simple
, telegram-bot-api
, telegram-bot-api >= 7.3
else
buildable: False

Expand Down Expand Up @@ -159,7 +159,7 @@ executable example-echo-bot-webhook
if flag(examples)
build-depends:
telegram-bot-simple
, telegram-bot-api
, telegram-bot-api >= 7.3
else
buildable: False

Expand Down Expand Up @@ -212,7 +212,7 @@ executable example-game-bot
, servant-server
, signal
, telegram-bot-simple
, telegram-bot-api
, telegram-bot-api >= 7.3
, uuid
, warp
else
Expand Down Expand Up @@ -256,6 +256,6 @@ executable example-todo-bot
if flag(examples)
build-depends:
telegram-bot-simple
, telegram-bot-api
, telegram-bot-api >= 7.3
else
buildable: False

0 comments on commit 1fbbea1

Please sign in to comment.