Changelog Companion Twirl Templates

4.0.2

Released on 2024-02-06

Change

Bug fixes

  • Decompiling a bind of type EventQueueBinding that is not implemented was creating a BindOutBoundIntegrationEndpoint instead of returning an xml

4.0.1

Released on 2023-09-29

Change

The functionDependencies parameter has been added for the following templates:

Update c4dSetup template to change TransactionType from STRICT to CHAIN

Bug fixes

A few corrections have been made to the decompiler using template feature:

  • Business libraries cannot be decompiled if the Referenced and Selected fields are present in the XML.
  • Function Dependencies were taken into account in templates even though they were not managed at compile time.
  • Fix missing parameter in the user binding
  • Fix typo in BindOutboundIntegrationEndpoint and BindGatewayIntegrationEndpoint name
  • Fix extraction of BindFunction parameters
  • Fix unescaping of error messages

4.0.0

Released on 2023-08-31

Breaking changes

This version introduce several Breaking Changes:

  • onApprove parameter has been removed for GlobalBusinessAction, you should now use approve parameter. If it was used with value true, use the value TriggerAndApprove() for approve.
  • onApprove parameter has been removed for GlobalBusinessCondition, you should now use approve parameter. If it was used with value true, use the value ValidateBefore() for approve.
  • onApprove parameter has been removed for JavascriptGlobalBusinessAction, you should now use approve parameter. If it was used with value true, use the value TriggerAndApprove() for approve.
  • onApprove parameter has been removed for JavascriptGlobalBusinessCondition, you should now use approve parameter. If it was used with value true, use the value ValidateBefore() for approve.

New feature

From this version onwards, Companion for Delivery can use Decompiler to generate files using the defined templates. All the templates defined in these two chapters are supported:

Change

The name parameter has been made optional for the following templates by adding the default value "":

3.1.0

Released on 2023-07-28

New Features

3.0.2

Released on 2023-06-16

Bug fixes

  • Fix onApprove behaviour when set to false (ApproveSetup must be set to Never).

3.0.1

Released on 2023-03-17

New Features

3.0.0

Released on 2023-03-02

Breaking changes

This version introduces several Breaking Changes:

  • Template GlobalBusinessAction has been renamed in JavascriptGlobalBusinessAction
  • Template GlobalBusinessCondition has been renamed in JavascriptGlobalBusinessCondition
  • Template LocalBusinessAction has been renamed in JavascriptLocalBusinessAction
  • Template LocalBusinessCondition has been renamed in JavascriptLocalBusinessCondition
  • Parameter runprivileges has been removed, you should replace it by runPrivileged
  • Parameter allTypeValid has been removed, you should replace it by allTypesValid

New Features

2.2.0

Released on 2023-01-10

Breaking changes

This version was compiled with Companion for Delivery version 5.1.0 which upgrades the scala version to 2.13. This version is not compatible with older versions of Companion for Delivery.

2.1.0

Released on 2022-11-04

New Features

2.0.0

Released on 2022-09-12

Breaking changes

Due to the renaming of packages in Companion for Delivery with version 5.0.0, we have made the same changes in Companion Twirl Templates. This version is only compatible with C4d version 5.0.0.

You must update your dependency on twirl-templates in the pom.xml file :

Before :

<dependency>
    <groupId>fr.cantor.companion.templates</groupId>
    <artifactId>twirl-templates</artifactId>
    <version>${c4d.templates.version}</version>
</dependency>

 



After :

<dependency>
    <groupId>fr.cantor.c4d.templates</groupId>
    <artifactId>twirl-templates</artifactId>
    <version>${c4d.templates.version}</version>
</dependency>

 



All template-related imports in the .companion.xml files must be updated from fr.cantor.companion to fr.cantor.c4d. This update is managed by the migration tool

Change

Some option name have been updated to correct naming errors for GlobalBusinessAction, GlobalBusinessCondition, LocalBusinessAction and LocalBusinessCondition templates. The old option names still work.

  • allTypeValid -> allTypesValid
  • runprivileges -> runPrivileged

1.1.2

Released on 2021-01-14

Change

See Developer -> Companion Twirl Templates -> BusinessRules Templates

Bug fixes

See Developer -> Companion Twirl Templates -> BusinessRules Templates

1.1.1

Released on 2020-10-06

New Features

See Developer -> Companion Twirl Templates -> Configuration Templates

Bug fixes

1.1.0

Released on 2020-09-14

New features

Bug fixes

  • Fix bad id inside templates plugin_applies_if_config instead of applies_if_config

1.0.0

Released on 2020-06-24

New features

Last Updated: