Skip to content

v1.0.0

Choose a tag to compare

@Kingcxp Kingcxp released this 18 Sep 15:53

Release Notes

New Features

  • adaptor/ is now adapter/ (I didn't mean to do that...)
  • Adapter writing has become stricter
  • GonePlugin writing has become stricter
  • GoneHandler writing has become more relaxed

Enhancements

  • Change message structure to message segments to better support custom message types and actions for adapters
  • Introduce Rules to filter the messages, no longer just simple Commands
  • Support some builtin Rules: Command, FullMatch, Keyword, RegEx, ToMe and OfType
  • Introduce MessageSerializer to automatically handle custom messages for plugins, adapters only need to register them
  • Support some builtin MessageSerializers: text, image, voice, video and file
  • GoneHandlers can send multiple messages and multiple actions to their likeness
  • Remove builtin adapter onebotv11, it is now an independent repository!

Bug Fixes

  • The order of init no longer causes problems (In fact they are now Init and are called explicitly)
  • Prevent the logs from spamming, they are now no longer than 256 characters

Build

  • Update go version to 1.22.7
  • Remove dependency for adapter: OneBotV11

Documentation

  • Add more comments in code
  • Updated README.md and README_CN.md according to the latest version
  • Add LICENCE
  • More detailed release notes by @Kingcxp !