Announcing OpenMRS SDK 4.2.0

Hi everyone!

Today I’m announcing the release of OpenMRS SDK 4.2.0. As I previously teased, this involves a large number of upgrades to components used by the SDK to more up-to-date versions. While I’ve been using the SDK with these changes for a while personally (and if you’ve used any of the SNAPSHOT builds, you will have done so as well), there may be issues that I haven’t encountered, so please report them here.

In addition to those changes, 4.2.0 includes the following enhancements:

  • When building a distro, it is now possible to specify the version of the appshell to use by setting the spa.core property in the file to the appropriate version. Previously, the next version of the appshell was always used.
  • The SDK now defaults to using Tomcat 9 when using the openmrs-sdk:run command.
  • The SDK now properly supports passing Maven proxy settings to Node, so that if you’re using Maven to build a distribution behind a proxy, Node should use the same proxy settings as those configured for Maven.

Note that if you run into any blocking issues, previous versions of the SDK are still available and can be used. For instance, to run a server using the previous release (4.1.1) the command looks like this:

mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.1.1:run <usual arguments here if any>

@ibacher this is really good news. Congratulations for the milestone.

@ibacher I installed SDK 4.2 and built a server with it, however, what i find confusing is that the server brings an Error when I start the server with mvn openmrs-sdk:run. I realized that even with SDK 4.2 , my server starts successfully only with

mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.1.1:run

Is there something I missed out @ibacher ?