Releases: apache/grails-core
7.0.9
What's Changed
π Features
- feature - support cleaning up only after the spec ends @jdaugherty (#15494)
π Bug Fixes
- 15501 - properly bind HikariConfig properties (dataSourceProperties & healthCheckProperties) & support connection properties with a period @jdaugherty (#15502)
- fix: cleanup liquibase dependencies and jaxb-api for Jakarta EE 10 @borinquenkid (#15490)
- fix #15491 - Bug: DetachedCriteria.distinct().property() projections exclude rows where the projected property value is null @jdaugherty (#15492)
π§ Maintenance
- Fix flaky Ersatz empty response body test with
@Retry@jamesfredley (#15485) - fix: fix flaky scaffolding Geb tests and User.getAuthorities() bug @jamesfredley (#15480)
- feat: consolidate Checkstyle and Codenarc errors into single file for GitHub workflow @mika-collins (#15486)
- Enable TestLens @jjohannes (#15499)
- Improve Gradle build cacheability @jprinet (#15483)
- build - add a gradle task to facilitate publishing all projects for easier testing locally. @jdaugherty (#15493)
- fix: fix flaky scaffolding Geb tests and User.getAuthorities() bug @jamesfredley (#15480)
- Add comprehensive HikariCP pool property binding tests @jamesfredley (#15503)
- Fix flaky Ersatz empty response body test with
@Retry@jamesfredley (#15485) - chore: merge 7.0.8->7.0.x; bump to 7.0.9-SNAPSHOT @github-actions[bot] (#15487)
Contributors
@borinquenkid, @jamesfredley, @jdaugherty, @jjohannes, @jprinet, @matrei, @mika-collins and github-actions[bot]
7.0.8
What's Changed
- fix: disable publishing of /guide/pages/** in grails-doc/build.gradle @mika-collins (#15477)
- fix: resolve three where-query bugs (#14344, #14480, #14569) @jamesfredley (#15460)
- fix: prioritization of a non-namespaced controller when no namespace is defined @codeconsole (#15464)
- docs: Add Data Services documentation for multi-datasource routing @jamesfredley (#15406)
- fix: where query variable scoping fails inside
@Transactionalmethods @jamesfredley (#15448) - docs: add quality rules to AGENTS.md critical rules @jamesfredley (#15440)
- Upgrade to Spring Boot 3.5.11 @matrei (#15428)
- Auto-exclude Spring Boot LiquibaseAutoConfiguration when Database Migration Plugin is present @jamesfredley (#15405)
- fix: use Page Object pattern for flaky Geb tests across all subprojects @jamesfredley (#15410)
- fix:
@CompileStaticon@Serviceabstract class with injected@Serviceproperties fails to compile @jamesfredley (#15396) - fix: Auto-implemented Data Service CRUD methods ignore
@Transactional(connection)@jamesfredley (#15395) - fix: reject unsupported JSP/Groovy declaration blocks in GSP parser @jamesfredley (#15398)
- Propagate Java toolchain to JavaExec tasks @jamesfredley (#15403)
- docs: add CodeNarc configuration for Grails projects @jamesfredley (#15404)
- fix: GormEnhancer.allQualifiers() overrides explicit datasource declarations for MultiTenant entities @jamesfredley (#15393)
- docs: add comment explaining jakarta.servlet-api implementation scope in CLI @jamesfredley (#15412)
- fix: GrailsApplicationContextCommandRunner and GrailsApplicationScriptRunner pass command options to Spring Boot, corrupting config @jamesfredley (#15397)
- Include jakarta.servlet-api in CLI runtime classpath @jamesfredley (#15392)
- Bump actions/checkout from 4 to 6 @dependabot[bot] (#15380)
- Remove MVCC=true from H2 urls @jdaugherty (#15389)
- Update Maven Central badge in Geb README.md @matrei (#15390)
- fix: Incorrect password mapping in DataSourceSettings @rahulshishodia (#15381)
- fix GRAILS_REPO_URL in profile app generation to not output a regular string for path based repositories @jdaugherty (#15383)
- #15378 - Update asset pipeline to 5.0.32 @jdaugherty (#15379)
- Update Develocity server URLs to develocity.apache.org @jamesfredley (#15362)
π Features
- Make reloading a top level feature & remove the old junit option @jdaugherty (#15437)
- fix: remove @PendingFeature from basic collection test now that #14610 is fixed @jamesfredley (#15471)
- feature - add
@DatabaseCleanuptest annotation to facilicate cleaning up after a test or tests @jdaugherty (#15436) - Database cleanup feature feedback @matrei (#15453)
- fix: add jboss-threads 3.9.2 to Undertow feature for Java 25 compatibility @jamesfredley (#15427)
π‘ Improvements
- Improve Groovy Joint Validation Build CI stability @jamesfredley (#15484)
π Bug Fixes
- Improve Groovy Joint Validation Build CI stability @jamesfredley (#15484)
- Fix flaky AsyncPromiseSpec ReadTimeoutException on CI @jamesfredley (#15481)
- fix: correct malformed Javadoc link tag in DatastoreServiceMethodInvokingFactoryBean @jamesfredley (#15473)
- fix: remove @PendingFeature from basic collection test now that #14610 is fixed @jamesfredley (#15471)
- Fix basic collection type 'in' query (#14610) @jamesfredley (#15463)
- fix: propagate LEFT JOIN from DetachedCriteria into subqueries (#14485) @jamesfredley (#15461)
- Fix composite ID criteria projection regression (#14516) @jamesfredley (#15462)
- Adopt AntBuilder groovydoc with javaVersion support @jamesfredley (#15420)
- Fix DetachedCriteria join behavior for get() in Hibernate @davydotcom (#15456)
- fix: extend OSIV to manage sessions for all datasources @jamesfredley (#15425)
- fix: flaky ersatz listener test due to async race condition @jamesfredley (#15455)
- fix: where query composition fails when variable is re-assigned in if/else blocks @jamesfredley (#15447)
- fix: configure Micronaut annotation processor and CLASSIC boot loader automatically @jamesfredley (#15411)
- Fix
@Whereand DetachedCriteria query methods ignoring@Transactional(connection)@jamesfredley (#15418) - fix: add Java 23+/24+ compatibility JVM args and upgrade commons-lang3 to 3.20.0 @jamesfredley (#15417)
- fix: add jboss-threads 3.9.2 to Undertow feature for Java 25 compatibility @jamesfredley (#15427)
- fix: copy missing fields in AbstractDetachedCriteria.clone() @jamesfredley (#15424)
- Fix exists() cross-join caused by duplicate CriteriaQuery root @jamesfredley (#15419)
- test: stabilize flaky scaffolding Geb tests for slow CI environments @jamesfredley (#15394)
π§ Maintenance
- Add AGENTS.md and AI coding assistant support @sanjana2505006 (#15340)
- Cleanup release verification script @matrei (#15366)
- chore(deps): bump actions/upload-artifact from 6.0.0 to 7.0.0 @dependabot[bot] (#15479)
- Add no-grouping-comments rule to AGENTS.md @jamesfredley (#15466)
- Improve Groovy Joint Validation Build CI stability @jamesfredley (#15484)
- Fix flaky AsyncPromiseSpec ReadTimeoutException on CI @jamesfredley (#15481)
- fix: remove
@PendingFeaturefrom basic collection test now that #14610 is fixed @jamesfredley (#15471) - refactor(tests): replace GormEnhancer.find*Api calls with public GORM APIs @jamesfredley (#15441)
- Adopt AntBuilder groovydoc with javaVersion support @jamesfredley (#15420)
- fix: flaky ersatz listener test due to async race condition @jamesfredley (#15455)
- test(tck): add Data Service connection routing spec to TCK @jamesfredley (#15429)
- test: add multi-datasource static API routing tests @jamesfredley (#15435)
- test: add
@QueryData Service connection routing tests @jamesfredley (#15423) - test: stabilize flaky scaffolding Geb tests for slow CI environments @jamesfredley (#15394)
- Bump com.gradle.develocity from 4.1.1 to 4.2.2 in /grails-forge @dependabot[bot] (#15137)
- chore: merge release-7.0.7-docs->vrelease-7.0.7-docs; bump to release-7.0.8-SNAPSHOT @github-actions[bot] (#15372)
- Set build-mount-path to /home/runner @jamesfredley (#15371)
- Add version input while using branch from workflow dispatch @jamesfredley (#15370)
- Use workflow_dispatch ref instead of manual inputs @jamesfredley (#15369)
- Add standalone workflow for publishing documentation @jamesfredley (#15368)
- Expand integration test coverage @jamesfredley (#15348)
Contributors
@codeconsole, @davydotcom, @dependabot[bot], @jamesfredley, @jdaugherty, @matrei, @mika-collins, @rahulshishodia, @sanjana2505006, dependabot[bot] and github-actions[bot]
7.0.7
What's Changed
- Update asset pipeline to 5.0.30 @jdaugherty (#15360)
- Update Java, Gradle, and Groovy versions @jamesfredley (#15355)
- chore: merge 7.0.6->7.0.x; bump to 7.0.7-SNAPSHOT @github-actions[bot] (#15345)
- Merge 7.0.x into 7.1.x @jamesfredley (#15334)
- Upgrade to Gradle 8.14.4 and support Java 25 on Forge @jamesfredley (#15333)
- Minor fixes post 7.0.6 @matrei (#15332)
- Update spring-boot.version to 3.5.10 @jamesfredley (#15331)
π Bug Fixes
π§ Maintenance
- Flaky Build Test Cleanup @jamesfredley (#15335)
Contributors
7.0.6
What's Changed
- Update asset-pipeline; fix WebJars require paths @jamesfredley (#15328)
- Groovy 4.0.30, staged groovy version support, multiple repo support in GRAILS_REPO_URL, & profile support for GRAILS_REPO_URL @jdaugherty (#15320)
- Disable Invoke Dynamic by Default on newly generated aplications @jdaugherty (#15322)
- Add matomo groovydocs @Ajay9704 (#15312)
- Tag Library documentation improvements @dauer (#15304)
- Migrate Java EE links to Jakarta EE @matrei (#15314)
- Add missing application.yml examples to docs @Ajay9704 (#15309)
π‘ Improvements
π Bug Fixes
- #15302 - fix property name resolution when generating grails boms (this is a breaking change) @jdaugherty (#15319)
π§ Maintenance
- Docs - various documentation related chores/cleanups @dauer (#15305)
- refactor codestyle configuration into a gradle plugin @jdaugherty (#15316)
- build - allow for mavenLocal() usage without having to change commented code in files @jdaugherty (#15318)
Contributors
@Ajay9704, @dauer, @jamesfredley, @jdaugherty, @matrei and github-actions[bot]
7.0.5
What's Changed
- Update date formats for data binding documentation @Ajay9704 (#15308)
- Update spring-boot.version to 3.5.9 @jamesfredley (#15303)
- Add app class to
urlMappingsReporttask args @matrei (#15295) - Compatibility with Docker 29 @matrei (#15298)
- Add IntelliJ IDEA Enhanced HotSwap to reloading guide @jamesfredley (#15287)
- documentation - removing old coordinates, assume the bom is applied, and add rxjava3 references @jdaugherty (#15288)
- Bump actions/upload-artifact from 4 to 6 @dependabot[bot] (#15292)
- Issue 14379 remove dependency to tomcat embed logging log4j @dauer (#15275)
- Moving to a shared author/developer list @jdaugherty (#15274)
- Centralizing Gradle Logic - java-config @jdaugherty (#15269)
- Post 7.0.4 release updates @matrei (#15272)
- chore: merge 7.0.4->7.0.x; bump to 7.0.5-SNAPSHOT @github-actions[bot] (#15268)
π Bug Fixes
- Fix: Preserve deterministic Map ordering in UrlMappingsInfoHandlerAdapter @luizfiliperm (#15284)
- Fix GebConfig example @matrei (#15267)
π§ Maintenance
- doc - #15293 - add warning about invokedynamic performance @jdaugherty (#15296)
- Remove explicit
groovyandjava-libraryfromgrails-layout@matrei (#15283)
Contributors
@Ajay9704, @dauer, @dependabot[bot], @jamesfredley, @jdaugherty, @luizfiliperm, @matrei, dependabot[bot] and github-actions[bot]
7.0.4
What's Changed
- Include staging repo for grails-publish when a snapshot in generated applications @jdaugherty (#15264)
- deps - update asset-pipeline to v5.0.22 @jdaugherty (#15263)
- deps - update to grails publish 0.0.3 @jdaugherty (#15262)
- Add manual steps for release workflow @jamesfredley (#15257)
- Update deployment rules with workflow links @jamesfredley (#15256)
- Revise Grails Forge deployment instructions @jamesfredley (#15255)
- chore: merge 7.0.3->7.0.x; bump to 7.0.4-SNAPSHOT @github-actions[bot] (#15253)
- Compatibility with Docker 29 @matrei (#15249)
- Update spring-boot.version to 3.5.8 @jamesfredley (#15247)
- Issues 15132 @Noirtam (#15227)
π Bug Fixes
- #15258 - fix - restore bom properties @jdaugherty (#15260)
- Fix more flakiness in
PerTestRecordingSpec@matrei (#15248)
π§ Maintenance
- webjars-locator-core dependency is now provided implicitly by asset-pipeline @jamesfredley (#15265)
- Post 7.0.3 release adjustments @matrei (#15250)
- Fix more flakiness in
PerTestRecordingSpec@matrei (#15248)
Contributors
@Noirtam, @jamesfredley, @jdaugherty, @matrei, @sbglasius and github-actions[bot]
7.0.3
What's Changed
- Update asset pipeline and WebJars integration @jamesfredley (#15244)
- Update geb and selenium @matrei (#15241)
- Minor corrections to documentation (whatsnew) @matrei (#15236)
- Apply
java-libraryGradle Plugin to Grails Plugin projects @matrei (#15225) - Issue 15205 Docs - Source contains license header @dauer (#15220)
- Gradle Plugin Fix - remove calls to setSystemProperty() and set on individual tasks instead @jdaugherty (#15221)
- chore: merge 7.0.2->7.0.x; bump to 7.0.3-SNAPSHOT @github-actions[bot] (#15217)
π Bug Fixes
- Fix flaky
PerTestRecordingSpec@matrei (#15242) - fix #15237 - do not marshall static properties @jdaugherty (#15238)
- fix: Re-implemented ContainerRenderer on AbstractJsonViewContainerRenderer @sbglasius (#15234)
- Cleanup unnecessary Gradle plugins in Grails projects @matrei (#15226)
- Now with right Micronaut Platform group @sbglasius (#15219)
π§ Maintenance
- Fix flaky
PerTestRecordingSpec@matrei (#15242) - [chore] Correct docs with apply and dependencies for gsp and gson @sbglasius (#15223)
- [skip ci] post 7.0.2 release adjustments @matrei (#15218)
Contributors
@dauer, @jamesfredley, @jdaugherty, @matrei, @sbglasius and github-actions[bot]
7.0.2
What's Changed
- chore: merge 7.0.1->7.0.x; bump to 7.0.2-SNAPSHOT by @github-actions[bot] in #15197
- Inherit
h2.versionfromspring-boot-dependenciesby @matrei in #15200 - fix - #15193 fix empty spring profile causing configuration to not load by @jdaugherty in #15194
- update documentation to suggest jakarta version of ehcache by @jdaugherty in #15203
- Forge: Be explicit with zip directories and entry metadata by @matrei in #15199
- fix #15129 - root resource url resolution for file based references by @jdaugherty in #15208
- Post 7.0.1 release adjustments by @matrei in #15206
- fix: #15201 RenderTagLib should be accessible if the gsp plugin is applied by @jdaugherty in #15202
- 7.0.x - Fix Enum JSON/XML Serialization for Round-Trip Compatibility by @codeconsole in #15212
- Do not mark AST transformation methods as generated by @gustavoharff in #15214
- update asset pipeline to 5.0.20 by @jdaugherty in #15215
Full Changelog: v7.0.1...v7.0.2
7.0.1
What's Changed
- Forge updates @matrei (#15188)
- use default parameter @codeconsole (#15190)
- use stripped PROJECT_TARGET_DIR for setting TARGET_DIR @codeconsole (#15179)
- Update Spring Boot release notes in upgrading guide @fdevans (#15189)
- Use
micronaut-http-client-jdk@matrei (#15187) - Update plugin logic and profile excludes for web plugin @jamesfredley (#15181)
- Formatting and cleanup @matrei (#15180)
- Apply Generated annotation @gustavoharff (#15150)
- Issue-15170 Docs - source includes not found @dauer (#15177)
- 7.0.0-RC2 - PROJECT_TARGET_DIR is never used or set. @codeconsole (#15127)
- Update to Spring Boot 3.5.7 and Groovy 4.0.29 @jamesfredley (#15168)
- Clarify release process in RELEASE.md @jamesfredley (#15158)
- chore: merge 7.0.0->7.0.x; bump to 7.0.1-SNAPSHOT @github-actions[bot] (#15154)
π Features
- run -> bootRun to fix the jrebel feature @jdaugherty (#15185)
π Bug Fixes
- run -> bootRun to fix the jrebel feature @jdaugherty (#15185)
- fix: BSD-2-Clause license URL @matrei (#15184)
- 7.0.x Fix for Fields Rendering of java.time.* @codeconsole (#15146)
- 7.0.0 BUG FIX - Application fails if there is an error during index creation @codeconsole (#15148)
- Fix for #15147 @codeconsole (#15153)
- Fix Gradle bootstrap command in RELEASE.md @paulk-asert (#15151)
π§ Maintenance
- test(deps): bump
grails-spring-security@matrei (#15182) - default fields dates to datetime precision @codeconsole (#15165)
- Update issue template replacing Stack Overflow link with Mailing list @jamesfredley (#15171)
- Add test for issue 15147 @matrei (#15159)
- Ignore MavenRepositorySpec tests for SNAPSHOT Grails versions @jamesfredley (#15155)
Contributors
@codeconsole, @dauer, @fdevans, @gustavoharff, @jamesfredley, @jdaugherty, @matrei, @paulk-asert and github-actions[bot]
7.0.0
What's Changed
- Bump github/codeql-action from 3 to 4 @dependabot[bot] (#15135)
- Take snapshot prior to mongo update then mark any changes during beforeUpdate and update events as dirty. @codeconsole (#15143)
- Remove method from
GradleUtils@matrei (#15126) - Update
grails-publishand add organization to pom @matrei (#15138) - Add kapa.ai AI assistant widget to docs templates @jamesfredley (#15134)
- Update documentation links to grails.apache.org/docs @jamesfredley (#15131)
- Update release workflow to publish doc to grails-website @jamesfredley (#15128)
- Use consistent ISO-8601 formatting for rendering JSON Date, Calendar, LocalDateTime, and Instant properties @codeconsole (#15121)
- Centralizing Gradle Logic @jdaugherty (#15114)
- Instant should persist the same way (BsonType.DATE_TIME) as LocalDateTime and Date @codeconsole (#15111)
- Add additional Sitemesh -> grails-layout class and property moves/changes to docs @jamesfredley (#15112)
- Docs GSP Javascript: Removed deprecated example @dauer (#15106)
- 15100 - remove previous optimization for older JDKs & larger projects @jdaugherty (#15104)
- Update cyclonedx to
2.4.1@matrei (#15099) - #14993 - Remove spring loaded @jdaugherty (#15096)
- Update asset-pipeline and bom versions to 5.0.19 @jamesfredley (#15092)
- Update asset-pipeline and bom versions to 5.0.18 @jamesfredley (#15089)
- Add 'migrations' to grailsAppResourceDirs resolve duplicates @jamesfredley (#15084)
- Gorm service enhancements @codeconsole (#15070)
- Update spring-boot.version to 3.5.6 @jamesfredley (#15080)
- Issue-15061 Grails-doc bug in render example @dauer (#15072)
- Support for Gorm Entities with same name, but different packages @codeconsole (#15036)
- Merge v7.0.0-RC2 & Back to snapshot @jdaugherty (#15068)
- Remove additivity attribute from StackTrace logger @jamesfredley (#15066)
- Add upgrade notes for hibernate.cache.region.factory_class @jamesfredley (#15063)
- Issue-14172 Out Of Date Instructions For Creating A Plugin @dauer (#15062)
- Revise upgrading guide for Grails 7: grails-i18n plugin @jamesfredley (#15060)
- Add external references for dependency graph @jamesfredley (#15054)
- Update GitHub references and default project slug for documentation @jamesfredley (#15053)
- Update gradleToolingApiVersion to 8.14.3 @jamesfredley (#15047)
- Update grails-publish-plugin version to 0.0.1-SNAPSHOT @jamesfredley (#15050)
π Features
- Remove Neo4j Forge Feature @jamesfredley (#15107)
- Remove LogbackGroovy logging feature temporarily for 7.0.0 @jamesfredley (#15098)
- 15048 - feature: reproducible gorm service implementations @jdaugherty (#15097)
- 15085 - set banner in constructor so commands & scripts have it defaulted @jdaugherty (#15094)
- feature: generate sboms for all published binary jar files @jdaugherty (#15087)
- 14977 - multiproject reloading support @jdaugherty (#15076)
- feature: allow disabling micronaut configuration by the grails plugin @jdaugherty (#15069)
π‘ Improvements
- 15079 - grails-micronaut improvements @jdaugherty (#15105)
- fix(geb): minor improvements @matrei (#15103)
π Bug Fixes
- chore: Fix 15102 Removed traces of incubation and PPMC @sbglasius (#15115)
- fix(geb): minor improvements @matrei (#15103)
- fix: 13851 - move
GrailsMessageSourceUtils@matrei (#15101) - Geb 8 @matrei (#15067)
- fix: wrapper should only consider release types that are a higher priority than the wrapper version when packaged @jdaugherty (#15052)
- fix: remove leftover
grails-docplugin declaration @matrei (#15051)
π§ Maintenance
- Test Demonstrating Mongo beforeUpdate changes are not persisted @codeconsole (#15142)
- gson views date/calendar should have millisecond precision to match standard rendering @codeconsole (#15130)
- [skip tests] - Web profile jar artifact restore @jamesfredley (#15125)
- Test publishing docs to /docs on apache/grails-website @jamesfredley (#15123)
- First Step in optimizing GSP Performance on Grails 7. Safe small optimizations to start @davydotcom (#15109)
- chore: Fix 15102 Removed traces of incubation and PPMC @sbglasius (#15115)
- 15048 - feature: reproducible gorm service implementations @jdaugherty (#15097)
- build reproducibility & verification issues after testing 7.0.0-RC2 @jdaugherty (#15055)
Contributors
@codeconsole, @dauer, @davydotcom, @dependabot[bot], @jamesfredley, @jdaugherty, @matrei, @paulk-asert, @sbglasius, David Estes and dependabot[bot]