You can read about the new features in Luigi v1.25.0 in the release notes below.
Ignore events from inactive iframes
With the changes made in Luigi v1.25, you will have the configurable option to no longer trigger events when an iframe micro frontend is not active. For reference, see the pull request.
getActiveFeatureToggles in Luigi Web Components
We added the function getActiveFeatureToggleList to the Luigi Web Components API. For more information, see the pull request.
Create React App Luigi Template
Create React App is a simple way to create React apps with no build configuration. With this release, Luigi added a new template to enable you to quickly deploy React micro frontends with Luigi. You can find the template on our GitHub repository.
Implement tests by using luigi mock module
Starting from this release, you can test Luigi using the Luigi mock module. This feature enables you to test micro frontends standalone without depending on Luigi Core. In the usual workflow, messages coming from Luigi Client to Luigi Core are processed by the Core and a proper response is sent back. However, by adding the Luigi mock module for Angular to your imports, you can intercept all Client calls and send a mocked Core response back. You can find more information in the documentation.
ViewGroup Background Option
In Luigi v1.25, we introduced the loadOnStartup property, which is added to a viewGroupSettings entry, in order to specify that a viewGroup is always present in the background. To use it, set loadOnStartup to true
, and it will load the respective viewGroup and preloadUrl in the background as soon as the app starts. For more information, see the documentation.
Option to hide top navigation
Starting from this release, you can use the new parameter header.disabled which allows you to hide only the top navigation in Luigi. Keep in mind we already have a similar hiding option for the left navigation or all navigation.
New js-test-application for e2e tests
We introduced a new Vanilla JS test application to replace using Luigi Fiddle locally as a test application. The new test application has no default Luigi config. A test has to call the application with a specific config. For more information, see the pull request.
Bugfixes
For a full list of bugfixes in this release, see our changelog.
Get the latest from Luigi
Always stay up to date with our growing collection of news, innvovations and video tutorials.