Skip to content

Releases: ContextMapper/context-mapper-dsl

v5.12.0 - OOAD and JDL revised, Language Server (LSP) Architectural Spike

19 May 10:02
Compare
Choose a tag to compare

Changes in release v5.12.0:

  • The CML grammar for Use Cases and User Stories has been enhanced in order to generate Entity attributes and references in the OOAD transformations
  • In addition, the grammar supports specifying Use Cases according to the brief or casual template suggested by A. Cockburn.
    • An example Use Case out of his book modelled in CML can be found here.
    • Besides the improved interactions grammar, we added the scope and level attributes.
  • The OOAD transformation step 2 (generating subdomains) generates Entities with attributes and references by using the CML data mentioned above.
  • The input validations on the OOAD transformation dialogs (UIs) have been improved
    • Whitespaces etc. in input names no longer lead to transformation exceptions
  • The PlantUML generator no longer needs a Context Map in the input model.
    • The class diagrams for Bounded Context or subdomains can be generated without Context Map.
    • The generator just needs one of the following inputs:
      • a Bounded Context (with an Aggregate and Entities),
      • a Subdomain (with Entities)
      • a Context Map
  • We introduced a color coding in the PlantUML class diagrams according to the Event Storming colors.
    • Extract of an example:
      image
    • Encoding:
      • Domain Event: orange
      • Command: blue
      • Aggregate: yellow
  • The JDL template for microservice generation uses CML Value Objects as well.
    • Value Objects are mapped to JDL Entities now.
  • The Context Map generation OSGi bundle no longer contains a dependency to javax.annotations
    • Repeatedly caused problems in Eclipse.
  • We implemented a first "Architectural Spike" of our language server based on LSP here:

v5.11.0 - JHipster JDL & OOAD Improvements

29 Apr 15:09
Compare
Choose a tag to compare

Changes in release v5.11.0:

  • New transformations for rapid OOAD prototyping.
  • Improvement in OOAD transformation step 3: The domain model can now also be merged into an existing Bounded Context.
  • New generator template (Freemarker) to generate microservices (code) from CML Context Maps using JHipster and JHipsters JDL language
  • CML: New compiler warning, in case Entities or other domain objects are modeled inside a Module but not inside an Aggregate.
    • Modules can be used but we recommend to move domain objects inside an Aggregate (Modules can contain Aggregates).
    • Domain objects inside Modules but not Aggregates are ignored by the MDSL and Service Cutter generators.

v5.10.0 - Rapid object-oriented analysis and design

07 Apr 14:45
Compare
Choose a tag to compare

Changes in release v5.10.0:

v5.9.4

18 Mar 07:45
Compare
Choose a tag to compare

Bugfix release v5.9.4:

  • MDSL generator fix: Datatype blob is no longer supported by MDSL. Blob's are now mapped to the new datatype raw.
  • Glossary Freemarker template fix: The glossary Freemarker template for our generic generator contained a problem with rendering operation return types which is fixed now.

v5.9.3

11 Mar 14:09
Compare
Choose a tag to compare

Bugfix release v5.9.3:

  • Adds 'Freemarker Generator Template Examples' wizard to correct menu: File -> New -> Example...

v5.9.2

11 Mar 10:40
Compare
Choose a tag to compare

Bugfix release v5.9.2:

  • Freemarker example templates: updated glossary example to feature all new properties in v5.9.x properly
  • Usability fix: generic generator (Freemarker-based) persists the last template used (across workspace)

v5.9.1

10 Mar 15:00
Compare
Choose a tag to compare

Bugfix release v5.9.1:

  • Fixes Freemarker example templates problem (sample templates were not packaged into the plugin)

v5.9.0

10 Mar 12:44
Compare
Choose a tag to compare

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

v5.8.1

27 Feb 10:32
Compare
Choose a tag to compare

Bugfix release v5.8.1:

  • Fixes Eclipse installation problem (update site) in v5.8.0

v5.8.0

27 Feb 10:06
Compare
Choose a tag to compare

Changes in release v5.8.0: