From 430b3a1919c3cdf07bec12d8dc612d1850468d3e Mon Sep 17 00:00:00 2001 From: Hatem Hosny Date: Thu, 1 Aug 2024 20:13:48 +0300 Subject: [PATCH] release: v35 --- CHANGELOG.md | 22 ++++++++++++++++++++++ README.md | 17 +++++++++++++++++ package.json | 2 +- 3 files changed, 40 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50f7cb1fa..7b83bcc01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,28 @@ All notable changes to this project will be documented in this file. See [standa --- +## [v35](https://github.com/live-codes/livecodes/compare/v34...v35) (2024-08-01) + +### Highlights for this release: + +- Added starter templates for D3 and Phaser: + + - https://livecodes.io/?template=d3 + - https://livecodes.io/?template=phaser + +- Fixed solid-js compiler + +### Bug Fixes + +- **Compilers:** fix solid-js compiler ([f96032d](https://github.com/live-codes/livecodes/commit/f96032d937c0fb617eec9e59d26eea88be8ead5f)) + +### Features + +- **Templates:** add Phaser starter template ([3eb208b](https://github.com/live-codes/livecodes/commit/3eb208b281601477d1ecdd08a740bd43651d7eb1)) +- **Templates:** restore D3 template ([56d064f](https://github.com/live-codes/livecodes/commit/56d064f2db9b4a446bffc3b00cdecd69ce704f3f)) + +--- + ## [v34](https://github.com/live-codes/livecodes/compare/sdk-v0.6.0...0.0.0) (2024-07-27) - **Config:** allow setting custom editor title ([95287d0](https://github.com/live-codes/livecodes/commit/95287d07d88fe75ca22c69e4c2c5d3241aae4069)) diff --git a/README.md b/README.md index e7675b9a4..2415f83a0 100644 --- a/README.md +++ b/README.md @@ -186,6 +186,23 @@ Vue SDK example: ([open in LiveCodes](https://livecodes.io/?x=code/N4IgLglmA2CmI ``` +In addition, the SDK allows creating links to playgrounds: + +```js +import { getPlaygroundUrl } from 'livecodes'; + +const url = getPlaygroundUrl({ + config: { + markup: { + language: 'markdown', + content: '# Hello World!', + }, + }, +}); + +console.log(url); +``` + See [SDK docs](https://livecodes.io/docs/sdk/) for more details. ## Documentations diff --git a/package.json b/package.json index 3b17bf2d8..ee5072104 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "livecodes", "version": "0.0.0", - "appVersion": "34", + "appVersion": "35", "description": "Code Playground That Just Works!", "author": "Hatem Hosny", "license": "MIT",