You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The changelogs record image-classification and embedded-preview capabilities, endpoint and validation details, and core fixes. Package versions increase for all five packages.
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: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
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
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
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.
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.
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
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.
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.lockwithout changing dependency resolutions or runtime code.Change at a glance
All five packages changed in #46. The private workspace root stays at
0.0.0; the classifier protocol/profile stays at version1.This PR only prepares the release. No packages, tags or images were published manually. Merging it into
mainwill trigger the existing workflow to publish the five npm packages and build/push the versioned0.2.13Docker image.Verification
Completed from a clean detached checkout of this branch:
bun install --frozen-lockfilebun 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 (/infoand JPEG → WebP).bun pm pack --destination <temporary-directory> --quietin all five packages — passed without publishing.@m4k/common ^0.2.9,@m4k/typebox ^0.1.8andm4k ^0.3.6; noworkspace: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