Release 2.5.0
Esta página aún no está disponible en tu idioma.
2.5 Release
Join our discord
- Thank you for using sern in your projects. It’s only going to get better!
- I apologize for the sudden small breaking change. After this update, there won’t be any for a while.
Wow! We’re increasing our semantic versioning by
+0.3.9
What does this mean?
Breaking changes
controller
parameter for plugins has been removed- You’ll need to import it instead
- This breaks old
CommandPlugin
, but not oldEventPlugin
Deprecations
CommandPlugin
andEventPlugin
have been renamed to InitPlugin and ControlPlugin, respectively
Reason
- The naming of plugins was getting too complex. For example, plugin naming evolved into CommandModuleCommandPlugin, CommandModuleEventPlugin and more.
- I realize that this affects all plugins. I have updated all plugins to match these changes
- The old way of declaring plugins has been deprecated in favor of newer functions that facilitate and ease typings
This will probably be the last breaking change in a while. Thanks for using sern!