rulii-explorer 1.2.0
rulii-explorer 1.2.0 is on Maven Central as org.rulii:rulii-explorer-spring-boot-starter. It requires rulii 2.3.0 and rulii-spring 2.3.0, and the Beans section needs rulii-bean-validation 1.1.0. It is a release of fixes; what the explorer shows is unchanged. The full list is in the change log.
An application on WebFlux without Spring MVC starts
Section titled “An application on WebFlux without Spring MVC starts”In 1.0.0 and 1.1.0 an application that had WebFlux and no Spring MVC did not start when the explorer’s page was on, which is the default. Start-up ended in:
NoClassDefFoundError: org/springframework/web/servlet/config/annotation/WebMvcConfigurerThe WebFlux configuration read a setting kept in the Spring MVC one, and that class cannot be loaded without Spring MVC. An application with both web stacks on its classpath never saw it, and neither did the explorer’s tests, which had both. The setting has moved to a place of its own, and the tests now also run once with each web stack taken off the classpath.
If you have to stay on 1.1.0 for now, rulii.explorer.ui.enabled=false avoids the failure: the descriptor endpoint works and the page is not served.
A warning at start-up is gone
Section titled “A warning at start-up is gone”An application with one web stack logged this at start-up:
Failed to introspect meta-annotation @Import on class ...RuliiExplorerAutoConfiguration: TypeNotPresentExceptionIt was harmless, and it is gone. UiMvcConfiguration and UiWebFluxConfiguration are now auto-configurations of their own, applied after RuliiExplorerAutoConfiguration. When the page is served has not changed.
Built against rulii 2.3.0
Section titled “Built against rulii 2.3.0”In rulii-spring 2.3.0 Bean Validation on rulii is opt-in: rulii-bean-validation no longer comes with rulii-spring. The explorer follows. Its Beans section (rulii.explorer.beans.enabled=true) needs the library in the application, which is also what makes rulii the application’s Validator:
<dependency> <groupId>org.rulii</groupId> <artifactId>rulii-bean-validation</artifactId> <version>1.1.0</version></dependency>Without it the section stays off, as it does with rulii.validation.enabled=false.
The descriptor now carries the rulii version the application runs on (ruliiVersion), which read “unknown” on rulii 2.2.0.
Getting it
Section titled “Getting it”<dependency> <groupId>org.rulii</groupId> <artifactId>rulii-explorer-spring-boot-starter</artifactId> <version>1.2.0</version></dependency>Or import rulii-bom 2.3.0, which pins it with the matching rulii, rulii-spring and rulii-bean-validation.