Skip to content

Releases: kkdev92/clipshot

v0.1.12

07 Feb 07:46

Choose a tag to compare

What's Changed

Update all dependencies to their latest stable versions.

Dependencies

  • @kkdev92/vscode-ext-kit ^0.2.0 → ^0.2.2
  • sharp ^0.34.0 → ^0.34.5

Dev Dependencies (notable)

  • TypeScript ^5.4.0 → ^5.9.3
  • vitest ^3.0.0 → ^4.0.18
  • glob ^10.0.0 → ^11.0.0
  • mocha ^10.0.0 → ^11.7.5
  • eslint ^9.0.0 → ^9.39.2
  • typescript-eslint ^8.0.0 → ^8.54.0
  • esbuild ^0.27.2 → ^0.27.3

Breaking

  • Minimum VS Code version: 1.90.0 → 1.96.0 (required by vscode-ext-kit 0.2.x)

Full Changelog: v0.1.11...v0.1.12

v0.1.11

04 Feb 14:06

Choose a tag to compare

What's New

マーケットプレイスでの見つけやすさを向上させるための改善リリースです。

Improvements

  • VS Code マーケットプレイスのカテゴリを追加して検索性を向上
    • "Formatters" カテゴリを追加(画像リサイズ・フォーマット変換機能)
    • "Snippets" カテゴリを追加(画像挿入機能)

Full Changelog: v0.1.10...v0.1.11

v0.1.10

04 Feb 13:47
2d71102

Choose a tag to compare

What's Changed

Improvements

  • vscode-ext-kit 0.2.0: Fixed log level display issue - debug/trace logs now appear correctly
  • Better debugging: Added logger support to ClipboardManager and ImageProcessor
  • Progress indicator: Shows "Reading clipboard..." during paste operation
  • Smaller package: Optimized VSIX size from 8.1MB to 7.82MB

Code Quality

  • Added CODE_OF_CONDUCT.md (Contributor Covenant v2.1)
  • Fixed lint errors and code cleanup
  • Added trace log level option

Configuration

New log level option:

"clipshot.logLevel": "trace"  // Most verbose

Full Changelog: v0.1.8...v0.1.10

v0.1.8

02 Feb 13:53
6004567

Choose a tag to compare

What's New

Add multi-platform VSIX builds to enable Sharp native module support across all platforms.

🚀 Features

  • Multi-platform support: Now builds platform-specific VSIXs for 6 platforms
    • Windows x64 / ARM64
    • Linux x64 / ARM64
    • macOS x64 (Intel) / ARM64 (Apple Silicon)
  • Automatic distribution: VS Code Marketplace automatically serves the correct VSIX for each user's platform

🐛 Bug Fixes

  • Fixed Sharp module load error on Windows ARM64:
    Could not load the "sharp" module using the win32-arm64 runtime
  • Fixed CI failure due to retired macos-13 runner (migrated to macos-15-intel)

🔧 Technical Changes

  • Added CI/CD matrix builds for all 6 target platforms
  • Cross-platform Sharp binary installation for ARM64 targets
  • Enhanced verify-vsix.mjs to support platform-specific verification

Full Changelog: v0.1.7...v0.1.8

v0.1.7

02 Feb 10:00
dfab73d

Choose a tag to compare

What's New

Fixed an issue where Sharp image processing module failed to load in the VS Code extension, causing resize functionality to silently fail.

Bug Fixes

  • Sharp dependency bundling - Fixed missing detect-libc dependency in VSIX package by using bundleDependencies instead of manual .vscodeignore whitelist
  • Improved error logging - Added detailed error reporting when Sharp fails to load

Added

  • VSIX verification script - Automated check to ensure all dependencies are properly bundled
  • CI verification step - Prevents releasing broken VSIX packages

Changed

  • Simplified logging output (moved verbose config logs to debug level)

Full Changelog: v0.1.6...v0.1.7

v0.1.6 - Image Resize Feature

02 Feb 06:27
d73109b

Choose a tag to compare

What's New

Image Resize Feature 🖼️

Automatically resize images to reduce file size and optimize for AI chat.

New Settings

Setting Default Description
clipshot.resize.mode off Resize mode (off / fit)
clipshot.resize.preset null Preset (ai-optimized = 1200x1200)
clipshot.resize.maxWidth 1200 Maximum width (1-16384px)
clipshot.resize.maxHeight 1200 Maximum height (1-16384px)

Quick Start

Enable AI-optimized resizing:

{
  "clipshot.resize.mode": "fit",
  "clipshot.resize.preset": "ai-optimized"
}

Benefits

  • Reduce AI token usage - Smaller images = fewer tokens
  • Faster uploads - Smaller file sizes
  • Maintains aspect ratio - No distortion
  • No upscaling - Small images stay small

Full Changelog: v0.1.5...v0.1.6

v0.1.5

01 Feb 07:52

Choose a tag to compare

Bug Fixes

  • Windows: Fix clipboard read failures on x64 devices (Surface Laptop 5, etc.)
    • PowerShell outputs CLIXML progress messages to stderr during first-time .NET assembly loading
    • These messages were incorrectly treated as errors, causing paste operations to fail
    • Added isIgnorableStderr() to properly identify and ignore non-error stderr output

Documentation

  • Improved code documentation for OSS quality
  • Added comprehensive JSDoc comments with examples
  • Enhanced test documentation with real-world scenarios

v0.1.4

31 Jan 12:50

Choose a tag to compare

Bug Fix

  • fix: PowerShell script failed with "Cannot convert value '1' to type 'System.Drawing.Imaging.ImageFormat'"
    • Use [System.Drawing.Imaging.ImageFormat]::Png instead of numeric enum value

v0.1.3

31 Jan 12:35

Choose a tag to compare

Changes

  • docs: Update README with Marketplace installation instructions

v0.1.2

31 Jan 04:29

Choose a tag to compare

Changes

  • perf: Optimize PowerShell clipboard script for faster paste
    • Single Add-Type call loads both assemblies at once
    • Early exit when no image is present
    • Added -NoLogo flag to reduce startup time