Skip to content

Releases: live-codes/livecodes

sdk-v0.0.3

19 Jul 19:30
703454b
Compare
Choose a tag to compare

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

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

v4

13 May 06:46
3120ebf
Compare
Choose a tag to compare
v4

4 (2023-05-13)

v3

13 May 04:09
92f0161
Compare
Choose a tag to compare
v3

3 (2023-05-13)

Bug Fixes

  • add config imports to importmap (63090d7)
  • API: allow API to set full Config not just ContentConfig (69ff21d)
  • app: add es-module-shims to app.html (2c27485)
  • app: avoid unnecessary run before importing external content (d9d0499)
  • app: do not load defaults (template/last used language) if language is specified in query params (1c8da65)
  • app: fix export all sorting (bbbaef8)
  • app: fix loading user config (fab4976)
  • app: fix security issues and unify UI (c6e74fe)
  • app: if mode is codeblock, set config as readonly (b972879)
  • app: import external content on loading config (4328d53)
  • backup: handle the case of selecting no stores to backup (754e6b7)
  • cjs2esm (cb609f2)
  • clean css duplicates (d3873ef)
  • compilers: fix diagrams compiler errors (e5449a2)
  • compilers: fix loading rich text projects (ce3c894)
  • config: remove duplicates in config properties (89e2a22)
  • editor: fix codeblock and show line numbers (093830a)
  • editor: fix losing focus on format (cc51883)
  • editor: fix losing types on language change (cd88f67)
  • editor: fix overriding monaco autocomplete overlay style (28be0fd)
  • embed: avoid changing browser history in embeds (8d1e21e)
  • embed: fix logo link in result mode (52b9466)
  • fix type imports (d0fbf68)
  • hide duplicate tags (from sync) (e60f162)
  • inject css to fix FOUT in index.html (4ceaf98)
  • move from UserData to AppData (2ad2dc0)
  • npm-package: fix loading config object (663941c)
  • postMessage origin for loading default template (23cc869)
  • result: fix converting require if used as method (99c587a)
  • result: fix result flush (d74a759)
  • result: remove messaging script from result in exports (e7415e0)
  • SDK: prevent react SDK from rerendering (d265d2a)
  • services: fix share service (67fe70a)
  • sync: do not re-download unchanged remote sync data (1a56d48)
  • sync: fix sync (cache and encoding) (feec8d5)
  • templates: fix loading starter template from unsaved project (2f09967)
  • tests: fix chai assertion messages by imorting chai from jsdelivr(+esm) (0b9cef0)
  • tools: fix firing onActivate on resizing tools pane (6e26981)
  • UI: disable autofocus in embeds (b009f74)
  • UI: fix focus on hidden editors (2453121)
  • UI: fix logo link (b72ce80)
  • UI: fix logo link (7bbebe1)
  • UI: fix multi-column submenu (70b7e05)
  • UI: fix settings menu external resources handler (9bbd933)
  • UI: remove formatting on paste to project title (198e2b8)
  • web: fix show code styles (b714e4f)

Features

  • API: add params to EmbedOptions (c084b3f)
  • API: add API method destroy (c7a0d5b)
  • API: add API method onChange (0e39347)
  • API: allow going to specific line and column from API (a3740c9)
  • API: allow running tests from API (9917095)
  • API: API watch changes (9488ea1)
  • API: load from API (3e18357)
  • API: load on scroll (e81ee4a)
  • API: show panes from API (a53da9f)
  • app: add detectLanguage utility function (251bcc7)
  • app: add pub/sub (567c514)
  • app: allow adding local files as assets (e12d249)
  • app: allow partial matching in search (84e3c35)
  • app: emit change events (8c025a9)
  • app: sandbox app iframe (cbf2aad)
  • app: type-safe query params (ccf533e)
  • assets: deploy assets to GitHub Pages (13c833a)
  • backup: backup/restore UI (WIP) (10c8f39)
  • backup: implement backup (1804557)
  • backup: implement restore (d71804c)
  • broadcast: broadcast playground state (4f394f4)
  • broadcast: broadcast result page and code to API (78b1f7e)
  • broadcast: inform the server that broadcast has s...
Read more

v0.7.0

31 Mar 23:18
321337b
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

Changelog

0.7.0 (2023-03-31)

⚠ BREAKING CHANGES

  • API: rename exported method to createPlayground

Features

  • API: add params to EmbedOptions (c084b3f)
  • API: add API method destroy (c7a0d5b)
  • API: add API method onChange (0e39347)
  • API: allow going to specific line and column from API (a3740c9)
  • API: allow running tests from API (9917095)
  • API: API watch changes (9488ea1)
  • API: load from API (3e18357)
  • API: load on scroll (e81ee4a)
  • API: show panes from API (a53da9f)
  • app: add detectLanguage utility function (251bcc7)
  • app: add pub/sub (567c514)
  • app: allow adding local files as assets (e12d249)
  • app: allow partial matching in search (84e3c35)
  • app: emit change events (8c025a9)
  • app: sandbox app iframe (cbf2aad)
  • app: type-safe query params (ccf533e)
  • assets: deploy assets to GitHub Pages (13c833a)
  • backup: backup/restore UI (WIP) (10c8f39)
  • backup: implement backup (1804557)
  • backup: implement restore (d71804c)
  • broadcast: broadcast playground state (4f394f4)
  • broadcast: broadcast result page and code to API (78b1f7e)
  • broadcast: inform the server that broadcast has stopped (f0bfba4)
  • broadcast: provide a default broadcast service (7023091)
  • broadcast: show broadcast status button in toolbar (5693244)
  • broadcast: use channelToken (9ded492)
  • compiled: show python (brython) compiled code (61fd514)
  • compilers: add support for UnoCSS (53e66d6)
  • compilers: add Clang compiler for C/C++ (040bb2e)
  • compilers: add elkjs in diagram (56c8630)
  • compilers: add R language support (0747b71)
  • compilers: add R language support (e3dca42)
  • compilers: add support for art-template (95da5fc)
  • compilers: add support for C++ (d003ea5)
  • compilers: add support for Clio (8b4c4d9)
  • compilers: add support for common lisp (f2efeb1)
  • compilers: add support for cytoscape in diagram (a9b1322)
  • compilers: add support for Gnuplot (e9acf92)
  • compilers: add support for graphviz (05da2fd)
  • compilers: add support for imba (f375c10)
  • compilers: add support for Julia (52d7ff0)
  • compilers: add support for Lightning CSS (0d7bfe4)
  • compilers: add support for Mustache (ae12f3d)
  • compilers: add support for nomnoml (504075f)
  • compilers: add support for plotly (cb408be)
  • compilers: add support for Prolog using Tau Prolog (8721824)
  • compilers: add support for svgbob (6854d3b)
  • compilers: add support for Tcl (7786b8c)
  • compilers: add support for Token CSS (00c8930)
  • compilers: add support for vega and vega-lite (fa0570f)
  • compilers: add support for wavedrom (3a0f3e8)
  • compilers: commonjs support (87757d5)
  • compilers: diagrams runOrContinue (4635ece)
  • compilers: reload the compiler sandbox page on repeated failure to load compiler (3791fb9)
  • compilers: retry loading compiler on error (c0c3dfd)
  • compilers: rich text editor for markup (using quill.js) (e415f90)
  • compilers: upgrade mdx to v2.0 (438a0da)
  • compilers: use dart-sass instead of sass.js (313ebb3)
  • config: add zoom to config (1cd7973)
  • config: allow setting enabled tools and status from query param tools (4796ba0)
  • config: collect tools config under config.tools (c02ef9c)
  • config: improve merging config from external content (b5e4bf6)
  • config: improve tools config (status) (3a6f9e3)
  • console: clear console on result update (c7b47c0)
  • CSS Presets: move CSS preset UI from app menu to external resources screen (a052c8e)
  • CSS Presets: remove github-markdown-css and asciidoctor.css from css presets (88b4391)
  • deploy: save project deploy repo ([b43126c](b431...
Read more

v0.4.0

19 Nov 20:51
71c3450
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

This is a big release with a large number of added features, security and performance improvements and fixes. It is still under heavy development and not yet ready for production, but hopefully approaching there :)

The project has also been renamed from LocalPen to LiveCodes.

This is a summary of the significant changes:

⚠ BREAKING CHANGES

  • config: remove baseUrl config option
  • config: config.modules has been replaced by config.imports
  • config: use config option activeEditor instead of language
    (automatically changed in config upgrade)
  • config: autoprefixer config option moved to processors.postcss

Features

  • API: expose API (7114905)
  • app: allow enabling specific languages/editors (e11d857)
  • app: allow to restore last unsaved project (06bd659)
  • app: convert to async indexedDB storage using localforage (28c637a)
  • app: organize saved projects (4ea78f6)
  • auth: github auth (5e1074a)
  • auth: Lazy load authentication (58c70a8)
  • compilers: add AssemblyScript language support (2ada4d6)
  • compilers: add babel as compiler (b545498)
  • compilers: add blockly (38bcd53)
  • compilers: add custom settings for brython python compiler (20f2e1e)
  • compilers: add dependencies and aliases for compilers (b2cadc2)
  • compilers: add doT compiler (cee6db4)
  • compilers: add EJS compiler (75b8c51)
  • compilers: add haml language support (2751fc9)
  • compilers: add Handlebars compiler (c8f99fb)
  • compilers: add language info (2fb3558)
  • compilers: add LiquidJS (4d3348c)
  • compilers: add livescript language support (2a2cafc)
  • compilers: add lua language support (2616156)
  • compilers: add MDX support (68bde77)
  • compilers: add Nunjucks compiler (71bcc6a)
  • compilers: add Perl language support (3fb78a6)
  • compilers: add PHP language support via uniter (6b585ca)
  • compilers: add postcss plugins support (83baa78)
  • compilers: add pyodide as additional python compiler (727f654)
  • compilers: add Python language support via Brython (bed2e0c)
  • compilers: add ReScript support (8ab265d)
  • compilers: add Scheme language support (39f9931)
  • compilers: add solidjs support (6ca125f)
  • compilers: add SQL language support (8923111)
  • compilers: add Stencil support (b9bca2c)
  • compilers: add support for Astro (01f38d7)
  • compilers: add support for Go (f74b7b3)
  • compilers: add support for malinajs (18b7da2)
  • compilers: add support for React Native (d72b5dd)
  • compilers: add support for Reason and OCaml (0d21867)
  • compilers: add support for Riot.js (0e01bf4)
  • compilers: add support for Twig templating engine (3b6f214)
  • compilers: add Svelte support (fdb1e17)
  • compilers: add tailwindcss JIT compiler (4336916)
  • compilers: add TSX support, with intellisense for react (d706f56)
  • compilers: add Vue 2 SFC support (71bb81d)
  • compilers: add Vue 3 SFC support (2173eac)
  • compilers: add WebAssembly Text Format (aaea694)
  • compilers: add windicss (cab11f6)
  • compilers: allow compiler to use other compilers (2719fed)
  • compilers: allow compilers to live reload (3cbee30)
  • compilers: allow compiling in the sandboxed iframe outside the web worker (5d356fa)
  • compilers: allow dynamically adding scripts to result page during compile (2b19ae1)
  • compilers: allow importing CSS from URL and from CDN (5fb6b58)
  • compilers: allow importing python modules from external URL by setting pythonpath (4b5f960)
  • compilers: allow loading db file or sql scripts from URL (57c54d8)
  • compilers: allow using processors (compilers) for SFC blocks (866cd40)
  • compilers: dom manipulation using blockly (c2ec045)
  • compilers: enable style import in vue SFC (ece3bf2)
  • compilers: enable users to configure compilers via custom config scripts in markup (67c6cdf)
  • compilers: haml dynamic evaluation (8587a17)
  • compilers: prerender markup templating engines by default (083be37)
  • compilers: Pug templates load as prerendered or dynamic (40892a5)
  • compilers: run compilers in sandboxed iframe (163db41)
  • compilers: send compiler messages to console (c67ea42)
  • compilers: supp...
Read more

v0.3.0

12 Feb 00:04
ee3de33
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Bug Fixes

  • app: await async functions (3e647b7)
  • console: fix changed variable names (c514815)
  • CSS Presets: fix selecting CSS preset none (8382605)
  • import: fix importing github and gitlab repos root directory (ba55e3d)
  • result: use postMessage to send code to result page (636acad)
  • UI: fix settings menu too wide on small screens (18f1159)

Features

  • compiled: view compiled code (f93e2ce)
  • console: add console input auto-complete for user code (1115331)
  • console: add JS console (36a24e9)
  • console: add tools pane (aeefcb3)
  • console: handle logging different data types (9c59aad)
  • import: load imports without page refresh (cce9539)
  • loading: use animating logo as loading indicator (f65753a)
  • result: show result page size on resize (a48107e)
  • UI: add loading indicator on tools pane (8b8ea41)
  • UI: scroll settings menu when longer than view port (b706274)

v0.2.0

22 Jan 22:06
f4b8c62
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

Bug Fixes

  • compilers: fix baseUrl for sass worker (25320a1)
  • compilers: fix Less transpiler (d3e4174)
  • display active editor on loadConfig (737bce5)
  • set active language on changing editor (1e884d8)

Code Refactoring

  • result: use blob URL as src for result iframe (c7c61c8)
  • config: rename snakecase config params to camelcase (6cc9c99)

Features

  • result: add iframe sandbox (217d7ee)
  • templates: start new projects from templates (d2fcdc5)
  • CSS Presets: Add CSS Presets (347fed8)
  • formatter: add prettier parser for pug (b153098)

BREAKING CHANGES

  • config: rename snakecase config params to camelcase
    update_delay -> delay
    allow_lang_change -> allowLangChange

Initial public release

10 Jan 02:26
Compare
Choose a tag to compare
Pre-release
v0.1.0

Initial public commit