Skip to content

v0.2.9 - Logger improvements and WAV validation fixes

Latest

Choose a tag to compare

@ChetanXpro ChetanXpro released this 25 May 08:31
· 12 commits to main since this release

Logger Improvements and WAV Validation Fixes

Fixed

  • Fixed CLI download command not executing (missing function call)
  • npx nodejs-whisper download now works as expected
  • Fixed restrictive Console logger type that didn't work with popular loggers like Pino, Winston (#158)
  • Fixed inconsistent console usage in downloadModel.ts, now properly uses logger parameter (#157)
  • Fixed WAV validation that incorrectly reported non-16kHz files as valid (#113)
  • WAV files with incorrect sample rates are now automatically converted to 16kHz
  • Eliminates "WAV file must be 16 kHz" errors from whisper.cpp

Changed

  • Replaced Console type with flexible Logger interface for better logger compatibility
  • Updated all internal logging to use logger parameter instead of direct console calls

Added

  • Added CHANGELOG.md for version tracking

What's New

This release focuses on improving developer experience with better logging flexibility and fixing audio file validation issues that caused confusion.

Install: npm install [email protected]

Full Changelog: v0.2.7...v0.2.9