Skip to content

2.0.3 - #19

Merged
rohanpoudel2 merged 1 commit into
mainfrom
chore/release-2.0.3
Aug 5, 2026
Merged

2.0.3#19
rohanpoudel2 merged 1 commit into
mainfrom
chore/release-2.0.3

Conversation

@rohanpoudel2

Copy link
Copy Markdown
Owner

Release PR. Ships the video resize fix from #18 to npm.

Version

2.0.3 — patch. The documented behaviour never changed; only the code now matches it.

Also in this release

Two packaging gaps I hit while preparing it, both stated here rather than slipped in:

  • MIGRATION.md added to files. The published README links to it and it was never in the tarball, so the link was dead for anyone reading from node_modules. Adds 5.2 kB.
  • prepublishOnly now runs lint and format:check. A prettier failure previously only surfaced in CI, after the push — which is exactly how docs: rewrite README to reference-grade #13 failed.

If you'd rather ship the version bump alone, say so and I'll strip both.

MCP dependency pinned to ^2.0.3

Semver would have resolved ^2.0.2 to 2.0.3 anyway, but the constraint is a correctness statement, not tidiness: the MCP tool schema tells agents that maxWidth/maxHeight "Never enlarges", and that promise is only true from 2.0.3 on. Publishing the MCP server against 2.0.2 would ship a tool whose documented contract is false.

This is also why the publish order matters — core first, then MCP.

Verified

  • Tarball: 12 files, 235.2 kB, now including MIGRATION.md
  • 184 tests passing; typecheck, lint and format all clean

Ships the video resize fix (#18): --max-width with --max-height no longer
enlarges a source smaller than the box. Patch, since it is a bug fix — the
documented behaviour never changed, only the code now matches it.

Two packaging gaps closed while releasing:

- MIGRATION.md is in "files". The published README links to it and it was
  never in the tarball, so the link was dead for anyone reading from
  node_modules.
- prepublishOnly runs lint and format:check as well. A prettier failure
  previously only surfaced in CI, after the push.

mcp/ now requires ^2.0.3 rather than ^2.0.2. Semver would have resolved to
2.0.3 anyway, but the constraint is a correctness statement: the MCP
schema tells agents maxWidth/maxHeight "Never enlarges", and that is only
true from 2.0.3 on.
@rohanpoudel2
rohanpoudel2 merged commit c8cdb50 into main Aug 5, 2026
1 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant