Skip to content

Lightning 0.8.0 #72

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
wants to merge 72 commits into
base: main
Choose a base branch
from
Open

Lightning 0.8.0 #72

wants to merge 72 commits into from

Conversation

williamhorning
Copy link
Owner

@williamhorning williamhorning commented Nov 16, 2024

Lightning 0.8.0

changelog

  • improved error handling
    • plugins implement better error handling in most places
    • user-facing error messages can now differ from internal error messages
    • adds the LightningError class, which is now thrown by log_error
    • briding of messages handles errors better
    • LIGHTNING_ERROR_HOOK env variable renamed LIGHTNING_ERROR_WEBHOOK
    • plugins now have improved permission checks
  • support for multiple databases added
    • supports Postgres and Redis
    • implements migration from 0.7.3 -> 0.8.0 for Redis
    • supports migration between databases
    • adds bridge_data abstract class to handle database support
  • plugin interface changed
    • duplicate events are now handled better
    • the process_result type was removed
    • the process_message method was split based on event type
    • the create_bridge method was renamed to setup_channel
    • attachment size is now measured in MiB
    • plugins now implement the allow_everyone bridge setting
    • create_command event now has create_command type
  • command handling improved
    • argument handling no longer requires --name
    • commands can access the lightning instance
    • Discord plugin implements improved slash commands
  • logs improved
    • error logs now have a prefix
    • logs from plugins now begin with the plugin name
    • plugins now log information upon login
    • Telegram plugin now logs file proxy URL
  • use_rawname setting reimplemented
  • documentation redone
  • dependencies updated

related

@williamhorning williamhorning requested a review from Copilot April 7, 2025 03:14
Copilot

This comment was marked as off-topic.

@williamhorning
Copy link
Owner Author

aaa, didn't mean to do that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pings not silenced on Discord
1 participant