Upgrade Notes
Startup time improvements
Grails 3.0.12 includes significant startup time improvements. In order to achieve this, one of the things that has changed is limiting of the classpath used for scanning of Grails classes. Grails will now only scan classes relative to the Application
class. If you wish to restore the previous behaviour your can override the limitScanningToApplication
method of your Application
class to return false
:
@Override
protected boolean limitScanningToApplication() {
return false
}
Location of static resources
In order to resolve an issue around how POST requests are treated for REST applications on non-existent resources, static resources located in src/main/resources/public
are now resolved under the /static/**
URI by default, instead of the base URI /**
. If you wish to restore the previous behaviour add the following configuration:
grails.resources.pattern = '/**'