Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: gliwka/hyperscan-java

[5.4.11-3.1.0] 2025-04-06

06 Apr 18:35

Choose a tag to compare

Added

  • New callback API for efficient custom match processing (#58)
  • Byte-based scanning API for direct operation on byte[] and ByteBuffer without String overhead
  • New hasMatch methods for quick existence checking that terminate immediately on first match (#68)

Performance

  • Reduced memory usage for UTF-8 string mapping by dynamically selecting optimal array type

Fixed

  • Fixed upstream vectorscan correctness regression on x86 architecture with targeted patch (#228, #231)
  • Ensured all native handles are properly reclaimed after database compilation (#230)
  • Reworked UTF-8 position mapping to handle the mapping correctly in edge cases (#170)

Changed

  • Removed 255 thread limit for concurrent scanning operations (#222, #229)

[5.4.11-3.0.0] 2023-12-03

02 Dec 23:11

Choose a tag to compare

Due to missing arm64 supoort amd proprietary licensing of new releases of hyperscan, this release of hyperscan-java transitions from hyperscan to the vectorscan fork.

Breaking

  • Windows support has been dropped due to vectorscan not supporting it

Added

  • Support for ARM64 architecture on Linux and macOS (M1/M2/M3 family of chips)

Fixed

  • Database instances not reclaimable by GC (#161) - thanks @mmimica!
  • Race condition during tracking of native references on multiple threads (#158) - thanks @mmimica!
  • Expression IDs now can have arbitrary space between them without consuming additional memory (#163) - thanks @mmimica!
  • Removed superflous duplicate call during mapping of expressions in PatternFilter (#205) - thanks @Jiar!

[5.4.0-2.0.0] 2021-03-31

31 Mar 12:36

Choose a tag to compare

Added

  • New PatternFilter allowing for prefiltering of java regex patterns similar to chimera
  • Windows support
  • Possibility to manually specify expression ids

Changed

  • Moved access to native library from JNA to JavaCPP
  • Removed context object from expressions

Fixed

  • Lock contention while scanning with high concurrency (#89)

v1.0.0

16 Sep 20:42

Choose a tag to compare

This release contains the following changes:

  • Hyperscan v5.1.1 binaries (#48)
  • Java 11 compatibility (#54)
  • Logical combinations (thanks to @swapnilnawale @digitalreasoning for the contribution) (#55)
  • Change from checked to unchecked exceptions to clean up method signature (#53)

v0.4.14

23 May 16:16

Choose a tag to compare

This release fixes:

  • Enforce UTF-8 encoding in the direct mapping library (#43) - thanks to @eliaslevy for this PR!

v0.4.13

29 Jan 17:22

Choose a tag to compare

This release contains the new hyperscan v4.7.0 binaries

v0.4.12

18 Nov 15:22

Choose a tag to compare

This release fixes:

  • Segmentation fault when passing null value as expression (#34)

This release also features better error reporting (#32, thanks @eliaslevy!).

v0.4.11

04 Oct 08:04

Choose a tag to compare

This release fixes:

  • Error due to reading of structs after call to free (#31)

v0.4.10

28 Sep 18:57

Choose a tag to compare

Changes:

  • Support for 32-bit Linux
  • New hyperscan binaries (v4.6.0)
  • Updated JUnit and Surefire plugins for testing (works now with the most recent IntelliJ release)

v0.4.8

07 Aug 21:02

Choose a tag to compare

This release contains the following changes:

  • Add context object to Expression

Additionally to the jar files below, you can add this to Gradle, maven, sbt and leiningen by visiting:
https://jitpack.io/#cerebuild/hyperscan-java