Skip to content

Releases

v4.0.0

Choose a tag to compare

@riiicil riiicil released this 04 Dec 15:42

[4.0.0] - 2026-12-04

Added

  • Hardened Electron + Zero-Build Vanilla ESM + FastAPI Desktop Architecture: Rebuilt the application on Electron 45.6.1 (sandbox: true, contextIsolation: true, app://rjam/ custom protocol, offline CSP with bundled Inter, JetBrains Mono, and Plus Jakarta Sans fonts, per-launch X-Bridge-Token authentication, OS safeStorage key encryption, and clean 9s graceful teardown with taskkill /T /F fallback), paired with a Zero-Build Vanilla HTML/@layer CSS/ESM UI styled with Raycast Dark Precision and a local FastAPI + SQLModel/SQLite WAL backend (%LOCALAPPDATA%\.rjautometadata\).
  • 5-Route Studio Interface:
    • Workspace (Ctrl+1): Multi-source file/folder staging, List/Grid lazy 560px thumbnails, live WebSocket pipeline_step row updates without DOM/animation flicker, collapsible debounced-autosave Inspector (Output Setting, AI Engine, Prompt & Length Bounds, Pipeline & Concurrency, CSV Settings), post-run Retry Failed recovery, and completion popups with offline Web Audio chime.
    • Results (Ctrl+2): Gallery and inline CSV table views (Gallery | CSV), synced job selector with inline delete, Sort by / media / status filters, Single-Item and Multi-Select Bulk Metadata Editors preserving manual stock/Editorial keywords, verbatim manual EXIF re-embed, and per-platform Needs Re-export status cards.
    • Logs (Ctrl+3): Persisted SQLite job_logs + real-time WebSocket session stream synced to Results job selection with severity filtering (ALL, INFO, WARNING, ERROR) and secret redaction.
    • Settings (Ctrl+4) & About (Ctrl+5): Single-scroll vision media prep defaults, on-demand external CLI dependency downloader (ExifTool, Ghostscript, FFmpeg), Maintenance & Reset (Open Logs Folder, Reset Settings, Factory Reset), keyboard shortcuts, and secret-free Copy System Info.
  • Universal Async AI Vision Gateway: Replaced per-provider modules with a single async httpx client across 6 canonical presets (Gemini, OpenAI, OpenRouter, KoboiLLM, Aivene, and SSRF-guarded Custom), dynamic /models fetching with 4-tier vision catalog filtering and Show all, zero hardcoded fallback model IDs (MODEL_SELECTION_REQUIRED), multi-key Retry-After cooldown rotation + dead-key failover (401/402/403), HTTP 400 parameter self-healing, AI Guidance, opt-in Auto-Detect Mature / Nudity, and Editorial Content preflight validation.
  • Single-Pass Media Prep & Persistent Thumbnail Cache: Upgraded vision preprocessing to 1024px / q82 single-pass across 22 supported formats (adding .psd composite support alongside .jpg, .jpeg, .png, .tiff, .tif, .svg, .eps, .ai, and 13 video/motion formats), replaced CairoSVG/GTK3 with self-contained offline resvg-py SVG rasterization, enforced Ghostscript -dSAFER --, and added a persistent 560px JPEG thumbnail cache with bounded LRU eviction.
  • Declarative ExifTool Embedder & 6-Platform CSV Exporter: Built format-aware EXIF/IPTC/XMP profiles with persistent -stay_open worker execution, magic-byte mismatch detection, -m minor-error retry, opt-in PNG XMP embedding, default <Output Folder>/output_csv/ exports for Adobe Stock, Shutterstock (canonical Arts & editorial datelines), 123RF (per-item country), Vecteezy (7 compatible formats, 6-column physical export), Depositphotos (5-column schema), and Miri Canvas (Video auto-detect), plus Windows HTTP 423 file-lock detection.
  • On-Demand Tools, Release Pipeline & CI: Added SHA-256-pinned on-demand downloads for ExifTool, Ghostscript, and FFmpeg into %LOCALAPPDATA%\.rjautometadata\tools\, single-source SemVer sync (scripts/sync_version.py), locked Python dependencies (backend/uv.lock), automated THIRD_PARTY_LICENSES.md bundled in extraResources, .github/workflows/ci.yml, scripts/check.ps1, scripts/build.ps1, and scripts/cdp_smoke.mjs.

Changed

  • License Transition to MIT: Transitioned active v4 development and distribution licensing from AGPL-3.0 to the MIT License (LICENSE, package.json, electron/package.json), made possible by removing bundled external GPL/AGPL CLI binaries.
  • Version & Runtime Consolidation: Synchronized workspace, Electron, and FastAPI backend manifests to 4.0.0, consolidated app data, logs, cache, and tools under %LOCALAPPDATA%\.rjautometadata\, and unified safeStorage master-key handling with fail-closed secret storage and system warning banners.
  • Backend Scalability & Reliability: Optimized job rollups with SQL GROUP BY aggregations, persisted JobItem.size_bytes, pooled batch httpx.AsyncClient connections, offloaded SSRF DNS checks to worker threads, bounded WebSocket subscriber queues (1000), and isolated item-fatal errors (MODEL_REFUSAL, IMAGE_NOT_FOUND, UNSUPPORTED_IMAGE_FORMAT) from batch-wide circuit breaking.

Fixed

  • Non-Destructive File Safety & Data Loss Prevention: Replaced unconditional source deletion with non-destructive output copying by default; opt-in Move / Delete Source Originals now prompts for explicit confirmation, verifies per-item on-disk CSV export membership before unlinking, and aborts cleanup during Force Stop.
  • Metadata & CSV Integrity: Preserved manual stock/Editorial keywords and multi-word phrases across edits, EXIF re-embedding, and CSV exports; decoupled manual EXIF re-embedding from global inject_keywords drift; fixed Vecteezy 6-column physical export, Shutterstock Arts naming, Results 5-key sorting, Bulk PNG EXIF gating, and modal focus/listener cleanup.

Removed

  • Retired the legacy v3.12.3 CustomTkinter monolith (src/, main.py, requirements.txt, setup.iss), bundled ExifTool/Ghostscript/FFmpeg/GTK3 installers, cloud GA4 telemetry, removed AI providers (Groq, Mistral, Blackbox, iLabs), and legacy v3 config.json auto-import.

Notes

  • MIT License Transition: Historical v3.12.3 AGPL-3.0 source and legacy documentation remain preserved read-only on the legacy git branch (4c9d519).
  • Fresh v4 Configuration: v4 introduces a fresh SQLite database and OS safeStorage key store under %LOCALAPPDATA%\.rjautometadata\; configure AI keys, models, and optional external CLI tools directly in the v4 UI.
  • Windows SmartScreen (Unsigned Installer): This installer is currently unsigned, so Windows Defender SmartScreen may show an "Unknown publisher" warning on first run. Verify the checksum below, then choose More info -> Run anyway.

Verification & Security

  • File: setup.exe (inside v4.0.0.zip)
  • SHA-256: e1a7e1b9beafc7f2055a0bdc705fb0ea77b44be4682d27d6dee02159d07490a3
  • VirusTotal: 0/65 detections

Verify the checksum on Windows (PowerShell):

Get-FileHash .\setup.exe -Algorithm SHA256

v3.12.3

Choose a tag to compare

@riiicil riiicil released this 07 Jun 04:26

[3.12.3] - 2026-06-07

Added

  • iLabs Provider: Integrated support for iLabs as a new OpenAI-compatible AI gateway provider, mapping its completions endpoint (https://api.thisilabs.com/v1) and default models.

Fixed

  • Keyword Space-Stripping: Resolved a bug in the metadata keyword-filling pipeline where multi-word keywords containing spaces (e.g., "railway station", "steam locomotive") had their spaces stripped (e.g., turning into "railwaystation"), ensuring they remain intact in both the EXIF embedding and CSV export outputs.

v3.12.2

Choose a tag to compare

@riiicil riiicil released this 24 May 15:45

[3.12.2] - 2026-05-24

Added

  • src/processing/error_classifier.py: New dependency-free helper that maps structural config error codes (custom_provider_no_base_url, custom_provider_no_model, openrouter_no_model) to a failed_config non-retryable pipeline status — prevents burning 5 retry rounds on user-configuration mistakes.
  • tests/api/test_custom_provider_smoke.py: 11 smoke tests covering endpoint resolution (including query/fragment preservation and mid-path edge cases), the threaded base_url_override pass-through, missing-base-url and missing-model guards, the dispatcher's Custom path, error-classifier demotion, and end-to-end HTTP URL routing. No network required.

Fixed

  • Custom provider completely non-functional: Two root causes fixed end-to-end:
    1. app.py never forwarded _custom_base_url_var to the worker pipeline — batch_process_files() → process_single_file() → all format processors now receive and pass base_url_override.
    2. openrouter_api.py was hardcoded to https://openrouter.ai/api/v1/chat/completions even when an override was supplied — replaced with _resolve_chat_endpoint() helper that builds the correct URL from the user's base URL.
  • Custom provider API key check ignored Base URL: _cek_api_keys() in app.py now reads _custom_base_url_var and passes it through check_api_keys_status() → provider_manager → openrouter_api.check_api_keys_status().
  • Missing model not caught early: Both provider_manager.get_metadata() and openrouter_api.get_openrouter_metadata() now return {"error": "custom_provider_no_model"} immediately when no model is selected for Custom, instead of defaulting to openai/gpt-4.1.
  • OpenRouter proprietary headers leaked to Custom endpoints: HTTP-Referer and X-Title headers are now skipped when base_url_override is active.
  • Version bumped to 3.12.2: Bumped version from 3.12.1 to 3.12.2 across src/ui/app.py, setup.iss, AGENTS.md, README.md, CHANGELOG.md, docs/HANDOFF.md, docs/CURRENT_STATE.md.

v3.12.1

Choose a tag to compare

@riiicil riiicil released this 21 May 13:13

[3.12.1] - 2026-05-21

Fixed

  • Mistral & Blackbox Keywords: Fixed a bug where direct Mistral and Blackbox provider requests returned keywords under the "keywords" key instead of "tags", causing the fallback mechanism to replace them with title-derived words.
  • Mistral & Blackbox JSON format: Added system instructions and response_format JSON enforcement to prevent Markdown-wrapped responses.

v.3.12.0

Choose a tag to compare

@riiicil riiicil released this 20 May 13:01

[3.12.0] - 2026-05-20

Added

  • Settings & Advanced Tab Layout: Replaced flat settings row with a CTkTabview containing "Settings" and "Advanced" tabs for cleaner UI organization
  • Advanced Tab — Custom Instruction: Free-form text field for custom AI system instruction, persisted in config.json
  • Advanced Tab — Hint: Short hint field to guide metadata generation focus, passed to prompt builder
  • Advanced Tab — Inject Keywords: Keyword field that prepends user-defined terms to AI-generated keywords (deduped, respects keyword count limit)
  • Advanced Tab — Title & Desc Limits: Min words and max chars fields for title and description, linked to Quality preset or editable in Custom mode
  • Custom Quality Option: Added "Custom" entry to Quality dropdown — unlocks Advanced tab limit fields for free-form editing; switching back to a preset restores preset values, custom values are saved as shadow variables and persist across switches and app restarts
  • Mistral Provider: New provider using OpenAI-compatible SDK (api.mistral.ai)
  • Blackbox Provider: New provider using OpenAI-compatible SDK (api.blackbox.ai)
  • Custom Provider: 6th provider option — user supplies any OpenAI-compatible base URL
  • Dynamic Model Fetching: "Fetch" button calls GET /v1/models via OpenAI SDK; per-provider model lists cached and restored on launch
  • CTkScrollableDropdown: Scrollable popup for all ComboBox dropdowns (vendored, MIT license)
  • Stop Flag Centralization: src/utils/stop_flag.py — single global stop flag replacing per-provider flag copies

Changed

  • Gemini API: Fully migrated from google-genai SDK and REST API to OpenAI-compatible endpoint (v1beta/openai/) using the openai SDK; removed Auto Rotation
  • Prompt System: Rebuilt as dynamic function-based system with user_hint, custom_instruction, min_words_override, max_chars_override parameters; thread-local override mechanism for zero-touch integration with existing format processors
  • API Load/Delete/Save buttons: Removed; replaced by single "Fetch" button for model list retrieval
  • Auto Retry: Removed UI toggle; hardcoded to always enabled
  • Advanced tab fields: Locked (read-only) during batch processing; restored with correct state after processing completes
  • Stop mechanism: _check_thread_ended() timeout increased from 2.5s to 30s; UI reset and stop flag reset now separated to prevent premature stop-flag clearing while threads are still running
  • requirements.txt: Removed unused google-genai and Flask-SQLAlchemy; added openai

Fixed

  • Quality dropdown stuck on previous value: Replaced command-based CTkScrollableDropdown callback with StringVar.trace_add() — ensures dropdown display, variable, and callback stay in sync regardless of widget internals
  • Custom Quality values lost on preset switch: Shadow variables (_custom_title_min, etc.) save Custom values when leaving Custom mode and restore them when returning; persisted in config.json
  • Advanced tab fields not locking during processing: Fields now disabled at processing start and re-enabled with correct lock state at end
  • Stop not working across providers: Each provider previously had its own independent stop flag; centralized flag now propagates stop instantly to all active worker threads
  • UI reset race condition: Stop flag was being cleared before worker threads confirmed dead; now cleared only after thread join confirms completion

v.3.11.3

Choose a tag to compare

@riiicil riiicil released this 04 Apr 02:23

[3.11.3] - 2026-04-04

Added

  • Gemini 3 Series Models: Added support for two new Gemini 3.x models:
    • gemini-3-flash-preview: Frontier-class performance rivaling larger models at a fraction of the cost.
    • gemini-3.1-flash-lite-preview: High-volume, cost-sensitive workhorse with Gemini 3 series quality.

Changed

  • Thinking Config Split: Separated thinking configuration logic for Gemini 2.5 vs Gemini 3.x models since they use incompatible parameters (mixing both causes a 400 error):
    • Gemini 2.5 series → continues to use thinking_budget (0 for Flash/Flash-Lite, -1 dynamic for Pro).
    • Gemini 3.x series → uses thinking_level ("minimal" for Flash-Lite, model default for Flash). Gracefully falls back if SDK version doesn't support the field yet.
  • Response Parsing Simplified: SDK requests now use response.text as the primary text extraction method, which automatically skips thinking/signature parts and returns only the final answer. Removed the complex ~50-line "enhanced extraction" fallback block that was previously needed for thinking models.
  • Temperature Fix for Gemini 3: Set temperature=1.0 for all Gemini 3.x models (was 0.2). Per Google's documentation, setting temperature below 1.0 on Gemini 3 models can cause looping or degraded performance.

Fixed

  • SDK Compatibility: Wrapped thinking_level assignment in try/except to gracefully handle older google-genai SDK versions that don't yet support the field, preventing ValidationError crashes.

v3.11.2

Choose a tag to compare

@riiicil riiicil released this 17 Jan 11:31

[3.11.2] - 2026-01-17

Added

  • KoboiLLM Provider: Integrated support for the new KoboiLLM provider in the provider manager, allowing for additional model options.
  • JSON Cleaning: Added a new _clean_json_text function to enhance JSON parsing by removing unnecessary tags and extracting valid JSON content.

Changed

  • Model Configuration: Updated maximum output tokens for various models in OpenAI and OpenRouter APIs to 5120 for improved response handling.
  • Error Logging: Enhanced error logging in metadata extraction functions to include cleaned content for better debugging.

v3.11.1

Choose a tag to compare

@riiicil riiicil released this 24 Dec 15:00

[3.11.1] - 2025-12-24

Changed

  • Clarified keyword prompts to demand unique, single-word, and relevant lists across providers.

Fixed

  • Refined keyword extraction logic for Gemini, Groq, OpenAI, and OpenRouter to ensure uniqueness and relevance, with stronger dedup/sanitization.
  • Added fallback parsing of OpenAI text responses to recover metadata when JSON is missing.
  • Introduced provider_manager keyword filler to top up keywords when API returns fewer than requested.

v3.11.0

Choose a tag to compare

@riiicil riiicil released this 14 Dec 10:13

[3.11.0] - 2025-12-14

Added

  • Groq Provider: Native integration with Groq API (src/api/groq_api.py), enabling high-speed inference with specific support for Llama 4 Vision models (Scout & Maverick).
  • Vision Capabilities: Seamless image metadata generation using Groq's Llama 4 vision-capable models by default.
  • Robust Rate Limiting: Automatic backoff and retry logic specifically tuned for Groq's rate limits (TPM/RPM), ensuring stable batch processing.

v3.10.0

Choose a tag to compare

@riiicil riiicil released this 21 Oct 13:23

[3.10.0] - 2025-10-19

Added

  • OpenAI Responses provider: Native integration with OpenAI's Responses API (src/api/openai_api.py), including model presets for GPT-5, GPT-4.1, and GPT-4o families plus reasoning controls for GPT-5 tiers.
  • OpenRouter provider: New OpenRouter client (src/api/openrouter_api.py) hitting the /chat/completions endpoint with curated presets for GPT-5/4.1, Gemini 2.5/2.0, Claude 4.5/3.7, Grok 4, and Llama 4 Maverick/Scout models.
  • Provider-aware manager: Extended src/api/provider_manager.py so the UI can switch between Gemini, OpenAI, and OpenRouter, including API key selection, metadata routing, and status checks.
  • Config & key storage: Persist API keys per provider, remember the last-used provider/model, and expose provider-specific model lists inside the UI dropdowns.

Changed

  • UI workflow: Provider dropdown now precedes model selection; API key textbox masks and stores keys independently for each provider; workflow descriptions updated to cover multi-provider usage.
  • Documentation: README now details the multi-provider architecture, provider-model catalogs, configuration changes, and OpenRouter usage guidance.
  • Structured-output handling: Updated structured-output detection logic to accommodate chat-completions responses (OpenRouter) and ensure JSON parsing across all providers.

Fixed

  • Hardened error logging for OpenRouter (detailed HTTP 400 diagnostics) and unified response parsing with fallbacks for JSON object, text payload, and tool-call argument formats.
  • Normalized token accounting fields when switching between Responses (usage.output_tokens) and Chat Completions (usage.completion_tokens) payloads to avoid misreported token warnings.