Releases: apache/grails-core
7.1.0
What's Changed
- g:flashMessages tag @codeconsole (#15560)
- Do not fail mergeTestReports for partial previous test task runs @jdaugherty (#15563)
- Add contextPath support to the grails-geb so it's easier to write tests in a multiproject environment @jdaugherty (#15562)
- change url mapping wildcard validation config value and address edge case direct mapping @codeconsole (#15542)
- Add test slicing to the build @matrei (#15547)
- Add
settings.gradleto Forge verification app @matrei (#15546) - fix(deps): Bump Asset Pipeline to 5.0.34 @matrei (#15545)
- fix(deps): Bump Groovy to 4.0.31 @matrei (#15544)
Contributors
7.1.0-RC1
What's Changed
- Ignore MavenRepositorySpec tests for SNAPSHOT Grails versions by @jamesfredley in #15155
- Allow greedy parameters (+) prior to a format paramter that consume everything but the last . by @codeconsole in #15213
- 7.0.x Bug - Don't call a resource constructor until GORM has been initialized by Spring by @codeconsole in #15195
- 7.1.x AutoTmestamp Enhancements + grails.importGrailsAnnotations GrailsExtension by @codeconsole in #15118
- Include Java vendor in Grails banner version info by @sbglasius in #15230
- 7.1.x importGrailsCommonAnnotations dependency check fix by @codeconsole in #15232
- Add versions to banner by @matrei in #15229
- Minor banner fix by @matrei in #15243
- Allow namespace scaffold views to default to scaffold namespace templates instead of non namespace views. Fixes #15239 by @codeconsole in #15240
- Fix links to controllers with namespaces in create-app index.gsp by @codeconsole in #15252
- 7.1.x
@ScaffoldServices and Controllers by @codeconsole in #15245 - Merge 7.0.x into 7.1.x by @jamesfredley in #15334
- Add clearConstraintsMapCache() public API to Validateable trait by @jamesfredley in #15346
- 7.1.x cli add-field and add-property for domain field and property additions by @codeconsole in #15289
- 7.1.x Scaffolding Display Constraint Expansion by @codeconsole in #15266
- 7.1.x Fix for UrlMapping greedy not working when no id is present by @codeconsole in #15358
- 7.1.x - Simplify star imports check by @codeconsole in #15361
- feat(grails-gradle): move indy configuration from generated apps to Gradle plugin by @jamesfredley in #15375
- test(ci): add indy matrix to functional test CI jobs by @jamesfredley in #15415
- merge 7.0.x into 7.1.x by @jamesfredley in #15434
- ci: reduce indy=true to one job per test type by @jamesfredley in #15438
- fix(grails-gradle): change indy log level from lifecycle to info by @jamesfredley in #15446
- merge 7.0.x into 7.1.x by @jamesfredley in #15449
- Deprecate Spring JSP theme support for removal in Grails 8.0.0 by @jamesfredley in #15457
- Merge 7.0.x into 7.1.x by @codeconsole in #15468
- feat: auto-inherit datasource from domain class in
@Servicedata services by @jamesfredley in #15433 - fix: add null safety for getDatastoreForConnection in data service factory bean by @jamesfredley in #15474
- fix: normalize Unicode minus sign in GSP number formatting for locale compatibility by @jamesfredley in #15475
- Add for removal to previously deprecated methods and classes by @matrei in #15470
- chore: Merge 7.0.x into 7.1.x by @jamesfredley in #15520
- 7.1.x url mapping greedy extension 3 by @codeconsole in #15522
- New feature - Http Client Testing Support by @matrei in #15529
- Load plugin.yml/plugin.groovy earlier so
@Conditional*annotations can be used by @jdaugherty in #15409 - URL mapping group defaults support by @codeconsole in #15526
- Add default validation for $namespace, $controller, and $action url mapping variables by @codeconsole in #15525
- Register the data binding plugin by @matrei in #15518
- Remove remnants of
doWithWebDescriptorby @matrei in #15500 - Support for Multiple Test Phases by @jdaugherty in #15538
Full Changelog: v7.0.10...v7.1.0-RC1
7.0.10
What's Changed
- Upgrade to Spring Boot 3.5.13 @fdevans (#15534)
- Add test for GSPs in src/main/webapp @matrei (#15540)
- Fix build cache hits for FindMainClassTask and GroovyPageForkCompileTask @ribafish (#15537)
- Fix overlapping task outputs preventing build cache usage @ribafish (#15532)
- Migrate
GrailsPluginManagerTeststo Spock @matrei (#15533) - Add Spring Security plugin upgrade link to upgrading guide @jamesfredley (#15519)
- fix: resolve release-drafter failures on PRs and reduce API usage @jamesfredley (#15524)
- fix: pin GitHub Actions to ASF-approved commit hashes @jamesfredley (#15523)
- Enable running single tests with Gradle
--testsflag @matrei (#15517) - new module
grails-testing-support-http-client@matrei (#15505) - #15506 - fix - @CompileStatic support for tag libs @jdaugherty (#15514)
- make sure the DatabaseCleanup annotation is inherited @jdaugherty (#15513)
- chore(deps): bump release-drafter/release-drafter from 6 to 7 @dependabot[bot] (#15507)
- chore(deps): bump softprops/action-gh-release from 2.5.0 to 2.6.1 @dependabot[bot] (#15508)
- chore: merge 7.0.9->7.0.x; bump to 7.0.10-SNAPSHOT @github-actions[bot] (#15511)
Contributors
@dependabot[bot], @fdevans, @jamesfredley, @jdaugherty, @matrei, @ribafish, dependabot[bot] and github-actions[bot]
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]