Skip to content

Commit cb27cee

Browse files
authored
Merge pull request #793 from live-codes/develop
release v44
2 parents 3629bdf + 6a219ed commit cb27cee

2 files changed

Lines changed: 57 additions & 20 deletions

File tree

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,58 @@ All notable changes to this project will be documented in this file. See [standa
44

55
---
66

7+
## [v44](https://github.com/live-codes/livecodes/compare/v43...v44) (2025-04-10)
8+
9+
### Highlights for this release
10+
11+
This release adds multiple new features and fixes, including:
12+
13+
- Significant improvements in editor support for Vue (e.g. auto-complete, hover info, `defineProps` can now infer props from locally declared types, and more).
14+
- Vue and Svelte single file components can import (and recursively compile) other components encoded as data URLs ([docs](https://livecodes.io/docs/languages/vue#importing-data-urls)).
15+
- CSS processors (e.g. Tailwind CSS) can now process style blocks (e.g. `@apply`) in Vue and Svelete SFCs.
16+
- ESM imports for full, relative and data URLs no longer show typescript error.
17+
- React native now uses React v19 (see [starter template](https://livecodes.io/?template=react-native)).
18+
- A new config option [`foldRegions`](https://livecodes.io/docs/configuration/configuration-object#foldregions) was added. When set to `true`, regions marked by `#region` and `#endregion` comments are folded when the project is loaded.
19+
- [Editor configurations](https://livecodes.io/docs/configuration/configuration-object#markup) (`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.
20+
- [`config.editor`](https://livecodes.io/docs/configuration/configuration-object#editor) now supports the value `"auto"`, which indicates that Monaco editor is used on desktop and CodeMirror is used on mobile regardless of other settings. This can be useful in `"simple"` mode.
21+
- The loading screen now uses an animated logo.
22+
- A new command menu action was added for selecting editor theme.
23+
- Various UI improvements and fixes.
24+
25+
### Credits
26+
27+
- @FathyMuhamed added the [animated loading logo](https://github.com/live-codes/livecodes/pull/768) and [command menu action](https://github.com/live-codes/livecodes/pull/775) for editor theme.
28+
- @logaretm and @ismail9k guided [Vue improvements](https://github.com/live-codes/livecodes/issues/757).
29+
30+
Thank you ❤️
31+
32+
### Features
33+
34+
- **Command Menu:** add editor theme option with translations ([314b97c](https://github.com/live-codes/livecodes/commit/314b97cfba7c1f04f328a68c93aa85a8b5dba829))
35+
- **CommandMenu:** add editor theme action to command menu ([88b67e3](https://github.com/live-codes/livecodes/commit/88b67e332978b422d03076dd4dc532e6ff663525))
36+
- **Compilers:** allow SFC to import other SFCs encoded as data URLs ([11cef05](https://github.com/live-codes/livecodes/commit/11cef058daaa907d6bb61cf1873952dd9c934e01))
37+
- **Compilers:** run processors on SFC blocks ([7208924](https://github.com/live-codes/livecodes/commit/7208924d01130c9babbdf264fbae3612a796fa05))
38+
- **Compilers:** vue, infer props from types ([af91b7d](https://github.com/live-codes/livecodes/commit/af91b7d2b8151b61faeaf65b337026d63c0702b6))
39+
- **Config:** add the value `"auto"` to `config.editor` options ([0f62de8](https://github.com/live-codes/livecodes/commit/0f62de8891ca221c035a2a0e8e3cbfcc9133f2a0))
40+
- **Editor:** add monaco-volar to improve Vue editor experience ([badaf6a](https://github.com/live-codes/livecodes/commit/badaf6a9288b8b4a8eb2eeee1a5258e780925574))
41+
- **Editor:** allow folding lines and regions ([984c913](https://github.com/live-codes/livecodes/commit/984c913bcebcc8d0a2f872df1076311d039e65a1))
42+
- **Loading:** replace logo with loading animation SVG in index.html ([d8254f4](https://github.com/live-codes/livecodes/commit/d8254f4aaa29463b6a5de2a1b77e75c50d1e13ff))
43+
- **Templates:** edit Vue template to infer props from types ([9269d30](https://github.com/live-codes/livecodes/commit/9269d303853367ba2e4e8e6071e59c490e1e3b82))
44+
- **Translations:** add editor theme translation to command menu ([04fb14a](https://github.com/live-codes/livecodes/commit/04fb14ae82f61c14d52f8d1f2e243c8a57aab190))
45+
- **UI:** pulsating loading logo ([9c62d48](https://github.com/live-codes/livecodes/commit/9c62d48e2b25afc085aba659ef8c0f1d9c8c561f))
46+
47+
### Bug Fixes
48+
49+
- **Build:** fix incrementing release version ([b12c8f9](https://github.com/live-codes/livecodes/commit/b12c8f959c9883c3c0d6445d9a1f7b83fc81a12a))
50+
- **Compilers:** fix react native (support react v19) ([ed3a533](https://github.com/live-codes/livecodes/commit/ed3a533db1854dc6e928fd76df509b433c8f946c))
51+
- **Editor:** fix TS errors for data url imports ([60d9563](https://github.com/live-codes/livecodes/commit/60d9563631a2e66b93b68f93c75cf2424dfb04b8))
52+
- **Editor:** fix TS errors for http & relative imports ([f6943cd](https://github.com/live-codes/livecodes/commit/f6943cd87cd905621a78ccaa80b26ce059138a1a))
53+
- **UI:** fix gutter overflow ([9c48c05](https://github.com/live-codes/livecodes/commit/9c48c05a18c0d2b2de775a7e4d1b9aa3791ea41a))
54+
- **UI:** fix hidden editor horizontal scroll bar ([f368f1b](https://github.com/live-codes/livecodes/commit/f368f1bed3ed974c1fffdde82a8e6f1c3d509d68))
55+
- **UI:** fix modal focus in inputs ([92f9416](https://github.com/live-codes/livecodes/commit/92f94162d04bf6c3c02209752a999f02e764fab1))
56+
57+
---
58+
759
## [sdk-v0.9.1](https://github.com/live-codes/livecodes/compare/v43...sdk-v0.9.1) (2025-04-10)
860

961
### Features

package.json

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "livecodes",
33
"version": "0.0.0",
4-
"appVersion": "43",
4+
"appVersion": "44",
55
"description": "Code Playground That Just Works!",
66
"author": "Hatem Hosny",
77
"license": "MIT",
@@ -159,24 +159,9 @@
159159
"jest": {
160160
"preset": "ts-jest",
161161
"testEnvironment": "jsdom",
162-
"setupFiles": [
163-
"<rootDir>/.jest/setup.js"
164-
],
165-
"testPathIgnorePatterns": [
166-
"/node_modules/",
167-
"/build/",
168-
"/src/modules/"
169-
],
170-
"collectCoverageFrom": [
171-
"src/**/*.ts",
172-
"!**/build/**",
173-
"!**/vendor/**",
174-
"!src/modules/**"
175-
],
176-
"coverageReporters": [
177-
"json",
178-
"html",
179-
"lcov"
180-
]
162+
"setupFiles": ["<rootDir>/.jest/setup.js"],
163+
"testPathIgnorePatterns": ["/node_modules/", "/build/", "/src/modules/"],
164+
"collectCoverageFrom": ["src/**/*.ts", "!**/build/**", "!**/vendor/**", "!src/modules/**"],
165+
"coverageReporters": ["json", "html", "lcov"]
181166
}
182167
}

0 commit comments

Comments
 (0)