rockneurotiko / ex_gram

Telegram Bot API low level API and framework
183 stars 26 forks source link

DSL fixes #150

Closed prtngn closed 6 months ago

rockneurotiko commented 6 months ago

This has three breaking changes:

I'm not sure about making this changes, as it can lead to breaking bots with no clear way of fixing them without going to the library code, that's not something I want the library users to deal with.

I prefer either to keep it as it is right now, adding the missing matchs on extract_group, or keep the old methods behaviour, with a Logger warning, and adding a new ones with the new behaviour/naming.

prtngn commented 6 months ago

I'l return extract_group with deprecation Warning. And about extract_update_type and extract_message_type. I made them not so long ago, I don’t think many people use them? ) Maybe add something about breaking changes somewhere in README.md?

rockneurotiko commented 6 months ago

extract_update_type and extract_message_type was released on 0.40.0, on May 2023, almost a year ago 😅 Let me think about it