Skip to content

Version 1.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Aug 01:26
· 476 commits to main since this release

Internal Rewrite

The config parser has been completely rewritten, along with a whole new error reporting system.

This change allows for better detection and recovery of errors, no longer stopping on the first issue encountered.

The way the config parser interacts with the preprocessor has also be overhauled, this change opens up much easier ability to add SQF, style checking, static analysis, and more into future HEMTT versions.

The changes to the error reporting system will also allow easier community contributions for additional errors and warnings, and allows for a Language Server, a VSCode extension is already on the way, and extensions for other IDEs would be possible as well.

Simple Compile-Time Math

Simple math can be evaluated at runtime. + - * / ^ % () are supported.

value = 1 + 2 * 2
// after hemtt
value = 5;

Use quotes to keep the value as is and have Arma evaluate it at runtime.

What's Changed

  • Support --no-archive in rename zip example hook by @jonpas in #523
  • ASC: save logs by @BrettMayson in #525
  • Publish to WinGet and Chocolatey by @jonpas in #529
  • Allow projects to be within subfolders within VCS by @initramfs in #533
  • Fix build/release commands when project is a subfolder in VCS by @initramfs in #534
  • config: handle multiline strings by @BrettMayson in #540
  • config: simple math support by @BrettMayson in #541
  • improve error messages when an array has an invalid item
  • binarize .wrp files
  • fix crash with duplicate classes, where one is empty
  • fix expected array error when the value is invalid

New Contributors

Full Changelog: v1.7.0...v1.8.0