Changelog 1.0.0

Раздел
Справочник
Время
1 мин
Код
0
Язык
EN
first release

First release 🎉

⚡️ Features:

  • Support Telegram Bot API 9.6
  • Add log scope & log buffer for better logging
  • Add ability to compose nodes for Lifespan tasks
  • Add WaiterMachine for Dispacth and View
  • Add Checkbox and Choice for Dispatch
  • Add global default parameters for objects, e.g parse_mode
  • Add more hashers for several events
  • Add lazy result for API methods
  • Add shortcuts to hashers for cute types
  • Add .hold method for EventView and EventModelView
  • Add .bind_event_loop method for LoopWrapper
  • Add ViewMiddlewareBox for View
  • Add Danger, Primary, Success interfaces for keyboard buttons
  • Add ability to define a node scope for rule
  • Set False by default for load_file param in configure_dotenv function

🔧 Fixes:

  • Fix tg_emoji format function
  • Fix convert TagFormat to str after encoding
  • Fix shutting down LoopWrapper by SIGTERM, SIGBREAK
  • Fix wait for shutdown in LoopWrapper
  • Fix processing raw views
  • Fix preserve caller frames and add explicit logger wrappers
  • Fix check rule each time instead of once per event
  • Fix raise an exception group when a unhandled_exceptions sequence is empty on handle exceptions at the top level in Dispatch
  • Fix merging Context in FuncHandler
  • Fix copying Context on each Router instance
  • Fix closing a per-event scope by using an async context manager instead of closing it in a finally block

🧰 Dependeices:

  • Switch to a separate dependency nodnod for DI nodes
  • Switch to a separate dependency msgspex for models
  • Switch to wreq from rnet
  • Switch to kungfu from fntypes