CHANGELOG

releases/code-generation/1.7.0 - 2023-09-22 11:15:12

Full Changelog: https://github.com/apache/plc4x-build-tools/compare/rel/1.7...releases/code-generation/1.7.0

rel/1.7 - 2023-09-22 11:07:57

What's Changed

Full Changelog: https://github.com/apache/plc4x-build-tools/compare/rel/1.6...rel/1.7

Feature

  • general:

    • Added a MetadataField interface to support metadata fields in dataIo types (24d3152)
  • code-gen:

    • typeSwitches in typeSwitches now allowed. (31f96b6)
  • build-tools:

    • Added a getNullBytesHex() method to access the hullBytesHex attribute on optional fields. (a66b0a5)

Documentation

  • code-gen:
    • add docs for isDiscriminatorOnAnyLevel and isDiscriminatorFieldInThisTypeOrAnyChild (86a7cff)

Refactor

  • code-gen:
    • optimize optional usage (0de6012)
    • Introduced two code-gen options: generate-properties-for-parser-arguments and generate-properties-for-reserved-fields (ed9647e)

releases/code-generation/1.6.0 - 2022-09-22 12:04:36

Full Changelog: https://github.com/apache/plc4x-build-tools/compare/rel/1.6...releases/code-generation/1.6.0

rel/1.6 - 2022-09-22 11:34:53

What's Changed

New Contributors

Full Changelog: https://github.com/apache/plc4x-build-tools/compare/rel/1.5...rel/1.6

Feature

  • codegen:

    • changed validation to fail parsing conditionally (12c6aa9)
    • added a get getAllFields method (24f61be)
    • Tried getting stuff working in C ;-) (6ef2695)
    • Fixed array type handling and data-io code generation (26e0a2f)
    • added new type conversion (ba2d024)
    • Started clening up the type references (3ff59b8)
    • Ensured the VariableLiterals are able to provide their type. (39be9f6)
    • moved functions from helper into types (1755a7c)
    • introduce TypeContext to transport more information out of code generation (70731aa)
  • code-generation:

    • Added the concept of a “protocol version” to the protocol modules and the code-generation plugin. (6d4e024)
  • general:

    • add peek field (2a7f841)
    • add validation field (efbcecb)
    • mspec extension with parameterized type refs, assert, try, const (548b557)
  • ci:

  • plc4x/codegen:

Bug Fixes

  • site:

    • partially update versions (73102c6)
  • general:

    • added missing extends to WildcardTerm (2792cd0)
    • Enabled the language tests again and fixed all the stuff that needed fixing after that. (9e8ec04)
    • Worked hard on getting the conditions for typeSwitches strongly typed. (WIP ... currently all Java modules work, C and Go still need some polishing) (8c0c38b)
    • Changed typeSwitch to no longer use expressions as discriminators (Now variableLiterals are required) in const fields now no longer expressions can be used and instead only Literals can be used. (d6f6ba2)
    • Changed typeSwitch to no longer use expressions as discriminators (Now variableLiterals are required) in const fields now no longer expressions can be used and instead only Literals can be used. (40d3992)
    • Changed typeSwitch to no longer use expressions as discriminators (Now variableLiterals are required) in const fields now no longer expressions can be used and instead only Literals can be used. (32cc800)
    • set maven version to the previous lts to give plugins a bit time to catch up (106e256)
    • Continued implementing the arguments in the parser fix: Set a byteOrder argument on every root-type in our mspec grammars (629ed6e)
    • getDiscriminatorCaseToKeyValueMap should return Map interface again (168a718)
    • fixed order on getDiscriminatorCaseToKeyValueMap (82324e5)
    • fix typo (d23c1d5) (#7)
  • codegen:

    • Added more testcases for the new field types and added support for them in Java, C and Go (49f41ca)
    • isNonDiscriminatorField has broken logic (5b038cf)
    • getAllVirtualFields returning wrong type (3072bf1)
    • fix ComplexTypeDefinition#isNonDiscriminatorField so it respects virtual fields too (ffbec8f)
    • fix ComplexTypeReference (a105b61)
    • put DataIo below ComplexType (eb5dcf5)
  • plc4j:

    • Made the bacnet RandomPackagesTest.java execute on Windows and updated the documentation on setting up libpcap on Windows. (4b0090a)
  • .mvn:

    • upgrading mvn wrapper to 3.6.3 (previous LTS version) (8fe7394)
  • ci:

    • remove java 8 from platform ensurance (93d5974)
    • remove not needed languages from codeql (83541a0)
    • fix build by using min java version (65c1385)
    • add mvn wrapper at top level (ed7641c)
  • plc4j/codgen:

    • avoid duplicating params (7b0da44)
    • fixed data reader complex working with a empty logical name (e709e45)

Refactor

  • codegen:

    • move WildcardTerm to build-tools (5b9129b)
    • change index on variable literal to make use of optional (57e8c65)
    • replaced some lookups (59cf376)
    • fixed enum type definition (70b443c)
    • fixed enum type defintion (7c8383b)
    • fixed some open todos (121c789)
    • moved default types to mspec base (5739421)
  • codegen/plc4go:

    • avoid duplicating arguments as fields when present in parent (0ecd07c)
  • general:

    • cleanup pom (6d7364d)
    • add todos to TypeDefinition (4397826)
    • cleanup interfaces and add functionality (f75623e)
  • plc4j/codgen:

releases/code-generation/1.5.0 - 2021-09-08 17:57:20

Full Changelog: https://github.com/apache/plc4x-build-tools/compare/rel/1.5...releases/code-generation/1.5.0

rel/1.5 - 2021-09-08 17:48:46

What's Changed

New Contributors

Full Changelog: https://github.com/apache/plc4x-build-tools/compare/rel/1.4...rel/1.5

Bug Fixes

  • general:
    • sneaky colection import (01bbb6e)
    • add missing getAbstractFields to ComplexTypeDefinition (f2d08e2)

releases/code-generation/1.4.0 - 2020-12-13 16:37:43

Full Changelog: https://github.com/apache/plc4x-build-tools/compare/rel/1.4...releases/code-generation/1.4.0

rel/1.4 - 2020-12-13 16:27:40

What's Changed

Full Changelog: https://github.com/apache/plc4x-build-tools/compare/rel/1.3...rel/1.4

releases/code-generation/1.3.0 - 2020-09-08 11:25:05

Full Changelog: https://github.com/apache/plc4x-build-tools/compare/rel/1.3...releases/code-generation/1.3.0

rel/1.3 - 2020-09-08 11:06:50

Full Changelog: https://github.com/apache/plc4x-build-tools/compare/rel/1.2...rel/1.3

rel/1.2 - 2020-03-29 12:37:09

What's Changed

New Contributors

Full Changelog: https://github.com/apache/plc4x-build-tools/compare/rel/1.1...rel/1.2

plc4x-code-generaton-1.2.0 - 2020-03-29 12:41:07

What's Changed

New Contributors

Full Changelog: https://github.com/apache/plc4x-build-tools/commits/plc4x-code-generaton-1.2.0

release/code-generation/1.1.0 - 2020-01-04 19:23:33

Full Changelog: https://github.com/apache/plc4x-build-tools/commits/release/code-generation/1.1.0

rel/1.1 - 2020-01-04 19:16:05

Full Changelog: https://github.com/apache/plc4x-build-tools/commits/rel/1.1

release/code-generation/1.0.0 - 2019-09-26 10:12:44

Full Changelog: https://github.com/apache/plc4x-build-tools/commits/release/code-generation/1.0.0

rel/1.0 - 2019-09-26 09:56:59

Full Changelog: https://github.com/apache/plc4x-build-tools/commits/rel/1.0

* This CHANGELOG was automatically generated by auto-generate-changelog