# Changelog ## [6.0.0](https://github.com/gjtorikian/isBinaryFile/compare/5.0.0...v6.0.0) (2025-12-05) ### ⚠ BREAKING CHANGES * add encoding hints ### Features * add encoding hints ([7171398](https://github.com/gjtorikian/isBinaryFile/commit/7171398fa2ff2c09b3a2cc4257120e0d77f43fde)) ### Bug Fixes * fix protobuf processing causing index out of range errors ([913ecb0](https://github.com/gjtorikian/isBinaryFile/commit/913ecb0bea60f99d679c94143fb9e1c3a76a3fb4)) * fix protobuf processing causing index out of range errors ([d39d2c0](https://github.com/gjtorikian/isBinaryFile/commit/d39d2c0d80014e387a5c906ff3ed6d0b53bdbe2e)) * handle errors in isBinaryFile function with try-catch 🐛 ([ae76dba](https://github.com/gjtorikian/isBinaryFile/commit/ae76dba724bccb86ecd094601247bf2edc234fe8)) * handle errors in isBinaryFile function with try-catch 🐛 ([a78a3b8](https://github.com/gjtorikian/isBinaryFile/commit/a78a3b8736e41ef3659737c2ece2454972b5c4d4)) * handle UTF-8 multibyte sequences truncated at buffer boundary ([a9d483b](https://github.com/gjtorikian/isBinaryFile/commit/a9d483b94d1d3bffd85f3ace95ddcf183d774976)) * handle UTF-8 multibyte sequences truncated at buffer boundary ([4832a7c](https://github.com/gjtorikian/isBinaryFile/commit/4832a7c129cbc218a8281ca6d00e87ff899ab616)) * update CI workflow triggers for pull requests 🔧 ([298e604](https://github.com/gjtorikian/isBinaryFile/commit/298e604400e05e38916769363f7f672062b3bd9b))