Skip to content

Releases: AeonOrg/Electrogram

Release v0.2.196

19 Jan 03:30
02d5045
Compare
Choose a tag to compare

Release Notes

ci: Add workflow dispatch trigger for tag and push to pypi.

Summary by Sourcery

CI:

  • Add workflow dispatch trigger.

Signed-off-by: 5hojib yesiamshojib@gmail.com

Release v0.1.194

24 Nov 16:24
Compare
Choose a tag to compare

Release Notes

feat: expand to see.

Summary by Sourcery

Add new features for sending and managing gifts, including methods for sending gifts and managing their visibility. Enhance the chat event system with new event types and improve message handling with support for new message types and translation. Update the build process to separate build and publish steps.

New Features:

  • Introduce the ability to send and manage gifts, including methods for sending gifts, getting available gifts, and toggling gift visibility on user profiles.
  • Add support for new message types such as user gifts, star gifts, and gift codes, enhancing the messaging capabilities.
  • Implement a new method for translating message text to different languages, expanding the functionality of message handling.

Enhancements:

  • Enhance the chat event system by adding new event types related to usernames, membership changes, and chat settings toggles.
  • Improve the message reply system by adding support for cross-chat replies and allowing paid broadcasts for bots.
  • Refactor the message parsing logic to support new service message types and improve the handling of existing ones.

Build:

  • Update the build and publish process in the CI workflow to separate the build and publish steps, and switch to using a GitHub Action for publishing to PyPI.

Release v0.1.192

08 Nov 17:41
26a8f7b
Compare
Choose a tag to compare

Release Notes

feat: Add support for alternative video qualities in messages.

New Features:

  • Introduce support for alternative video qualities in the message handling, allowing for different video resolutions and codecs.

CI:

  • Update the CI workflow to use the latest version of the 'create-pull-request' action and specify the version for 'setup-rye'.

Documentation:

  • Add documentation for the new 'AlternativeVideo' class, describing its attributes and usage.

Release v0.0.192

31 Oct 15:03
afae6ed
Compare
Choose a tag to compare

Release Notes

chore: update CI workflows, remove deprecated method.

New Features:

  • Introduce a new function to scrape error data from Telegram's API and update corresponding TSV files.
  • Add support for handling web page previews in message parsing.
  • Add a new optional parameter 'copy_text' to the InlineKeyboardButton class for copying text to the clipboard.
  • Introduce a new optional parameter 'message_thread_id' in the search_messages method to target specific message threads in supergroups.

Enhancements:

  • Refactor the sort_tsv_files function to improve readability and maintainability.
  • Update exception handling in session start method to include Unauthorized exception.

CI:

  • Update the Python version in the format_and_test workflow to 3.13.
  • Create a new GitHub Actions workflow for scraping errors from Telegram's API.

Chores:

  • Remove the GetNearbyChats method from the chats module.

Signed-off-by: 5hojib yesiamshojib@gmail.com
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 5hojib 5hojib@users.noreply.github.com
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

Release v2.187.0

08 Sep 11:15
6e1ee59
Compare
Choose a tag to compare

Release Notes

ci: fix create release.

CI:

  • Modify the GitHub Actions workflow to generate release notes in a separate file and use it for the release body.

Signed-off-by: 5hojib yesiamshojib@gmail.com

Release v2.186.4

08 Sep 03:21
d8635dd
Compare
Choose a tag to compare

Release Notes

chore: update API scheme to layer 187 and enhance upload speed.

Commit Description:

Enhancements:

  • Increase session timeouts and retry limits to improve connection stability.
  • Add new session management flags and logic to handle instant stop and restart scenarios.
  • Refactor session start and stop methods to include more robust error handling and logging.
  • Optimize file upload process by introducing parallel session handling and chunk preloading.
  • Refactor TLObject string representation methods for improved readability.
  • Simplify and clean up the auth key creation process by removing redundant comments and steps.

Signed-off-by: 5hojib yesiamshojib@gmail.com

Release v2.186.3

06 Sep 15:51
93263a8
Compare
Choose a tag to compare

Release v2.186.3

Commit Description:

chore: Try to improve upload speed.

Release v2.186.2

22 Aug 10:51
a52f857
Compare
Choose a tag to compare

Release v2.186.2

Commit Description:

fix: issue on parse_messages.

Release v2.186.1

22 Aug 00:32
1e3bc2e
Compare
Choose a tag to compare

Release v2.186.1

Commit Description:

feat: Add price and subscription_period options.

Release v2.186.0

18 Aug 11:21
00ab295
Compare
Choose a tag to compare

Release v2.186.0

Commit Description:

feat: add some new methods and types.