Skip to content

chore: prepare classification package release - #47

Merged
sv2dev merged 1 commit into
mainfrom
chore/classification-release-versions
Nov 4, 2026
Merged

sv2dev merged 1 commit into
mainfrom
chore/classification-release-versions

Conversation

@sv2dev

@sv2dev sv2dev commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

Prepare npm package versions and changelogs for the merged image-classification and embedded-preview work in #46. Follow the repository's existing patch-release convention and refresh the workspace versions in bun.lock without changing dependency resolutions or runtime code.

Change at a glance

@m4k/common   0.2.8  -> 0.2.9
@m4k/typebox  0.1.7  -> 0.1.8
m4k           0.3.5  -> 0.3.6
@m4k/client   0.2.11 -> 0.2.12
@m4k/server   0.2.12 -> 0.2.13

All five packages changed in #46. The private workspace root stays at 0.0.0; the classifier protocol/profile stays at version 1.

This PR only prepares the release. No packages, tags or images were published manually. Merging it into main will trigger the existing workflow to publish the five npm packages and build/push the versioned 0.2.13 Docker image.

Verification

Completed from a clean detached checkout of this branch:

  • bun install --frozen-lockfile
  • bun run build && bun run typecheck && bun run test — passed; the two existing 10-bit AVIF/FFmpeg tests remain skipped.
  • bash scripts/container-smoke.sh m4k:release-versions-check — passed (/info and JPEG → WebP).
  • bun pm pack --destination <temporary-directory> --quiet in all five packages — passed without publishing.
  • Inspected all five tarball manifests and verified versions, compiled entrypoints, type declarations and rewritten workspace dependency ranges. The server archive requires @m4k/common ^0.2.9, @m4k/typebox ^0.1.8 and m4k ^0.3.6; no workspace: references remain in packed manifests.

Version/changelog/lockfile changes only; no UI demo or architecture diagram is applicable. GitHub Actions: Test and Build passed both required jobs on head 713d32ebea2fa56dfe3b16be54517081a6bdbd65.

Summary by CodeRabbit

  • New Features
    • Added image classification with user-defined candidate labels and results tied to the input image.
    • Added support for extracting embedded image previews and a classification endpoint.
  • Improvements
    • Image classification now validates candidates and results, including normalized scores, and handles Unicode labels.
    • Classification responses are bounded, and image processing can extract embedded TIFF previews within defined limits.
  • Bug Fixes
    • Improved handling of cancelled model loads and concurrent inference.

@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Five packages receive version updates and changelog entries covering image classification, embedded previews, and related fixes.

Changes

Package release metadata

Layer / File(s) Summary
Release notes and package versions
packages/common/CHANGELOG.md, packages/common/package.json, packages/typebox/CHANGELOG.md, packages/typebox/package.json, packages/core/CHANGELOG.md, packages/core/package.json, packages/client/CHANGELOG.md, packages/client/package.json, packages/server/CHANGELOG.md, packages/server/package.json
The changelogs record image-classification and embedded-preview capabilities, endpoint and validation details, and core fixes. Package versions increase for all five packages.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Possibly related PRs

  • sv2dev/m4k#46: Adds the code for the features described in these release notes.
  • sv2dev/m4k#43: Creates the changelog files updated by this pull request.
Merge Risk: Minimal · up to 713d3

The release metadata is consistent across the five packages. No merge-blocking issue is identified; merging remains subject to normal CI checks.

Pre-merge checks: Passed 4
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "chore: prepare classification package release" is a short, specific sentence. It matches the changeset, which bumps five package versions (common 0.2.9, typebox 0.1.8, core 0.3.6, client 0.…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "chore: prepare classification package release" is a short, specific sentence. It matches the changeset, which bumps five package versions (common 0.2.9, typebox 0.1.8, core 0.3.6, client 0.2.12, server 0.2.13) and adds matching changelog entries for the classification feature set. The title does not name the package names or versions, but it states the primary intent. It does not mention the feature details, which is acceptable for a release PR.

Finishing Touches
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the release sheet,
Five packages hop to versions new.
Classifier notes and previews meet,
Core fixes join the changelog queue.
Then quiet paws review each line,
And tuck the update in a burrow fine.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9a2019f2-f7c1-47b8-9afe-f8bdeca4e4c9
Commits

Reviewing files that changed from the base of the PR and between 3676186 and 713d32e.

Files ignored due to path filters: 1
  • bun.lock is excluded by !**/*.lock
Files selected for processing: 10
  • packages/client/CHANGELOG.md
  • packages/client/package.json
  • packages/common/CHANGELOG.md
  • packages/common/package.json
  • packages/core/CHANGELOG.md
  • packages/core/package.json
  • packages/server/CHANGELOG.md
  • packages/server/package.json
  • packages/typebox/CHANGELOG.md
  • packages/typebox/package.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@sv2dev
sv2dev merged commit fa4c7a8 into main Nov 4, 2026
3 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