Grails v4.0.2 Release Notes

Release Date: 2020-02-21 // 6 months ago
  • 🚀 Release Information

    Hot Reloading with JDK8

    👌 Support for spring-loaded was added back for JDK8 #11441. To enable:

    🏗 build.gradle

    dependencies { // Remove dev-tools from classpath// developmentOnly("org.springframework.boot:spring-boot-devtools") // Add springloaded as a jvm agent agent "org.springframework:springloaded:1.2.8.RELEASE"// (Optional) Native OSX file watcher runtimeOnly "io.methvin:directory-watcher:0.9.6"//...}
    

    NOTE: While spring-loaded continues to function - it has not been actively maintained for years.

    ⚡️ Updates

    • 🚀 Spring Boot 2.1.12
    • 🚀 Update to Micronaut 1.2.9
    • Update to Spock 1.3
    • ➕ Add flag to detect when a restart is due to spring-dev-tools or not. #11454

Previous changes from v4.0.1