Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
11 changes: 8 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,21 @@ All notable changes to this project will be documented in this file. The format

## [Unreleased]

## [0.1.1] - 2026-07-11

### Added

- Package metadata and a verified npm pack-content contract.
- Least-privilege CI and OIDC trusted-publishing workflows.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
- Dependency update, contribution, vulnerability-reporting, and repository templates.

### Changed
### Fixed

- Configuration now rejects unsupported lifecycle controls, state/UI settings, routing plugins and non-hybrid modes, profile metadata and matchers, per-profile upstream `transport`/`command`/`url` overrides, and configurable tool namespaces with `UNSUPPORTED_CONFIG_OPTION` instead of silently ignoring them. Remove those settings from existing configs; only `process.startupTimeoutMs` currently controls process lifecycle behavior.
- Secret and audit redaction remain force-on protections. Existing configs may retain `security.redactSecrets: true` and `audit.redact: true`, but setting either to `false` is now rejected.
- [#1](https://github.com/mohanagy/miftah/issues/1) Policy lookup now fails closed and configuration rejects unknown profile policy references instead of allowing a policy fail-open.
- [#2](https://github.com/mohanagy/miftah/issues/2) Secret redaction preserves ordinary identifiers while still removing configured credentials from logs, errors, and discovery results.
- [#3](https://github.com/mohanagy/miftah/issues/3) The GitHub Docker preset injects profile credentials correctly and pins the upstream image tag.
- [#4](https://github.com/mohanagy/miftah/issues/4) Configuration now rejects unsupported lifecycle controls, state/UI settings, routing plugins and non-hybrid modes, profile metadata and matchers, per-profile upstream `transport`/`command`/`url` overrides, and configurable tool namespaces with `UNSUPPORTED_CONFIG_OPTION` instead of silently ignoring them. Secret and audit redaction remain force-on protections.
- [#5](https://github.com/mohanagy/miftah/issues/5) Resource and prompt proxying no longer silently selects the first configured upstream: zero- and multi-upstream bundles fail closed, and one-entry bundles select their upstream explicitly.

## Release policy

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
@@ -1,6 +1,6 @@
{
"name": "@lubab/miftah",
"version": "0.1.0",
"version": "0.1.1",
"description": "Wrap any MCP. Use the right account without reconnecting.",
"keywords": [
"mcp",
Expand Down
2 changes: 1 addition & 1 deletion src/mcp/server/miftah-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class MiftahServer {
) {
this.resourcePromptProxy = this.resourcePromptProxyAvailability();
this.server = new Server(
{ name: `miftah-${config.name}`, version: "0.1.0" },
{ name: `miftah-${config.name}`, version: "0.1.1" },
{
capabilities: {
tools: {},
Expand Down
2 changes: 1 addition & 1 deletion src/upstream/upstream-process-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class UpstreamProcessManager {
this.health.set(profile, { profile, status: "failed", error: "upstream process closed" });
}
};
const client = new Client({ name: "miftah", version: "0.1.0" });
const client = new Client({ name: "miftah", version: "0.1.1" });
const startPromise = client.connect(transport).then(
() => new UpstreamSession(profile, client, () => client.close()),
async (error: unknown) => {
Expand Down
48 changes: 48 additions & 0 deletions tests/release-version.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import { readFileSync } from "node:fs";
import { describe, expect, it } from "vitest";

const releaseVersion = "0.1.1";

function readRepositoryFile(path: string): string {
return readFileSync(new URL(`../${path}`, import.meta.url), "utf8");
}

function releaseNotes(changelog: string, version: string): string {
const heading = `## [${version}] - `;
const start = changelog.indexOf(heading);

if (start < 0) {
throw new Error(`Unable to find the ${version} changelog entry.`);
}

const end = changelog.indexOf("\n## ", start + heading.length);
return changelog.slice(start, end < 0 ? undefined : end);
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
}

describe("v0.1.1 release artifacts", () => {
it("aligns package and MCP handshake versions", () => {
const manifest = JSON.parse(readRepositoryFile("package.json")) as { version: string };

expect(manifest.version).toBe(releaseVersion);
expect(readRepositoryFile("src/mcp/server/miftah-server.ts")).toContain(
`version: "${manifest.version}"`
);
expect(readRepositoryFile("src/upstream/upstream-process-manager.ts")).toContain(
`version: "${manifest.version}"`
);
});

it("documents every hotfix while retaining the experimental package status", () => {
const notes = releaseNotes(readRepositoryFile("CHANGELOG.md"), releaseVersion);

for (const issue of ["#1", "#2", "#3", "#4", "#5"]) {
expect(notes).toContain(issue);
}
expect(notes).toMatch(/policy.*fails?\s+closed|fails?\s+closed.*policy/iu);
expect(notes).toMatch(/redact/iu);
expect(notes).toMatch(/GitHub.*preset|preset.*GitHub/iu);
expect(notes).toMatch(/configuration.*UNSUPPORTED_CONFIG_OPTION/iu);
expect(notes).toMatch(/multi.upstream/iu);
expect(readRepositoryFile("README.md")).toContain("experimental and pre-1.0");
});
});