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
2 changes: 1 addition & 1 deletion .bumpversion.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0

[tool.bumpversion]
current_version = "0.26.1"
current_version = "0.26.2"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
commit = true
Expand Down
29 changes: 24 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.26.2] - 2026-07-28

### Fixed

- **Core Baseline Alignment**: Realigned pinned Zenzic Core baseline to `0.26.2`, inheriting fixes for extensionless static asset resolution.

## [0.26.1] - 2026-07-27

### Changed

- **Core Parity Alignment (`VSCODE-ALIGN-007`)**: Realigned the VS Code extension release notes with Zenzic Core `0.26.1`, including adapter contract formalization (`CORE-FIX-005`) and VSM URL route parity improvements (`CORE-FIX-003`).

### Fixed

- **Tilde Expansion (`VSCODE-FIX-006`)**: Implemented native tilde (`~`) and `${workspaceFolder}` expansion for the `zenzic.executablePath` setting, eradicating `ENOENT` errors when configuring custom binary paths in Unix-like environments.
- **Documentation (`DOCS-VSCODE-001`)**: Added factual documentation explaining the architectural split between real-time incremental diagnostics (PROBLEMS panel) and the on-demand global DQS computation (Status Bar).

Expand All @@ -36,28 +43,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- **Core Parity Alignment (`VSCODE-ALIGN-006`)**: Realigned pinned Zenzic Core baseline to `0.25.3`, inheriting fixes for Zensical static asset resolution, dynamic blog route classification, and PolyglotExtractor AST reference link definition extraction (`CORE-FIX-001`).


## [0.25.2] - 2026-07-26

### Changed

- **Core Parity Alignment (`VSCODE-ALIGN-005`)**: Realigned pinned Zenzic Core baseline to `0.25.2`, inheriting the `Z202` (Path Traversal) security fix for `docs_root`-boundary escape detection in editor sessions.


## [0.25.1] - 2026-07-26

### Changed

- **Core Parity Alignment (`VSCODE-ALIGN-004`)**: Realigned pinned Zenzic Core baseline to `0.25.1`, inheriting LSP fixes for inline suppression parity (`Z603`) and adapter-level `material/blog` plugin recognition (`Z103`/`Z402`).


## [0.25.0] - 2026-07-25

### Changed

- **Core Parity Alignment (`VSCODE-ALIGN-003`)**: Realigned pinned Zenzic Core baseline to `0.25.0`, delivering LSP fixes for centralized core governance filtering and adapter-driven configuration hot-reloading (`LSP-FIX-009`).


## [0.24.4] - 2026-07-24

### Changed
Expand Down Expand Up @@ -109,42 +112,52 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.23.4] - 2026-07-22

### Fixed

- **Executable Resolution (`VSCODE-CLIENT-002`)**: Formalized `resolveExecutablePath` in `src/extension.ts` with cross-platform fallback logic using `os.homedir()` and `path.join()`. Automatically inspects `~/.local/bin`, `~/.cargo/bin`, and `~/.uv/bin` to ensure binary discovery when VS Code is launched via desktop GUI environment.

## [0.23.3] - 2026-07-22

### Changed

- **Toolchain Modernization**: Migrated to official `@vscode/vsce` package and modernized prepublish scripts (`node esbuild.js --production`), eliminating `DEP0190` shell injection deprecation warnings (`VSCODE-PR-023-3-OPTIMIZATION`).

### Fixed

- **Package Sanitization**: Configured `.vscodeignore` to exclude development artifacts (`.architect/`, `.zenzic_cache/`, `example/`), pointer governance files (`ROADMAP.md`), and placeholder images (`images/demo*.gif`), producing an ultra-lean VSIX payload of 8 required files (`VSCODE-PKG-002`, `VSCODE-PKG-003`).

## [0.23.2] - 2026-07-22

### Added

- **Strict Core Version Handshake**: Added pre-initialization version check (`checkCoreVersion`) using `child_process.execFile` to verify Zenzic Core version `>= 0.23.1` before launching the LSP client, preventing silent failures with stale binaries (`VSCODE-CLIENT-001-VERSION-HANDSHAKE`).

### Fixed

- **Marketplace Asset Integrity**: Updated `.vscodeignore` to exclude `.pytest_cache` and build artifacts while ensuring `images/logo.png` is correctly bundled in extension packages (`VSCODE-PKG-001-ASSET-INTEGRITY`).

## [0.23.1] - 2026-07-22

### Added

- **LSP Diagnostic Formatting Support**: Surfaced Z-Code diagnostic message prefixes (`[{code}]`) and LSP 3.16/3.17 `codeDescription` documentation links emitted by Zenzic Core 0.23.1.

## [0.23.0] - 2026-07-18

### Changed

- **LSP Diagnostics Integration:** Updated to support Zenzic Core's new graph-wide diagnostic sync. Modifications to a single buffer now immediately trigger validation updates across dependent files via the new transport-agnostic `IncrementalAnalysisEngine`.
- **Hover Resolution:** Hover metadata is now accurately mapped and presented based on the exact character position by querying the underlying deterministic Virtual Site Map via the Zenzic Language Server.

## [0.22.3] - 2026-07-14

### Highlights

This release synchronizes the VS Code extension with the **Zenzic Core v0.22.3** patch, restoring 100% diagnostic parity between the editor and the CLI.

### Core Improvements Inherited

By updating to `v0.22.3` (and ensuring your local Zenzic installation is updated to `>=0.22.3`), the Language Server now correctly surfaces the following real-time diagnostics that were previously masked in the editor:

- **`Z603` (Dead Suppression):** Unused `zenzic:ignore` comments are now highlighted in real-time.
- **`Z501` / `Z502` (Content Hygiene):** Placeholder text and short content warnings now correctly fire even in workspaces without a `.zenzic.toml` configuration file.
- **Strict URP Ordering:** Security path traversal attempts (`Z202`/`Z203`) are now correctly prioritized over standard broken link (`Z101`) errors in the editor UI.
Expand Down Expand Up @@ -175,11 +188,15 @@ By updating to `v0.22.3` (and ensuring your local Zenzic installation is updated
## [0.21.3] - 2026-07-11

### Fixed

- **Extension host:** Prevented `vscode-languageclient` from automatically injecting an unsupported `--stdio` flag into the Zenzic startup arguments, which previously caused a fatal crash and infinite restart loop on startup.

## [0.21.2] - 2026-07-11

## [0.21.2] — 2026-07-11

### Fixed

- **Extension host — A1:** Replaced `catch (error: any)` with `catch (err: unknown)` and a proper `instanceof Error` type guard, preventing silent `"Error: undefined"` messages when a non-Error value was thrown.
- **Extension host — A2:** Added an idempotent guard flag to `restartServer()` to prevent concurrent restart calls from spawning multiple LSP client instances simultaneously (race condition).
- **Extension host — A3:** Added `.catch(() => {})` to `client.stop()` in `deactivate()` so a rejection from an already-exited server process no longer surfaces as an unhandled error.
Expand All @@ -196,11 +213,13 @@ By updating to `v0.22.3` (and ensuring your local Zenzic installation is updated
- **Tooling — F2:** Bumped `tsconfig.json` `target` and `lib` from `es2020` to `es2022` to align with the Node 24 runtime.

## [0.21.1] — 2026-07-11

### Changed
- **Infrastructure:** Consolidated major dependency upgrades across the repository. Bumped TypeScript to v7, migrated ESLint to Flat Config (`eslint.config.mjs`), and updated `vscode-languageclient` to v10. Updated GitHub Actions runner environments to latest LTS versions.

- **Infrastructure:** Consolidated major dependency upgrades across the repository. Bumped TypeScript to v7, migrated ESLint to Flat Config (`eslint.config.mjs`), and updated `vscode-languageclient` to v10. Updated GitHub Actions runner environments to latest LTS versions.

## [0.21.0] - 2026-07-11

### Added

- Initial VS Code Extension Thin Client Release.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Zenzic is structured across three independent, dedicated repositories:

- **Thin Client Sovereignty**: `zenzic-vscode` contains **zero** AST parsing, regex checks, or link validation rules. All analysis logic resides in Zenzic Core (`zenzic lsp`).
- **Protocol Parity**: The extension communicates via standard Language Server Protocol (LSP) over stdio.
- **Minimum Core Baseline**: Currently pinned to **Zenzic Core `v0.26.1`** (`MIN_CORE_VERSION = '0.26.1'` in `src/extension.ts`).
- **Minimum Core Baseline**: Currently pinned to **Zenzic Core `v0.26.2`** (`MIN_CORE_VERSION = '0.26.2'` in `src/extension.ts`).

---

Expand All @@ -51,7 +51,7 @@ To maintain security, architectural integrity, and legal compliance, all contrib
| **npm** | required | Package manager |
| **just** | required | Task runner — `cargo install just` or via OS package manager |
| **reuse** | required | SPDX license auditor (`uv tool install reuse`) |
| **Zenzic Core** | ≥ 0.26.1 | Core engine (`uv tool install zenzic`) |
| **Zenzic Core** | ≥ 0.26.2 | Core engine (`uv tool install zenzic`) |

---

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ To guarantee sub-50ms performance, Zenzic operates with a strict separation of c

## Requirements

This extension requires **Zenzic Core v0.26.1 or higher**.
This extension requires **Zenzic Core v0.26.2 or higher**.

We recommend installing or updating the global binary via `uv`:

Expand Down Expand Up @@ -101,12 +101,12 @@ The extension contributes the following commands to the Command Palette:

### Zenzic: Outdated Core

- **Cause**: The executable resolved by the extension is older than the minimum required Core version (`v0.26.1`).
- **Cause**: The executable resolved by the extension is older than the minimum required Core version (`v0.26.2`).
- **Remediation**: Upgrade your global binary:
```bash
uv tool install --force zenzic
```
Or point `zenzic.executablePath` in `settings.json` to a virtual environment containing Core `v0.26.1` or higher.
Or point `zenzic.executablePath` in `settings.json` to a virtual environment containing Core `v0.26.2` or higher.


### Zenzic: Not Found (ENOENT)
Expand Down
8 changes: 4 additions & 4 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

| Field | Value |
| :--- | :--- |
| **Extension Version** | 0.26.1 |
| **Pinned Core** | `zenzic>=0.26.1` |
| **Extension Version** | 0.26.2 |
| **Pinned Core** | `zenzic>=0.26.2` |
| **Date** | 2026-07-11 |

## 1. Pre-Flight Checklist
Expand Down Expand Up @@ -43,8 +43,8 @@ git checkout main
git pull origin main

# 3. Create the immutable signed tag pointing to the HEAD of origin/main
git tag -s -m "Release v0.26.1" v0.26.1
git push origin v0.26.1
git tag -s -m "Release v0.26.2" v0.26.2
git push origin v0.26.2
```

## 4. Distribute (Automated)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "zenzic-vscode",
"displayName": "Zenzic",
"description": "Deterministic Document Integrity Engine and SAST for Markdown/MDX graphs.",
"version": "0.26.1",
"version": "0.26.2",
"publisher": "pythonwoods",
"engines": {
"vscode": "^1.125.0"
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let dqsStatusBarItem: vscode.StatusBarItem | undefined;
// A2 fix: guard flag prevents concurrent restart calls.
let restarting = false;

const MIN_CORE_VERSION = '0.26.1';
const MIN_CORE_VERSION = '0.26.2';

/**
* Expand supported user-facing path variables in zenzic.executablePath.
Expand Down
Loading