Repository navigation
Release 39.0.0
-
💔
useMWGcan now only be set in theExifToolconstructor.read(),readRaw(),write(), andeditTags()no longer accept it, andDefaultReadTaskOptions,DefaultReadRawTaskOptions,DefaultWriteTaskOptions, andWriteTaskOptionFieldsno longer include it. ExifTool never unloads MWG once a command loads it, so the per-call option gave wrong results on reused ExifTool processes: auseMWG: falseread returned MWG tags if its process had already served auseMWG: trueread or write, and auseMWG: truecall made later calls on its process return MWG tags. Passing auseMWGthat differs from the instance's now rejects. To use both, create twoExifToolinstances. -
🐞 On a
useMWG: trueinstance,rewriteAllTags(),extractThumbnail(),extractPreview(),extractJpgFromRaw(),extractBinaryTag(),extractBinaryTagToBuffer(),version(), andTagDescriptionsnow also send-use MWG. Before, they ran with MWG only if their ExifTool process had already served a read or write. ForrewriteAllTags(), this matters because MWG's strict mode skips non-standard EXIF, IPTC, and XMP when copying tags. CustomenqueueTask()tasks can passexiftool.optionsto theExifToolTaskconstructor to do the same. -
🐞 On a
useMWG: falseinstance, a command that may load MWG anyway, by referencing anMWG:tag (like awrite()key of"MWG:Description") or by passing-use MWG, an-@argument file, or a-pformat file inreadArgsorwriteArgs, now retires its ExifTool process afterward, so later commands don't get MWG tags. batch-cluster starts at most one new process perminDelayBetweenSpawnMillis(1.5 seconds by default). -
🐞
TagDescriptionsnow throws iflanguageisn't a language code likedeorzh_cn.languageis part of the disk cache filename, so a value like"../../../x"made it read and writex.jsonoutsidecacheDir. -
🐞 If synchronous disposal (
using) hitsdisposalTimeoutMsand the forceful child process cleanup it then requests fails, the error is now logged instead of escaping as an unhandled rejection, which terminates Node.js by default. -
📦 Updated to ESLint 10 and enabled typescript-eslint's type-checked rules, plus rules from
eslint-plugin-n,eslint-plugin-regexp,eslint-plugin-redos,eslint-plugin-mocha, andeslint-plugin-chai-friendly. None of the resulting fixes change runtime behavior. Editors now suggestThumbnailImage,PreviewImage, andJpgFromRawforPreviewTag, and tag names fordeleteAllTags()'sretainoption.
Full Changelog: 38.3.0...39.0.0