Skip to content

v5.9.0

Compare
Choose a tag to compare
@stefan-ka stefan-ka released this 10 Mar 12:44

Changes in release v5.9.0:

  • Generators respect DomainEvent's and CommandEvent's

  • Generic generator (templating):

    • Updated Freemarker to version 2.3.30
    • Two new templating helper functions for Bounded Context filtering:
      • filterBoundedContexts returns BoundedContexts which are not teams
      • filterTeams returns BoundedContext which are teams
    • New templating helper function to get type string of a ComplexType object:
      • getType: takes a ComplexType object and returns the type as a String
    • The following new root variables can now be used in Freemarker templates:
      • projectName: returns the name of the Eclipse project that contains the processed CML model
      • username: returns the system user name of the current user
      • contextMapperVersion: returns the version of the Context Mapper plugin
  • New keybindings in Eclipse CML editor:

    • Shift-Alt-T provides quick access to refactorings (same keybinding as Java refactorings)

      • Note: cursor has to be on the object you want to refactor.

      image

    • Shift-Alt-G provides quick access to the generators

      image

  • New wizards in Context Mapper Eclipse plugin:

    • 'New Context Mapper DSL (CML) File' wizard allows to create a new CML file:

    image
    image

    • 'Freemarker Generator Template Examples' wizard can be used to create a project containing our example Freemarker templates
      • Currently contains an example template for a Ubiquitous language glossary written in Markdown

    image
    image