v3.8.1
·
1357 commits
to develop
since this release
π Features
- Added
os.showAlert()function to display informational alert dialogs with a single dismiss button- Accepts
title,content, and optionaldismissTextparameters - Returns a promise that resolves when the dialog is dismissed
- Useful for displaying important information that requires user acknowledgment
- Accepts
- Increased the number of segments on
skyboxform spheres. - Changed the "Connection lost" and "Connection regained" toast messages to be simpler.
- Added the following importable libraries:
π Bug Fixes
- Fixed an issue where
ai.listChatModels()wouldn't work unless an options object was provided. - Fixed an issue where empty JSX expressions with comments weren't supported.
- Fixed an issue where
portalPannableMinandportalPannableMaxconstraints did not properly restrict camera movement when the camera was rotated. The fix includes:- Removed camera-relative constraint checking that failed at different rotation angles
- Added world-space clamping after camera target updates
- Fixed an issue where CasualOS wasn't able to properly reload shared documents with nested maps or arrays.
- Reduced the amount of code that gets cached on first load.
- Changed the QR and Barcode components to load lazily to reduce the size of the initial load.
- Fixed several issues where
exportstatements wouldn't be compiled properly.