Skip to content

Release v1.103.1 - #1342

Merged
hitalin merged 4 commits into
mainfrom
develop
Nov 4, 2026
Merged

hitalin merged 4 commits into
mainfrom
develop

Conversation

@hitalin

@hitalin hitalin commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

変更一覧

内容

プラグインの ### メタデータ解析の修正だけの patch リリース。文字列の中の https:// を行コメントとして落として config が丸ごと消えていた (misstore の mfm-search-engine が起動時に落ちる) のと、1 行形式のオブジェクトのキーが読めていなかったのを、TS と Rust (sidecar の loopback 同意) の両方で直した。

Closes #1340

🤖 Generated with Claude Code

hitalin and others added 4 commits November 4, 2026 20:42
parseMetaBlock (TS) と parse_meta_block (Rust、sidecar の loopback 同意) が
行コメントの除去を `###` ブロック全体の正規表現で行っていたため、
`default: "https://example.com"` のような文字列の中の `//` 以降も消えて
JSON が壊れ、fallback で config が丸ごと落ちていた。

- 文字列リテラルの内外を見てコメントを落とす走査に置き換える (両側)
- JSON.parse に失敗して fallback に落ちたときは console.warn に残す (TS)
- 共有 golden に「文字列の中の // はコメントではない」のベクトルを足す

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
引用符の無いキーを `"key":` にする置換が行頭だけを見ていたため、
`url: { type: "string", label: "URL" }` のような 1 行形式では 2 つ目以降の
キーが引用符で包まれず JSON が壊れていた。

コメント除去とキーの引用符付けを、文字列リテラルの外でだけ判定する
1 つの走査 (normalizeMetaBody / normalize_meta_body) にまとめ、
`{` と `,` の後でもキーを拾うようにした。TS と Rust の両方、golden に
1 行形式のベクトルを追加。

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
fix(plugin): ### メタデータの文字列中の // をコメントとして落とさない (#1340)
@coderabbitai

coderabbitai Bot commented Nov 4, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 39 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between 69d7cfb and 6b27946.

Files ignored due to path filters: 2
  • Cargo.lock is excluded by !**/*.lock
  • src-tauri/openapi.json is excluded by !src-tauri/openapi.json
Files selected for processing: 8
  • crates/notecore/src/sidecar/plugin_meta.rs
  • crates/notemaid/Cargo.toml
  • package.json
  • src-tauri/Cargo.toml
  • src-tauri/tauri.conf.json
  • src/aiscript/golden/loopbackHeader.json
  • src/aiscript/plugin-api.test.ts
  • src/aiscript/plugin-api.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

API surface diff

外部アプリ向け API 面 (src-tauri/openapi.json / src/bindings.ts) が変更されています。
互換性への影響 (#709) をレビューしてください。

src-tauri/openapi.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Full diff
diff --git a/src-tauri/openapi.json b/src-tauri/openapi.json
index 2864da6..51e5dcc 100644
--- a/src-tauri/openapi.json
+++ b/src-tauri/openapi.json
@@ -6,7 +6,7 @@
     "license": {
       "name": "MIT"
     },
-    "version": "1.103.0"
+    "version": "1.103.1"
   },
   "paths": {
     "/api": {

@github-actions github-actions Bot added rust Pull requests that update rust code javascript Pull requests that update javascript code labels Nov 4, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying notedeck with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6b27946
Status: ✅  Deploy successful!
Preview URL: https://9eb0b8b3.notedeck-d3a.pages.dev
Branch Preview URL: https://develop.notedeck-d3a.pages.dev

View logs

@claude

claude Bot commented Nov 4, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@hitalin
hitalin merged commit af32429 into main Nov 4, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update javascript code rust Pull requests that update rust code

Projects

None yet

1 participant