Skip to content

Commit 2044522

Browse files
authored
Merge pull request #966 from live-codes/releases/sdk-v0.14.0
Prepare release sdk-v0.14.0
2 parents 92f66f2 + d72354f commit 2044522

4 files changed

Lines changed: 40 additions & 5 deletions

File tree

.github/workflows/bundle-size.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ jobs:
1010
- uses: actions/checkout@v4
1111
- uses: preactjs/compressed-size-action@v2
1212
with:
13-
build-script: 'build:app'
14-
pattern: './build/**/*.{js,css,html,json}'
13+
install-script: "npm ci --ignore-scripts"
14+
build-script: "build:app"
15+
pattern: "./build/**/*.{js,css,html,json}"
1516
strip-hash: "\\b\\w{32}\\."
1617
minimum-change-threshold: 200
17-
compression: 'brotli'
18+
compression: "brotli"

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,40 @@ All notable changes to this project will be documented in this file. See [standa
44

55
---
66

7+
## [sdk-v0.14.0](https://github.com/live-codes/livecodes/compare/sdk-v0.13.0...sdk-v0.14.0) (2026-05-08)
8+
9+
### Highlights for this release
10+
11+
- The SDK now, in addition to React and Vue, provides support for Svelte, Solid, Preact, and Web Components. See [docs](https://livecodes.io/docs/sdk).
12+
- The SDK is now also published to [jsr.io](https://jsr.io/@livecodes/sdk) as `@livecodes/sdk`. See [docs](https://livecodes.io/docs/sdk/jsr).
13+
- Skills are published with SDK for use with AI agents. See [AI guide](https://livecodes.io/docs/ai-guide).
14+
- The SDK exports new utility functions for compressing and decompressing code (URI-friendly base64-encoded). This is useful for allowing users to provide share links (using URL hash) for embedded playgrounds. See [guide](https://livecodes.io/docs/tutorials/creating-shareable-urls).
15+
- `setConfig` SDK method can now accept a config URL.
16+
- "Prefill from DOM" is fixed. See [docs](https://livecodes.io/docs/features/code-prefill#auto-pre-fill-from-page-dom).
17+
- In addition to other improvements and bug fixes.
18+
19+
### Features
20+
21+
- **SDK:** add preact sdk ([d561bc8](https://github.com/live-codes/livecodes/commit/d561bc832f5f61dda5f9dfe649269e90cfe57843))
22+
- **SDK:** add SDK Svelte component ([337a774](https://github.com/live-codes/livecodes/commit/337a774ac106c1eefb2b130f7ed0db68655bb112))
23+
- **SDK:** add web-components SDK ([fef131e](https://github.com/live-codes/livecodes/commit/fef131ee181a4572cf62a32cf9adedc707960dc2))
24+
- **SDK:** allow passing a config URL to `setConfig` SDK method. ([35497a5](https://github.com/live-codes/livecodes/commit/35497a572bc3d43857c492b17c9252366d6ae277))
25+
- **SDK:** allow setting content in web-components sdk using child elements ([824681b](https://github.com/live-codes/livecodes/commit/824681b65c7bd75790e85ad4415fd083f7e60619))
26+
- **SDK:** export `compress` and `decompress` utility functions from SDK ([621a41d](https://github.com/live-codes/livecodes/commit/621a41df462500f9acb076f6a86abeb924067c88))
27+
- **SDK:** export types from framework SDKs ([df813d6](https://github.com/live-codes/livecodes/commit/df813d6a9f0aedc2f50bd7f70b888a44c6dd24ec))
28+
29+
### Bug Fixes
30+
31+
- **SDK:** fix and document prefill from DOM ([d6aa0d0](https://github.com/live-codes/livecodes/commit/d6aa0d014cb566d5b59bbb2ed9440c9dead69d14))
32+
- **SDK:** fix updating height in SDK ([8a9d8a1](https://github.com/live-codes/livecodes/commit/8a9d8a1dc3af7ae67fb39a9d56ac945da5804142))
33+
- **SDK:** remove event handlers from array ([3e107e2](https://github.com/live-codes/livecodes/commit/3e107e25cbd4b69fca4078a2ee639565f726a9ad))
34+
35+
### Performance Improvements
36+
37+
- **SDK:** timeout SDK calls, then clear event listeners ([7a24970](https://github.com/live-codes/livecodes/commit/7a249706390cfb1a468bda3689f4c174084e9d62))
38+
39+
---
40+
741
## [v48](https://github.com/live-codes/livecodes/compare/v47...v48) (2026-02-08)
842

943
### Features

src/sdk/jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://jsr.io/schema/config-file.v1.json",
33
"name": "@livecodes/sdk",
44
"description": "A Code Playground That Just Works!",
5-
"version": "0.13.0",
5+
"version": "0.14.0",
66
"license": "MIT",
77
"exports": {
88
".": "./index.ts",

src/sdk/package.sdk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "livecodes",
3-
"version": "0.13.0",
3+
"version": "0.14.0",
44
"description": "A Code Playground That Just Works!",
55
"author": "Hatem Hosny",
66
"license": "MIT",

0 commit comments

Comments
 (0)