Skip to content

Releases: live-codes/livecodes

v23

15 Feb 21:39
82223c1
Compare
Choose a tag to compare
v23

v23 (2024-02-15)

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.

Bug Fixes

  • UI: fix theme switch status (ce0fe2c)

Features

  • App: AI code assistant with no accounts or browser extensions (39916cf)
  • UI: allow enabling/disabling AI from UI (editor settings screen) (c422ded)
  • Editor: add Astigmata font (39cd99b)
  • Editor: add monochrome prism themes (0a507d1)
  • Editor: add monochrome themes for codemirror (3ad8b37)
  • Editor: add monochrome themes for monaco (876294a)
  • Editor: use AI context from content of multiple editors (e2066c5)
  • Result: load stylesheets in importmap (b943274)

v22

03 Feb 07:08
18c61b4
Compare
Choose a tag to compare
v22

v22 (2024-02-03)

Add more docs, including for the Preview in LiveCodes GitHub action.

Bug Fixes

  • fix importing data url stylesheet (d57a06c)

v21

27 Jan 22:41
5db587c
Compare
Choose a tag to compare
v21

v21 (2024-01-27)

The major changes in this release include:

  • Auto-rendering of default export from JSX/TSX: This significantly reduces the boilerplate code required in JSX (to create and render react-dom root). This is mostly backward-compatible. Manual rendering still works. See JSX docs.
  • Use React new JSX transform
  • Apply same changes to react-native and solid
  • Change React, React-Native and Solid starter templates to use default export with auto-rendering
  • Allow the use of JSX fragments in Vue SFC
  • Improve fetching and bundling of types for editor intellisense. This should significantly improve code auto-completion and type info for imported modules, without the need for manual type-bundling or the use of custom types.
  • Add docs for: JSX, TSX, Solid, Solid(TS), React-Native, React-Native(TSX)

Thank you @dai-shi for suggesting some of these changes.

In addition to various improvements and fixes (see below).

Bug Fixes

  • App: fix loading mode & view (f982fe0)
  • App: fix result mode toolspane visibility (cd1861a)
  • Result: fix removing/ignoring stylesheet imports in scripts (c77980a)
  • Result: remove extra scripts added to detect classes for CSS processors (c63a32f)
  • Types: fix race condition in loading types (a85ba31)

Features

  • compilers: allow using JSX fragments in Vue SFC (32270d8)
  • compilers: render React component if it is the default export (6daace7)
  • compilers: render React component if it is the default export (2ba144f)
  • compilers: render react-native component if it is the default export (7db03f6)
  • compilers: render Solid component if it is the default export (4968f03)
  • compilers: set typescript option { jsx: 'react-jsx' } (e46450d)
  • compilers: set typescript option { jsx: 'react-jsx' } (8793627)
  • Config: allow disabling JSX auto-render from custom settings (20d5b5b)
  • Templates: update react and jest-react starter templates to use the new jsx runtime (2e5b9d1)
  • Types: bundle types in the browser (f9a7951)
  • UI: add links to docs in language info (0bf80a5)
  • UI: add share button to toolbar (9a1cb6d)
  • UI: use the new X/Twitter logo in share screen (848db7e)

v20

17 Jan 22:49
9982072
Compare
Choose a tag to compare
v20

v20 (2024-01-17)

Features

  • Editor: support editor themes (7eaafeb)
  • App: use esm.sh as default CDN
  • UI: add buttons for project info and custom settings in editor toolbar (e92a4f6)
  • UI: add editor settings button to editor toolbar (213cfc9)

sdk-v0.4.0

17 Jan 19:16
80cdc98
Compare
Choose a tag to compare

sdk-v0.4.0 (2024-01-17)

Features

v19

27 Nov 21:35
db16f41
Compare
Choose a tag to compare
v19

v19 (2023-11-27)

Bug Fixes

  • Templates: fix solid template (32732a0)

Features

  • compilers: upgrade Brython to v3.12.1 running Python v3.12 (933f606)
  • Types: load types for imports from CDN URLs (8d25463)

v18

26 Nov 06:18
31a5614
Compare
Choose a tag to compare
v18

v18 (2023-11-26)

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).

Bug Fixes

  • compilers: fix quill CDN url (98381cc)

Features

  • Config: add Config.head and Config.htmlAttrs (360f2fe)
  • Share: include AppConfig in shared projects (9026101)
  • Templates: add Lit starter template (bc23a89)
  • UI: edit head and htmlAttrs from UI in Project Info screen (394d464)

v17

01 Nov 09:38
e9d0dda
Compare
Choose a tag to compare
v17

v17 (2023-11-01)

Bug Fixes

  • App: fix autoupdate (if autotest is true) (621c956)
  • Config: fix setting config from SDK (fb433f8)

Features

v16

27 Oct 11:51
868d5f3
Compare
Choose a tag to compare
v16

v16 (2023-10-27)

This release:

  • Adds language support for WebAssembly versions of Ruby, Lua and PHP.
  • Allows importing projects from official TypeScript, Vue and Svelte playgrounds.
  • Allows adding hidden content to editors (code that is evaluated but not shown in the editors).
  • Patches python-wasm (Pyodide) input to use browser prompt.
  • Updates the light theme.
  • Fixes a bug where the SDK method setConfig did not update app settings and user settings.

In addition to various additions to documentations, and bug fixes.

Bug Fixes

  • compilers: do not reload pyodide if still loading (c86d8ee)
  • SDK: fix sdk prefill (948f69e)
  • UI: fix (copy-as-url) button colors (9c813b2)
  • types: fix types and pkg info for modules with CDN specifier (7cdd9b2)

Features

  • compilers: patch pyodide input (4cff525)
  • Config: allow adding hidden content (8b1f347)
  • SDK: apply config (app & editor configs) from SDK setConfig (309ffb7)
  • UI: modify light theme (eb62af7)
  • SDK: add flex-grow to playground container and export type Language (3de6805)
  • compilers: add language lua-wasm using wasmoon (832c8e6)
  • compilers: add support for php-wasm (7cf8780)
  • compilers: add support for ruby-wasm (0842d01)
  • import: allow importing typescript playground projects (ced7678)
  • import: import from svelte playground (a8d35e2)
  • import: import from vue playground (9406630)

sdk-v0.3.0

27 Oct 07:29
493d1fe
Compare
Choose a tag to compare

sdk-v0.3.0 (2023-10-27)

Bug Fixes

  • compilers: do not reload pyodide if still loading (c86d8ee)
  • SDK: fix sdk prefill (948f69e)
  • UI: fix (copy-as-url) button colors (9c813b2)

Features

  • compilers: patch pyodide input (4cff525)
  • Config: allow adding hidden content (8b1f347)
  • SDK: apply config (app & editor configs) from SDK setConfig (309ffb7)
  • UI: modify light theme (eb62af7)