v7.1.0

hexojs/hexov7.1.0Jan 19, 2024by yoshinorin

AI Summary

This release introduces TypeScript migration improvements, new tag capabilities, and various bug fixes. It notably bumps the TypeScript version to 5.3.2.

Key Highlights

  • Added URL hash support for the `post_link` tag.
  • Added event emitter descriptor to the core Hexo class.
  • Refactored TypeScript types for better code quality.
  • Fixed permalink handling when `post_asset_folder` is enabled.

New Features

  • URL hash support for post_link tag
  • Event emitter descriptor
  • TypeScript migration updates

Full Release Notes

## Notable Changes

* chore(Hexo): add event emitter descriptor by @dimaslanjaka in https://github.com/hexojs/hexo/pull/5302
* refactor: refactor types by @D-Sketon in https://github.com/hexojs/hexo/pull/5344

## New Features

* Added URL hash support for post_link tag by @iliayatsenko in https://github.com/hexojs/hexo/pull/5356

## Fixes

* fix(types): cast from `number` to `string` explicitly by @yoshinorin in https://github.com/hexojs/hexo/pull/5342
* fix: permalink should be overwritten when post_asset_folder is true by @D-Sketon in https://github.com/hexojs/hexo/pull/5254
* fix(escapeAllSwigTags): check tag completeness by @uiolee in https://github.com/hexojs/hexo/pull/5395

## CI/CD

* ci(commenter): use workflows_run event to comment flamegraph by @uiolee in https://github.com/hexojs/hexo/pull/5384
* ci(benchmark): add PR permissions for comment by @uiolee in https://github.com/hexojs/hexo/pull/5334

## Dependencies

* chore: bump typescript from 4.9.5 to 5.3.2 by @dependabot in https://github.com/hexojs/hexo/pull/5358
* chore(deps-dev): remove @ts/eslint-plugin, parser by @uiolee in https://github.com/hexojs/hexo/pull/5290
* chore: bump c8 from 8.0.1 to 9.0.0 by @dependabot in https://github.com/hexojs/hexo/pull/5391
* chore(dev-deps): bump sinon from 15.2.0 to 17.0.1 by @dependabot in https://github.com/hexojs/hexo/pull/5343
* chore(dev-deps): bump lint-staged from 14.0.1 to 15.2.0 by @dependabot in https://github.com/hexojs/hexo/pull/5373

## New Contributors

* @iliayatsenko made their first contribution in https://github.com/hexojs/hexo/pull/5356

**Full Changelog**: https://github.com/hexojs/hexo/compare/v7.0.0...v7.1.0