Skip to content

Commit

Permalink
release 0.33.0 (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrat555 authored Sep 11, 2024
1 parent 2dc02ab commit 05032dd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.33.0 (2024-09-11)

- refactor!: merge Error and HttpError by @EdJoPaTo - [#204](https://github.com/ayrat555/frankenstein/pull/204)
- refactor: improve generic argument naming by @EdJoPaTo - [#205](https://github.com/ayrat555/frankenstein/pull/205)
- refactor(json)!: generalize encoding/decoding by @EdJoPaTo - [#206](https://github.com/ayrat555/frankenstein/pull/206)
- Migrate from `typed-builder` to `bon` by @Veetaha - [#196](https://github.com/ayrat555/frankenstein/pull/196)

## 0.32.5 (2024-09-07)

- [Bot API 7.10](https://core.telegram.org/bots/api#september-6-2024) - [#200](https://github.com/ayrat555/frankenstein/pull/200)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "frankenstein"
version = "0.32.5"
version = "0.33.0"
authors = ["Ayrat Badykov <[email protected]>", "EdJoPaTo <[email protected]>", "Pepe Márquez <[email protected]>"]
description = "Telegram bot API client for Rust"
edition = "2021"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Run `cargo add frankenstein` or add the following to your `Cargo.toml`.

```toml
[dependencies]
frankenstein = "0.32"
frankenstein = "0.33"
```

## Features
Expand All @@ -34,13 +34,13 @@ frankenstein = "0.32"
To use the async client add the following line to your `Cargo.toml` file:

```toml
frankenstein = { version = "0.32", default-features = false, features = ["async-http-client"] }
frankenstein = { version = "0.33", default-features = false, features = ["async-http-client"] }
```

You can also disable all features. In this case the crate will ship only with Telegram types.

```toml
frankenstein = { version = "0.32", default-features = false }
frankenstein = { version = "0.33", default-features = false }
```

## Usage
Expand Down Expand Up @@ -188,7 +188,7 @@ AsyncApi::builder().api_url(api_url).client(client).build()

### Documentation

Frankenstein implements all Telegram bot API methods. To see which parameters you should pass, check [docs.rs](https://docs.rs/frankenstein/0.32.5/frankenstein/api_traits/telegram_api/trait.TelegramApi.html#provided-methods)
Frankenstein implements all Telegram bot API methods. To see which parameters you should pass, check [docs.rs](https://docs.rs/frankenstein/0.33.0/frankenstein/api_traits/telegram_api/trait.TelegramApi.html#provided-methods)

You can check out real-world bots created using this library:

Expand All @@ -204,7 +204,7 @@ The library uses `ureq` HTTP client by default, but it can be easily replaced wi
`ureq` comes with a default feature (`impl`). So the feature should be disabled.

```toml
frankenstein = { version = "0.32", default-features = false, features = ["telegram-trait"] }
frankenstein = { version = "0.33", default-features = false, features = ["telegram-trait"] }
```

Then implement the `TelegramApi` trait for your HTTP client which requires two functions:
Expand Down

0 comments on commit 05032dd

Please sign in to comment.