Skip to content

Release notes

Here you can find the release notes of all CrossGenerate releases up till the release this documentation applies to. Click on the header of a version number to go to the documentation of that specific version.

Version 2.5

  • 2.5.0 04-01-2019

    Enhanced features

    • Template
      • Text and XML template section annotations
        • Within a section annotation, the placeholderName from the ModelSectionBinding can be overridden with a specific placeholderName for the section.
        • Within a section annotation, the placeholderName from the ModelSectionBinding can be overridden with a specific placeholderName for the section.
    • Config
      • Config re-use
        • Include directive in config now better supports relative includes (relative to the referencing file instead of application folder)
        • Include directive in config supports including parts of another config file with the xpointer function
      • Text and XML sections
        • A section can be marked as optional. When the section is not found in the template, an informational message will be given instead of a warning.

    Bug fixes

    • Config
      • Text and XML sections
        • Reduced severity of sections defined in config but not found in template to warning or informational. This can be a result of applying a more generic config, in which case it is intended behaviour.

Version 2.4

  • 2.4.0 07-11-2018

    New features

    • Binding
      • Bind a model element on a template section (SectionModelBinding)
        • Specify a variable name for the current element within a SectionModelBinding (variableName)
      • Define a placeholder for a model element within a section binding (Placeholder)
        • Specify a variable name for the element the modelXPath of the placeholder points to (variableName)
      • Define a literal (placeholder) for a model element within a section binding (Literal)

    Enhanced features

    • Improved error message on XPath parse error for Model & XML Template XPath expressions

    Bug fixes

    • Model
      • Model Attribute injection
        • Error message when applying incorrect XPath in targetXPath attribute was misleading, suggesting incorrect modelXPath instead of targetXPath
    • Template
      • Text template
        • With sections with a prefix the leading whitespace was included twice for first repetition
        • Carriage return with line-feed (CRLF) in template were converted into LF and removed from placeholder value

Version 2.3

  • 2.3.1 11-09-2018

    Bug fixes

    • Template
      • XML Template
        • TemplatePlaceholderInjection ignored namespace part of template node
  • 2.3 25-07-2018

    New features

    • Template
      • XML Template
        • Remove a node from the template (TemplateNodeRemoval)

    Bug fixes

    • Template
      • XML Template
        • Wrong section bounds found for XML nodes when template contained special characters

Version 2.2

  • 2.2 25-06-2018

    New features

    • Model
      • Remove a node from the model (ModelNodeRemoval)

Version 2.1

  • 2.1 03-06-2018

    New features

    • Commandline options
      • Enable debug mode
      • Specify log level and destination
    • Template
      • XML Template
        • Support text template in XML templates (TextTemplate)

    Bug fixes

    • Template
      • Text Template
        • Adjecant placeholders were not resolved in section based template
        • Suffix was on next line when section includes newline
      • XML Template
        • XML Output formatting was not same as input

Version 2.0

  • 2.0 22-02-2018

    New features

    • Commandline options
      • Specify Model - Template - Config combinations
    • Application config
      • Specify folder locations (config, model, output & template)
    • Generation config
      • Configure whether output is a single or multiple files (Output)
    • Model
      • Support for a XML model file
      • Inject an attribute into a model element (ModelAttributeInjection)
    • Template
      • Text Template
        • Define a section in text template
        • Define a section in the config for text templates (TextSection)
        • Support for prefixes and suffixes in a Section (TextSection.prefix & TextSection.suffix)
        • Add template comments to a text template (Comment annotation)
        • Specify annotation format for a text template (FileFormat)
        • Specify placeholder format for a text template (FileFormat)
        • Specify comment format for a text template (FileFormat)
      • XML Template
        • Define a section in a XML template
        • Define a section in the config for XML templates (XmlSection)
        • Add template comments to a XML template (Comment annotation)
        • Inject an attribute into a XML template element (TemplateAttributeInjection)
        • Inject a placeholder in an existing XML node (element or attribute) (TemplatePlaceholderInjection)
        • Specify annotation format for a xml template (FileFormat)
        • Specify placeholder format for a xml template (FileFormat)
        • Specify comment format for a xml template (FileFormat)
    • Binding
      • Bind a model element on a template section (SectionModelBinding)
      • Define a placeholder for a model element within a section binding (Placeholder)