-
Notifications
You must be signed in to change notification settings - Fork 2
0.7.38a release changelog draft
naijun0403 edited this page Dec 6, 2024
·
1 revision
- 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...)
- 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.
-
require(commonjs) logic has been completely revised. Now you can load json withrequire. -
replyToIDandmarkAsReadOnIDwere added to the Api object of LegacyAPI for StarLight compatibility. (legacy changes) - The
uuid,uuidv7, andulidmethods were added to the Security object in API2.
I'll only describe a few notable features, if you want to see the full changelog, check out the rhino repository.
- Implement
String.prototype.matchAlland related - Implement nullish assignment operator
??= - Implement optional chaining for function call
?.() - Implement
?? - Implement logical assigment operators
||=and&&= - Implement ES2024
groupBy - Add ES2022
cause - Implement ES2023 copy methods on Array and TypedArray
- Add
Array.findLastandfindLastIndexfrom ES2023
- 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.