v0.2.0
What's new
⚠️ [BREAKING] Renameconnector
->agent
- ⚡ Add
boost::future
-based asynchronous agent (#2) (non-blocking, doesn't require C++20) - ⚡ Support telegram bot API v5.3 (#13)
- ⚡ Update API parser & improve code generation
- 🔨 Add more reflection utils (
meta::api_traits
,api::method
) - 🔨 Rework serialization stuff, use extern templates to speed up compilation
- 🔨 Rework
dynamic_optional<T>
to make it more likestd::optional<T>
- 🔨 Close #1 (thanks @gabrielepongelli for PR)
Docs are available here.
Commits
- 3ffd77c: Fix typo in connector docs (Smertig)
- 5bc773c: Improve generated API docs and types (Smertig)
- 66c9762: Refactor connector helpers (Smertig)
- f33ae84: Refactor
dynamic_optional
(Smertig) - 88c8981: Fixed a bug that desn't permit to send or receive a callback_game_t structure even if it must be empty as specified by the official telegram api site. (Gabriele Pongelli) #1
- b1884b5: Bump cpr version to 1.6.2 (bundled & conan examples) (Smertig)
- fad74a1: Docs: fix dependencies version (Smertig)
- 5d31c7f: Fix examples build (Smertig)
- 8d7ba1b: Move
CallbackGame
/InputFile
types directly to codegen (Smertig) - 8b2b233: Update README (Smertig)
- cdbea62: Remove unused serializer specializations (Smertig)
- 4ea6954: Make
banana::expected
default-constructible (Smertig) - e299019: Add experimental future-based connector over boost::beast (Smertig)
- 5cbbd26: Fix CI (
/bigobj
) (Smertig) - 582541a: Update API parser, update to 5.3 Tg Bot API (Smertig)
- 73afd78: Simplify
api.hpp
, addresponse_handler
instead of raw callback (Smertig) - 41cbb07: Remove deserializer from public interface (Smertig)
- b36ab21: Rework serialization (Smertig)
- 0f3da81: Fix typo (Smertig)
- 03db79c: Make API more generic, add
meta::api_traits
(Smertig) - 31baf11: Refactor file tree (Smertig)
- 79ff0bd: Small fix (Smertig)
- 5290aed: Remove
banana::api::call
from docs (Smertig) - b3c542a: Add docs for
beast_future{_monadic}
connectors (Smertig) - 00c25a9: Fix docs (Smertig)
- 3a569c7: Small fix (Smertig)
- b6b41ec: Simplify connector interface using method traits (Smertig)
- 1e79665: Simplify connector interface (empty string instead of nullopt) (Smertig)
- c8dbf05: Fix build (Smertig)
- 5178e11: BREAKING: rename
connector
->agent
(Smertig) - add2e80: Bump version -> 0.2.0 (Smertig)