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 3.2¶
- 3.2.0 01-03-2024
Enhanced features
- Model
- Model XML Inclusions (XInclude) support
- Added support for XML Inclusions, so the model file can now consist of multiple files (for example decomposed PowerDeComposer files).
- Model XML Inclusions (XInclude) support
- Config
- Model
- Added support for specifying whether the model should be parsed namespace aware.
- Model
Bug fixes
- Commandline options
- Fixed writing preprocessed model and template when debug mode is enabled.
- Model
Version 3.1¶
- 3.1.0 09-02-2024
Enhanced features
- Generic
- When CrossGenerate fails with an error the exit code will now be 1 (i.s.o. 0).
- Config
- Template
- Added support for specifying line separator in FileFormat and TextSection configuration. Mainly applicable for text templates in xml template, to support encoded newlines.
- Template
Bug fixes
- Commandline options
- Fixed creation of the log folder path specified with the -FileLogDestination or -fld option, if it does not exist yet.
- Config
- Text sections
- Section endings at the end of a template are now correctly handled (i.s.o. end of section not found errors).
- Text sections
- Generic
Version 3.0¶
- 3.0.0 13-08-2021
New features
- Config
- Model
- Added ValueMappings support in ModelAttributeInjection in order to perform a translation on a model node.
- Model
Enhanced features
- Application config
- Removed license configuration part, since CrossGenerate is open-source and free now.
- Config
Version 2.6¶
- 2.6.0 24-05-2019
New features
- Commandline options
- Option to enable progress screen
Enhanced features
- Config
- Text sections
- When no single or multiline comment prefix or suffix markers have been specified in the FileFormat a log message is given (INFO level) to support troubleshooting.
- Added 'all' prefix and suffix style.
- Model
- Added support for model XML files with namespaces. Namespaces needed for section model binding, model attribute injection and model node removal can now be specified in the model config.
- Text sections
Bug fixes
- Template
- Text template
- Fixed issue where end of a section could also be found in the begin part of a section.
- Fixed issue where a section can't be created inside a comment.
- Text template
- Commandline options
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.
- Text and XML template section annotations
- 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.
- Config re-use
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.
- Text and XML sections
- Template
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