Skip to content

Commit c916a2e

Browse files
authored
Merge pull request #790 from live-codes/releases/sdk-v0.9.1
Prepare release sdk-v0.9.1
2 parents 45c3175 + 1dd51eb commit c916a2e

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,23 @@ All notable changes to this project will be documented in this file. See [standa
44

55
---
66

7-
## [v43](https://github.com/live-codes/livecodes/compare/sdk-v0.9.0...0.0.0) (2025-03-15)
7+
## [sdk-v0.9.1](https://github.com/live-codes/livecodes/compare/v43...sdk-v0.9.1) (2025-04-10)
8+
9+
### Features
10+
11+
- **Editor:** allow folding lines and regions ([984c913](https://github.com/live-codes/livecodes/commit/984c913bcebcc8d0a2f872df1076311d039e65a1))
12+
13+
A new config option `foldRegions` was added. When set to `true`, regions marked by `#region` and `#endregion` comments are folded when the project is loaded.
14+
15+
In addition, editor configurations (`config.markup`, `config.style`, `config.script`) have a new property `foldLines` that accepts an array of objects (e.g. `[{ from: 1, to: 5 }]`) that indicates which lines to fold. This can be useful for less relevant code in embedded playgrounds.
16+
17+
* **Config:** add the value `"auto"` to `config.editor` options ([0f62de8](https://github.com/live-codes/livecodes/commit/0f62de8891ca221c035a2a0e8e3cbfcc9133f2a0))
18+
19+
If set to `auto`, Monaco editor is used on desktop and CodeMirror is used on mobile regardless of other settings. This can be useful in `"simple"` mode.
20+
21+
---
22+
23+
## [v43](https://github.com/live-codes/livecodes/compare/sdk-v0.9.0...v43) (2025-03-15)
824

925
### Highlights for this release
1026

src/sdk/package.sdk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "livecodes",
3-
"version": "0.9.0",
3+
"version": "0.9.1",
44
"description": "Code Playground That Just Works!",
55
"author": "Hatem Hosny",
66
"license": "MIT",

0 commit comments

Comments
 (0)