Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ subprojects { project ->

if(isPluginProject) {
group "org.grails.plugins"
version( rootProject.version - '.RELEASE' )
version( rootProject.version )
}
else {
group "org.grails"
Expand Down
2 changes: 1 addition & 1 deletion docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ asciidoctor {
'icons' : 'font',
'reproducible' : '',
'version' : project.version,
'pluginVersion' : project.version - '.RELEASE',
'pluginVersion' : project.version,
'mongoDriverVersion': mongodbDriverVersion,
'sourcedir' : "${project.rootDir}"
}
Expand Down
7 changes: 4 additions & 3 deletions docs/src/docs/asciidoc/introduction/releaseNotes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ Below are the details of the changes across releases:

==== 7.1

* Support Groovy 3
* Upgrade to mongodb-driver-sync 4.0.3
* Autowire bean by type in the Data Service.
* Support Apache Groovy 3, and Java 14
* Upgrade to mongodb-driver-sync 4.3.3
* Autowire bean by type in the Data Service
* Compatible only with Grails 5

==== 7.0

Expand Down
32 changes: 29 additions & 3 deletions docs/src/docs/asciidoc/introduction/upgradeNotes.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
==== Removal of the RxGORM Module
==== Dependency Upgrades

Due to lack of interest and usage from the community, the RxGORM module for MongoDB has been removed.
GORM 7.1 supports Apache Groovy 3, Java 14, MongoDB Driver 4.3 and Spring 5.3.x.

Each of these underlying components may have changes that require altering your application. These changes are beyond the scope of this documentation.

==== Default Autowire By Type inside GORM Data Services

A Grails Service (or a bean) inside GORM DataService will default to autowire by-type, For example:

_./grails-app/services/example/BookService.groovy_
```
package example

import grails.gorm.services.Service

@Service(Book)
abstract class BookService {

TestService testRepo

abstract Book save(String title, String author)

void doSomething() {
assert testRepo != null
}
}
```

Please note that with autowire by-type as the default, when multiple beans for same type are found the application with throw Exception. Use the Spring `@Qualifier annotation for https://docs.spring.io/spring-framework/docs/5.3.10/reference/html/core.html#beans-autowired-annotation-qualifiers[Fine-tuning Annotation Based Autowiring with Qualifiers].

If you use this module you should stick to the 6.1.x line of GORM.