⭐️ Недавно состоялся релиз Python 3.13
Помимо других апдейтов, вот на что я обратил внимание:
◽️Экспериментальный компилятор JIT, должен в будущем значительно повысить скорость.
Активируется аргументом –enable-experimental-jit
◽️Экспериментальный режим без GIL. Думаю, все знаю что это.
Активируется аргументом –without-gil
◽️Удалили ряд стандартных библиотек (PEP-594). Вместе с ними попала под нож lib2to3. Надеюсь больше никому она и не нужна)))
◽️Обновленный REPL с колоризацией.
Команда для быстрого запуска
docker run --rm -it python:3.13
Либо устанавливаем исталятором↗️
#release
#Releasev2.10.0: Container health check, chat-specific #hashtags, and more
Highlights
● Container health check: The official Docker image includes an automatic health check to determine if the container is running properly. The health check status can be checked in docker ps. This feature, combined with autoheal or some other monitoring tool, can restart the container automatically when it is unhealthy.
● Support for chat-specific #hashtags: Telegram recently added a feature called "chat-specific hashtags," formatting as #hashtag@username. However, escaping '@' broke these hashtags. Properly supports such hashtags by allowing '@' in hashtags.
Enhancements
● No longer proxies images from *.wp.com when generating Telegraph posts: *.wp.com is in the blocklist of wsrv.nl (environment variable IMAGES_WESERV_NL). Thus, these images are no longer proxied when generating Telegraph posts. All images from *.wp.com can be accessed with any referer header, so they are now kept as is.
● Link to repo in UA: The default User-Agent now contains a link to the repository, which can help webmasters identify the source of traffic and add RSStT into their allowlists.
● Minor enhancements: Some internal functions have been refined to enhance compatibility with various feeds.
● Minor refactor: Some internal functions have been refactored to improve performance, readability and maintainability.
Bug fixes
● Canonical DATABASE_URL not recognized: Since v2.9.0, DATABASE_URL is canonicalized before connecting to the corresponding database. However, a canonical URL pointing to a local path cannot be recognized when checking the validity of the scheme (database type). Both canonical (scheme:/path/to/file.db) and traditional (scheme:///path/to/file.db) forms of such URLs are recognized correctly now.
● Monitoring not deferred as per server-side cache when subscribing: Since v2.7.0, monitoring tasks will be deferred when aggressive server-side caches (e.g., Cloudflare and RSSHub, which make it futile to check for updates before cache expiration) are detected. However, the first monitoring task for a newly subscribed feed was not being deferred. This has been fixed and the first monitoring task now waits for the server-side cache to expire.
● Minor bug fixes
Bot | Channel | Group | GitHub repo | Patreon | Ko-fi
#Releasev2.10.0: 容器健康检查、特定于聊天的 #hashtag 和更多
亮点
● 容器健康检查: 官方 Docker 镜像现在包含自动健康检查,用于确定容器是否正常运行。健康检查状态可以在 docker ps 中查看。结合 autoheal 或其他监控工具,当容器不健康时可以自动重启容器。
● 支持特定于聊天的 #hashtag: Telegram 最近添加了一个名为“特定于聊天的 hashtag”的功能,格式为 #hashtag@username。然而,转义 @ 会破坏这些 hashtag。通过在 hashtag 中允许 @ 来正确地支持这类 hashtag。
增强
● 生成 Telegraph 文章时,不再代理来自 *.wp.com 的图像: *.wp.com 位于 wsrv.nl (环境变量 IMAGES_WESERV_NL) 的阻断列表中。因此,在生成 Telegraph 文章时,这些图像不再被代理。来自 *.wp.com 的所有图片都可以用任何 refer 头访问,因此它们现在保持原样。
● UA 中的仓库链接: 默认的 User-Agent 现在包含一个指向仓库的链接,这可以帮助网站管理员识别流量来源并将 RSStT 添加到白名单中。
● 次要的增强: 改进了一些内部函数以增强与各种 feed 的兼容性。
● 次要的重构: 重构了一些内部函数以提高性能、可读性和可维护性。
Bug 修复
● 无法识别规范的 DATABASE_URL: 自 v2.9.0 起, 在连接到相应的数据库之前,DATABASE_URL 被规范化。然而,在检查 scheme (数据库类型) 的合法性时,无法识别指向本地路径的规范 URL。现在,此类 URL 的规范 (scheme:/path/to/file.db) 和传统 (scheme:///path/to/file.db) 形式都被正确识别。
● 订阅时不会根据服务端缓存延迟监控:自 v2.7.0 起,当检测到激进的服务器端缓存时,监控任务将被延迟(例如 Cloudflare 和 RSSHub,它们使得在缓存过期之前检查更新变得徒劳无功)。但是,当新订阅 feed 时,第一个监视任务不会被推迟。该问题已修复,第一个监控任务会等待服务端缓存过期。
● 次要的 bug 修复
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
#Releasev2.7.0: #Hashtags from post, Python 3.12 support, and more
BREAKING CHANGES
● Migrate to aerich 0.7.2: A breaking change introduced in aerich (a dependency of RSStT) 0.7.x has prevented RSStT from upgrading it for a long time. A lot of effort has been made, so the migration is expected to be seamless and shouldn't break anything. However, it is encouraged to make a database backup before upgrading RSStT. If you encounter any issues due to the migration, please file a bug report.
Highlights
● #Hashtags from post (feed entry): If enabled in /set or /set_default, hashtags from posts (feed entries), merged with the custom hashtags of the feed, will be added to the message. The term "hashtags from post" refers to <category> elements in RSS <item> or Atom <entry>. This feature is disabled by default. Thanks @maooyer for their first contribution in #449.
● Support Python 3.12: Minor fixes have been made to support Python 3.12. The official Docker image is now based on Python 3.12 as well.
● Helper scripts to make contributions easier: When performing contributions that update database models, creating database migration files is not an easy job. scripts/aerich_helper.py is a helper script that can simplify the process. Passing --help to the script to see a detailed usage guide.
Enhancements
● Defer monitoring as per RSSHub TTL: Defer monitoring as per the TTL (Time To Live) of feeds generated by RSSHub. RSSHub caches feed until the TTL expires, so aggressively monitoring RSSHub feeds with a long TTL is unnecessary. This aims to reduce the load of RSStT instances, as well as RSSHub instances. No delay will be applied if TTL is unavailable or less than 5 minutes. Feeds not generated by RSSHub are unaffected, considering the widespread misuse of RSS TTL.
● Defer monitoring as per Cloudflare cache: Ditto, but for feeds proxied by Cloudflare. If Cloudflare proxies a feed without caching it, no delay will be applied to the feed.
● Better handling custom #hashtags: Invalid characters and punctuations that break hashtags are now replaced with _ (underscore) when setting custom hashtags.
● Refine monitoring logging: The monitoring log has been refined to be more informative and easier to read.
● Minor refactor: Some internal functions have been refactored to improve readability and maintainability.
Bot | Channel | Group | GitHub repo | Patreon
#Releasev2.7.0: 来自文章的 #hashtag、Python 3.12 支持和更多
重大变更
● 迁移到 aerich 0.7.2:aerich (RSStT 的一个依赖项) 0.7.x 中引入的一个重大变更使 RSStT 长期以来无法升级它。已经作出了很多努力,所以迁移预期为无缝的,且不应该造成任何破坏。但是,建议在升级 RSStT 之前进行数据库备份。如果您因迁移而遇到任何问题,请提交错误报告。
亮点
● 来自文章 (源条目) 的 #hashtag: 如果在 /set 或 /set_default 中启用,来自文章 (源条目) 的 hashtag,在与源的自定义 hashtag 合并后,将被添加到消息中。术语“来自文章的 hashtag”指的是 RSS <item> 或 Atom <entry> 中的 <category> 元素。此功能默认禁用。感谢 @maooyer 在 #449 中作出的初次贡献。
● 支持 Python 3.12: 进行了一些小的修复以支持 Python 3.12。官方 Docker 镜像现在也基于 Python 3.12。
● 使贡献更容易的辅助脚本: 在进行更新数据库模型的贡献时,创建数据库迁移文件并不是一件容易的事。scripts/aerich_helper.py 是一个可以简化这个流程的辅助脚本。将 --help 传递给脚本以查看详细的使用指南。
增强
● 根据 RSSHub TTL 推迟监控: 根据 RSSHub 生成的 feed 的 TTL (生存时间) 推迟监控。RSSHub 会缓存 feed 直到 TTL 过期,因此对 TTL 较长的 RSSHub feed 进行激进的监控是不必要的。这旨在减少 RSStT 实例以及 RSSHub 实例的负载。如果 TTL 不可用或小于 5 分钟,则不会应用延迟。考虑到 RSS TTL 被广泛误用的情况,并非由 RSSHub 生成的 feed 不受影响。
● 根据 Cloudflare 缓存推迟监控: 同上,但适用于由 Cloudflare 代理的 feed。如果 Cloudflare 代理一个 feed 但不缓存它,将不会对这样的 feed 应用延迟。
● 更好地处理自定义 #hashtag: 当设置自定义 hashtag 时,会将破坏 hashtag 的无效字符和标点符号替换为 _ (下划线)。
● 改进了监控日志: 监控日志已经被改进,使其更加信息丰富和易于阅读。
● 次要的重构: 重构了一些内部函数以提高可读性和可维护性。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
Telegraher 8.6.2 release 5
Source : Github / Swiss / Gitlab
APKs: Swiss / Github CI/CD - arm64_v8a - armeabi_v7a - x86 - x86_64:
Changes:
• all from 8.6.2 release 4
• google services are removed
• TH menu hardcoded values replaced with the values from xml
• added russian language, i will add french too. Feel free to commit/add via issues new ones, i will create special issue for this
• added osmand maps (from TG FOSS)
• notifications background service fix from TG FOSS too
• fixed bug with "The Void". Now is you choose "The Void" for our menu it will disappear forever..
• updated the packets from gradle, hope it will work fine :)
#noshit#noshit_862#release
Telegraher 8.6.2 release 2
Source : Github / Swiss / Gitlab
APKs: Swiss / Github CI/CD - arm64_v8a - armeabi_v7a - x86 - x86_64:
Changes:
• all from 8.6.2 release 1
• added fingerprint from 8.6.2 store, it's the same
• corrected SHORTCUT_SHARE
• corrected files folder (a fallback value)
• added IP_STRATEGY_BYTE byte, to avoid execution of the same code (for the same network interface
every time)
• Fork doesn't use system account anymore
• (no acc creation, but fully compatible with the contacts made by vanilla tg)
• can setup bitrate (from x0.5 to x4 and size from x1 to x2) for round videos, video&audio
• round videos with size different from x1 aren't considered as a "round videos" btw • update to
• new C++ and Java code for accounts. Upto N.. but actually just 32.
• by default it init 3 slots like the vanilla
• to enable more than 3 you need to activate "3+" option in our menu and restart the client
• once "3+" enabled each time it will init n+1 accounts to keep low profile
• (!) if you had 4,5 or 6 accounts in Telegraher, just enable this option and restart the app
• code a bit dirty, but works. to make it REALLY unlimited we need to rework all actual logic, include folders account0, account1 etc
• LocaleController new code added for local labels, cause vanilla code use CLOUD for anything and
the local as a fallback
• LogoutActivity now use new acc system (to display or not the button to add more acc)
• added "Kill the app" button in our menu to kill the app
• added device spoofing, you can setup the brand, the model and the Sdk number (os)
• these values will be used for all NEW connections
• once you registered an account it will be setup with the data you used for
• to do this you need to access our menu and override params
• then you click the RED button "kill the app" cause app need to be RESTARTED to get new params to init
• use it wisely. For example: 9 accounts, 3 different virtual devices = 3 "real" devices :)
• By default it will use the vanilla data.
• our menu by BY DEFAULT in the same area where are KABOOM button, you CAN bring it
back: https://t.me/telegraher/309
And i still remind you this (TG warning from Support and our Matrix if this channel/chat will be
taken down):
• https://t.me/telegraher/291
• https://t.me/telegraher/299
#noshit#noshit_862#release
Telegraher 8.6.2 release 1
Source : Github / Swiss / Gitlab
APKs: Swiss / Github CI/CD - arm64_v8a - armeabi_v7a - x86 - x86_64
Changes:
• all from 8.6.1 release 5
• update to vanilla 8.6.2
• video bitrate as it was before (cause in 8.6.2 they are lowered it and increased the compression for the videos you share)
• removed FPS limiter for all videos (59 fps, which they are added in 8.6.2)
• removed FPS limiter for 480p (or less) videos, they capped it by 30 fps in 8.6.2
• some labels are changed from "Telegram" to "Telegraher".
• when you start the app it show you new "promo" messages from this post
#noshit#noshit_862#release
Telegraher 8.5.4 release 4
Source : Github / Swiss / Gitlab
APKs: Swiss / Github CI/CD - arm64_v8a - armeabi_v7a - x86 - x86_64
Changes:
• all from 8.5.4 release 3
• admins now can delete all own messages in group chat
• KABOOM moved on Storage tab to be accessed from Android app menu w/o being logged in a client
• replaced vanilla TG links with github fork links
• bring back app install permission (cause folks had issues to install the APKs from UI on Android10 and/or MIUI)
• fixed space waste for large screen tablets in landscape mode
• chat font now between 6 and 72
• removed "splash" on startup
• fixed bug in UI with double "save to gallery" in a menu
#noshit#noshit_854#release
Telegraher 8.5.4 release 2
Source : Github / Swiss / Gitlab
APKs: Swiss / Github CI/CD - arm64_v8a - armeabi_v7a - x86 - x86_64
Changes:
• all from 8.5.4 release 1
• this and all next build are build using CI/CD from github, it mean that github automatically build the app and not me :)
• bring back "New Channel" into main menu
• left slide menu doesn't display phone number under the account anymore
• it display the username (if exists) or empty text
• phone number now displayed for each account in spoiler menu and can be hidden
• handy if you taking screenshots/filming your screen
• every profile tab now display the ID (users/groups/channels/bots etc)
• you can copy ID on click
#noshit#noshit_854#release
1-st release of 8.5.4
Source & APKs : Github / Swiss
Source ONLY: Gitlab
Changes:
• all from 8.5.2 release 1
• official bugfixes (gifs, etc), but snow/blur still fuckedup
• -2 trackers. two which remains: language toolkits from the app.
P.S. swiss mirror will be updated in 1h, also apks will be shared on TG too and on 4pda. Actually they are available on github (feel free to download).
P.P.S. i have one more job interview, need to go 😐
#noshit#noshit_854#release
2-nd release of 8.4.4
Source & APKs : Github / Swiss
Source ONLY: Gitlab
Changes:
• all from 8.4.4 release 1
• added delete mark
• when someone wiped messages OR history you will see it, just need to close/open an actual chat
• deleted will me marked on the place of edited
• remote deletions via GCM pushes should to work too (i have no gapps here, but some folks have)
• if chat have a timer there are no deleted flag, i will add it later due we know that it will be deleted once read (cause there are a timer :D )
• new internal variable DUROV_RELOGIN=1 and a table
• here we store level of our changes, due we added new column isdel into messages_v2 table and made a new table telegraher_init
• i used vanilla code to apply DB update (same what TG use when you see "hi, tg updating database etc")
• fixed an issue #6
• when we wiped remote chats they aren't wiped so not they are wiped
upd: friend told that GCM deletion are marked good 😁
#noshit#noshit_844#release
1-st release of 8.4.4
Source & APKs : Github / Swiss
Source ONLY: Gitlab
Changes:
* all from 8.4.3 release 2
* keep using original TG fingerprint from 8.4.4 (same as 8.4.3)
* snowflakes added back into menu
* blur added back into menu
* disabled APK managing by TG (it use system app)
* WTF what they did smoked, but messengers will NOT install the APKs
* you can enable/change/disable double tab reactions (=quick reactions), guide
* vanilla client offer only change them :)
#noshit#noshit_844#release
2-nd release of 8.4.3
Source & APKs: https://github.com/nikitasius/Telegraher/releases/tag/noshit_8.4.3_release2
Changes:
* all from 8.4.3 release 1
* we use now fingerprint, package name and referer (who installed us, i.e. Google Play) from a vanilla version
* APP lost few permission due it not need it anymore
* app do not check number, sim state or is number is the actual you use on regitration/login, due we just say "yes"/true
* due app is from github official "check update" disabled, so app will not ask TG servers if there are new one.
* api keys are 4/014b35b6184100b085b0d0572f9b5103 due gplay/store/web versions are using them
#noshit#noshit_843#release
1-st release of 8.4.3
Source & APKs: https://github.com/nikitasius/Telegraher/releases/tag/noshit_8.4.3_release1
Changes:
* all from 8.4.2 release 3
* we don't display all available reactions anymore due TG moderate/censor them even in your private chats (non-green)
* no need to show 😭 & 😂 cause we can't use them (they can't be saved) , fuck TG
#noshit#noshit_843#release