Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .changeset/smaller-markdown-and-vscode-packages.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/create/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# create-hyperbook

## 0.4.5

### Patch Changes

- Updated dependencies [[`7eedebc`](https://github.com/openpatch/hyperbook/commit/7eedebc17c42ea4d27d643261698e5df5818acec)]:
- @hyperbook/types@0.28.0

## 0.4.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-hyperbook",
"version": "0.4.4",
"version": "0.4.5",
"description": "Shared logic for creating new Hyperbook projects",
"platform": "node",
"main": "./dist/index.js",
Expand Down
16 changes: 16 additions & 0 deletions packages/fs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @hyperbook/fs

## 0.30.0

### Minor Changes

- [#1200](https://github.com/openpatch/hyperbook/pull/1200) [`7eedebc`](https://github.com/openpatch/hyperbook/commit/7eedebc17c42ea4d27d643261698e5df5818acec) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - Keep the Markdown npm package and the VS Code extension small by leaving out large element runtimes.

The Markdown package no longer includes any of the eight large element runtimes; it keeps their integration scripts and styles. With `cdn: true`, Blockflow now loads from `blockflow.openpatch.org` and Excalidraw from its own packages on UNPKG. OpenSCAD, Online IDE and SQL IDE use independent, pinned releases on `cdn.openpatch.org`. Their owning repositories publish immutable runtime files to Cloudflare R2, and Hyperbook verifies the public CDN files before publishing a release.

PyIDE now uses Pyodide's versioned jsDelivr CDN by default because its full local distribution is very large. Builds and asset prefetching skip downloading this runtime unless `elements.pyide.cdn` is explicitly `false`. Set it to `false` for self-hosted and offline books, and prefetch the runtime before an offline build. The documentation explains this default and how to cache runtime downloads in CI and assets on your hosting service.

The VS Code extension no longer includes any of the eight large runtimes. Its preview resolves them like a Hyperbook build: elements with a `cdn` setting load from that CDN, and the others use the runtimes in the Hyperbook CLI's asset cache, which the extension now shares. Runtimes that are not downloaded yet load from their default CDN, and the preview offers to download them. The new commands "Download Element Runtimes..." and "Download All Element Runtimes" work like `hyperbook assets fetch` and `hyperbook assets fetch --all`.

`@hyperbook/fs` now provides `AssetManager` and `assetCacheDir`, which the CLI and the VS Code extension share. `@hyperbook/types` exports `elementRuntimeFiles`, the files that show an element's runtime is available locally.

The built Markdown ESM package also supports direct Node imports while remaining compatible with the CLI and extension bundles.

## 0.29.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/fs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperbook/fs",
"version": "0.29.2",
"version": "0.30.0",
"author": "Mike Barkmin",
"homepage": "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/openpatch/hyperbook#readme",
"license": "MIT",
Expand Down
16 changes: 16 additions & 0 deletions packages/hyperbook/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# hyperbook

## 0.113.1

### Patch Changes

- [#1200](https://github.com/openpatch/hyperbook/pull/1200) [`7eedebc`](https://github.com/openpatch/hyperbook/commit/7eedebc17c42ea4d27d643261698e5df5818acec) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - Keep the Markdown npm package and the VS Code extension small by leaving out large element runtimes.

The Markdown package no longer includes any of the eight large element runtimes; it keeps their integration scripts and styles. With `cdn: true`, Blockflow now loads from `blockflow.openpatch.org` and Excalidraw from its own packages on UNPKG. OpenSCAD, Online IDE and SQL IDE use independent, pinned releases on `cdn.openpatch.org`. Their owning repositories publish immutable runtime files to Cloudflare R2, and Hyperbook verifies the public CDN files before publishing a release.

PyIDE now uses Pyodide's versioned jsDelivr CDN by default because its full local distribution is very large. Builds and asset prefetching skip downloading this runtime unless `elements.pyide.cdn` is explicitly `false`. Set it to `false` for self-hosted and offline books, and prefetch the runtime before an offline build. The documentation explains this default and how to cache runtime downloads in CI and assets on your hosting service.

The VS Code extension no longer includes any of the eight large runtimes. Its preview resolves them like a Hyperbook build: elements with a `cdn` setting load from that CDN, and the others use the runtimes in the Hyperbook CLI's asset cache, which the extension now shares. Runtimes that are not downloaded yet load from their default CDN, and the preview offers to download them. The new commands "Download Element Runtimes..." and "Download All Element Runtimes" work like `hyperbook assets fetch` and `hyperbook assets fetch --all`.

`@hyperbook/fs` now provides `AssetManager` and `assetCacheDir`, which the CLI and the VS Code extension share. `@hyperbook/types` exports `elementRuntimeFiles`, the files that show an element's runtime is available locally.

The built Markdown ESM package also supports direct Node imports while remaining compatible with the CLI and extension bundles.

## 0.113.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hyperbook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hyperbook",
"version": "0.113.0",
"version": "0.113.1",
"author": "Mike Barkmin",
"homepage": "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/openpatch/hyperbook#readme",
"license": "MIT",
Expand Down
16 changes: 16 additions & 0 deletions packages/markdown/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @hyperbook/markdown

## 0.86.0

### Minor Changes

- [#1200](https://github.com/openpatch/hyperbook/pull/1200) [`7eedebc`](https://github.com/openpatch/hyperbook/commit/7eedebc17c42ea4d27d643261698e5df5818acec) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - Keep the Markdown npm package and the VS Code extension small by leaving out large element runtimes.

The Markdown package no longer includes any of the eight large element runtimes; it keeps their integration scripts and styles. With `cdn: true`, Blockflow now loads from `blockflow.openpatch.org` and Excalidraw from its own packages on UNPKG. OpenSCAD, Online IDE and SQL IDE use independent, pinned releases on `cdn.openpatch.org`. Their owning repositories publish immutable runtime files to Cloudflare R2, and Hyperbook verifies the public CDN files before publishing a release.

PyIDE now uses Pyodide's versioned jsDelivr CDN by default because its full local distribution is very large. Builds and asset prefetching skip downloading this runtime unless `elements.pyide.cdn` is explicitly `false`. Set it to `false` for self-hosted and offline books, and prefetch the runtime before an offline build. The documentation explains this default and how to cache runtime downloads in CI and assets on your hosting service.

The VS Code extension no longer includes any of the eight large runtimes. Its preview resolves them like a Hyperbook build: elements with a `cdn` setting load from that CDN, and the others use the runtimes in the Hyperbook CLI's asset cache, which the extension now shares. Runtimes that are not downloaded yet load from their default CDN, and the preview offers to download them. The new commands "Download Element Runtimes..." and "Download All Element Runtimes" work like `hyperbook assets fetch` and `hyperbook assets fetch --all`.

`@hyperbook/fs` now provides `AssetManager` and `assetCacheDir`, which the CLI and the VS Code extension share. `@hyperbook/types` exports `elementRuntimeFiles`, the files that show an element's runtime is available locally.

The built Markdown ESM package also supports direct Node imports while remaining compatible with the CLI and extension bundles.

## 0.85.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/markdown/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperbook/markdown",
"version": "0.85.0",
"version": "0.86.0",
"author": "Mike Barkmin",
"homepage": "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/openpatch/hyperbook#readme",
"license": "MIT",
Expand Down
16 changes: 16 additions & 0 deletions packages/types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @hyperbook/types

## 0.28.0

### Minor Changes

- [#1200](https://github.com/openpatch/hyperbook/pull/1200) [`7eedebc`](https://github.com/openpatch/hyperbook/commit/7eedebc17c42ea4d27d643261698e5df5818acec) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - Keep the Markdown npm package and the VS Code extension small by leaving out large element runtimes.

The Markdown package no longer includes any of the eight large element runtimes; it keeps their integration scripts and styles. With `cdn: true`, Blockflow now loads from `blockflow.openpatch.org` and Excalidraw from its own packages on UNPKG. OpenSCAD, Online IDE and SQL IDE use independent, pinned releases on `cdn.openpatch.org`. Their owning repositories publish immutable runtime files to Cloudflare R2, and Hyperbook verifies the public CDN files before publishing a release.

PyIDE now uses Pyodide's versioned jsDelivr CDN by default because its full local distribution is very large. Builds and asset prefetching skip downloading this runtime unless `elements.pyide.cdn` is explicitly `false`. Set it to `false` for self-hosted and offline books, and prefetch the runtime before an offline build. The documentation explains this default and how to cache runtime downloads in CI and assets on your hosting service.

The VS Code extension no longer includes any of the eight large runtimes. Its preview resolves them like a Hyperbook build: elements with a `cdn` setting load from that CDN, and the others use the runtimes in the Hyperbook CLI's asset cache, which the extension now shares. Runtimes that are not downloaded yet load from their default CDN, and the preview offers to download them. The new commands "Download Element Runtimes..." and "Download All Element Runtimes" work like `hyperbook assets fetch` and `hyperbook assets fetch --all`.

`@hyperbook/fs` now provides `AssetManager` and `assetCacheDir`, which the CLI and the VS Code extension share. `@hyperbook/types` exports `elementRuntimeFiles`, the files that show an element's runtime is available locally.

The built Markdown ESM package also supports direct Node imports while remaining compatible with the CLI and extension bundles.

## 0.27.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperbook/types",
"version": "0.27.0",
"version": "0.28.0",
"author": "Mike Barkmin",
"homepage": "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/openpatch/hyperbook#readme",
"license": "MIT",
Expand Down
23 changes: 23 additions & 0 deletions platforms/vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @hyperbook/vscode-extension

## 0.57.0

### Minor Changes

- [#1200](https://github.com/openpatch/hyperbook/pull/1200) [`7eedebc`](https://github.com/openpatch/hyperbook/commit/7eedebc17c42ea4d27d643261698e5df5818acec) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - Keep the Markdown npm package and the VS Code extension small by leaving out large element runtimes.

The Markdown package no longer includes any of the eight large element runtimes; it keeps their integration scripts and styles. With `cdn: true`, Blockflow now loads from `blockflow.openpatch.org` and Excalidraw from its own packages on UNPKG. OpenSCAD, Online IDE and SQL IDE use independent, pinned releases on `cdn.openpatch.org`. Their owning repositories publish immutable runtime files to Cloudflare R2, and Hyperbook verifies the public CDN files before publishing a release.

PyIDE now uses Pyodide's versioned jsDelivr CDN by default because its full local distribution is very large. Builds and asset prefetching skip downloading this runtime unless `elements.pyide.cdn` is explicitly `false`. Set it to `false` for self-hosted and offline books, and prefetch the runtime before an offline build. The documentation explains this default and how to cache runtime downloads in CI and assets on your hosting service.

The VS Code extension no longer includes any of the eight large runtimes. Its preview resolves them like a Hyperbook build: elements with a `cdn` setting load from that CDN, and the others use the runtimes in the Hyperbook CLI's asset cache, which the extension now shares. Runtimes that are not downloaded yet load from their default CDN, and the preview offers to download them. The new commands "Download Element Runtimes..." and "Download All Element Runtimes" work like `hyperbook assets fetch` and `hyperbook assets fetch --all`.

`@hyperbook/fs` now provides `AssetManager` and `assetCacheDir`, which the CLI and the VS Code extension share. `@hyperbook/types` exports `elementRuntimeFiles`, the files that show an element's runtime is available locally.

The built Markdown ESM package also supports direct Node imports while remaining compatible with the CLI and extension bundles.

### Patch Changes

- Updated dependencies [[`7eedebc`](https://github.com/openpatch/hyperbook/commit/7eedebc17c42ea4d27d643261698e5df5818acec)]:
- @hyperbook/fs@0.30.0
- @hyperbook/markdown@0.86.0
- create-hyperbook@0.4.5

## 0.56.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion platforms/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"homepage": "https://hyperbook.openpatch.org",
"main": "./out/extension.js",
"version": "0.56.0",
"version": "0.57.0",
"engines": {
"vscode": "^1.125.0"
},
Expand Down