Skip to content

0.7.38a release changelog draft

naijun0403 edited this page Dec 6, 2024 · 1 revision

0.7.38a released!

Note

  • There is a bug where the icons in the status bar turn black and are not visible when using dark mode in the main activity. (Investigating...)

Breaking Change

  • Module scope isolation changed in last release has been reverted
  • The console API was available in legacy mode when useConsoleApi was enabled in the bot configuration file (bot.json), but this is no longer the case.

Api Changes

  • require (commonjs) logic has been completely revised. Now you can load json with require.
  • replyToID and markAsReadOnID were added to the Api object of LegacyAPI for StarLight compatibility. (legacy changes)
  • The uuid, uuidv7, and ulid methods were added to the Security object in API2.

Rhino Engine Changes

I'll only describe a few notable features, if you want to see the full changelog, check out the rhino repository.

Fix Bugs

  • Fixed a bug that caused a stack overflow when using bot.send() in Api2.
  • Fixed a bug where timer-related functions (setTimeout, setInterval, ...) could not be used in module scope.

Clone this wiki locally