github ankit-chaubey/ferogram v0.6.7

11 days ago

🚀 Ferogram 0.6.7 & Ferogram E2E 0.1.0 Released!

Today marks an important milestone for Ferogram.

Ferogram is an asynchronous Rust framework for Telegram's MTProto protocol, built to work directly with Telegram for both user accounts and bots. This release brings one of the most significant additions to the project so far: Telegram Secret Chats with end-to-end encryption.

What's new in Ferogram 0.6.7?

  • Telegram Secret Chats: Added end-to-end encryption support through the new ferogram-e2e crate.
  • Telegram TL Layer 233: Updated the schema to support the latest Telegram API layer.
  • Message Links: Added Client::get_message_by_link() for resolving Telegram message links, including forum topics.
  • Topic Replies: Added IncomingMessage::reply_to_top_message_id().
  • Documentation: Improved API references, examples, feature documentation, and crate architecture.
  • Maintenance: Fixed outdated documentation, corrected examples, and improved consistency across the workspace.

Introducing Ferogram E2E 0.1.0

Alongside the main release, we're introducing ferogram-e2e as a standalone crate.

It brings Telegram Secret Chat functionality based on MTProto 2.0, including:

  • Secret chat key exchange.
  • End-to-end message encryption and decryption.
  • Encrypted file and media transfers.
  • Key re-exchange (re-keying).
  • Self-destruct timers (TTL).
  • Secret chat service messages.
  • Persistent chat storage with checksums and atomic writes.
  • Owner-only session storage permissions on Unix.

The crate also introduces an E2eTransport trait, allowing it to work independently of the Ferogram client implementation.

Release History

Ferogram

  • 0.6.7-b1 & 0.6.7-b2 -- Beta release
  • 0.6.7 -- Stable release

Ferogram E2E

  • 0.1.0 -- First release

A Little About This Milestone

Secret chats have been one of the more challenging features to bring into Ferogram. Rather than coupling the encryption implementation tightly to the main framework, E2E has been separated into its own crate with an independent transport abstraction.

This makes the implementation easier to maintain, test, and potentially integrate with other MTProto clients.

Thank you to everyone following the project, reporting issues, and helping make Ferogram better.

The journey continues.


PR(s)

Full Changelog: v0.6.7-b1...v0.6.7

Don't miss a new ferogram release

NewReleases is sending notifications on new releases.