Bot releases are hidden (Show)
Published by hatemhosny 3 months ago
Published by hatemhosny 3 months ago
BREAKING: Most compilers were upgraded to their latest versions. Some compilers do have breaking changes. The full list of compilers upgraded and their new versions can be found here.
If your code stops working as intended, you may want to use a permanent URL to a previous LiveCodes version (e.g. https://v32.livecodes.io), till you upgrade your code.
A custom build for Monaco editor is now used to allow matching the playground TypeScript version and the use of ESM bundled version of Monaco. This now makes it much faster (than previously used CDN), and avoids some bugs related to the Monaco loader.
Fixed a bug that sometimes caused formatting to change the code in Monaco.
Added support for Vento template engine.
Published by hatemhosny 4 months ago
CodeMirror TypeScript editor support:
This release adds TypeScript editor support for CodeMirror (the default editor on mobile).
This includes auto-complete, type info on hover and linting (showing type errors).
This also includes automatically loading types for imported npm modules and the support of custom (user-defined) types.
All of these features (except showing type errors) are also available in JS & JSX.
The AI code assistant now works on CodeMirror editor.
define
between monaco editor and localforage (847d567)Published by hatemhosny 4 months ago
Thanks to @sharno for bug reports and suggestions.
Published by hatemhosny 5 months ago
in addition to other improvements and fixes listed below.
Thanks to @dai-shi for feautre suggestions & bug reports
Published by hatemhosny 6 months ago
Published by hatemhosny 6 months ago
Highlights for this release:
pglite
(starter template - docs)layout
config option.In addition to many other improvements and bug fixes.
Thanks to @dai-shi , @gapmiss, @ahmadalfy and @medhatdawoud for suggesting features and reporting issues π.
?view=result
when loading external content (1314202)wasm.py
(db7f5c4)Config.tools
fields optional (42342a7)watch
method to watch for changes to external resources (a2aabf7)watch
method to watch for changes to processors (f23c848)Published by hatemhosny 6 months ago
Config.tools
fields optional (42342a7)watch
method to watch for changes to external resources (a2aabf7)watch
method to watch for changes to processors (f23c848)Published by hatemhosny 8 months ago
Most notable changes in this release:
Adds support for JSR, the new JavaScript package registry, using esm.sh. Use the prefix jsr:
in imports.
Example:
import { yassify } from 'jsr:@kwhinnery/yassify';
console.log(yassify('Hello, World!'));
Adds BBCode language support.
Changes polyfill CDN to https://cdnjs.cloudflare.com/polyfill/. See #519 (Thanks @gapmiss).
Adds a noscript
block to notify users that JavaScript is required. (Thanks @saidbakr)
Adds a temporary workaround for CSS nesting in Monaco editor. See #515 (Thanks @gapmiss).
Published by hatemhosny 8 months ago
This release allows using the AI code assistant without browser extension, with no account or API token required, totally for free, by just flipping a switch! (Powered by codeium)
The AI code assistant can be enabled from editor settings.
Also the new config property enableAI
allows enabling it using the SDK.
In addition, new monochrome (light and dark) editor themes and the font Astigmata have been added.
Published by hatemhosny 9 months ago
Add more docs, including for the Preview in LiveCodes GitHub action.
Published by hatemhosny 9 months ago
The major changes in this release include:
Thank you @dai-shi for suggesting some of these changes.
In addition to various improvements and fixes (see below).
Published by hatemhosny 9 months ago
getPlaygroundUrl
function to SDK (ef2105b)Published by hatemhosny 11 months ago
This release allows adding content to result page head
(e.g. meta tags), and to set html
element attributes using Config.head
and Config.htmlAttrs
.
Now shared projects preserve app config (e.g. open console).
Added Lit starter template.
Fixed rich text editor (broken CDN URL).