Skip to content

Commit 5a2a355

Browse files
committed
release 2.1.0
1 parent 03e708d commit 5a2a355

File tree

13 files changed

+35
-23
lines changed

13 files changed

+35
-23
lines changed

.projectKnowledge/JBBP.mmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
> __version__=`1.1`,showJumps=`true`
33
---
44

5-
# Java Binary<br/>Block Parser<br/>v 2\.0\.6
5+
# Java Binary<br/>Block Parser<br/>v 2\.1\.0
66

77
## License
88
> fillColor=`#33CC00`,leftSide=`true`

README.md

+18-12
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![JBBP Logo](https://github.com/raydac/java-binary-block-parser/blob/master/logo.png)
22

33
[![License Apache 2.0](https://img.shields.io/badge/license-Apache%20License%202.0-green.svg)](http://www.apache.org/licenses/LICENSE-2.0)
4-
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/jbbp/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|jbbp|2.0.6|jar)
4+
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/jbbp/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|jbbp|2.1.0|jar)
55
[![Java 1.8+](https://img.shields.io/badge/java-1.8%2b-green.svg)](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
66
[![Android 3.0+](https://img.shields.io/badge/android-3.0%2b-green.svg)](http://developer.android.com/sdk/index.html)
77
[![PayPal donation](https://img.shields.io/badge/donation-PayPal-cyan.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AHWJHJFBAWGL2)
@@ -16,12 +16,18 @@ that for Java. So I developed the JBBP library.<br>
1616
![Use cases](https://github.com/raydac/java-binary-block-parser/blob/master/docs/jbbp_mm.png)
1717

1818
# Change log
19-
- __2.0.6 (01-jul-2023)__
20-
- [#42](https://github.com/raydac/java-binary-block-parser/issues/42) unexpected exception during JBBPDslBuilder.AnnotatedClass method call
19+
20+
- __2.1.0 (05-nov-2024)__
21+
- minor changes in API for `JBBPVarFieldProcessor` and `JBBPCustomFieldTypeProcessor`
22+
- provided way to control size of arrays read as stream
23+
rest [#44](https://github.com/raydac/java-binary-block-parser/issues/41)
24+
- provided way to control size of arrays which size calculated through
25+
expressions [#45](https://github.com/raydac/java-binary-block-parser/issues/41)
2126
- improved tests
2227

23-
- __2.0.5 (17-jun-2023)__
24-
- [#41](https://github.com/raydac/java-binary-block-parser/issues/41) fix for Gradle plug-in
28+
- __2.0.6 (01-jul-2023)__
29+
- unexpected exception during JBBPDslBuilder.AnnotatedClass method
30+
call [#42](https://github.com/raydac/java-binary-block-parser/issues/42)
2531
- improved tests
2632

2733
[Full changelog](https://github.com/raydac/java-binary-block-parser/blob/master/changelog.txt)
@@ -34,12 +40,12 @@ The Framework has been published in the Maven Central and can be easily added as
3440
<dependency>
3541
<groupId>com.igormaznitsa</groupId>
3642
<artifactId>jbbp</artifactId>
37-
<version>2.0.6</version>
43+
<version>2.1.0</version>
3844
</dependency>
3945
```
4046

4147
the precompiled library jar, javadoc and sources also can be downloaded directly
42-
from [the Maven central.](https://search.maven.org/artifact/com.igormaznitsa/jbbp/2.0.6/jar)
48+
from [the Maven central.](https://search.maven.org/artifact/com.igormaznitsa/jbbp/2.1.0/jar)
4349

4450
# Hello world
4551

@@ -112,7 +118,7 @@ in Maven it can be used through snippet:
112118
<plugin>
113119
<groupId>com.igormaznitsa</groupId>
114120
<artifactId>jbbp-maven-plugin</artifactId>
115-
<version>2.0.6</version>
121+
<version>2.1.0</version>
116122
<executions>
117123
<execution>
118124
<id>gen-jbbp-src</id>
@@ -148,10 +154,10 @@ class Flags {
148154

149155
final int data = 0b10101010;
150156
Flags parsed = JBBPParser.prepare("bit:1 f1; bit:2 f2; bit:1 f3; bit:4 f4;", JBBPBitOrder.MSB0).parse(new byte[]{(byte)data}).mapTo(new Flags());
151-
assertEquals(1,parsed.flag1);
152-
assertEquals(2,parsed.flag2);
153-
assertEquals(0,parsed.flag3);
154-
assertEquals(5,parsed.flag4);
157+
assertEquals(1, parsed.flag1);
158+
assertEquals(2, parsed.flag2);
159+
assertEquals(0, parsed.flag3);
160+
assertEquals(5, parsed.flag4);
155161

156162
System.out.println(new JBBPTextWriter().Bin(parsed).Close().toString());
157163

changelog.txt

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2.1.0 (05-nov-2024)
2+
- minor changes in API for JBBPVarFieldProcessor and JBBPCustomFieldTypeProcessor
3+
- provided way to control size of arrays read as stream rest [#44](https://github.com/raydac/java-binary-block-parser/issues/41)
4+
- provided way to control size of arrays which size calculated through expressions [#45](https://github.com/raydac/java-binary-block-parser/issues/41)
5+
- improved tests
6+
17
2.0.6 (01-jul-2023)
28
- [#42](https://github.com/raydac/java-binary-block-parser/issues/42) unexpected exception during JBBPDslBuilder.AnnotatedClass method call
39
- improved tests

docs/jbbp_mm.png

37.9 KB
Loading

jbbp-plugins/jbbp-gradle-tests/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jbbp-main-plugin-pom</artifactId>
8-
<version>2.1.0-SNAPSHOT</version>
8+
<version>2.1.0</version>
99
</parent>
1010

1111
<artifactId>jbbp-gradle-tests</artifactId>

jbbp-plugins/jbbp-gradle/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.igormaznitsa</groupId>
88
<artifactId>jbbp-main-plugin-pom</artifactId>
9-
<version>2.1.0-SNAPSHOT</version>
9+
<version>2.1.0</version>
1010
</parent>
1111

1212
<artifactId>jbbp-gradle-plugin</artifactId>

jbbp-plugins/jbbp-maven/jbbp-maven-plugin-tests/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jbbp-maven-plugin-pom</artifactId>
8-
<version>2.1.0-SNAPSHOT</version>
8+
<version>2.1.0</version>
99
</parent>
1010

1111
<artifactId>jbbp-maven-plugin-tests</artifactId>

jbbp-plugins/jbbp-maven/jbbp-maven-plugin/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jbbp-maven-plugin-pom</artifactId>
8-
<version>2.1.0-SNAPSHOT</version>
8+
<version>2.1.0</version>
99
</parent>
1010

1111
<artifactId>jbbp-maven-plugin</artifactId>

jbbp-plugins/jbbp-maven/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jbbp-main-plugin-pom</artifactId>
8-
<version>2.1.0-SNAPSHOT</version>
8+
<version>2.1.0</version>
99
</parent>
1010

1111
<artifactId>jbbp-maven-plugin-pom</artifactId>

jbbp-plugins/jbbp-plugin-common/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.igormaznitsa</groupId>
88
<artifactId>jbbp-main-plugin-pom</artifactId>
9-
<version>2.1.0-SNAPSHOT</version>
9+
<version>2.1.0</version>
1010
</parent>
1111

1212
<artifactId>jbbp-plugin-common</artifactId>

jbbp-plugins/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jbbp-main-pom</artifactId>
8-
<version>2.1.0-SNAPSHOT</version>
8+
<version>2.1.0</version>
99
</parent>
1010

1111
<artifactId>jbbp-main-plugin-pom</artifactId>

jbbp/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jbbp-main-pom</artifactId>
8-
<version>2.1.0-SNAPSHOT</version>
8+
<version>2.1.0</version>
99
</parent>
1010

1111
<artifactId>jbbp</artifactId>

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.igormaznitsa</groupId>
66
<artifactId>jbbp-main-pom</artifactId>
7-
<version>2.1.0-SNAPSHOT</version>
7+
<version>2.1.0</version>
88
<packaging>pom</packaging>
99

1010
<modules>
@@ -20,7 +20,7 @@
2020
<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
2121
<mvn.version>3.0</mvn.version>
2222
<meta.version>1.1.2</meta.version>
23-
<jbbp.version>2.1.0-SNAPSHOT</jbbp.version>
23+
<jbbp.version>2.1.0</jbbp.version>
2424
<jbbp.plugin.version>${jbbp.version}</jbbp.plugin.version>
2525
<maven.compiler.source>1.8</maven.compiler.source>
2626
<maven.compiler.target>1.8</maven.compiler.target>

0 commit comments

Comments
 (0)