Skip to content

Commit fb71a58

Browse files
release: 4.11.9-beta.1
- Restore wasm:build in CI; untrack wasm/pkg artifacts - Remove ELECTRON_SKIP_BINARY_DOWNLOAD from workflow - Add src/obsidian-unofficial.d.ts: workaround TS 6 + obsidian-typings 3.16 .d.cts augmentation bug (metadataTypeManager, MetadataCache.initialized) - Pin svelte-preprocess to 6.0.3 (6.0.4 broken ESM transformer imports) - Bump deps: obsidian 1.12.3, obsidian-typings 3.16.6, svelte 5.55.9, tailwindcss 4.3.0, zod 4.4.3, vitest 4.1.7, eslint 10.4.0, plus minors
1 parent d0f60c0 commit fb71a58

16 files changed

Lines changed: 324 additions & 4833 deletions

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,10 @@ jobs:
3939
run: cd wasm && rustup override set stable && rustup component add rust-src --toolchain stable-x86_64-unknown-linux-gnu && cd ..
4040

4141
- name: Build plugin
42-
env:
43-
ELECTRON_SKIP_BINARY_DOWNLOAD: "1"
4442
run: |
4543
bun install --frozen-lockfile
4644
bun run wasm:test || exit 1
45+
bun run wasm:build || exit 1
4746
bun run test || exit 1
4847
bun run build || exit 1
4948

CHANGELOG.md

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

55
## 4.X
66

7+
### [4.11.9-beta.1](https://github.com/SkepticMystic/breadcrumbs/compare/4.11.8...4.11.9-beta.1) (2026-05-24)
8+
9+
### Build
10+
11+
* **Restore wasm:build in CI** — revert the 4.11.8 approach of committing `wasm/pkg` artifacts; build WASM from source in CI again. `wasm/pkg/` is back to gitignored; reproducibility ensured by the pinned `wasm-bindgen-cli 0.2.100`.
12+
* **Remove ELECTRON_SKIP_BINARY_DOWNLOAD** — no longer needed with `--frozen-lockfile`.
13+
* **Fix TS 6 module augmentation**`obsidian-typings` 3.16 moved its augmentations into `.d.cts` files; TypeScript 6 does not apply module augmentations from `.d.cts` type-reference entries. Added `src/obsidian-unofficial.d.ts` with local `declare module "obsidian"` augmentations for `metadataTypeManager`, `MetadataCache.initialized`, and `MetadataCache.on("initialized")`.
14+
* **Pin svelte-preprocess to 6.0.3** — 6.0.4 introduced a broken ESM import (missing `.js` extension on transformer sub-paths).
15+
16+
### Chores
17+
18+
* **Dependency updates**`obsidian` → 1.12.3, `obsidian-typings` → 3.16.6, `svelte` → 5.55.9, `tailwindcss`/`@tailwindcss/cli` → 4.3.0, `zod` → 4.4.3, `vitest` → 4.1.7, `eslint` → 10.4.0, plus minor bumps to `luxon`, `lucide-svelte`, `caniuse-lite`, `baseline-browser-mapping`, and several ESLint/Svelte/TypeScript tooling packages.
19+
720
### [4.11.8](https://github.com/SkepticMystic/breadcrumbs/compare/4.11.7...4.11.8) (2026-05-24)
821

922
### Build

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ dev:
1111
bun run build || exit 1
1212
bun run dev
1313

14+
gh-actions:
15+
bun install
16+
bun run wasm:test || exit 1
17+
bun run wasm:build || exit 1
18+
bun run test || exit 1
19+
bun run build || exit 1
20+
1421
test:
1522
bun install -g wasm-pack
1623
cd wasm

bun.lock

Lines changed: 238 additions & 474 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifest-beta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"id": "breadcrumbs",
33
"name": "Breadcrumbs",
4-
"version": "4.11.7-beta.1",
5-
"minAppVersion": "1.12.0",
4+
"version": "4.11.9-beta.1",
5+
"minAppVersion": "1.12.3",
66
"description": "Add structured hierarchies to your notes.",
77
"author": "SkepticMystic",
88
"authorUrl": "https://github.com/SkepticMystic/breadcrumbs",
99
"fundingUrl": "https://github.com/SkepticMystic/breadcrumbs#donations",
1010
"helpUrl": "https://publish.obsidian.md/breadcrumbs-docs",
1111
"isDesktopOnly": false
12-
}
12+
}

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"id": "breadcrumbs",
33
"name": "Breadcrumbs",
4-
"minAppVersion": "1.12.0",
4+
"minAppVersion": "1.12.3",
55
"description": "Add structured hierarchies to your notes.",
66
"author": "SkepticMystic",
77
"authorUrl": "https://github.com/SkepticMystic",
88
"fundingUrl": "https://github.com/SkepticMystic/breadcrumbs#donations",
99
"helpUrl": "https://breadcrumbs-docs.michaelpporter.com",
1010
"isDesktopOnly": false,
1111
"version": "4.11.8"
12-
}
12+
}

package.json

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "breadcrumbs",
3-
"version": "4.11.8",
3+
"version": "4.11.9-beta.1",
44
"description": "Add typed-links to your Obsidian notes",
55
"main": "main.js",
66
"scripts": {
@@ -35,42 +35,42 @@
3535
},
3636
"devDependencies": {
3737
"@aidenlx/folder-note-core": "^1.3.6",
38-
"@eslint/js": "^10.0.0",
39-
"@tailwindcss/cli": "^4.0.0",
38+
"@eslint/js": "^10.0.1",
39+
"@tailwindcss/cli": "^4.3.0",
4040
"@tsconfig/svelte": "^5.0.8",
4141
"@types/luxon": "^3.7.1",
42-
"@types/node": "^25.0.0",
43-
"@types/obsidian-typings": "npm:obsidian-typings@^3.15.0",
44-
"@vitest/coverage-v8": "^4.1.5",
45-
"@vitest/ui": "^4.1.5",
42+
"@types/node": "^25.9.1",
43+
"@types/obsidian-typings": "npm:obsidian-typings@^3.16.6",
44+
"@vitest/coverage-v8": "^4.1.7",
45+
"@vitest/ui": "^4.1.7",
4646
"esbuild": "^0.28.0",
47-
"esbuild-svelte": "^0.9.3",
48-
"eslint": "^10.0.0",
49-
"eslint-plugin-import-x": "^4.0.0",
50-
"eslint-plugin-only-warn": "^1.1.0",
51-
"eslint-plugin-svelte": "^3.9.3",
47+
"esbuild-svelte": "^0.9.5",
48+
"eslint": "^10.4.0",
49+
"eslint-plugin-import-x": "^4.16.2",
50+
"eslint-plugin-only-warn": "^1.2.1",
51+
"eslint-plugin-svelte": "^3.17.1",
5252
"npm-run-all2": "^7.0.2",
53-
"obsidian": "^1.8.7",
53+
"obsidian": "^1.12.3",
5454
"obsidian-dataview": "^0.5.68",
5555
"prettier": "^3.8.3",
56-
"prettier-plugin-svelte": "^3.4.0",
57-
"prettier-plugin-tailwindcss": "^0.6.0",
58-
"svelte": "^5.55.5",
59-
"svelte-check": "^4.4.6",
60-
"svelte-preprocess": "^6.0.3",
56+
"prettier-plugin-svelte": "^3.5.2",
57+
"prettier-plugin-tailwindcss": "^0.6.14",
58+
"svelte": "^5.55.9",
59+
"svelte-check": "^4.4.8",
60+
"svelte-preprocess": "6.0.3",
6161
"tailwindcss": "^4.3.0",
6262
"tslib": "2.8.1",
6363
"typescript": "^6.0.3",
64-
"typescript-eslint": "^8.59.1",
65-
"vite-plugin-wasm": "^3.5.0",
66-
"vitest": "^4.1.5"
64+
"typescript-eslint": "^8.59.4",
65+
"vite-plugin-wasm": "^3.6.0",
66+
"vitest": "^4.1.7"
6767
},
6868
"dependencies": {
69-
"baseline-browser-mapping": "^2.10.22",
70-
"caniuse-lite": "^1.0.30001790",
71-
"lucide-svelte": "^1.0.0",
72-
"luxon": "^3.7.1",
73-
"obsidian-typings": "^3.13.2",
74-
"zod": "^4.0.0"
69+
"baseline-browser-mapping": "^2.10.32",
70+
"caniuse-lite": "^1.0.30001793",
71+
"lucide-svelte": "^1.0.1",
72+
"luxon": "^3.7.2",
73+
"obsidian-typings": "^3.16.6",
74+
"zod": "^4.4.3"
7575
}
7676
}

src/obsidian-unofficial.d.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/**
2+
* Local augmentations for unofficial Obsidian APIs.
3+
*
4+
* obsidian-typings 3.16+ packages its augmentations in .d.cts files; TypeScript 6
5+
* does not apply module augmentations from .d.cts type-reference entries. These
6+
* declarations replicate the subset used by this plugin so the project compiles
7+
* without resorting to `as any` casts.
8+
*/
9+
10+
import "obsidian";
11+
12+
declare module "obsidian" {
13+
interface MetadataTypeManager {
14+
/** Get widget type assigned to a property (Obsidian < 1.x compat). */
15+
getAssignedType(property: string): string | null;
16+
/** Set the widget type for a property. */
17+
setType(property: string, type: string): Promise<void>;
18+
}
19+
20+
interface App {
21+
/** Manages frontmatter property types for the vault. @unofficial */
22+
metadataTypeManager: MetadataTypeManager;
23+
}
24+
25+
interface MetadataCache {
26+
/** True once the cache has finished its initial scan. @unofficial */
27+
initialized: boolean;
28+
on(name: "initialized", callback: () => void, ctx?: unknown): EventRef;
29+
}
30+
}

versions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,5 +295,6 @@
295295
"4.11.4": "1.12.0",
296296
"4.11.7-beta.1": "1.12.0",
297297
"4.11.7": "1.12.0",
298-
"4.11.8": "1.12.0"
298+
"4.11.8": "1.12.0",
299+
"4.11.9-beta.1": "1.12.3"
299300
}

wasm/pkg/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# wasm-pack generates this file with "*" — overridden so pkg/ can be committed
1+
*

0 commit comments

Comments
 (0)