# hexo v7.2.0 - Product: hexo (https://whatsnew.fyi/product/hexo) - Vendor: hexojs - Date: 2024-04-17 - Version: v7.2.0 - Original notes: https://github.com/hexojs/hexo/releases/tag/v7.2.0 - Permalink: https://whatsnew.fyi/product/hexo/releases/v7.2.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Add an option to switch stripIndent in highlight - **changed** — Refactor types - **changed** — Make callback on exit optional - **changed** — Migrate typescript - **changed** — Handle backslashes on Windows - **fixed** — Fix post_link behaviour when using subdir - **fixed** — Use url_for in tag - **fixed** — Prevent path traversal in tag/include_code - **fixed** — Revert behavior of locals.tags and locals.categories ##### New Features * feat(highlight): add an option to switch stripIndent by @uiolee in https://github.com/hexojs/hexo/pull/5427 ##### Improved type definitions * refactor: refactor types by @D-Sketon in https://github.com/hexojs/hexo/pull/5398 * chore: make callback on exit optional by @dimaslanjaka in https://github.com/hexojs/hexo/pull/5421 * refactor: migrate typescript by @D-Sketon in https://github.com/hexojs/hexo/pull/5417 * refactor: migrate typescript by @D-Sketon in https://github.com/hexojs/hexo/pull/5430 ##### Fixes * Fix typos by @mobeicanyue in https://github.com/hexojs/hexo/pull/5426 * fix: post_link behaviour when using subdir by @leafbird in https://github.com/hexojs/hexo/pull/5419 * fix(tag): use url_for by @stevenjoezhang in https://github.com/hexojs/hexo/pull/5385 * fix(tag/include_code): prevent path traversal by @stevenjoezhang in https://github.com/hexojs/hexo/pull/5251 * revert(categories,tags): revert behavior of locals.tags and locals.categories by @uiolee in https://github.com/hexojs/hexo/pull/5388 ##### Refactor * refactor: backslashes on Windows by @stevenjoezhang in https://github.com/hexojs/hexo/pull/5457 ##### Test * test: add test case for issue #4334 by @D-Sketon in https://github.com/hexojs/hexo/pull/5465 ##### CI/CD * ci: suppress comment err and reduce benchmark running by @uiolee in https://github.com/hexojs/hexo/pull/5454 ##### Docs * docs(README): Update Sponsors images by @uiolee in https://github.com/hexojs/hexo/pull/5410 ##### Dependencies * chore(deps): bump hexo-fs from ^4.1.1 to ^4.1.3 by @D-Sketon in https://github.com/hexojs/hexo/pull/5463 * chore(deps-dev): Limited `@types/node` version by @uiolee in https://github.com/hexojs/hexo/pull/5411 ##### New Contributors * @mobeicanyue made their first contribution in https://github.com/hexojs/hexo/pull/5426 * @leafbird made their first contribution in https://github.com/hexojs/hexo/pull/5419 **Full Changelog**: https://github.com/hexojs/hexo/compare/v7.1.1...v7.2.0