|
1 | 1 | # CasualOS Changelog |
2 | 2 |
|
3 | | -## V4.2.4 |
| 3 | +## V4.2.6 |
4 | 4 |
|
5 | 5 | #### Date: TBD |
6 | 6 |
|
| 7 | +### :bug: Bug Fixes |
| 8 | + |
| 9 | +- Fixed an issue where Anthropic models might under-report credit usage when streaming chat messages. |
| 10 | + |
| 11 | +## V4.2.5 |
| 12 | + |
| 13 | +#### Date: 6/10/2026 |
| 14 | + |
| 15 | +### :bug: Bug Fixes |
| 16 | + |
| 17 | +- Fixed an issue where getting a package version required that the user be logged in. |
| 18 | +- Fixed an issue where `os.createRecord()` did not work. |
| 19 | + |
| 20 | +## V4.2.4 |
| 21 | + |
| 22 | +#### Date: 5/16/2026 |
| 23 | + |
7 | 24 | ### :boom: Breaking Changes |
8 | 25 |
|
9 | 26 | - Changed how whitespace is handled in JSX expressions by default. |
|
57 | 74 | - Supports filtering by `minTimeMs`, `maxTimeMs`, and `limit`. |
58 | 75 | - Added the `allow-popups-to-escape-sandbox` option to the VM sandbox so that they can link to new browsing contexts. |
59 | 76 | - Added the `language-model` option to the VM iframe permission policy. |
| 77 | +- Made [`for await...of`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of) loop iterations not use energy. |
| 78 | + - These kinds of loops work asynchronously, so they aren't likely to cause the system to lock up due to an infinite loop. |
| 79 | +- Added the `"-energy";` directive to disable energy checks for a script. |
| 80 | +- Added the `getPublicInstOptions` procedure for retrieving public inst lifetime configuration. |
| 81 | + - Returns the configured `publicInstRecordsLifetimeSeconds` and `publicInstRecordsLifetimeExpireMode` values from Redis server options. |
| 82 | + - Does not require authentication (available to logged-out users). |
| 83 | +- Updated the player BIOS to display public/free inst retention duration. |
| 84 | + - The player now reads `getPublicInstOptions.lifetimeSeconds` and shows the duration in the BIOS option label (for example: `free 24h` or `free 45m`). |
| 85 | + - If public inst options are unavailable, the BIOS falls back to the plain option label. |
60 | 86 | - Added support for record-level credit billing accounts. |
61 | 87 | - Records can now be configured with a dedicated credit account budget for metered usage. |
62 | 88 | - AI, data, and file usage billing now supports charging a record-level credit account when configured. |
|
66 | 92 | - Fixed an issue where the default page title contained HTML comments used for replacing it on server-based deployments. |
67 | 93 | - Fixed an issue where fractional `tokenModifierRatio` values could cause the server to error because of mishandling of fractional values for AI chat billing. |
68 | 94 | - Fixed an issue where Anthropic models would not be allowed to output more than `4096` tokens. |
| 95 | +- Fixed an issue where the `inst` tag on the `configBot` wouldn't be properly populated for insts loaded via `os.loadInst(config)`. |
69 | 96 |
|
70 | 97 | ## V4.2.3 |
71 | 98 |
|
|
0 commit comments