This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 1edb825aa8ad2814fcf08ebf1d66caf3ef15c3bc
Merge: a3f835597a f9af0924cc
Author: James Daugherty <[email protected]>
AuthorDate: Wed Oct 14 10:51:51 2026 +0100

    Merge branch '8.1.x' into 9.0.x
    
    # Conflicts:
    #       dependencies.gradle
    #       grails-doc/src/en/guide/toc.yml

 .agents/skills/README.md                           |   1 +
 .agents/skills/gradle-developer/SKILL.md           |   5 +-
 .agents/skills/grails-ai-developer                 |   1 +
 .github/dependency-graph/external-references.yml   |   1 +
 AGENTS.md                                          |   3 +
 .../grails/buildsrc/BomDependencyGraph.groovy      | 187 ++++++++++
 .../GrailsDependencyValidatorPlugin.groovy         | 103 ++----
 .../org/apache/grails/buildsrc/SbomPlugin.groovy   |   4 +
 .../buildsrc/ValidateDependencyVersionsTask.groovy |  89 ++++-
 .../grails/buildsrc/BomDependencyGraphSpec.groovy  |  49 +++
 .../ValidateDependencyVersionsTaskSpec.groovy      | 178 +++++++++-
 build.gradle                                       |  13 +-
 dependencies.gradle                                |  25 ++
 end-to-end/agent-skills-plain-build/build.gradle   |   1 +
 end-to-end/agent-skills/build.gradle               |   1 +
 .../grails/e2e/skills/AgentSkillsSpec.groovy       |   1 +
 gradle/docs-dependencies.gradle                    |   6 +
 gradle/publish-root-config.gradle                  |   2 +
 grails-async/plugin/build.gradle                   |   6 +
 .../grails/async/web/StreamItemRenderer.groovy     |  41 +++
 .../web/async/ControllersAsyncGrailsPlugin.groovy  |  51 ++-
 .../web/async/mvc/DefaultStreamItemRenderer.groovy |  55 +++
 .../web/async/mvc/JacksonStreamItemRenderer.groovy |  67 ++++
 .../mvc/PublisherActionResultTransformer.groovy    | 177 ++++++++++
 .../web/async/mvc/ServerSentEventFormatter.groovy  | 126 +++++++
 .../web/async/mvc/ServerSentEventSubscriber.groovy | 209 +++++++++++
 .../web/async/mvc/SingleValueSubscriber.groovy     |  86 +++++
 .../additional-spring-configuration-metadata.json  |  21 ++
 .../async/ControllersAsyncGrailsPluginSpec.groovy  |  94 +++++
 .../PublisherActionResultTransformerSpec.groovy    | 388 +++++++++++++++++++++
 .../async/mvc/ServerSentEventFormatterSpec.groovy  | 133 +++++++
 .../orm/hibernate/query/HqlQueryContext.java       |  97 +++++-
 .../hibernate/HibernateGormStaticApiSpec.groovy    |  71 ++++
 .../orm/hibernate/query/HqlQueryContextSpec.groovy |  94 +++++
 grails-doc/build.gradle                            |  14 +-
 grails-doc/src/en/guide/async/asyncStreaming.adoc  | 110 ++++++
 .../guide/async/rxjava/asyncServerSentEvents.adoc  |   2 +
 .../src/en/guide/commandLine/creatingProject.adoc  |   2 +-
 .../src/en/guide/commandLine/interactiveMode.adoc  |  10 +-
 .../src/en/guide/gettingStarted/agentSkills.adoc   |   3 +
 grails-doc/src/en/guide/introduction/whatsNew.adoc |  14 +
 .../src/en/guide/testing/functionalTesting.adoc    |  40 ++-
 grails-doc/src/en/guide/toc.yml                    |  10 +
 .../src/en/guide/upgrading/upgrading81x.adoc       |  31 ++
 grails-doc/src/en/guide/usingAi.adoc               |  32 ++
 grails-doc/src/en/guide/usingAi/aiChatClient.adoc  |  87 +++++
 .../src/en/guide/usingAi/aiConfiguration.adoc      |  74 ++++
 .../src/en/guide/usingAi/aiInstallation.adoc       |  43 +++
 grails-doc/src/en/guide/usingAi/aiProviders.adoc   | 213 +++++++++++
 grails-doc/src/en/guide/usingAi/aiStreaming.adoc   |  64 ++++
 grails-doc/src/en/guide/usingAi/aiTesting.adoc     |  77 ++++
 .../src/en/ref/Command Line/create-plugin.adoc     |   2 +-
 .../src/en/ref/Command Line/create-restapi.adoc    |   2 +-
 .../src/en/ref/Command Line/create-web-plugin.adoc |   2 +-
 grails-doc/src/en/ref/Command Line/help.adoc       |   4 +-
 .../src/en/ref/Command Line/list-features.adoc     |   6 +
 grails-forge/build.gradle                          |  13 +-
 .../java/org/grails/forge/feature/Category.java    |   1 +
 .../grails/forge/feature/ai/GrailsSpringAi.java    |  86 +++++
 .../grails/forge/feature/ai/SpringAiAnthropic.java |  61 ++++
 .../grails/forge/feature/ai/SpringAiOllama.java    |  67 ++++
 .../grails/forge/feature/ai/SpringAiOpenAi.java    |  61 ++++
 .../forge/feature/ai/SpringAiProviderFeature.java  |  89 +++++
 .../forge/feature/ai/GrailsSpringAiSpec.groovy     | 147 ++++++++
 grails-geb/README.md                               |  18 +
 grails-skills/ai/build.gradle                      |  34 ++
 .../ai/skills/grails-ai-developer/SKILL.md         | 270 ++++++++++++++
 .../developer/skills/grails-developer/SKILL.md     |   3 +
 grails-spring-ai/build.gradle                      |  96 +++++
 grails-spring-ai/grails-app/conf/plugin.yml        |  33 ++
 .../apache/grails/ai/SpringAiGrailsPlugin.groovy   |  57 +++
 .../ai/async/ChatResponseStreamItemRenderer.groovy |  68 ++++
 ...rk.boot.autoconfigure.AutoConfiguration.imports |   1 +
 .../grails/ai/SpringAiAutoConfigurationSpec.groovy |  74 ++++
 .../grails/ai/SpringAiPluginDefaultsSpec.groovy    |  57 +++
 .../grails/ai/SpringAiPromptLoggingSpec.groovy     |  89 +++++
 .../ChatResponseStreamItemRendererSpec.groovy      |  75 ++++
 grails-spring-security/acl/plugin/build.gradle     |   8 +-
 grails-spring-security/plugin/build.gradle         | 159 +++++----
 grails-test-examples/ai/build.gradle               |  54 +++
 .../ai/grails-app/conf/application.yml             |  34 ++
 .../ai/grails-app/conf/logback.xml                 |  31 ++
 .../controllers/aiapp/ChatController.groovy        |  40 +++
 .../controllers/aiapp/StreamController.groovy      |  71 ++++
 .../controllers/aiapp/UrlMappings.groovy           |  30 ++
 .../ai/grails-app/init/aiapp/Application.groovy    |  33 ++
 .../grails-app/services/aiapp/AnswerService.groovy |  52 +++
 .../groovy/aiapp/AiDefaultsSpec.groovy             |  80 +++++
 .../groovy/aiapp/ChatFunctionalSpec.groovy         |  79 +++++
 .../groovy/aiapp/OwnChatModelFunctionalSpec.groovy |  60 ++++
 .../groovy/aiapp/OwnModelApplication.groovy        |  56 +++
 .../groovy/aiapp/StreamingFunctionalSpec.groovy    |  84 +++++
 .../src/test/groovy/aiapp/AnswerServiceSpec.groovy |  46 +++
 .../build.gradle                                   |  42 ++-
 .../groovy/grails/testing/ai/AiUnitTest.groovy     | 112 ++++++
 .../ai/AiStubEnvironmentPostProcessor.groovy       | 115 ++++++
 .../grails/testing/ai/AiStubProperties.groovy      |  49 +++
 .../apache/grails/testing/ai/AiTestBeans.groovy    |  96 +++++
 .../testing/ai/AiTestingAutoConfiguration.groovy   |  70 ++++
 .../AiTestingVectorStoreAutoConfiguration.groovy   |  67 ++++
 .../testing/ai/ResettableSimpleVectorStore.groovy  |  46 +++
 .../grails/testing/ai/ScriptedChatModel.groovy     | 165 +++++++++
 .../testing/ai/SimpleVectorStoreBeans.groovy       |  59 ++++
 .../grails/testing/ai/StubEmbeddingModel.groovy    | 129 +++++++
 .../testing/ai/spock/AiSetupInterceptor.groovy     |  55 +++
 .../testing/ai/spock/AiSetupSpecInterceptor.groovy |  46 +++
 .../ai/spock/AiTestingSupportExtension.groovy      |  47 +++
 .../additional-spring-configuration-metadata.json  |  21 ++
 ...ockframework.runtime.extension.IGlobalExtension |   1 +
 .../src/main/resources/META-INF/spring.factories   |  16 +
 ...rk.boot.autoconfigure.AutoConfiguration.imports |   2 +
 .../testing/ai/AiUnitTestConfiguredSpec.groovy     |  85 +++++
 .../testing/ai/AiUnitTestOwnBeansSpec.groovy       |  97 ++++++
 .../groovy/grails/testing/ai/AiUnitTestSpec.groovy | 113 ++++++
 .../groovy/grails/testing/ai/AnswerService.groovy  |  34 ++
 .../ai/AiStubEnvironmentPostProcessorSpec.groovy   | 162 +++++++++
 .../ai/AiTestingAutoConfigurationSpec.groovy       | 222 ++++++++++++
 .../grails/testing/ai/ScriptedChatModelSpec.groovy | 216 ++++++++++++
 .../testing/ai/StubEmbeddingModelSpec.groovy       | 154 ++++++++
 settings.gradle                                    |   8 +
 120 files changed, 7559 insertions(+), 215 deletions(-)

diff --cc 
build-logic/plugins/src/main/groovy/org/apache/grails/buildsrc/SbomPlugin.groovy
index 212d7584aa,69b301a8fa..a1eafe93c2
--- 
a/build-logic/plugins/src/main/groovy/org/apache/grails/buildsrc/SbomPlugin.groovy
+++ 
b/build-logic/plugins/src/main/groovy/org/apache/grails/buildsrc/SbomPlugin.groovy
@@@ -106,9 -106,13 +106,13 @@@ class SbomPlugin implements Plugin<Proj
              
'pkg:maven/com.oracle.coherence.ce/[email protected]?type=pom': 'UPL-1.0', 
// does not have map based on license id
              
'pkg:maven/com.oracle.coherence.ce/[email protected]?type=pom': 'UPL-1.0', 
// does not have map based on license id
              
'pkg:maven/com.oracle.coherence.ce/[email protected]?type=pom': 'UPL-1.0', 
// does not have map based on license id
 -            'pkg:maven/jline/[email protected]?type=jar'                           
: 'BSD-2-Clause', // maps incorrectly because of 
https://github.com/CycloneDX/cyclonedx-core-java/issues/205
 +            'pkg:maven/jline/[email protected]?type=jar'                           
: 'BSD-2-Clause', // legacy jline:jline group, BSD-2; maps incorrectly because 
of https://github.com/CycloneDX/cyclonedx-core-java/issues/205
              'pkg:maven/opensymphony/[email protected]?type=jar'                  
: 'OpenSymphony', // custom license approved by legal LEGAL-707
              'pkg:maven/org.antlr/[email protected]?type=jar'               
: 'BSD-3-Clause', // maps incorrectly because of 
https://github.com/CycloneDX/cyclonedx-core-java/issues/205
+             // StringTemplate and the ANTLR 3 runtime it uses, which Spring 
AI's prompt templates bring in, declare
+             // "The BSD License" / "BSD licence" with 
http://www.antlr.org/license.html or http://antlr.org/license.html as the URL: 
the 3-clause text.
+             'pkg:maven/org.antlr/[email protected]?type=jar'                          
: 'BSD-3-Clause',
+             'pkg:maven/org.antlr/[email protected]?type=jar'                
: 'BSD-3-Clause',
              // mongo-java-server declares only "The BSD License" so it maps 
to BSD-4-Clause for the same
              // reason as the org.jline group below. 
https://github.com/bwaldvogel/mongo-java-server/blob/main/LICENSE
              // has three numbered clauses and no advertising clause, making 
it BSD-3-Clause.
diff --cc dependencies.gradle
index 4d8c827cf8,cd6b2f0bc8..bedcb00566
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@@ -121,9 -129,19 +129,19 @@@ ext 
              'rxjava2.version'               : '2.2.21',
              'sitemesh.version'              : '2.6.0',
              'scribejava.version'            : '8.3.3',
+             // Overrides the 4.43.0 Spring Boot 4.1 manages. 
selenium/standalone-chrome, the image
+             // ContainerGebSpec starts, is only published for linux/arm64 
from 4.47.0, so the default
+             // Geb functional test runs natively on Apple silicon. The image 
tag must match the
+             // Selenium version on the test classpath, so stay on a version 
with a published image.
+             // Boot's selenium-htmlunit.version (htmlunit3-driver) stays at 
4.43.0: the newest
+             // htmlunit3-driver needs a HtmlUnit newer than Boot manages, and 
nothing here uses it.
+             'selenium.version'              : '4.49.0',
              // Logback 1.6.5 requires 2.0.19; align the SLF4J family above 
Boot's managed 2.0.18.
              'slf4j.version'                 : '2.0.19',
 -            'spock.version'                 : '2.4-groovy-5.0',
 +            'spock.version'                 : '2.5-groovy-6.0',
+             // Not managed by spring-boot-dependencies. Spring AI 2.0.x is 
the Spring Boot 4.0 / 4.1
+             // line; grails-bom imports its BOM so applications and 
grails-spring-ai share one Spring AI version.
+             'spring-ai-bom.version'         : '2.0.1',
              // Not managed by spring-boot-dependencies. springdoc 3.x is the 
Spring Boot 4 /
              // Spring Framework 7 line; the grails-openapi module compiles 
against its
              // OpenApiCustomizer SPI and apps add the webmvc-ui starter for 
Swagger UI.
diff --cc grails-doc/src/en/guide/toc.yml
index 14bfb1dc6d,f03d62d633..b2b5c96078
--- a/grails-doc/src/en/guide/toc.yml
+++ b/grails-doc/src/en/guide/toc.yml
@@@ -37,7 -37,7 +37,8 @@@ gettingStarted
    developmentReloading: Development Reloading
  upgrading:
    title: Upgrading from the previous versions
 +  upgrading90x: Upgrading from Grails 8 to Grails 9
+   upgrading81x: Upgrading from Grails 8.0 to Grails 8.1
    upgrading80x: Upgrading from Grails 7 to Grails 8
    upgrading72x: Upgrading from Grails 7.1 to Grails 7.2
    upgrading71x: Upgrading from Grails 7.0 to Grails 7.1

Reply via email to