Skip to content

Commit 51ab347

Browse files
committed
Release 5.4.11-3.0.0
1 parent 9406d64 commit 51ab347

File tree

3 files changed

+32
-11
lines changed

3 files changed

+32
-11
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
# Change Log
2+
## [5.4.11-3.0.0] 2023-12-03
3+
4+
Due to [missing arm64 supoort amd proprietary licensing of new releases of hyperscan](https://github.com/intel/hyperscan/issues/421), this release of hyperscan-java transitions from hyperscan to the [vectorscan](https://github.com/VectorCamp/vectorscan) fork.
5+
6+
### Breaking
7+
* Windows support has been dropped due to vectorscan not supporting it
8+
9+
### Added
10+
* Support for ARM64 architecture on Linux and macOS (M1/M2/M3 family of chips)
11+
12+
### Fixed
13+
* Database instances not reclaimable by GC ([#161](https://github.com/gliwka/hyperscan-java/issues/161)) - thanks [@mmimica](https://github.com/mmimica)!
14+
* Race condition during tracking of native references on multiple threads ([#158](https://github.com/gliwka/hyperscan-java/issues/158)) - thanks [@mmimica](https://github.com/mmimica)!
15+
* Expression IDs now can have arbitrary space between them without consuming additional memory ([#163](https://github.com/gliwka/hyperscan-java/issues/163)) - thanks [@mmimica](https://github.com/mmimica)!
16+
* Removed superflous duplicate call during mapping of expressions in PatternFilter ([#205](https://github.com/gliwka/hyperscan-java/pull/205)) - thanks [@Jiar](https://github.com/Jiar)!
17+
218
## [5.4.0-2.0.0] 2021-03-31
319

420
### Added

README.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,33 @@ It uses hybrid automata techniques to allow simultaneous matching of large numbe
1010

1111
This project is a third-party developed wrapper for the [hyperscan](https://github.com/intel/hyperscan) project to enable developers to integrate hyperscan in their java (JVM) based projects.
1212

13+
Because the latest hyperscan release is now under a [proprietary license](https://github.com/intel/hyperscan/issues/421) and ARM-support has never been integrated, this project utilizes the [vectorscan](https://github.com/VectorCamp/vectorscan) fork.
14+
1315
## Add it to your project
1416
This project is available on maven central.
1517

16-
The version number consists of two parts (i.e. 5.4.0-2.0.0).
17-
The first part specifies the hyperscan version (5.4.0), the second part the version of the wrapper
18-
(2.0.0)
18+
The version number consists of two parts (i.e. 5.4.11-3.0.0).
19+
The first part specifies the vectorscan version (5.4.11), the second part the version of this library utilizing semantic versioning
20+
(3.0.0).
1921

2022
#### Maven
2123
```xml
2224
<dependency>
2325
<groupId>com.gliwka.hyperscan</groupId>
2426
<artifactId>hyperscan</artifactId>
25-
<version>5.4.0-2.0.0</version>
27+
<version>5.4.11-3.0.0</version>
2628
</dependency>
2729
```
2830

2931
#### Gradle
3032

3133
```gradle
32-
compile group: 'com.gliwka.hyperscan', name: 'hyperscan', version: '5.4.0-2.0.0'
34+
compile group: 'com.gliwka.hyperscan', name: 'hyperscan', version: '5.4.11-3.0.0'
3335
```
3436

3537
#### sbt
3638
```sbt
37-
libraryDependencies += "com.gliwka.hyperscan" %% "hyperscan" % "5.4.0-2.0.0"
39+
libraryDependencies += "com.gliwka.hyperscan" %% "hyperscan" % "5.4.11-3.0.0"
3840
```
3941

4042
## Usage
@@ -140,11 +142,14 @@ catch(IOException ie) {
140142

141143

142144
## Native libraries
143-
This wrapper ships with pre-compiled hyperscan binaries for windows, linux (glibc >=2.12) and osx for x86_64 CPUs.
145+
This library ships with pre-compiled vectorscan binaries for linux (glibc >=2.17) and macOS for x86_64 and arm64 CPUs.
146+
147+
Windows is no longer supported (last supported version is `5.4.0-2.0.0`) due to vectorscan dropping windows support.
148+
144149
You can find the repository with the native libraries [here](https://github.com/gliwka/hyperscan-java-native)
145150

146151
## Documentation
147-
The [hyperscan developer reference](https://intel.github.io/hyperscan/dev-reference/) explains hyperscan.
152+
The [developer reference](https://intel.github.io/hyperscan/dev-reference/) explains vectorscan.
148153
The javadoc is located [here](https://gliwka.github.io/hyperscan-java/).
149154

150155
## Changelog
@@ -154,9 +159,9 @@ The javadoc is located [here](https://gliwka.github.io/hyperscan-java/).
154159
Feel free to raise issues or submit a pull request.
155160

156161
## Credits
157-
Shoutout to [@eliaslevy](https://github.com/eliaslevy), [@krzysztofzienkiewicz](https://github.com/krzysztofzienkiewicz) and [@swapnilnawale](https://github.com/swapnilnawale) for all the great contributions.
162+
Shoutout to [@eliaslevy](https://github.com/eliaslevy), [@krzysztofzienkiewicz](https://github.com/krzysztofzienkiewicz), [@swapnilnawale](https://github.com/swapnilnawale), [@mmimica](https://github.com/mmimica) and [@Jiar](https://github.com/Jiar) for all the great contributions.
158163

159-
Thanks to Intel for opensourcing hyperscan!
164+
Thanks to Intel for opensourcing hyperscan and [@VectorCamp](https://github.com/VectorCamp) for actively maintaining the fork!
160165

161166
## License
162167
[BSD 3-Clause License](LICENSE)

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.gliwka.hyperscan</groupId>
77
<artifactId>hyperscan</artifactId>
8-
<version>5.4.0-2.0.0</version>
8+
<version>5.4.11-3.0.0</version>
99
<name>hyperscan-java</name>
1010
<description>Java bindings for the high-performance multiple regular expression library hyperscan</description>
1111
<url>https://github.com/gliwka/hyperscan-java</url>

0 commit comments

Comments
 (0)