diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index c61a071..529be04 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -35,7 +35,7 @@ body: attributes: label: Extension version description: Shown on the extension's page in VS Code. - placeholder: "3.0.0" + placeholder: "4.0.0" validations: required: true - type: input diff --git a/CHANGELOG.md b/CHANGELOG.md index fad89d4..ef20f33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ Longer notes for each release are in [`releases/`](releases/). ## [Unreleased] +## [4.0.0] - 2026-11-11 + ### Changed - **BREAKING:** the minimum supported VS Code is now 1.146 (previously 1.70). Stay on 3.0.0 if you use an older VS Code or a fork based on one. - The VSIX is smaller: it ships a 256 px icon and no longer bundles the documentation, release notes, banner and full-size logos. @@ -23,6 +25,8 @@ Longer notes for each release are in [`releases/`](releases/). - REUSE licensing metadata: SPDX headers on source files, `REUSE.toml` and `LICENSES/`, checked in CI. - More unit tests for language mapping, the Micro representation, path containment and formatting helpers. +See [release notes](releases/RELEASE-NOTES-4.0.0.md) for upgrade guidance. + ## [3.0.0] - 2026-09-18 ### Added diff --git a/README.md b/README.md index 50d7f28..50d102a 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,11 @@ REUSE compliant

-> **Status:** 3.0.0 is the current release. `main` has unreleased changes: the -> next release requires VS Code 1.146 or later (3.0.0 runs on 1.70 and later). -> See the [changelog](CHANGELOG.md) and the [limitations](#limitations). +> **Status:** 4.0.0 is the current release and requires VS Code 1.146 or +> later. On an older VS Code, or a fork based on one, use +> [3.0.0](https://github.com/alpha912/codebase-md/releases/tag/v3.0.0), which +> runs on 1.70 and later. See the [changelog](CHANGELOG.md) and the +> [limitations](#limitations). ## Contents diff --git a/SECURITY.md b/SECURITY.md index 7d3f16d..5f43343 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -26,8 +26,8 @@ Security fixes go into the next release; only the latest release is supported. | Version | Supported | | --- | --- | -| Latest 3.x release | Yes | -| 2.x and earlier | No; upgrade to the latest release | +| Latest 4.x release | Yes | +| 3.x and earlier | No; upgrade to the latest release | ## Scope diff --git a/docs/installation.md b/docs/installation.md index c76b2c1..ec3c487 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -5,8 +5,8 @@ Git exports. | Release | Requires | | --- | --- | -| 3.0.0 (current) | VS Code 1.70 or later | -| Next release (unreleased, on `main`) | VS Code 1.146 or later | +| 4.0.0 (current) | VS Code 1.146 or later | +| [3.0.0](https://github.com/alpha912/codebase-md/releases/tag/v3.0.0) | VS Code 1.70 or later | ## From GitHub Releases diff --git a/package.json b/package.json index e4f280d..a1eb04c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "codebase-md", "displayName": "CodebaseMD", "description": "Export codebases as Markdown, XML or text with token estimates, secret redaction, Git context and compact views.", - "version": "3.0.0", + "version": "4.0.0", "publisher": "alpha912", "engines": { "vscode": "^1.146.0", diff --git a/releases/RELEASE-NOTES-4.0.0.md b/releases/RELEASE-NOTES-4.0.0.md new file mode 100644 index 0000000..18d1963 --- /dev/null +++ b/releases/RELEASE-NOTES-4.0.0.md @@ -0,0 +1,50 @@ +# CodebaseMD 4.0.0 + +CodebaseMD 4.0.0 is a maintenance release. Exports work as they did in 3.0.0; +the major version marks a higher minimum VS Code version. + +## Breaking + +- **VS Code 1.146 or later is required** (3.0.0 required 1.70). If you use an + older VS Code, or an editor built on an older VS Code base, stay on + [3.0.0](https://github.com/alpha912/codebase-md/releases/tag/v3.0.0). + +Commands, settings, ignore files and output formats are unchanged. No +migration is needed. + +## Changed + +- The download is much smaller: about 92 KB instead of 4.7 MB. The VSIX now + ships a 256 px icon and no longer bundles the documentation, release notes, + banner and full-size logos. The documentation is on + [GitHub](https://github.com/alpha912/codebase-md/tree/main/docs). +- `ignore`, the one runtime dependency, moves from 5.x to 7.x. + +## Fixed + +- Micro summaries no longer keep a stray `*` in the description taken from a + `/** … */` comment. + +## Project + +- Development tooling: TypeScript 7 with stricter compiler checks, Bun for + installs and scripts, and Biome for linting and formatting. +- Documentation: a rewritten README, an architecture guide, a security policy, + support and agent guides, and issue and pull request templates. +- REUSE licensing metadata, checked in CI. +- More unit tests; the dependency audit reports no advisories at release + preparation. + +## Limits + +Unchanged from 3.0.0. Token counts and secret redaction are heuristic, and +Micro and skeleton modes are not parser-complete; review output before sharing +it. Only local workspace folders are supported, one folder per export. CI +covers Linux and Windows. + +## Install + +Download `codebase-md-4.0.0.vsix` from this release and use **Extensions → … +→ Install from VSIX…** in VS Code, then run **CodebaseMD: Export Wizard**. A +SHA-256 checksum is provided alongside the VSIX. Marketplace publication is +separate.