Skip to content

Releases: raydac/java-binary-block-parser

Release 3.0.1

24 Dec 13:07
Compare
Choose a tag to compare
  • 3.0.1 (24-dec-2024)
    • added MSB0_DIRECT bit order mode, MSB0 without data
      revers #46
    • added JBBPBitInputStream#isDetectedPartlyReadBitField to check that only part of bit field read during last
      operation
    • added flag into constructors for JBBPBitInputStream to force return -1 instead of partly accumulated bits data if
      end of field

Release 3.0.0

16 Nov 10:06
Compare
Choose a tag to compare

3.0.0 (16-nov-2024)

  • Minimum JDK Version: Updated to 11.0.
  • Minimum Supported Android: Updated to 12 (API 32).
  • API Changes: Modifications made to the CompiledBlockVisitor API.
  • New Feature: Added JBBPUtils#findMaxStaticArraySize for calculating the largest static array size defined in a
    JBBP script.
  • Internal API: Certain internal APIs have been opened.
  • Codebase Improvements: General refactoring performed.

Release 2.1.0

05 Nov 08:30
Compare
Choose a tag to compare

2.1.0 (05-nov-2024)

  • minor changes in API for JBBPVarFieldProcessor and JBBPCustomFieldTypeProcessor
  • provided way to control size of arrays read as stream rest #44
  • provided way to control size of arrays which size calculated through expressions #45
  • improved tests

Release 2.0.6

01 Jul 11:33
Compare
Choose a tag to compare
  • 2.0.6 (01-jul-2023)
    • #42 unexpected exception during JBBPDslBuilder.AnnotatedClass method call
    • improved tests

Release 2.0.5

17 Jun 08:07
Compare
Choose a tag to compare

2.0.5 (17-jun-2023)

  • #41 fix for Gradle plug-in
  • improved tests

Release 2.0.3

03 Jan 13:30
Compare
Choose a tag to compare

2.0.3 (03-jan-2021)

  • added service methods JBBPUtils.traceData to print dump of an input stream into a PrintStream
  • improved JBBPTokenizerException to show marked error position #30

Maintenance release 2.0.2

22 Aug 12:39
Compare
Choose a tag to compare

2.0.2 (22-aug-2020)

  • added JBBPOut#Bin variant to override @Bin annotation fields in written objects.
  • #28 added JBBPOut#BinForceByteOrder to override byte order defined in @Bin annotations of written object.

release 2.0.1

04 Feb 20:55
Compare
Choose a tag to compare
  • 2.0.1 (04-feb-2020)
    • #26 fixed bug in array write with MSB0

release 2.0.0

20 Nov 15:33
Compare
Choose a tag to compare

2.0.0 (20-nov-2019)

It has changes in mapping mechanism to decrease level of hacks and make compatibility with new JDK version. Minimal supported Java version increased to 1.8. Some renaming in Bin annotation and added extra fields.

changes:

  • removed DslBinCustom annotation, use @bin annotation instead
  • renamed attributes of @bin annotation to their correct form
  • reworked object mapping system, removed hacks to instantiate classes, now only mapping to objects allowed, support of private fields mapping is removed
  • minimal JDK version now 1.8+
  • minimal Android API now 3.0+
  • added support of getters and setters into mapping
  • added Object newInstance(Class) method support of mapped classes to generate local class member instances
  • added generating of makeFIELD() method for structure types in Java class converter
  • refactoring

release 1.4.1

20 Aug 12:16
f382110
Compare
Choose a tag to compare
  • fixed incompatibility in tokenizer regex syntax for Android SDK #23
  • added DslBinCustom annotation to provide way to mark custom type fields for JBBPDslBuilder
  • fixed NPE in JBBPDslBuilder for not-provided outBitNumber attribute in annotated field marked as type BIT or BIT_ARRAY #20
  • naming of fields has been made more tolerant, now it is allowed to have field names with names similar to data types
  • improved check of field names in JBBPDslBuilder #21