Which version of Grails is more compatible with the current list of plugins?

I am trying with Grails 2.5.0 release, but I had compatibility issues with some plugins I tried (e.g. searchable)

Which version of Grails do you recommend starting a new project? I would like to start with a version more compatible with the list of current Grails plugins https://grails.org/plugins/

I'm not interested in the newer version, but the most compatible / stable one with the current list of plugins.

+3


source to share


1 answer


Both 2.4.x and 2.5.x will work fine with current plugins in general.

Without any details, it is hard to see why the search plugin is not working for you, but note that it only works with Hibernate 3, and by default new Grails applications use Hibernate 4. But you can see that Hibernate 3 configurations are commented out in BuildConfig.groovy and DataSource.groovy so you can easily revert to Hibernate 3.



Having said that, don't use search. The main Compass library is no longer supported and using a searchable plugin will cause scaling issues as it is very inconvenient to force it to use a shared index between servers. The author of Compass created Elasticsearch and this is a much better option. An actively maintained plugin is also supported there .

+1


source







All Articles