Repository navigation
-
🌱 Upgraded ExifTool to version 13.64.
-
✨
GroupedTagsfields are now generated from the sample images. EachGroup:TagNamefield has its own JSDoc frequency and example, and its own type, all taken from that group's values; where the generator curates a tag's type, every group's field also includes that type, soXMP:ISOisnumber | number[]whileEXIF:ISOisnumber. IDE hover and go-to-definition now work on these fields.APP0...APP15tags that the sample images had are now typed instead ofunknown. The fields live in new exported per-group interfaces, such asEXIFGroupedTagsandXMPGroupedTags, which the newGeneratedGroupedTagsinterface extends, andGroupedTagsextends that. Because a group-prefixedtag()lookup against a bare-mode read returns the bare value, its return type now also includes the bare name'sTagstype:tag(tags, "EXIF:BitsPerSample")isstring | number | undefined. -
✨/💔 Type-checking this library is faster:
tag()'s first overload now ends in(K extends keyof UngroupedVendoredTags ? Tags[K] : never)instead of(K extends keyof Tags ? Tags[K] : never), which took 44% of the project's TypeScript 6 check time. This doesn't change the return type of any call, but a generic wrapper whose explicit return type repeats the old conditional no longer compiles: copytag()'s current return type, or drop the annotation. -
✨
Tagsgains 67 fields, includingComponentsConfigurationandFlashpixVersion(in about 95% of the sample images), which a sorting bug in the tag generator had dropped. No fields were removed.WhiteBalanceBracketis now typednumberinstead ofstring, matching the sample images' values. Fields whose sample values have no majority type now get every observed type instead ofstring:GimbalYawDegree,OffsetX,OffsetY, andZoomare nownumber | string,Filtersisstring | string[], andSonyTimeMinSecisExifTime | string. -
🐞
DuckyTags,JPEGTags,JSONTags, andJUMBFTagsare now exported.Tagsextends them, but the package didn't export them by name. -
📦 Rebuilt
TagsandGeneratedGroupedTags.
Full Changelog: 39.3.0...39.4.0