2.0.3 - #19
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.mdadded tofiles. The published README links to it and it was never in the tarball, so the link was dead for anyone reading fromnode_modules. Adds 5.2 kB.prepublishOnlynow runslintandformat: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.3Semver would have resolved
^2.0.2to 2.0.3 anyway, but the constraint is a correctness statement, not tidiness: the MCP tool schema tells agents thatmaxWidth/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
MIGRATION.md