You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use_context argument of Dispatcher and Updater (this is discussable. we could keep that until v15 as convenience for everyone who already switched to context based callbacks - then again, for adjusting your code to v14, this will be the easiest part …) Dropping non context #2617
Think about removing Defaults from tg.Bot completey and moving them to tg.ext.ExtBot. We may have to think about how to handle signatures with DefaultVaule, then, i.e. if _insert_defaults should stay in tg.Bot or should be moved to tg.ext.ExtBot. Move defaults to ext #2648
I finished that, and I went ahead and dropped the use_context argument + related code. I just now realized you might want to discuss leaving that in, but I think we agreed that we just want to rip the bandaid of those legacy issues, so I did it.
Things we should drop in v14. The list is probably not complete. This includes everything deprecated in v12.x and v13.x.
__dict__
from__slots__
#2619 & Update python version in Readme andsetup.py
#2636pass_*
arguments) Dropping non context #2617allow_edited
argument of CommandHandler Dropping non context #2617RegexHandler
Dropping non context #2617bot
argument ofJobQueue
Doc fixes #2597use_context
argument ofDispatcher
andUpdater
(this is discussable. we could keep that until v15 as convenience for everyone who already switched to context based callbacks - then again, for adjusting your code to v14, this will be the easiest part …) Dropping non context #2617MessageQueue
&DelayQueue
as a whole (we might want to add some of the logic back in Refactor MessageQueue #2139 after the asyncio switch, but maybe it's cleaner to just remove everything in case Refactor MessageQueue #2139 will make it only to v14.1 or so) Remove deprecated things #2644__dict__
from__slots__
(users won't be able to set custom attributes on PTB objects) Remove__dict__
from__slots__
#2619BP.refresh_*_data
abstract methods Make basepersistence methods abstractmethod #2624Persistence.store_callback_data
default toTrue
and makeBP.get/update_callback_data
abstract methods. Make basepersistence methods abstractmethod #2624TelegramDecryptionError
toerror.py
(851f0b7, it was reverted since it was breaking) move telegramdecryptionerror to error.py #2621Originally from #2347:
@run_async
decorator Remove deprecated things #2644Filters.{private, group}
Remove deprecated things #2644utils.{promise, webhookhandler}
Remove deprecated things #2644clean
argument ofUpdater.start_{polling, webhook}
Remove deprecated things #2644Defaults
fromtg.Bot
completey and moving them totg.ext.ExtBot
. We may have to think about how to handle signatures withDefaultVaule
, then, i.e. if_insert_defaults
should stay intg.Bot
or should be moved totg.ext.ExtBot
. Move defaults to ext #2648ChatMember
Fix method signatures and expandtest_official
#2643Bot.{kick_chat_member, get_chat_members_count}
Remove deprecated things #2644Chat.{kick_member, get_members_count}
Remove deprecated things #2644ChatAction.{RECORD, UPLOAD}_AUDIO
? Remove deprecated things #2644The text was updated successfully, but these errors were encountered: