From b7a4cdc17cc5b48bc6d6eb10693d2d7b65fdc9bd Mon Sep 17 00:00:00 2001 From: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com> Date: Sun, 24 Apr 2022 13:52:19 +0200 Subject: [PATCH] Rename v14 to v20 --- Avoiding-flood-limits.md | 2 +- Home.md | 2 +- InlineKeyboard-Example.md | 2 +- ...de-to-Version-14.0.md => Transition-guide-to-Version-20.0.md | 2 +- _Sidebar.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename Transition-guide-to-Version-14.0.md => Transition-guide-to-Version-20.0.md (99%) diff --git a/Avoiding-flood-limits.md b/Avoiding-flood-limits.md index 0d9e8de..f6b911c 100644 --- a/Avoiding-flood-limits.md +++ b/Avoiding-flood-limits.md @@ -5,6 +5,6 @@ That means, if you're making a production-ready bot, which should serve numerous ## Available tools and their implementation details -Currently PTB has no built-in mechanism to avoid flood limits. The previously used `MessageQueue` was removed in v14 as it had a number of bugs and was not well integrated with the library. +Currently, PTB has no built-in mechanism to avoid flood limits. The previously used `MessageQueue` was removed in v20 as it had a number of bugs and was not well integrated with the library. Adding a new mechanism is on the roadmap. \ No newline at end of file diff --git a/Home.md b/Home.md index 70add03..ef3cf30 100644 --- a/Home.md +++ b/Home.md @@ -12,7 +12,7 @@ Other todo: - [ ] new page on general architecture overview -- [ ] Link to the architecture diagram once that's contained in the v14/master branch +- [ ] Link to the architecture diagram once that's contained in the v20/master branch - [ ] new write up for the `Concurrency` page - for now I just copied the `multithreading` stuff from the v13 Performance Optimizations page diff --git a/InlineKeyboard-Example.md b/InlineKeyboard-Example.md index e1e158b..5cb8869 100644 --- a/InlineKeyboard-Example.md +++ b/InlineKeyboard-Example.md @@ -1,7 +1,7 @@ # Introduction Hey, this wiki page will walk you through the inline keyboard example found [here](../blob/master/examples/inlinekeyboard.py). We will start with how python starts with the example, then follow through the code in the same way we expect updates from the user would go through it. Let's do it. -> ⚠️ This page has not yet been updated to v14. +> ⚠️ This page has not yet been updated to v20. _Disclaimer: We will conveniently ignore the imports._ ## Startup diff --git a/Transition-guide-to-Version-14.0.md b/Transition-guide-to-Version-20.0.md similarity index 99% rename from Transition-guide-to-Version-14.0.md rename to Transition-guide-to-Version-20.0.md index 3d48ba4..e28b7d2 100644 --- a/Transition-guide-to-Version-14.0.md +++ b/Transition-guide-to-Version-20.0.md @@ -47,7 +47,7 @@ We've made an effort to make it more clear which parts of `python-telegram-bot` ## `__slots__` -We introduced the usage of `__slots__` in v13.6, which can reduce memory usage and improve performance. In v14 we removed the ability to set custom attributes on all objects except for `ext.CallbackContext`. To store data, we recommend to use PTBs built-in mechanism for [storing data](Storing-bot,-user-and-chat-related-data) instead. If you want to add additional functionality to some class, we suggest to subclass it. +We introduced the usage of `__slots__` in v13.6, which can reduce memory usage and improve performance. In v20 we removed the ability to set custom attributes on all objects except for `ext.CallbackContext`. To store data, we recommend to use PTBs built-in mechanism for [storing data](Storing-bot,-user-and-chat-related-data) instead. If you want to add additional functionality to some class, we suggest to subclass it. ## Overall architecture diff --git a/_Sidebar.md b/_Sidebar.md index 9748d52..3561e02 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -60,7 +60,7 @@ - [[Version 5|Transition-guide-to-Version-5.0]] - [[Version 12|Transition-guide-to-Version-12.0]] - [[Version 13|Transition-guide-to-Version-13.0]] -- [[Version 14|Transition-guide-to-Version-14.0]] +- [[Version 20|Transition-guide-to-Version-20.0]] ## Administration