Skip to main content

Micro-Radiant 4.0.0

· 3 min read
Koen De Cock
Koen De Cock
R&D Engineer
Jorren Hendriks
Jorren Hendriks
R&D Engineer

This version introduces changes to how the javascript runtime libraries are loaded. It allows us to update the glint libraries without having to release a new micro-radiant version and removes a bottleneck that prevented us from introducing new components for the plugins.

There are also various improvements to better handle errors and reduce the number of synchronization issues.

Changes and improvements​

Glint​

The glint runtime is now packaged as part of a dedicated plugin. New releases are now available to the users as plugin updates.

Errors​

  • Improved the representation of errors that cause the project loading to fail, such as missing Components or invalid expansion-resources.
  • There was an issue that caused the project to get stuck in loading when an expansion-resources could not be found. This now shows an decent error message.
  • Fixed bug causing error messages to appear as [Object object].
  • Improved handling on newlines in error detail.
  • Fixed issue where a missing Component would be shown as an unknown error.

Synchronization​

  • Fixed issue where changes to nested elements, like ValueField in Field would not cause a model update. This had the unfortunate effect of these changes not being exported.
  • Fixed issue where the model server would report changes to properties not known by the plugins, causing the plugin to get confused.
  • Fixed issue in select-multiple-field where removing an option did not cause any updates.
  • Fixed error in serialization breaking on an undefined value.
  • Fixed issue when selecting a ValueFieldType that cleared the ValueField instead.
  • Fixed issue where a SimpleValueType would contain too many NativeTypes when first created.
  • Fixed issue where the last item of a list could not be removed.

Diagrams​

  • DataElement diagrams are now updated when making changes instead of needing a refresh.
  • Improved zoom behaviour of class diagrams to better respond to changes, in line with the state diagrams.
  • Added search field for classes in the class diagrams. The graph will zoom in on the class if there is a single match.
  • Fixed marker on aggregation edges.

Miscellaneous​

  • Imported modules, such as the base-components, are now readonly. You will not be able to perform actions and form fields are replaced with static text.

Migration​

Upgrading MR plugin​

  • Update the mr-plugin-expanders to 5.0.0 or newer.
  • Change the profile in expansionSettings.xml to NSX Plugin 4 or Standard Plugin 4. With this, the plugin will now target MR v4 and cannot be used in earlier versions.
  • Add the following expansion-resource:
    <expansionResource name="net.democritus.editor:mr-plugin-glint" version="2.6.2"/>

The glint expansion-resource can be updated to new releases to make use of new API's.

Metamodel improvements​

nsx-metamodel-stack v2025.8.0 has features to define formatting and required attributes. These will generate model validations. In addition, the mr-plugin-expanders will add field validations to the forms.