-
-
Notifications
You must be signed in to change notification settings - Fork 962
Refactor/stateless redis #1491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
devrabie
wants to merge
12
commits into
php-telegram-bot:develop
Choose a base branch
from
devrabie:refactor/stateless-redis
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Refactor/stateless redis #1491
devrabie
wants to merge
12
commits into
php-telegram-bot:develop
from
devrabie:refactor/stateless-redis
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- إزالة ميزة قاعدة البيانات بشكل كامل من المكتبة. - تعطيل الأوامر الإدارية التي كانت تعتمد على قاعدة البيانات (ChatsCommand, CleanupCommand). - إزالة الأمر الإداري WhoisCommand. - تحديث ملف README.md ليعكس التغييرات. - تحديث الاختبارات لإزالة الاعتماديات على قاعدة البيانات. الهدف من هذه التغييرات هو تبسيط المكتبة وتسريع عملية التطوير المستقبلية.
المهام المنجزة:
- تحديث اسم المشروع والوصف وروابط الدعم والمؤلفين في `composer.json`. - استبدال محتوى `README.md` بالكامل ليعكس هوية المشروع الجديدة.
تحديث معلومات المشروع في composer.json و README.md
feat: Implement Telegram Bot API 7.2 features
docs: Update version to 1.0.2 and add changelog entry for API 7.2
This commit implements the features introduced in the Telegram Bot API 7.3 update (May 6, 2024). Key changes include: - Poll Enhancements: - New InputPollOption entity. - Added question_entities to Poll and text_entities to PollOption. - Updated sendPoll method with new options and question_entities parameters. - Chat and getChat Refactoring: - New ChatFullInfo entity with max_reaction_count and other getChat-specific fields. - getChat method now returns ChatFullInfo. - Miscellaneous Updates: - New ChatBackground, BackgroundType, and BackgroundFill entities. - Added chat_background_set to Message entity. - Added via_join_request to ChatMemberUpdated entity. - Added live_period to editMessageLiveLocation method. Updated CHANGELOG.md and library version to 1.0.3.
Add support for Telegram Bot API 7.3
- Removed MySQL-based internal data persistence (DB, Conversation, ConversationDB). - Made the library stateless by removing all internal storage logic. - Updated Telegram.php version to 1.0.4. - Added a Redis helper (enableRedis, getRedis) using predis/predis for optional shared Redis client access in commands.
…EADME - Removed MySQL-based internal data persistence (DB, Conversation, ConversationDB). - Made the library stateless by removing all internal storage logic. - Updated Telegram.php version to 1.0.4. - Added a Redis helper (enableRedis, getRedis) using predis/predis for optional shared Redis client access in commands. - Updated README.md with instructions and examples for the new Redis helper.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary