TGViewer
Daniil Gentili's news channel Daniil Gentili's news channel @daniilgentili · 435 subscribers
Post #720 823

Forwarded from MadelineProto | Official Channel (Daniil Gentili)

MadelineProto was updated (8.0.0-beta195)!

This release extracts MadelineProto's async ORM into a separate library, danog/AsyncOrm: a PHP async ORM based on AMPHP v3 and fibers!

danog/AsyncOrm supports MySQL, Redis, Postgres, features read and write-back caching, type-specific optimizations, and much more!

Among other news, the danog/tg-file-decoder library was also updated&modernized.

Also, the downloadRenameBot.php was updated to support downloading videos directly from YouTube (without using the disk!), here's the new repo: https://github.com/danog/downloadRenameBot/

Breaking changes:
- Raise the minimum PHP version to 8.2.17.
- Move all ORM classes to the danog\AsyncOrm namespace
- Remove support for definition of ORM properties using $dbProperties, the new OrmMappedArray attribute should be used instead, see the new docs for more info and examples!
- Modernized and updated danog/tg-file-decoder, switching to enums and readonly properties.
- Use bot API IDs in all constructors returned by MadelineProto.
- Finalize all methods in the event handler.
- Enable strict static analysis for EventHandler.
- Removed the JSON and STRING serializer types from the ORM settings, the correct serializer will now be chosen based on the type of the value specified in OrmKeyedArray.
- Postgres/Redis MadelineProto instances need a manual database migration before upgrading (first updateSettings to the Memory backend, then upgrade, then updateSettings to Postgres/Redis); MySQL and Memory instances will be migrated automatically, no need to do anything.

Features:
- Update to layer 177, see here for the full layer changelog!
- Add support for the stable versions of amphp/mysql, amphp/postgres through https://github.com/danog/AsyncOrm!

Fixes:
- Fix Message::read!
- Multiple other bugfixes and performance improvements!
GitHub GitHub - danog/AsyncOrm: Async ORM based on AMPHP v3 and fibers. Async ORM based on AMPHP v3 and fibers. Contribute to danog/AsyncOrm development by creating an account on GitHub.
More from @daniilgentili
  1. Mar 1, 2026MadelineProto was updated (8.6.3)! Features: - Update to layer 222 (the server is currentl…
  2. Aug 2, 2025MadelineProto was updated (8.5.4)! The server-side issues with newer layers that forced a…
  3. Jul 10, 2025Also announcing the public beta of Psalm v7! Psalm v7 brings huge performance improvements…
  4. Jul 10, 2025Psalm is one of the biggest and most powerful PHP Static analysis tools, featuring exclusi…
  5. Jul 10, 2025Was visited by a small guest today, sat right next to me for about five minutes, blinking…
  6. May 11, 2025Psalm v6 Deep Dive: Copy-on-Write + dynamic task dispatching Psalm is one of the biggest a…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →