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.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)
- Bind a model element on a template section (SectionModelBinding)
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
- Model Attribute injection
- 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
- Text template
- Binding
Version 2.3¶
-
2.3.1 11-09-2018
Bug fixes
- Template
- XML Template
- TemplatePlaceholderInjection ignored namespace part of template node
- XML Template
- Template
-
2.3 25-07-2018
New features
- Template
- XML Template
- Remove a node from the template (TemplateNodeRemoval)
- XML Template
Bug fixes
- Template
- XML Template
- Wrong section bounds found for XML nodes when template contained special characters
- XML Template
- Template
Version 2.2¶
- 2.2 25-06-2018
New features
- Model
- Remove a node from the model (ModelNodeRemoval)
- Model
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)
- XML Template
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
- Text Template
- Commandline options
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)
- Text Template
- Binding
- Bind a model element on a template section (SectionModelBinding)
- Define a placeholder for a model element within a section binding (Placeholder)
- Commandline options