v1.13.1

honojs/honov1.13.1Mar 26, 2026by yamadashy

AI Summary

This release fixes a false positive in base64 detection and migrates the clipboard dependency to a lighter library to reduce package size.

Key Highlights

  • Fixed `truncateBase64` incorrectly truncating path-like strings (e.g., XPath) that contained only letters and `/`.
  • Raised the minimum standalone base64 detection threshold from 60 to 256 characters.
  • Migrated from `clipboardy` to `tinyclip`, reducing clipboard-related install size from ~4 MB to ~24 KB.

Full Release Notes

This release fixes a false positive in base64 detection and brings a lighter clipboard dependency!

## Bug Fixes 🐛

### Fixed Base64 Detection False Positives (#1307, #1298)

The `truncateBase64` feature was incorrectly truncating XPath and path-like strings (e.g., `postTransactionAmounts/sharesOwnedFollowingTransaction/value`) that contained only letters and `/` characters.

Two improvements were made:
- Raised the minimum standalone base64 detection threshold from 60 to 256 characters
- Added a digits requirement to the heuristic — real base64-encoded binary data virtually always contains digits, while path-like strings typically don't

Special thanks to @NaustudentX14 for the detailed bug report! 🎉

## Improvements ⚡

### Migrated to tinyclip for Clipboard Operations (#1296)

Replaced `clipboardy` with `tinyclip`, a zero-dependency clipboard library. This removes 41 transitive dependencies and reduces clipboard-related install size from ~4 MB to ~24 KB.

Special thanks to @florian-lefebvre for their first contribution! 🎉

## How to Update

```bash
npm update -g repomix
```

---

As always, if you have any issues or suggestions, please let us know on GitHub issues or our [Discord community](https://discord.gg/wNYzTwZFku).