Skip to content

Releases: Hugal31/yara-rust

v0.19.0

06 Apr 09:36
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • Change bundled bindings and vendored Yara version to 4.3.0 (c2c30a9)

Features

  • update vendored Yara to 4.3.0 (b77105)
  • update bundled bindings to bundled_4_3_0 (ce8e481)

Bug Fixes

  • not exactly from our side, but Yara pre-4.3.0 had memory alignment issues (see #112).

v0.18.0

06 Apr 09:35
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • Move static linking env flags to cargo feature (882a89a)
  • Rework Yara::set_configuration to remove enum (755d4e5)

Features

  • add configuration for YR_CONFIG_MAX_PROCESS_MEMORY_CHUNK (a984dfa)
  • add option to static linking with openssl (8ffd99a)
  • show an explicit error when submodule was not cloned (193d06c)

Bug Fixes

  • prevent dynamic linking when targetting musl (49a6817)
  • properly compile YARA on big-endian arch (754d902)

v0.17.0

14 Feb 09:43
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • The environment variables YARA_ENABLE_... have no effect anymore.
  • When using the vendored feature, the modules are now enabled using cargo features. See yara-sys's README.md for more information. This is breaking if you use --no-default-features or --all-features, since it will change the available modules in Yara.

Features

  • add CouldNotReadProcessMemory error (dbb795b)
  • add helpers to get module values on scans (05e8e3d)
  • add include path to openssl in vendored mode (47f1cae)
  • add musl support (a45bfe0)
  • Enable or disable env flags replace to cargo feature (e37cbd3)
  • update saved bindings following build.rs changes (23685e2)

Bug Fixes

  • add base offset for scanning memory chunks (1e88d7e)
  • clippy warnings (4937de7)

v0.12.0

29 Oct 20:04
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • The feature bundled-4_1_2 becomes bundled-4_1_3. However, since there are no ABI changes between the two versions, it is still compatible with yara v4.1.2.

Features

v0.11.1

29 Oct 19:30
Compare
Choose a tag to compare

Bug Fixes

v0.11.0

29 Oct 19:30
Compare
Choose a tag to compare

Features

  • Add support for the include directive (26273f0)

Bug Fixes

  • add missing CallbackMsg type (ea2a28c)
  • add scan flags (af34e15)
  • avoid warnings in generated bindings on x64 windows msvc (43d0be1)
  • improve API safety (7dd00b1)
  • remove Box closure (50a9a4e)
  • remove non_upper_case_globals warning with windows x86 target (d1176b7)
  • remove unused flag (15f2472)

v0.10.0

20 Sep 08:28
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • Compiler.add_rules_* functions now takes Compiler
    by value and return it if the rule is succesfully added.
  • Minimum Rust version is now 1.55.

Features

  • yara-sys: vendored feature uses v4.1.2 (18b7ae4)
  • add support for yr_scanner_scan_mem_blocks (e1aa11e)

Bug Fixes

  • prevent UB when failing to compile a rule (99f756a), closes #47