livecodes

Code Playground That Just Works!

MIT License

Downloads
998
Stars
638
Committers
2

Bot releases are hidden (Show)

livecodes - v17

Published by hatemhosny 12 months ago

v17 (2023-11-01)

Bug Fixes

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

Features

livecodes - v16

Published by hatemhosny 12 months ago

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)
livecodes - sdk-v0.3.0

Published by hatemhosny 12 months ago

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)
livecodes - sdk-v0.2.1

Published by hatemhosny about 1 year ago

sdk-v0.2.1 (2023-10-16)

This release mainly updates TypeScript type definitions.

Bug Fixes

  • types: fix types and pkg info for modules with CDN specifier (7cdd9b2)

Features

  • 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)
livecodes - v15

Published by hatemhosny about 1 year ago

v15 (2023-10-01)

This release improves R and Python(Pyodide) language support:

  • upgrade versions
  • significant performance improvements
  • add docs

In addition:

  • on deploy QR code is generated for the deploy URL
  • QR code generated for share has LiveCodes logo
  • various bug fixes

Bug Fixes

  • export-share: fix share screen on generating qrcode for short url (7cbede4)
  • result: avoid duplicate handlers in live reload (bef4906)
  • tests: fix sending test results to SDK (08d9bc0)

Features

livecodes - v14

Published by hatemhosny about 1 year ago

v14 (2023-09-16)

This release improves running tests:

  • Jest has been upgraded to latest version (v29.7). This includes support for newer Jest API features (e.g. test.each).
  • Added autotest config option to allow auto-running tests on code changes.
  • Show skipped tests, and mark the test result status as skip.

In addition, UI improvements and bug fixes have been added.

Bug Fixes

  • sync: fix autosync toggle not being saved in user data (a52413e)
  • tools: fix showing toolspane in result mode (4ecfe83)
  • tools: show skipped tests (5623c8e)

Features

  • config: add autotest to UserConfig (6fa16f2)
  • config: update UI on loading new config (0f63688)
  • tests: use browserJest (d01989f)
  • tools: run configureToolsPane in loadConfig (ef3aecb)
livecodes - v13

Published by hatemhosny about 1 year ago

v13 (2023-09-05)

This release adds support for headless mode. It also adds support to watch for console output and test results.

AI code completion can be disallowed in embedded playgrounds using the query parameter disableAI.

Formatter is lazy loaded in embedded playgrounds only when used.

In addition, various bug fixes and performance improvements were made.

Bug Fixes

  • app: fix URL from "/app" to "/" (09571c7)
  • fix url update on loadConfig e.g. recover (3400bd7)
  • prevent using dev result for SDK code export (6f4300e), closes #423

Features

  • app: allow disabling AI code completion (c4c50f6)
  • services: use sandbox service v7 (26cda26)

Performance Improvements

  • formatter: lazy load formatter (7e73849)
  • mark pure utils & selector functions for tree shaking (3fa8c91)
livecodes - sdk-v0.2.0

Published by hatemhosny about 1 year ago

sdk-v0.2.0 (2023-09-05)

This release introduces headless mode. It also added support to watch for console output and test results.

Bug Fixes

  • SDK: fix race condition when calling SDK methods (85ee589)

Features

  • SDK: add support for headless playgrounds (b312b88)
  • SDK: allow SDK to watch for console output and test results (69f3f04)

Performance Improvements

  • SDK: do not load visual features when headless (dab8ae9)
  • SDK: send data in custom SDK events only if being watched (5810916)
livecodes - v12

Published by hatemhosny about 1 year ago

v12 (2023-08-20)

Bug Fixes

livecodes - v11

Published by hatemhosny about 1 year ago

v11 (2023-08-18)

Features

  • editor: support codeium AI code assistant (2949ccd)
livecodes - v10

Published by hatemhosny about 1 year ago

v10 (2023-08-04)

Bug Fixes

  • split.show full on small screen (2ce9067)
  • compilers: fix typo in julia public api (06986df)
  • editor: fix editor position, let columns start at 1 (47d0f90)

Features

  • editor: upgrade codejar to v4.1.1 (6d5327f)
livecodes - sdk-v0.1.2

Published by hatemhosny about 1 year ago

sdk-v0.1.2 (2023-07-26)

Bug Fixes

  • app: update editor settings code sample to use react 18 (fbae92a)
  • console: clear console silently on result page reload (6137125)
  • embed: edit svelte embed snippet to clean up (1da2b38)
  • SDK: add type: "module" to SDK (2444cc5)
  • SDK: fix vue sdk types (79068a3)

Features

  • console: upgrade luna console (2a764d4)
  • editor: upgrade codejar to v3.7.0 (7d256eb)
  • editor: upgrade monaco editor to v0.40.0 (d33aa5c)
livecodes - v9

Published by hatemhosny about 1 year ago

v9 (2023-07-22)

Bug Fixes

  • editor: fix monaco menus overflow (58a7f6a)
  • editor: fix updating editor types (f0576ff)
  • SDK: improve SDK types bundle (75b919b)

Features

  • app: confirm before deleting user templates (8176622)
  • editor: allow setting default types across all languages (f60ea1a)
  • editor: edit pkg info hover (b728b97)
livecodes - sdk-v0.1.1

Published by hatemhosny about 1 year ago

sdk-v0.1.1 (2023-07-22)

Bug Fixes

  • editor: fix monaco menus overflow (58a7f6a)
  • editor: fix updating editor types (f0576ff)
  • SDK: improve SDK types bundle (75b919b)

Features

  • app: confirm before deleting user templates (8176622)
  • editor: allow setting default types across all languages (f60ea1a)
  • editor: edit pkg info hover (b728b97)
livecodes - v8

Published by hatemhosny about 1 year ago

v8 (2023-07-22)

Bug Fixes

  • import: fix jsbin import regex (78970e6)

Features

  • app: add imports property to custom settings editor if not added (bf71760)
livecodes - sdk-v0.1.0

Published by hatemhosny about 1 year ago

sdk-v0.1.0 (2023-07-22)

livecodes - v7

Published by hatemhosny over 1 year ago

v7 (2023-07-19)

  • CI: fix deploy to gh-pages
livecodes - v6

Published by hatemhosny over 1 year ago

v6 (2023-07-19)

  • CI: fix deploy to gh-pages
livecodes - sdk-v0.0.3

Published by hatemhosny over 1 year ago

sdk-v0.0.3 (2023-07-19)

  • SDK: fix race condition when loading from sdk (bdc25f6)
  • SDK: fix sending config object from SDK (457696f)
livecodes - v5

Published by hatemhosny over 1 year ago

v5 (2023-07-19)

Bug Fixes

  • add encodeURIComponent to bookmarklet (1171d30)
  • app: fix a race condition (a2da49b)
  • app: show formatter (enabled/disabled) in editor toolbar on changing editors (0438deb)
  • compilers: map svelte import to svelte/internal (bdb0d21)
  • compilers: upgrade react in mdx (5644a38)
  • config: fix loading user config (b3983df)
  • config: validate config tools (0698f9f)
  • do not autorun result page if config.autoupdate is false (3e1e405)
  • do not treat safari as mobile (f08ae93)
  • do not use CDN for already bundled imports (e5f3b50)
  • editor: edit monaco addCloseTag regex to improve performance (dd03a69)
  • fallback to blob url if data url is not supported as worker (ea7ac04)
  • import: show error for invalid template/import URL (691afcf)
  • in result mode, hide toolspane by default (e38128c)
  • result: improve console (70106d7)
  • SDK: fix race condition when loading from sdk (bdc25f6)
  • SDK: fix sending config object from SDK (457696f)
  • UI: do not double check saved status on new -> starter template (8675b48)
  • UI: hide editors till they become active (4d52cc7)
  • use appCDN in result page scripts (3d3923e)
  • use appCDN in sync worker (9d20e4f)
  • wait for slow e2e tests (cb44e43)
  • welcome: improve welcome screen layout (6b50c13)

Features

  • about: add about screen (a2f89b4)
  • allow src import in SFCs (08189c0)
  • allow deploying the app +/- docs to gh-pages (0a33c8b)
  • allow stylesheet import from CDNs (1e51790)
  • allow using param ?new as ?screen=new (d75f97b)
  • app: copy code as data URL (3ea5b04)
  • app: if CDN is unreachable, fall back to next CDN (6e72eb4)
  • app: loading spinner (9a5385c)
  • app: show loading screen during recover (6f710e3)
  • compilers: add lang attribute for sfc src imports (63e4dc6)
  • compilers: add ClojureScript support (2a4d723)
  • compilers: add jsx support in vue sfc (2c76b47)
  • compilers: allow generating import maps during compile (1bba4d2)
  • compilers: allow importing remote vue sfc (406c6c6)
  • compilers: allow recursive imports in vue sfc (b438e0b)
  • compilers: allow svelte SFC to import and compile other SFCs (9d5ca48)
  • compilers: do not inline remote style imports by default (3e38335)
  • compilers: retry loading rescript compiler if failed (1e8562f)
  • compilers: support css modules in vue sfc (6169f34)
  • compilers: use official vue SFC compiler for vue 3 (c82ef76)
  • config: use default language if invalid (c2c4b22)
  • editor: auto add close tag in monaco (1cb0db7)
  • embed: allow selecting active tool in embed screen (c66b476)
  • embed: embed as Svelte (707f48d)
  • embed: use permanent url by default for embeds (c091ef9)
  • export-share: allow using permanent url in share (906bcc5)
  • formatter: upgrade @prettier/plugin-php to v0.19.6 (13b5d8b)
  • formatter: upgrade prettier to v3.0.0 (b06d8bd)
  • import: import data url (ab84f2f)
  • result: allow importing stylesheets in script editor (9bc077f)
  • result: maintain result page scroll position on update (0cea826), closes #297
  • services: allow switching default CDN (f5203cc)
  • services: provide permanent SDK url (fa0d76a)
  • UI: 2-column style menu (13d5702)
  • UI: add cookie notice to login screen (5c23a43)
  • welcome: show recent projects above templates (2c7b991)