This is an automated email from the ASF dual-hosted git repository.
borinquenkid pushed a change to branch 9.0.x-h7-improvement-phase3
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 06b118ea3c test: assert that generated carrier classes do not leak
through serialization and by-name lookups
new e4d6546596 fix: name the join key of a circular many-to-many in
generated mode as the domain binder does
new 8c4b99c39d fix: audit the optimistic locking version in generated mode
as the domain binder does
new 974cb291a0 test: guard the internal Hibernate API the generated-class
binding relies on
new a43950e5e0 feat: fail at startup for a many-to-many that neither side
owns
new d7b0ade0d2 test: give the many-to-many fixtures an owning side
new 97c02f121e docs: a many-to-many needs belongsTo on one side or the
application fails at startup
add 482e1782cd [skip ci] Release v8.0.0-RC2
add 1b4f54eebf [skip ci] Bump version to 8.0.0-SNAPSHOT
add 80a1ff5637 Merge pull request #16487 from apache/merge-back-8.0.0-RC2
add 7d355e9485 Update Grails 8 Upgrade skill based on application upgrade
add 2a3994c1de Merge pull request #16493 from apache/skill-updates
add 47f7c72e82 Compile reloaded classes into the build's own classes
directory
add 5dc78857fa Pass the classes directory with / and fall back when it is
not relative
add 53d3df2484 Merge branch '8.0.x' into
fix/bootrun-project-class-dir-8.0.x
add 3c1a893b79 Point development at the build's own resources directory
too, and keep a property the build sets
add e6bc0c7922 Resolve a relative grails.project.resource.dir against the
application
add 2d85090c0d Find an @Integration spec's application class on its
compile classpath
add 74fbfab3ff Find the application class next to the compile output,
wherever the build directory is
add 6e4f5cf4fc Keep BuildSettings.resourcesDir private, checking each case
in the forked JVM
add 2368184fd4 Document running more than one instance of a checkout
add 2440d141f5 Merge branch '8.0.x' into
fix/bootrun-project-class-dir-8.0.x
add 52ffa6acf3 Keep the development restart marker in the build's own
directory
add bdb139d9ad Keep a project.target.dir set by hand ahead of the plugin's
target directory
add 938dbb541e Keep each instance's project cache beside its build
directory in the guide
add 03699f59ab Say what each property's fallback breaks when it cannot be
passed
add 1a2c97b09d Merge pull request #16472 from
codeconsole/fix/bootrun-project-class-dir-8.0.x
add 185ab622f5 Restore Hibernate validation error-reset semantics
add 5288a8d87f Expand setupErrorsProperty test coverage
add 657556ac8d Merge pull request #16489 from
jdaugherty/fix/hibernate-validation-error-reset
add cf7e8545b9 Keep the MongoClient GORM hands out across a CRaC restore
add b76d6a873c Open no connection to MongoDB until the datastore starts
add 335a3d2e1d Start an embedded MongoDB with the context when it is
checkpointed on refresh
add b64b840007 Document checkpointing a GORM for MongoDB application as
its context refreshes
add d1926a446c Declare GORM's MongoClient in a Spring Boot application
add b91ec8f76d Stop every client GORM owns, and connect no connection
until start
add 4987030acd Note in the upgrade guides that indexes are built when the
datastore starts
add 7f5a9270dc Count driver clients by the events the driver reports as it
builds them
add 70517cf660 Build a connection registered during start() once, not twice
add f220260869 Keep mock response output lazy after reset
add 8bd0204061 Cover charset chosen after mock response reset
add 009584ad92 Merge pull request #16490 from
apache/fix/mock-response-reset-stream
add 75a367057a Type Hibernate 7 comparison values from the property they
compare with
add 815583a772 Type non-Comparable comparison values from the property
path too
add be84c6dd52 Bind non-Comparable comparison values as criteria parameters
add e175dbaedc Remove the unused HibernateQuery.getJpaCriteriaQuery
add 040cf8a812 Merge pull request #16479 from
apache/fix/h7-user-type-comparisons
add c6ef10e3bf Keep a Class user-type in the Hibernate 7 mapping as a Class
add e2d23b1f0b Document the user-type mapping in the Hibernate 7 guide
add 5287b3a002 Check stored Boolean values in the user-type mapping spec
add 19b94d6576 Merge pull request #16480 from
apache/fix/h7-global-user-type-class
add 055cc1243f Restore mapped identifiers in GORM ident()
add 468ee47dfc Respect mapped identifier getters in Hibernate proxies
add 5003c0c9b2 Guard ident() against unmapped classes and cover its
branches
add 84314f346c Return a proxy's identifier from ident() without loading it
add 4fc83cdc51 Merge pull request #16485 from apache/fix/composite-ident
add 9b6adc7f43 Merge branch '8.0.x' into
fix/mongodb-checkpoint-on-refresh-8.0.x
add 89f1986198 Give a background index build a running executor whichever
build start() runs
add e115da9b27 Put off a build requested on a connection added while the
datastore is stopped
add 5a10bbab5b Hash dependency cache keys from fixed-depth paths
add 99d14daecb Restore subclass command binding in compatibility mode
add e5bbc7dad7 Keep binding protections for proxies and inherited
Validateable subclasses
add 9fd34ca839 Limit the inherited constraints fallback to Validateable's
accessor
add 3bbecb5dca Merge pull request #16491 from
apache/fix/inherited-command-binding
add ad01b6ea3f Implemented suggested fix for the `TEMPLATE_MODEL` leak
identified in PR #16453 review after merge. The fix ensures `TEMPLATE_MODEL` is
handled the same way as `MODEL_AND_VIEW` during forwards and includes.
add 24df4fa2b4 Implemented jamesfredley's non-blocking recommendation from
PR #16492:
add 0089eb135e Read the forwarded response body through
TestHttpResponse.body()
add 0bb1d89134 Merge pull request #16492 from
ruthst00/fix/12081-interceptor-model-followup
add 94027b2e69 Upgrade SiteMesh to 3.3.0
add 620d549caa Merge pull request #16498 from
codeconsole/deps/sitemesh-3.3.0
add 0e2c9cff99 Keep a property's mapping when a '*' default constraint is
configured
add af8255aaf4 Add MongoDatastore.findUndeclaredIndexes() and
dropUndeclaredIndexes()
add 20f6e3289a Add MongoDatastore.buildIndexAsync(), returning the build's
result
add 3063d81c68 Add MongoDatastore.findMissingIndexes()
add e7e9f8f7ec Count a unique index over duplicate values as a failed
declaration
add ecbf30a6d7 Keep what is configured on a property that starts from a
'*' entry
add e7f0446d28 Start the datastore in the index specs, as the application
context does
add 5a261296a1 Build and report only the indexes of the classes mapped to
a connection
add cb9e0c4edc Check a reviewed undeclared index again before dropping it
add a4d30e4b1c Compare text indexes field by field in the missing and
undeclared reports
add dbbb0aab57 Count only a duplicate key as a failed index declaration
add a9ea86909e Run a synchronous and a background index build one at a time
add 8e44dec475 Tell a build that stops from a declaration that fails in
the index guide
add 97dfcc7103 Wrap the declaration comparison in the reports as
checkstyle requires
add d71c610fd3 Add a release note for building only the indexes of the
classes mapped to a connection
add 26d47a2a2c Merge branch '8.0.x' into
feat/mongodb-undeclared-indexes-8.0.x
add cd08a7d289 Say a background build has a caller waiting when
buildIndexAsync() started it
add c57d0557b0 Index a class registered at runtime on the collection and
database it maps
add 2c4d2ca19b Index a class registered at runtime only on a connection it
is mapped to
add 83c8061963 Index a class registered at runtime after any build running
on its connection
add d5b93889ec Skip a collection that declares nothing in
findMissingIndexes()
add e6c619ec7b Add a release note for indexing a class registered at
runtime where its mapping says
add 18d09d16fa Start the datastore in the runtime registration spec, as
the index specs do
add 51f6e53106 Merge pull request #16494 from
codeconsole/feat/mongodb-undeclared-indexes-8.0.x
add 28956fc267 Register the GORM for MongoDB Spring Boot
auto-configuration where Boot reads it
add 44eed4de74 Run a spec's shared initializers and stop MongoDB in the
springboot example's extension
add edecc4cf47 Start the springboot example application in its tests
add 05b24407b5 Merge branch '8.0.x' into
fix/mongodb-boot-autoconfiguration-registration-8.0.x
add a2b567290f Give a spec its datastore before its own shared
initializers run
add 7b8173c8e8 Merge pull request #16496 from
codeconsole/fix/mongodb-boot-autoconfiguration-registration-8.0.x
add 7a8701caa6 Merge branch '8.0.x' into
fix/mongodb-checkpoint-on-refresh-8.0.x
add 175e4c2812 Merge pull request #16495 from
codeconsole/fix/mongodb-checkpoint-on-refresh-8.0.x
add f6c9c5e1c7 Save a multi-tenant instance under the current tenant again
add 841f6fbfaa Use the right @since for the classes of GORM for Hibernate 7
add fa7ed617b9 Remove the @author tags from the classes of GORM for
Hibernate 7
add 42f465db52 Merge pull request #16508 from
apache/docs/hibernate7-since-8.0
add fa6cf614e5 Apply @ManagedEntity to Hibernate 7 entities mapped with
hibernate or GORM
add 11403a46dd Rethrow exceptions from the Hibernate 7 withFlushMode
callable
add c9ea2a0c0b Remove the Hibernate 7 Integrator file that Hibernate never
reads
add aeca131fa6 Merge pull request #16502 from
apache/fix/hibernate7-mapwith-flushmode-integrator
add 36f00398bf Apply the GORM session flush mode to the bound Hibernate 7
session
add 527ccfca9e Merge pull request #16504 from
apache/fix/hibernate7-session-flush-mode
add 0a657b3073 Rethrow TenantNotFoundException from the multi-tenant event
listener
add 1d3161e1cf Merge pull request #16509 from
apache/fix/multi-tenant-listener-tenant-not-found
add 747a786798 Restrict a Hibernate 7 query by the detached criteria
passed to add()
add a59b77b198 Add criteria to the given junction in Hibernate 7 queries
add 9a86b07199 Compare whole values in Hibernate 7 eq with ignoreCase
add 6816f847ea Apply the requested lock mode in
GrailsHibernateTemplate.lock()
add 47572a5918 Stop managing liquibase-hibernate7 in the Hibernate 7 BOM
add 321898b9b6 Test Hibernate 7 eq with ignoreCase through the query API
add 45769ae883 Merge pull request #16500 from
apache/fix/hibernate7-query-template-bom-bugs
add 03c9e65694 Return joined entities and native query entities from
Hibernate 7 queries
add c90d00bbab Merge pull request #16506 from
apache/fix/hibernate7-hql-joined-alias-select
add 5268168499 Merge remote-tracking branch 'upstream/8.0.x' into
fix/multi-tenant-listener-current-tenant
add ef29ca6787 Check that an update does not move a book to another tenant
add 9a8ceda9a4 Merge pull request #16511 from
apache/fix/multi-tenant-listener-current-tenant
add 15542ae8e9 Upgrade Asset Pipeline to 5.2.0
add 542ae8ac9b Merge pull request #16514 from
apache/deps/asset-pipeline-5.2.0
add 9fa482ba91 Implement sqlRestriction for Hibernate 7 criteria queries
add edc5f687cb Address review feedback on Hibernate 7 sqlRestriction
add c316b7d52c Register the Hibernate 7 junction sqlRestriction as an
extension module
add dc8462b47b Merge pull request #16505 from
apache/fix/hibernate7-sql-restriction
add a6388e855a Show every container filter in chain order on the welcome
page
add 4bbf14837e Add grails-compile-static Forge feature
add 55e7e9c293 Skip disabled filter registrations in the welcome page
fallback
add 70470c27f5 Label filters without a readable class name by their
registration name
add 63101a12ac Document the grails-compile-static Forge feature in the
guide
add 61fa27129b List grails-compile-static under Configuration
add 6eacfd59f6 List each filter map in the order Tomcat applies it, and
number none elsewhere
add b8f8c251f7 Render the welcome page's filter list on Tomcat and on Jetty
add 4f54d20054 Merge branch '8.0.x' into
feat/welcome-filters-compile-static-8.0.x
add cdc35cb97a Opt each artefact type in on its own in
grails-compile-static
add 7599fa986f Badge a filter map that is not for ordinary requests with
its dispatcher types
add 2b92bc9ae5 Merge pull request #16499 from
codeconsole/feat/welcome-filters-compile-static-8.0.x
add 7ac6568a54 Fix github branch on 7.2.x
add c446533522 Keep the Close Release job going when post-release fails
add 2e108db240 Merge pull request #16488 from
apache/ci/post-release-manual-fallback
add 03854b8853 Run every feature of the TCK CrudOperationsSpec
add 150248d5e7 Merge pull request #16507 from
apache/fix/tck-crud-operations-ignore-rest
add da5527951a Give Hibernate 5 templates the configured flush mode
add 81c86f01cf Merge pull request #16503 from
apache/fix/hibernate-template-flush-mode
add 788b6a2601 Apply @ManagedEntity to entities mapped with hibernate or
GORM
add 5248f6699b Rethrow exceptions from the withFlushMode callable
add c4f5871d04 Remove the Integrator file that Hibernate never reads
add a5d536c32c Merge pull request #16501 from
apache/fix/hibernate-mapwith-flushmode-integrator
add f0d7af0986 Merge branch '7.0.x' into 7.1.x
add b364fe4952 Merge branch '7.1.x' into 7.2.x
add df80e8128b Merge branch '7.2.x' into 8.0.x
add c16730edd9 Merge branch '8.0.x' into 8.1.x
add c3b2ea8fcf Merge branch '8.1.x' into 9.0.x
new c68b12e846 Merge origin/9.0.x into 9.0.x-h7-improvement-phase3
new 2b22e94cd0 fix: read the mapping context field, not its proxying
getter, in DefaultGrailsApplication's placeholder
new f5abd46967 test: follow upstream's composite ident() and list the
custom-type refusal of the generated mode
new 6855e32c42 feat: the generated-class mode states a custom-type
property that names a UserType class
new c3b4eb3256 style: silence CodeNarc's record false positives in the
converted mongodb sources
The 11 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/end-to-end.yml | 3 +-
.github/workflows/gradle.yml | 63 +-
.github/workflows/groovy-snapshot-canary.yml | 5 +-
.github/workflows/release.yml | 36 +
RELEASE.md | 4 +-
dependencies.gradle | 10 +-
.../controller/support/RequestForwarder.groovy | 2 +
.../controller/support/RequestForwarderSpec.groovy | 83 ++
.../grails/core/DefaultGrailsApplication.groovy | 2 +-
.../orm/hibernate/AbstractHibernateDatastore.java | 16 +-
.../orm/hibernate/GrailsHibernateTemplate.java | 17 +-
.../grails/orm/hibernate/HibernateDatastore.java | 12 +-
.../org/grails/orm/hibernate/cfg/Mapping.groovy | 6 +-
.../compiler/HibernateEntityTransformation.groovy | 2 +-
.../proxy/ByteBuddyGroovyInterceptor.java | 9 +-
.../hibernate/support/HibernateRuntimeUtils.groovy | 26 +-
.../org.hibernate.integrator.spi.Integrator | 1 -
.../hibernate/mapping/MappingBuilderSpec.groovy | 25 +
.../grails/gorm/tests/MappedIdentifierSpec.groovy | 161 +++
.../gorm/tests/ValidationErrorResetSpec.groovy | 151 +++
.../tests/proxy/ProxyIdentifierAccessSpec.groovy | 175 ++++
.../hibernate/DefaultMappingGlobalEntrySpec.groovy | 98 ++
.../GrailsHibernateTemplateFlushModeSpec.groovy | 89 ++
.../orm/hibernate/HibernateDatastoreSpec.groovy | 70 +-
.../HibernateEntityTransformationSpec.groovy | 22 +
.../support/HibernateRuntimeUtilsErrorsSpec.groovy | 165 +++
.../grails/orm/HibernateCriteriaBuilder.groovy | 31 +-
.../orm/hibernate/GrailsHibernateTemplate.groovy | 3 +-
.../grails/orm/hibernate/HibernateDatastore.groovy | 20 +-
.../grails/orm/hibernate/HibernateSession.groovy | 38 +-
.../HibernateMappingContextConfiguration.groovy | 11 +
.../org/grails/orm/hibernate/cfg/Mapping.groovy | 6 +-
.../domainbinding/binder/CollectionBinder.groovy | 2 +
.../binder/JoinedSubClassBinder.groovy | 2 +-
.../binder/ManyToManyOwnerValidator.groovy | 73 ++
.../binder/SingleTableSubclassBinder.groovy | 2 +-
.../binder/UnionSubclassBinder.groovy | 2 +-
.../generator/GrailsNativeGenerator.groovy | 3 +-
.../hibernate/HibernateMappingBuilder.groovy | 2 +-
.../hibernate/HibernateMappingKeyword.groovy | 3 +-
.../jpa/GeneratedDomainClassBinder.groovy | 17 +
.../domainbinding/jpa/GrailsDomainGenerator.groovy | 53 +-
.../util/MultiTenantFilterBinder.groovy | 2 +-
.../util/MultiTenantFilterDefinitionBinder.groovy | 2 +-
.../compiler/HibernateEntityTransformation.groovy | 2 +-
.../proxy/ByteBuddyGroovyInterceptor.groovy | 12 +-
.../proxy/ByteBuddyGroovyProxyFactory.groovy | 3 +-
.../proxy/GrailsProxyFactoryFactory.groovy | 3 +-
.../proxy/GroovyProxyInterceptorLogic.groovy | 3 +-
.../hibernate/proxy/HibernateProxyHandler.groovy | 3 +-
.../orm/hibernate/query/AliasRegistry.groovy | 3 +-
.../orm/hibernate/query/EqualsIgnoreCase.groovy | 22 +-
.../orm/hibernate/query/ExpressionResolver.groovy | 3 +-
.../hibernate/query/GrailsQueryFlushMode.groovy | 3 +-
.../query/GrailsSqlRestrictionFunction.groovy | 112 ++
.../GrailsSqlRestrictionFunctionContributor.groovy | 23 +-
.../query/Hibernate7CountProjection.groovy | 3 +-
.../HibernateDetachedCriteriaExtension.groovy | 69 ++
.../query/HibernatePagedResultList.groovy | 3 +-
.../orm/hibernate/query/HibernateQuery.groovy | 59 +-
.../hibernate/query/HibernateQueryExecutor.groovy | 20 +-
.../orm/hibernate/query/HqlListQueryBuilder.groovy | 4 +-
.../orm/hibernate/query/HqlQueryContext.groovy | 62 +-
.../grails/orm/hibernate/query/JoinTracker.groovy | 3 +-
.../hibernate/query/JpaCriteriaQueryCreator.groovy | 21 +-
.../hibernate/query/JpaProjectionAdapter.groovy | 3 +-
.../hibernate/query/JpaProjectionTranslator.groovy | 4 +-
.../orm/hibernate/query/JpaQueryContext.groovy | 30 +-
.../orm/hibernate/query/MutationHqlQuery.groovy | 3 +-
.../orm/hibernate/query/PredicateGenerator.groovy | 130 ++-
.../orm/hibernate/query/SqlRestriction.groovy | 136 +++
.../hibernate/support/HibernateRuntimeUtils.groovy | 26 +-
.../org.codehaus.groovy.runtime.ExtensionModule | 3 +
.../org.hibernate.boot.model.FunctionContributor | 1 +
.../mapping/HibernateMappingBuilderSpec.groovy | 9 +
.../hibernate/mapping/MappingBuilderSpec.groovy | 25 +
.../gorm/tests/HqlSelectResultTypeSpec.groovy | 87 ++
.../grails/gorm/tests/MappedIdentifierSpec.groovy | 161 +++
.../gorm/tests/SqlRestrictionHibernate7Spec.groovy | 160 +++
.../gorm/tests/UserTypeComparisonSpec.groovy | 443 ++++++++
.../gorm/tests/ValidationErrorResetSpec.groovy | 151 +++
...ratedDomainClassesCircularManyToManySpec.groovy | 271 +++++
.../GeneratedDomainClassesCompositeIdSpec.groovy | 7 +-
.../tests/hibernatequery/HibernateQuerySpec.groovy | 96 +-
.../JpaCriteriaQueryCreatorSpec.groovy | 73 +-
.../hibernatequery/PredicateGeneratorSpec.groovy | 40 +
.../tests/proxy/ProxyIdentifierAccessSpec.groovy | 175 ++++
.../orm/HibernateCriteriaBuilderDirectSpec.groovy | 30 +-
...bernateCriteriaBuilderSqlRestrictionSpec.groovy | 534 ++++++++++
.../ManyToManyWithoutOwnerDomains.groovy | 45 +-
.../hibernate/DefaultMappingGlobalEntrySpec.groovy | 98 ++
.../hibernate/GrailsHibernateTemplateSpec.groovy | 21 +
.../orm/hibernate/HibernateDatastoreSpec.groovy | 43 +-
.../orm/hibernate/HibernateSessionSpec.groovy | 67 +-
.../orm/hibernate/UserTypeMappingSpec.groovy | 226 +++++
.../grails/orm/hibernate/cfg/MappingSpec.groovy | 4 +
.../CascadeBehaviorFetcherSpec.groovy | 2 +-
.../DefaultColumnNameFetcherSpec.groovy | 1 +
.../TableForManyCalculatorSpec.groovy | 3 +-
.../binder/ManyToManyWithoutOwnerSpec.groovy | 191 ++++
.../hibernate/HibernateToManyPropertySpec.groovy | 1 +
...edDomainClassBinderHibernateContractSpec.groovy | 183 ++++
...eneratedDomainClassesDdlDifferentialSpec.groovy | 5 -
.../GrailsDomainGeneratorDifferentialSpec.groovy | 24 +-
.../jpa/GrailsDomainGeneratorSpec.groovy | 125 ++-
.../jpa/ManyToManyOwnershipDefectSpec.groovy | 39 +-
.../secondpass/CollectionKeyBinderSpec.groovy | 1 +
.../secondpass/ManyToOneElementBinderSpec.groovy | 2 +
.../ToManyEntityMultiTenantFilterBinderSpec.groovy | 1 +
.../HibernateEntityTransformationSpec.groovy | 21 +-
.../proxy/ByteBuddyGroovyInterceptorSpec.groovy | 9 +-
.../orm/hibernate/query/HqlQueryContextSpec.groovy | 33 +-
.../orm/hibernate/query/JpaQueryContextSpec.groovy | 43 +
.../support/HibernateRuntimeUtilsSpec.groovy | 44 +-
.../generated/GeneratedModeEnversSpec.groovy | 99 +-
.../ormdsl/customHibernateTypes.adoc | 25 +-
.../domainClasses/gormAssociation/manyToMany.adoc | 2 +
.../asciidoc/gettingStarted/hibernateVersions.adoc | 4 +
.../docs/src/docs/asciidoc/querying/criteria.adoc | 22 +-
.../docs/asciidoc/querying/detachedCriteria.adoc | 11 +-
.../MongoDbGormAutoConfiguration.groovy | 139 ++-
...rk.boot.autoconfigure.AutoConfiguration.imports | 0
.../MongoDbGormAutoConfigurationClientSpec.groovy | 218 ++++
.../MongoDbGormAutoConfigurationCloseSpec.groovy | 103 +-
...ongoDbGormAutoConfigurationDiscoverySpec.groovy | 98 ++
.../mapping/mongo/IndexBuildResult.groovy | 44 +
.../datastore/mapping/mongo/MissingIndex.groovy | 33 +-
.../datastore/mapping/mongo/MongoDatastore.groovy | 1068 ++++++++++++++++----
.../datastore/mapping/mongo/UndeclaredIndex.groovy | 25 +-
.../MongoConnectionSourceFactory.groovy | 18 +-
.../connections/RestartableMongoClient.groovy | 377 +++++++
.../bootstrap/ConnectsWhenStartedSpec.groovy | 154 +++
.../MongoDbDataStoreSpringInitializerSpec.groovy | 26 +
.../gorm/mongo/BuildIndexAsyncResultSpec.groovy | 598 +++++++++++
.../gorm/mongo/BuildIndexesAsyncSpec.groovy | 27 +-
.../mongo/BuildIndexesBackgroundFailureSpec.groovy | 2 +-
.../BuildIndexesClassificationCostSpec.groovy | 1 +
.../BuildIndexesDefaultConstraintsSpec.groovy | 91 ++
.../mongo/BuildIndexesFailureSummarySpec.groovy | 68 +-
.../gorm/mongo/BuildIndexesHookSpec.groovy | 1 +
.../gorm/mongo/BuildIndexesKeyOrderSpec.groovy | 1 +
.../gorm/mongo/BuildIndexesLifecycleSpec.groovy | 138 +++
.../gorm/mongo/BuildIndexesNameConflictSpec.groovy | 2 +
.../BuildIndexesPartialClassificationSpec.groovy | 1 +
.../mongo/BuildIndexesRecreateSummarySpec.groovy | 1 +
.../mongo/BuildIndexesStaleSnapshotSpec.groovy | 1 +
.../gorm/mongo/BuildIndexesSummaryLogSpec.groovy | 1 +
.../mongo/BuildIndexesUnfinishedSummarySpec.groovy | 3 +-
.../BuildIndexesUnreadableIndexListSpec.groovy | 1 +
.../gorm/mongo/DocumentMappingSpec.groovy | 18 +-
.../datastore/gorm/mongo/MissingIndexesSpec.groovy | 350 +++++++
.../gorm/mongo/UndeclaredIndexesSpec.groovy | 535 ++++++++++
.../BuildIndexesPerConnectionSpec.groovy | 176 +++-
.../mongo/MongoDatastoreLifecycleSpec.groovy | 268 ++++-
.../connections/RestartableMongoClientSpec.groovy | 293 ++++++
.../asciidoc/gettingStarted/advancedConfig.adoc | 15 +-
.../asciidoc/gettingStarted/embeddedMongo.adoc | 12 +
.../docs/asciidoc/gettingStarted/springBoot.adoc | 2 +
.../asciidoc/gettingStarted/springDataInterop.adoc | 2 +-
.../docs/asciidoc/introduction/releaseNotes.adoc | 12 +-
.../docs/asciidoc/introduction/upgradeNotes.adoc | 33 +-
.../src/docs/asciidoc/querying/queryIndexes.adoc | 103 +-
.../embedded/EmbeddedMongoInitializer.groovy | 138 ++-
.../EmbeddedMongoStartedWithTheContextSpec.groovy | 258 +++++
.../SpringDataMongoGormRestoreSpec.groovy | 8 +-
.../partitioned/PartitionMultiTenancySpec.groovy | 39 +
.../grails/datastore/gorm/GormInstanceApi.groovy | 31 +-
.../multitenancy/MultiTenantEventListener.groovy | 14 +-
.../datastore/gorm/GormInstanceApiIdentSpec.groovy | 257 +++++
.../datastore/gorm/GormInstanceApiSpec.groovy | 5 +-
.../MultiTenantEventListenerSpec.groovy | 62 +-
.../testing/tck/tests/CrudOperationsSpec.groovy | 6 +-
.../tck/tests/ValidationHibernateSpec.groovy | 7 +-
.../data/testing/tck/tests/ValidationSpec.groovy | 8 +-
.../grails/datastore/mapping/config/Entity.groovy | 3 +
.../DefaultMappingConfigurationBuilder.groovy | 13 +-
.../DefaultMappingConfigurationBuilderSpec.groovy | 52 +
.../guide/gettingStarted/developmentReloading.adoc | 32 +
grails-doc/src/en/guide/introduction/whatsNew.adoc | 31 +
.../grailsCompileStatic.adoc | 7 +
.../src/en/guide/upgrading/upgrading80x.adoc | 9 +
grails-doc/src/en/ref/Controllers/bindData.adoc | 2 +
grails-doc/src/en/ref/Dependency Versions.adoc | 2 +-
grails-doc/src/en/ref/Domain Classes/ident.adoc | 22 +-
grails-doc/src/en/ref/Domain Classes/load.adoc | 6 +-
grails-doc/src/en/ref/Domain Classes/validate.adoc | 4 +
.../build/gradle/templates/buildGradle.rocker.raw | 13 +
.../forge/feature/grails/GrailsCompileStatic.java | 62 ++
.../src/main/resources/gsp/index.gsp | 137 ++-
.../src/main/resources/i18n/messages.properties | 6 +-
.../src/main/resources/i18n/messages_cs.properties | 6 +-
.../src/main/resources/i18n/messages_da.properties | 6 +-
.../src/main/resources/i18n/messages_de.properties | 6 +-
.../src/main/resources/i18n/messages_es.properties | 6 +-
.../src/main/resources/i18n/messages_fr.properties | 6 +-
.../src/main/resources/i18n/messages_it.properties | 6 +-
.../src/main/resources/i18n/messages_ja.properties | 6 +-
.../src/main/resources/i18n/messages_nb.properties | 6 +-
.../src/main/resources/i18n/messages_nl.properties | 6 +-
.../src/main/resources/i18n/messages_pl.properties | 6 +-
.../main/resources/i18n/messages_pt_BR.properties | 6 +-
.../main/resources/i18n/messages_pt_PT.properties | 6 +-
.../src/main/resources/i18n/messages_ru.properties | 6 +-
.../src/main/resources/i18n/messages_sk.properties | 6 +-
.../src/main/resources/i18n/messages_sv.properties | 6 +-
.../src/main/resources/i18n/messages_th.properties | 6 +-
.../main/resources/i18n/messages_zh_CN.properties | 6 +-
.../main/resources/i18n/messages_zh_TW.properties | 6 +-
.../feature/grails/GrailsCompileStaticSpec.groovy | 72 ++
.../grails/forge/feature/view/GrailsGspSpec.groovy | 11 +-
.../org/grails/forge/create/CreateAppSpec.groovy | 11 +
.../model/src/main/groovy/grails/io/IOUtils.groovy | 30 +-
.../main/groovy/grails/util/BuildSettings.groovy | 52 +-
.../org/grails/io/support/MainClassFinder.groovy | 41 +
.../src/test/groovy/grails/io/IOUtilsSpec.groovy | 13 +
.../groovy/grails/util/BuildSettingsPrinter.groovy | 21 +-
.../groovy/grails/util/BuildSettingsSpec.groovy | 117 +++
.../grails/io/support/MainClassFinderSpec.groovy | 126 +++
.../gradle/plugin/core/GrailsGradlePlugin.groovy | 33 +-
.../core/GrailsProjectOutputDirProvider.groovy | 153 +++
.../core/GrailsGradlePluginToolchainSpec.groovy | 55 +
.../core/GrailsProjectOutputDirProviderSpec.groovy | 112 ++
.../test-projects/bootrun-classes-dir/build.gradle | 30 +
.../gradle.properties | 0
.../grails-app/conf/.keep | 0
.../bootrun-classes-dir/settings.gradle | 1 +
.../org/grails/openapi/GrailsModelConverter.groovy | 5 +
.../groovy/grails/openapi/CommandObjectSpec.groovy | 53 +
.../skeleton/grails-app/i18n/messages.properties | 6 +-
.../grails-app/i18n/messages_cs.properties | 6 +-
.../grails-app/i18n/messages_da.properties | 6 +-
.../grails-app/i18n/messages_de.properties | 6 +-
.../grails-app/i18n/messages_es.properties | 6 +-
.../grails-app/i18n/messages_fr.properties | 6 +-
.../grails-app/i18n/messages_it.properties | 6 +-
.../grails-app/i18n/messages_ja.properties | 6 +-
.../grails-app/i18n/messages_nb.properties | 6 +-
.../grails-app/i18n/messages_nl.properties | 6 +-
.../grails-app/i18n/messages_pl.properties | 6 +-
.../grails-app/i18n/messages_pt_BR.properties | 6 +-
.../grails-app/i18n/messages_pt_PT.properties | 6 +-
.../grails-app/i18n/messages_ru.properties | 6 +-
.../grails-app/i18n/messages_sk.properties | 6 +-
.../grails-app/i18n/messages_sv.properties | 6 +-
.../grails-app/i18n/messages_th.properties | 6 +-
.../grails-app/i18n/messages_zh_CN.properties | 6 +-
.../grails-app/i18n/messages_zh_TW.properties | 6 +-
.../web/skeleton/grails-app/views/index.gsp | 137 ++-
.../skills/grails-8-upgrade/SKILL.md | 278 ++++-
.../AbstractGrailsMockHttpServletResponse.groovy | 3 +-
.../gorm/DirtyCheckBindingController.groovy | 17 +-
.../groovy/gorm/DirtyCheckBindingSpec.groovy | 67 +-
.../gorm/DirtyCheckBindingController.groovy | 17 +-
.../groovy/gorm/DirtyCheckBindingSpec.groovy | 67 +-
.../functional/tests/ModelInterceptor.groovy | 2 +
.../tests/RenderTemplateController.groovy | 32 +
.../tests/ModelInterceptorIntSpec.groovy | 40 +
.../src/test/groovy/example/ApplicationSpec.groovy | 96 ++
.../test/groovy/example/SharedDatastoreSpec.groovy | 63 ++
.../example/SpringBootStartMongoExtension.groovy | 4 +-
.../functional/tests/ModelInterceptor.groovy | 2 +
.../tests/RenderTemplateController.groovy | 32 +
.../tests/ModelInterceptorIntSpec.groovy | 40 +
.../welcome-page-jetty/build.gradle | 94 ++
.../grails-app/conf/application.yml | 23 +
.../grails-app/conf/spring/resources.groovy | 52 +
.../welcomepagejetty/UrlMappings.groovy} | 21 +-
.../init/welcomepagejetty/Application.groovy} | 24 +-
.../WelcomePageFiltersJettySpec.groovy | 94 ++
.../welcomepagejetty/WelcomePageFilters.groovy | 66 ++
grails-test-examples/welcome-page/build.gradle | 84 ++
.../welcome-page/grails-app/conf/application.yml | 23 +
.../grails-app/conf/spring/resources.groovy | 60 ++
.../controllers/welcomepage/UrlMappings.groovy} | 21 +-
.../init/welcomepage/Application.groovy} | 24 +-
.../welcomepage/WelcomePageFiltersSpec.groovy | 98 ++
.../groovy/welcomepage/WelcomePageFilters.groovy | 85 ++
.../test/mixin/DomainProxyBindingSpec.groovy | 92 ++
.../test/mixin/InheritedCommandBindingSpec.groovy | 398 ++++++++
.../GrailsMockHttpServletResponseTests.groovy | 92 ++
.../IntegrationTestAstTransformation.groovy | 27 +-
.../IntegrationTestApplicationClassSpec.groovy | 116 +++
.../grails/web/databinding/DataBindingUtils.groovy | 35 +-
.../web/databinding/BindingIncludeLists.groovy | 71 +-
.../web/databinding/DataBindingUtilsSpec.groovy | 55 +-
.../org/grails/web/mapping/UrlMappingUtils.groovy | 9 +
.../grails/web/mapping/UrlMappingUtilsSpec.groovy | 134 +++
settings.gradle | 4 +
288 files changed, 15066 insertions(+), 1038 deletions(-)
delete mode 100644
grails-data-hibernate5/core/src/main/resources/META-INF/org.hibernate.integrator.spi.Integrator
create mode 100644
grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/MappedIdentifierSpec.groovy
create mode 100644
grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/ValidationErrorResetSpec.groovy
create mode 100644
grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/proxy/ProxyIdentifierAccessSpec.groovy
create mode 100644
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/DefaultMappingGlobalEntrySpec.groovy
create mode 100644
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/GrailsHibernateTemplateFlushModeSpec.groovy
create mode 100644
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/support/HibernateRuntimeUtilsErrorsSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/ManyToManyOwnerValidator.groovy
copy
grails-test-examples/views-functional-tests/grails-app/controllers/functional/tests/RenderTemplateController.groovy
=>
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/EqualsIgnoreCase.groovy
(60%)
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/GrailsSqlRestrictionFunction.groovy
copy
grails-test-examples/views-functional-tests/grails-app/controllers/functional/tests/RenderTemplateController.groovy
=>
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/GrailsSqlRestrictionFunctionContributor.groovy
(56%)
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/HibernateDetachedCriteriaExtension.groovy
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/SqlRestriction.groovy
create mode 100644
grails-data-hibernate7/core/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule
create mode 100644
grails-data-hibernate7/core/src/test/groovy/grails/gorm/tests/HqlSelectResultTypeSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/grails/gorm/tests/MappedIdentifierSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/grails/gorm/tests/SqlRestrictionHibernate7Spec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/grails/gorm/tests/UserTypeComparisonSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/grails/gorm/tests/ValidationErrorResetSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/grails/gorm/tests/generated/GeneratedDomainClassesCircularManyToManySpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/grails/gorm/tests/proxy/ProxyIdentifierAccessSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/grails/orm/HibernateCriteriaBuilderSqlRestrictionSpec.groovy
copy
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/HibernateDatastoreSpec.groovy
=>
grails-data-hibernate7/core/src/test/groovy/grails/unbootable/ManyToManyWithoutOwnerDomains.groovy
(53%)
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/DefaultMappingGlobalEntrySpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/UserTypeMappingSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/ManyToManyWithoutOwnerSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/jpa/GeneratedDomainClassBinderHibernateContractSpec.groovy
rename grails-data-mongodb/boot-plugin/src/main/resources/META-INF/{services
=> }/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
(100%)
create mode 100644
grails-data-mongodb/boot-plugin/src/test/groovy/org/grails/datastore/gorm/mongodb/boot/autoconfigure/MongoDbGormAutoConfigurationClientSpec.groovy
create mode 100644
grails-data-mongodb/boot-plugin/src/test/groovy/org/grails/datastore/gorm/mongodb/boot/autoconfigure/discovered/MongoDbGormAutoConfigurationDiscoverySpec.groovy
create mode 100644
grails-data-mongodb/core/src/main/groovy/org/grails/datastore/mapping/mongo/IndexBuildResult.groovy
copy
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/HibernateDatastoreSpec.groovy
=>
grails-data-mongodb/core/src/main/groovy/org/grails/datastore/mapping/mongo/MissingIndex.groovy
(51%)
copy
grails-test-examples/hibernate7/gorm/grails-app/controllers/gorm/DirtyCheckBindingController.groovy
=>
grails-data-mongodb/core/src/main/groovy/org/grails/datastore/mapping/mongo/UndeclaredIndex.groovy
(50%)
create mode 100644
grails-data-mongodb/core/src/main/groovy/org/grails/datastore/mapping/mongo/connections/RestartableMongoClient.groovy
create mode 100644
grails-data-mongodb/core/src/test/groovy/grails/mongodb/bootstrap/ConnectsWhenStartedSpec.groovy
create mode 100644
grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexAsyncResultSpec.groovy
create mode 100644
grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesDefaultConstraintsSpec.groovy
create mode 100644
grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/MissingIndexesSpec.groovy
create mode 100644
grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/UndeclaredIndexesSpec.groovy
create mode 100644
grails-data-mongodb/core/src/test/groovy/org/grails/datastore/mapping/mongo/connections/RestartableMongoClientSpec.groovy
create mode 100644
grails-data-mongodb/embedded/src/test/groovy/org/grails/datastore/gorm/mongodb/embedded/EmbeddedMongoStartedWithTheContextSpec.groovy
create mode 100644
grails-datamapping-core/src/test/groovy/org/grails/datastore/gorm/GormInstanceApiIdentSpec.groovy
create mode 100644
grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/grails/GrailsCompileStatic.java
create mode 100644
grails-forge/grails-forge-core/src/test/groovy/org/grails/forge/feature/grails/GrailsCompileStaticSpec.groovy
copy
grails-test-examples/views-functional-tests/grails-app/controllers/functional/tests/RenderTemplateController.groovy
=> grails-gradle/model/src/test/groovy/grails/util/BuildSettingsPrinter.groovy
(60%)
create mode 100644
grails-gradle/model/src/test/groovy/grails/util/BuildSettingsSpec.groovy
create mode 100644
grails-gradle/model/src/test/groovy/org/grails/io/support/MainClassFinderSpec.groovy
create mode 100644
grails-gradle/plugins/src/main/groovy/org/grails/gradle/plugin/core/GrailsProjectOutputDirProvider.groovy
create mode 100644
grails-gradle/plugins/src/test/groovy/org/grails/gradle/plugin/core/GrailsProjectOutputDirProviderSpec.groovy
create mode 100644
grails-gradle/plugins/src/test/resources/test-projects/bootrun-classes-dir/build.gradle
copy
grails-gradle/plugins/src/test/resources/test-projects/{auto-apply-bom-disabled
=> bootrun-classes-dir}/gradle.properties (100%)
copy grails-gradle/plugins/src/test/resources/test-projects/{boot-run-pid =>
bootrun-classes-dir}/grails-app/conf/.keep (100%)
create mode 100644
grails-gradle/plugins/src/test/resources/test-projects/bootrun-classes-dir/settings.gradle
create mode 100644
grails-test-examples/mongodb/springboot/src/test/groovy/example/ApplicationSpec.groovy
create mode 100644
grails-test-examples/mongodb/springboot/src/test/groovy/example/SharedDatastoreSpec.groovy
create mode 100644 grails-test-examples/welcome-page-jetty/build.gradle
create mode 100644
grails-test-examples/welcome-page-jetty/grails-app/conf/application.yml
create mode 100644
grails-test-examples/welcome-page-jetty/grails-app/conf/spring/resources.groovy
copy
grails-test-examples/{views-functional-tests/grails-app/controllers/functional/tests/ModelInterceptor.groovy
=>
welcome-page-jetty/grails-app/controllers/welcomepagejetty/UrlMappings.groovy}
(74%)
copy
grails-test-examples/{views-functional-tests/grails-app/controllers/functional/tests/ModelInterceptor.groovy
=> welcome-page-jetty/grails-app/init/welcomepagejetty/Application.groovy}
(74%)
create mode 100644
grails-test-examples/welcome-page-jetty/src/integration-test/groovy/welcomepagejetty/WelcomePageFiltersJettySpec.groovy
create mode 100644
grails-test-examples/welcome-page-jetty/src/main/groovy/welcomepagejetty/WelcomePageFilters.groovy
create mode 100644 grails-test-examples/welcome-page/build.gradle
create mode 100644
grails-test-examples/welcome-page/grails-app/conf/application.yml
create mode 100644
grails-test-examples/welcome-page/grails-app/conf/spring/resources.groovy
copy
grails-test-examples/{views-functional-tests/grails-app/controllers/functional/tests/ModelInterceptor.groovy
=> welcome-page/grails-app/controllers/welcomepage/UrlMappings.groovy} (74%)
copy
grails-test-examples/{views-functional-tests/grails-app/controllers/functional/tests/ModelInterceptor.groovy
=> welcome-page/grails-app/init/welcomepage/Application.groovy} (74%)
create mode 100644
grails-test-examples/welcome-page/src/integration-test/groovy/welcomepage/WelcomePageFiltersSpec.groovy
create mode 100644
grails-test-examples/welcome-page/src/main/groovy/welcomepage/WelcomePageFilters.groovy
create mode 100644
grails-test-suite-uber/src/test/groovy/grails/test/mixin/DomainProxyBindingSpec.groovy
create mode 100644
grails-test-suite-uber/src/test/groovy/grails/test/mixin/InheritedCommandBindingSpec.groovy
create mode 100644
grails-testing-support-core/src/test/groovy/org/grails/compiler/injection/testing/IntegrationTestApplicationClassSpec.groovy