Skip to content

Commit

Permalink
Merge branch 5.3.x (#12908)
Browse files Browse the repository at this point in the history
* Update dependabot.yml

* Update aspectjVersion to v1.9.19 (#12822)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fix typo in Readme (#12838)

* Update Micronaut monorepo (#12806)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Bump grails-datastore-gorm-hibernate5 from 7.3.0 to 7.3.1 (#12824)

Bumps [grails-datastore-gorm-hibernate5](https://github.com/grails/gorm-hibernate5) from 7.3.0 to 7.3.1.
- [Release notes](https://github.com/grails/gorm-hibernate5/releases)
- [Commits](grails/gorm-hibernate5@v7.3.0...v7.3.1)

---
updated-dependencies:
- dependency-name: org.grails:grails-datastore-gorm-hibernate5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update spring boot to v2.7.8 (#12823)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.gradle.enterprise to v3.12.2 (#12813)

* Update plugin com.gradle.enterprise to v3.12.2

* Remove explicit test-rety plugin

Gradle Enterprise 3.12.2 implicity includes the test-retry plugin

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Puneet Behl <[email protected]>

* Update apache-tomcat monorepo to v9.0.71 (#12842)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update apache-maven-resolver monorepo to v1.9.4 (#12841)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update apache-ant monorepo to v1.10.13 (#12830)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Micronaut Spring monorepo to v4.5.0 (#12846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update spring core to v5.3.25 (#12845)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update junit5 monorepo (#12844)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency net.java.dev.jna:jna to v5.13.0 (#12847)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update release-drafter/release-drafter action to v5.22.0 (#12849)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.methvin:directory-watcher to v0.17.3 (#12856)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update plugin com.gradle.enterprise to v3.12.3 (#12853)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Micronaut monorepo to v3.8.3 (#12852)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Grails Profile BOM (#12857)

Update grails angular profile to 8.0.2

* Release v5.3.0

* Back to 5.3.1-SNAPSHOT

* Fix for Groovy STC and SC issues (#12851)

* `@CompileStatic` property access

* `@CompileStatic` property access

* `@CompileStatic` collection element type

* Update Micronaut monorepo to v3.8.4 (#12862)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update datastoreVersion to v7.3.3 (#12861)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.apache.maven:maven-resolver-provider to v3.9.0 (#12843)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.methvin:directory-watcher to v0.18.0 (#12866)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Grails Gradle Plugin to 5.2.5 (#12865)

* Update dependency com.netflix.nebula:gradle-extra-configurations-plugin to v9 (#12818)

* Update dependency com.netflix.nebula:gradle-extra-configurations-plugin to v9

* Update nebula.optional-base plugin id

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Puneet Behl <[email protected]>

* Update alpine Docker tag to v20230208 (#12864)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update Vue profile to 5.0.3 (#12867)

* Update from Micronaut 3.5.4 to 3.5.7 (#12871)

* Update Grails Gradle Plugin to 5.2.6 (#12872)

* Release v5.2.6

* Back to 5.2.7-SNAPSHOT

* Update dependency commons-fileupload:commons-fileupload to v1.5 (#12869)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Dependency cleanup (#12868)

Remove dependency to tomcat-embed-logging-log4j from grails-plugin-datasource
Issue #11631 (#11631)

* Update Grails Gradle Plugin to 5.3.0 (#12873)

* Release v5.3.1

* Back to 5.3.2-SNAPSHOT

* Revert "Update dependency org.apache.maven:maven-resolver-provider to v3.9.0 (#12843)"

This reverts commit 9fdfad5.

* Release v5.3.2

* Back to 5.3.3-SNAPSHOT

* Update Micronaut monorepo to v3.8.5 (#12876)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.github.gradle-nexus:publish-plugin to v1.2.0 (#12881)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update release-drafter/release-drafter action to v5.23.0 (#12880)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jsoup:jsoup to v1.15.4 (#12878)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update gspVersion to v5.2.2 (#12877)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency gradle to v6.9.4 (#12882)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update apache-tomcat monorepo to v9.0.72 (#12884)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update spring boot to v2.7.9 (#12885)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update apache-maven-resolver monorepo to v1.9.5 (#12883)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mattias Reichel <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Milles <[email protected]>
Co-authored-by: ivo-k <[email protected]>
  • Loading branch information
6 people authored Mar 7, 2023
1 parent ae52555 commit 396fa43
Show file tree
Hide file tree
Showing 22 changed files with 46 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .github/actions/post-release/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Container image that runs your code
FROM alpine:20220715
FROM alpine:20230208

RUN apk add --no-cache curl jq git bash

Expand Down
2 changes: 1 addition & 1 deletion .github/actions/pre-release/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Container image that runs your code
FROM alpine:20220715
FROM alpine:20230208

RUN apk add --no-cache curl jq git bash

Expand Down
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ updates:
- "type: dependency upgrade"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
update-types: ["version-update:semver-minor", "version-update:semver-major"]
- package-ecosystem: gradle
directory: "/"
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id: extract_branch
run: echo ::set-output name=value::${GITHUB_REF:11}
# If it has release drafter:
- uses: release-drafter/release-drafter@6df64e4ba4842c203c604c1f45246c5863410adb # tag=v5.21.1
- uses: release-drafter/release-drafter@569eb7ee3a85817ab916c8f8ff03a5bd96c9c83e # v5.23.0
if: steps.check_release_drafter.outputs.has_release_drafter == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Grails

[Grails](https://grails.org/) is a framework used to build web applications with the [Groovy](https://groovy-lang.org/) programming language. The core framework is very extensible and there are numerous [plugins](https://plugins.grails.org/) available that provide easy integration of add-on features.

Grails development is lead by the [Grails Foundation](https://grails.org/foundation/) and is sponsored by [Object Computing Inc.](https://objectcomputing.com/) in St. Louis Missouri. Please contact <[email protected]> for support inquiries.
Grails development is led by the [Grails Foundation](https://grails.org/foundation/) and is sponsored by [Object Computing Inc.](https://objectcomputing.com/) in St. Louis Missouri. Please contact <[email protected]> for support inquiries.

Getting Started
---
Expand Down
14 changes: 6 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ buildscript {
}
dependencies {
classpath "commons-io:commons-io:2.11.0"
classpath "io.github.gradle-nexus:publish-plugin:1.1.0"
classpath "com.netflix.nebula:gradle-extra-configurations-plugin:7.0.0"
classpath "io.github.gradle-nexus:publish-plugin:1.2.0"
classpath "com.netflix.nebula:gradle-extra-configurations-plugin:9.0.0"
classpath "com.bmuschko:gradle-nexus-plugin:$gradleNexusPluginVersion"
classpath "gradle.plugin.io.sdkman:gradle-sdkvendor-plugin:$gradleSdkVendorVersion"
classpath "javax.xml.bind:jaxb-api:$jaxbVersion"
classpath "com.sun.xml.bind:jaxb-impl:$jaxbVersion"
classpath "org.codehaus.groovy.modules.http-builder:http-builder:0.7.2"
classpath "org.gradle:test-retry-gradle-plugin:1.5.0"
}
}

Expand Down Expand Up @@ -349,8 +348,7 @@ subprojects { project ->
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'project-report'
apply plugin: 'nebula.optional-base'
apply plugin: "org.gradle.test-retry"
apply plugin: 'com.netflix.nebula.optional-base'

if (!isTestSuite) {

Expand Down Expand Up @@ -487,9 +485,9 @@ subprojects { project ->
api groovyDependency

testImplementation "org.codehaus.groovy:groovy-test-junit5:${groovyVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.9.1"
testImplementation "org.junit.platform:junit-platform-runner:1.9.1"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.9.1"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.9.2"
testImplementation "org.junit.platform:junit-platform-runner:1.9.2"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.9.2"

if (project.name != "grails-docs") {
// Logging
Expand Down
22 changes: 11 additions & 11 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
projectVersion=6.0.0-SNAPSHOT
antVersion=1.10.12
aspectjVersion=1.9.9.1
antVersion=1.10.13
aspectjVersion=1.9.19
asyncVersion=4.0.0
caffeineVersion=2.9.3
cglibVersion=2.2.2
commonsLangVersion=2.6
datastoreVersion=7.3.2
datastoreVersion=7.3.3
directoryWatcherVersion=0.9.9
gdocEngineVersion=1.0.1
gradleNexusPluginVersion=2.3.1
gradleNexusStagingPluginVersion=0.12.0
gradleSdkVendorVersion=1.2.1
groovyVersion=3.0.11
gspVersion=5.2.1
gspVersion=5.2.2
h2.version=1.4.199
h2Version=1.4.200
hibernateDatastoreVersion=7.2.2
Expand All @@ -22,28 +22,28 @@ javaParserCoreVersion=3.15.14
javaxAnnotationApiVersion=1.3.2
jaxbVersion=2.3.1
jlineVersion=2.14.6
jnaVersion=5.12.1
jnaVersion=5.13.0
junitVersion=4.13.2
logbackVersion=1.2.7
legacyConvertersVersion=4.0.0
methvinDirectoryWatcherVersion=0.17.1
methvinDirectoryWatcherVersion=0.18.0
micronautCacheVersion=3.5.0
micronautRuntimeGroovyVersion=3.0.0
micronautSpringVersion=4.3.1
micronautVersion=3.7.4
micronautSpringVersion=4.5.0
micronautVersion=3.8.5
mongodbJavaDriverVersion=4.5.0
objenesisVersion=3.3
scaffoldingCoreVersion=2.1.0
servletApiVersion=4.0.1
slf4jVersion=1.7.36
spockVersion=2.1-groovy-3.0
springBootVersion=2.7.6
springBootVersion=2.7.9
springLoadedVersion=1.2.8.RELEASE
springVersion=5.3.24
springVersion=5.3.25
testingSupportVersion=2.4.1
testingSupportVersionForTests=2.6.1
tomcatLog4jVersion=8.5.2
tomcatVersion=9.0.70
tomcatVersion=9.0.72
viewsVersion=2.3.2
org.gradle.caching=true
org.gradle.parallel=true
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion grails-bom/plugins.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
gorm.hibernate5=7.3.0
gorm.mongodb=7.3.0
gorm.neo4j=7.3.0
grails-gradle-plugin=5.2.4
grails-gradle-plugin=5.3.0
cache=5.0.1
rxjava=1.1.1
rxjava2=2.0.0
Expand Down
4 changes: 2 additions & 2 deletions grails-bom/profiles.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ rest-api=5.0.1
base=5.1.1
web=5.0.5
react=5.0.1
vue=5.0.2
vue=5.0.3
plugin=5.0.1
profile=5.0.2
rest-api-plugin=5.0.1
web-plugin=4.0.1
angular=8.0.1
angular=8.0.2
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@ class CodeGenConfig implements Cloneable, ConfigMap {
}

CodeGenConfig(CodeGenConfig copyOf) {
this((Map<String, Object> )copyOf.configMap)
this(copyOf.getConfigMap())
}

CodeGenConfig(Map<String, Object> copyOf) {
this()
mergeMap(copyOf)
}


@Override
CodeGenConfig clone() {
new CodeGenConfig(this)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ class NavigableMap implements Map<String, Object>, Cloneable {
delegateMap.toString()
}

@CompileDynamic
public NavigableMap clone() {
return new NavigableMap(rootConfig, path, delegateMap.clone())
@Override
NavigableMap clone() {
new NavigableMap(getRootConfig(), getPath(), new LinkedHashMap<>(getDelegateMap()))
}

@Override
Expand Down Expand Up @@ -241,7 +241,7 @@ class NavigableMap implements Map<String, Object>, Cloneable {
subMap = (NavigableMap)currentValue
}
else {
subMap = new NavigableMap( (NavigableMap)targetMap.rootConfig, newPathList.asImmutable())
subMap = new NavigableMap(targetMap.getRootConfig(), newPathList.asImmutable())
if(currentValue instanceof Map) {
subMap.putAll((Map)currentValue)
}
Expand Down Expand Up @@ -354,7 +354,7 @@ class NavigableMap implements Map<String, Object>, Cloneable {
newPathList.addAll( currentMap.getPath() )
newPathList.add(pathElement)

Map<String, Object> newMap = new NavigableMap( (NavigableMap)currentMap.rootConfig, newPathList.asImmutable())
Map<String, Object> newMap = new NavigableMap(currentMap.getRootConfig(), newPathList.asImmutable())
currentMap.put(pathElement, newMap)

def fullPath = accumulatedPath.toString()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ class GlobalGrailsClassInjectorTransformation implements ASTTransformation, Comp

protected static void generatePluginXml(ClassNode pluginClassNode, String pluginVersion, Set<String> transformedClasses, File pluginXmlFile) {
def pluginXmlExists = pluginXmlFile.exists()
Set pluginClasses = []
Set<String> pluginClasses = []
pluginClasses.addAll(transformedClasses)
pluginClasses.addAll(pendingPluginClasses)

Expand Down
2 changes: 1 addition & 1 deletion grails-docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies {

runtimeOnly('com.lowagie:itext:2.0.8')

api 'org.jsoup:jsoup:1.15.3'
api 'org.jsoup:jsoup:1.15.4'
testImplementation("org.spockframework:spock-core:${spockVersion}") { transitive = false }
}

Expand Down
1 change: 0 additions & 1 deletion grails-plugin-datasource/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ dependencies {
api "org.grails:grails-datastore-core:$datastoreVersion"

compileOnly "org.apache.tomcat:tomcat-jdbc:$tomcatVersion"
runtimeOnly "org.apache.tomcat.embed:tomcat-embed-logging-log4j:$tomcatLog4jVersion"

api project(":grails-core")
}
8 changes: 4 additions & 4 deletions grails-shell/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ dependencies {
exclude group: "com.google.guava", module: "guava"
}

implementation("org.apache.maven.resolver:maven-resolver-connector-basic:1.9.2")
implementation("org.apache.maven.resolver:maven-resolver-impl:1.9.2")
implementation("org.apache.maven.resolver:maven-resolver-transport-file:1.9.2")
implementation("org.apache.maven.resolver:maven-resolver-transport-http:1.9.2") {
implementation("org.apache.maven.resolver:maven-resolver-connector-basic:1.9.5")
implementation("org.apache.maven.resolver:maven-resolver-impl:1.9.5")
implementation("org.apache.maven.resolver:maven-resolver-transport-file:1.9.5")
implementation("org.apache.maven.resolver:maven-resolver-transport-http:1.9.5") {
exclude group: "org.slf4j", module:"jcl-over-slf4j"
exclude group: "commons-codec", module:"commons-codec"
}
Expand Down
2 changes: 1 addition & 1 deletion grails-test-suite-persistence/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies {
project(':grails-spring')

testImplementation "org.grails:grails-datastore-gorm-validation:$datastoreVersion"
testImplementation "org.grails:grails-datastore-gorm-hibernate5:7.3.0", {
testImplementation "org.grails:grails-datastore-gorm-hibernate5:7.3.1", {
exclude group: 'org.grails', module:'grails-datastore-gorm'
exclude group: 'org.grails', module:'grails-datastore-core'
exclude group: 'org.springframework', module:'spring-core'
Expand Down
2 changes: 1 addition & 1 deletion grails-test-suite-uber/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies {
project(":grails-plugin-databinding"),
project(':grails-spring')

testImplementation "org.grails:grails-datastore-gorm-hibernate5:7.3.0", {
testImplementation "org.grails:grails-datastore-gorm-hibernate5:7.3.1", {
exclude group: 'org.grails', module:'grails-datastore-gorm'
exclude group: 'org.grails', module:'grails-datastore-core'
exclude group: 'org.springframework', module:'spring-core'
Expand Down
2 changes: 1 addition & 1 deletion grails-test-suite-web/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {
project(':grails-spring')
testImplementation "org.grails.plugins:converters:$legacyConvertersVersion"

testImplementation "org.grails:grails-datastore-gorm-hibernate5:7.3.0", {
testImplementation "org.grails:grails-datastore-gorm-hibernate5:7.3.1", {
exclude group: 'org.grails', module:'grails-datastore-gorm'
exclude group: 'org.grails', module:'grails-datastore-core'
exclude group: 'org.springframework', module:'spring-core'
Expand Down
2 changes: 1 addition & 1 deletion grails-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies {
api "org.codehaus.groovy:groovy-test-junit5:$groovyVersion"
api("org.codehaus.groovy:groovy-test:$groovyVersion")
api("org.spockframework:spock-core:$spockVersion") { transitive = false }
api "org.junit.platform:junit-platform-runner:1.9.1"
api "org.junit.platform:junit-platform-runner:1.9.2"


api project(":grails-plugin-mimetypes")
Expand Down
2 changes: 1 addition & 1 deletion grails-web-fileupload/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dependencies {
api project(":grails-web-common")
api('commons-fileupload:commons-fileupload:1.4')
api('commons-fileupload:commons-fileupload:1.5')
}
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "com.gradle.enterprise" version "3.11.4"
id "com.gradle.enterprise" version "3.12.3"
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.8.2'
}

Expand Down

0 comments on commit 396fa43

Please sign in to comment.