You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by bo...@apache.org on 2026/10/22 14:45:43 UTC

(grails-core) branch refactor/java-to-groovy-web-databinding-taglib updated (a7441b92c7 -> 7746e6b2c5)

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

borinquenkid pushed a change to branch refactor/java-to-groovy-web-databinding-taglib
in repository https://gitbox.apache.org/repos/asf/grails-core.git


    from a7441b92c7 Merge branch 'refactor/java-to-groovy-grails-converters' into refactor/java-to-groovy-web-databinding-taglib
     add 292bc0a327 fix: store a many-to-many that has no belongsTo on either side
     add 64345be888 Merge remote-tracking branch 'origin/8.0.x' into fix/hibernate7-many-to-many-without-owner-8.0.x
     add f70665145a Revert "fix: store a many-to-many that has no belongsTo on either side"
     add 789223cc34 fix: warn at startup when a many-to-many has no belongsTo on either side
     add 9eec0fea5c Merge origin/8.0.x into fix/hibernate7-many-to-many-without-owner-8.0.x
     add 8fc0fef2cd fix: do not warn about a many-to-many that has a Map side
     add 3fc2ce99bc Merge remote-tracking branch 'origin/8.0.x' into fix/hibernate7-many-to-many-without-owner-8.0.x
     add 931f1b3d47 Merge 8.0.x into fix/hibernate7-many-to-many-without-owner-8.0.x
     add 1a09c005b3 fix(hibernate7): warn about a circular many-to-many that has no owning side
     add 8ca766e5a5 test, docs(hibernate7): assert nothing is stored for a circular many-to-many and document its side effects
     add 337f3165ad docs(hibernate7): say when the circular join tables hold rows, and place the Map note after the warning
     add 3c44a009c7 Merge remote-tracking branch 'origin/8.0.x' into fix/hibernate7-many-to-many-without-owner-8.0.x
     add 0eae0f410b Fetch a lazy many-to-one with SELECT when no fetch mode is mapped
     add 3cdae7aab9 Cover the many-to-ones of a composite identifier in the binder spec
     add d1f7b1ee0a Merge pull request #16663 from hk2166/fix/16659-lazy-many-to-one-fetch-mode
     add 7cafb0807b Cache compiled pages again
     add 93fa901ed0 Merge pull request #16702 from codeconsole/fix/gsp-compile-cacheable-8.0.x
     add 33ce56106e Run without a tenant only inside Tenants.withoutId
     add bde47b01fb Merge pull request #16704 from apache/fix/gorm-without-tenant-marker-8.0.x
     add 8e1dd223a4 Merge 8.0.x into fix/hibernate7-many-to-many-without-owner-8.0.x
     add 943098c653 Merge pull request #16532 from apache/fix/hibernate7-many-to-many-without-owner-8.0.x
     add a9eb5c3f94 Bump actions/setup-java from 6.0.1 to 6.1.0
     add 2b315dcbf5 Merge pull request #16706 from apache/dependabot/github_actions/actions/setup-java-6.1.0
     add 74113fcbe0 Bump the codeql-action group with 2 updates
     add af8cea578d Merge pull request #16705 from apache/dependabot/github_actions/codeql-action-9159e49961
     add 1978dab17d Restrict lookups by id to the current tenant
     add 13304e6789 Convert ids and initialize withoutId proxies as the lookup by key does
     add 9d47b98435 Cover lookups by id of an entity mapped with a composite id
     add 34c879e803 Return held instances of the current tenant from lookups by id
     add b36c2205f5 Stop SchemaBasedMultiTenancySpec from dropping the config database
     add e8d235330a Use the 8.0.x cleanup of SchemaBasedMultiTenancySpec
     add 70743888e0 Tell withoutId apart from the tenant id DEFAULT
     add 14eaf0ce23 Run without a tenant only inside Tenants.withoutId
     add d1db00ec21 Merge pull request #16703 from apache/fix/gorm-without-tenant-marker-7.0.x
     add 89208a56bf Merge branch '7.0.x' into fix/multi-tenant-get-by-id
     add 860f5dba9d Drop the isWithoutId feature that PartitionedMultiTenancyWithoutIdSpec covers
     add 0a22d3033f Merge pull request #16515 from apache/fix/multi-tenant-get-by-id
     add 555db8cbee [skip tests] Merge branch '7.0.x' into 7.1.x
     add 145e0390d0 [skip tests] Merge branch '7.1.x' into 7.2.x
     add 993c048ea6 [skip tests] Merge branch '7.2.x' into 8.0.x
     add 2d330c0a9c [skip tests] Merge branch '8.0.x' into 8.1.x
     add 8fe2784901 [skip tests] Merge branch '8.1.x' into 9.0.x
     add b2851f31cf [skip tests] Merge branch '9.0.x' into 9.1.x
     add 885ab199a9 [skip tests] Merge branch '9.1.x' into 10.0.x
     add b9423fb2d1 Gate CI through one policy: draft and "no ci" pull requests, and tests by branch and commit marker
     add 74db23c3e0 Merge pull request #16673 from apache/ci/conserve-actions-minutes
     add c331662519 [skip tests] Merge branch '7.0.x' into 7.1.x
     add d2dd9fbc1d [skip tests] Merge branch '7.1.x' into 7.2.x
     add 451f924d9f [skip tests] Merge branch '7.2.x' into 8.0.x
     add a6460e8dcf [skip tests] Merge branch '8.0.x' into 8.1.x
     add 2a92881ffd [skip tests] Merge branch '8.1.x' into 9.0.x
     add ecf0ecb9e6 [skip tests] Merge branch '9.0.x' into 9.1.x
     add 94fd84675f [skip tests] Merge branch '9.1.x' into 10.0.x
     add 7472c06df9 Merge remote-tracking branch 'origin/10.0.x' into refactor/java-to-groovy-build-tooling
     add d5aedf063b Merge branch 'refactor/java-to-groovy-build-tooling' into refactor/java-to-groovy-core-leaves
     add b72e22bc0b Merge branch 'refactor/java-to-groovy-core-leaves' into refactor/java-to-groovy-grails-bootstrap
     add 06605ac47a Merge branch 'refactor/java-to-groovy-grails-bootstrap' into refactor/java-to-groovy-grails-databinding-core
     add 05d02ab24c Merge branch 'refactor/java-to-groovy-grails-databinding-core' into refactor/java-to-groovy-grails-datastore-core
     add 646b948899 Merge branch 'refactor/java-to-groovy-grails-datastore-core' into refactor/java-to-groovy-grails-spring
     add f8e2cb71be Merge branch 'refactor/java-to-groovy-grails-spring' into refactor/java-to-groovy-grails-shell-cli
     add ab48af23dd Merge branch 'refactor/java-to-groovy-grails-shell-cli' into refactor/java-to-groovy-grails-core
     add cbf82d8816 Merge branch 'refactor/java-to-groovy-grails-core' into refactor/java-to-groovy-datamapping-validation
     add 9258cfbd17 Merge branch 'refactor/java-to-groovy-datamapping-validation' into refactor/java-to-groovy-grails-datamapping-core
     add 5cc98a1865 Merge branch 'refactor/java-to-groovy-grails-datamapping-core' into refactor/java-to-groovy-grails-encoder
     add a02bd8d78c Merge branch 'refactor/java-to-groovy-grails-encoder' into refactor/java-to-groovy-runtime-small
     add 9aef1e9133 Merge branch 'refactor/java-to-groovy-runtime-small' into refactor/java-to-groovy-datamapping-satellites
     add 87aa78b0d7 Merge branch 'refactor/java-to-groovy-datamapping-satellites' into refactor/java-to-groovy-grails-data-mongodb
     add 84902bbb9f Merge branch 'refactor/java-to-groovy-grails-data-mongodb' into refactor/java-to-groovy-grails-data-neo4j
     add 50ed14c9c0 Merge branch 'refactor/java-to-groovy-grails-data-neo4j' into refactor/java-to-groovy-grails-taglib
     add a5a4233509 Merge branch 'refactor/java-to-groovy-grails-taglib' into refactor/java-to-groovy-grails-gsp-core
     add c7dc4e399d Merge branch 'refactor/java-to-groovy-grails-gsp-core' into refactor/java-to-groovy-grails-web-common
     add 8cf078c8f1 Merge branch 'refactor/java-to-groovy-grails-web-common' into refactor/java-to-groovy-grails-converters
     add 7746e6b2c5 Merge branch 'refactor/java-to-groovy-grails-converters' into refactor/java-to-groovy-web-databinding-taglib

No new revisions were added by this update.

Summary of changes:
 .github/workflows/benchmark.yml                    |  24 +-
 .github/workflows/build-health.yml                 |  23 +-
 .github/workflows/ci-policy.yml                    | 142 ++++++++
 .github/workflows/codeanalysis.yml                 |  16 +-
 .github/workflows/codeql.yml                       |  19 +-
 .github/workflows/codestyle.yml                    |  23 +-
 .github/workflows/coverage.yml                     |  38 ++-
 .github/workflows/end-to-end.yml                   |  27 +-
 .github/workflows/forge-deploy-aws.yml             |   2 +-
 .github/workflows/gradle.yml                       | 160 ++++++---
 .github/workflows/groovy-snapshot-canary.yml       |  33 +-
 .github/workflows/rat.yml                          |  14 +-
 .github/workflows/release-publish-docs.yml         |   2 +-
 .github/workflows/release-verify.yml               |   2 +-
 .github/workflows/release.yml                      |   4 +-
 .github/workflows/sitemesh2.yml                    |  39 ++-
 .github/workflows/validate-actions.yml             |  14 +-
 .github/workflows/vulnerability-scan.yml           |  11 +-
 AGENTS.md                                          |  12 +
 CONTRIBUTING.md                                    |  19 ++
 RELEASE.md                                         |   8 +
 .../orm/hibernate/AbstractHibernateDatastore.java  | 103 +++++-
 .../AbstractHibernateGormStaticApi.groovy          |   5 +
 .../grails/orm/hibernate/HibernateDatastore.java   |  17 +
 .../orm/hibernate/cfg/GrailsDomainBinder.java      |  10 +-
 .../MultiTenantCollectionEventListener.java        |  60 ++++
 .../multitenancy/MultiTenantEventListener.java     |  15 +-
 .../query/AbstractHibernateCriteriaBuilder.java    |   8 +-
 .../PartitionedMultiTenancyFilterSpec.groovy       | 322 ++++++++++++++++++
 ...PartitionedMultiTenancyResolverQuerySpec.groovy | 180 ++++++++++
 .../PartitionedMultiTenancyWithoutIdSpec.groovy    | 230 +++++++++++++
 .../multiTenancy/discriminatorMultiTenancy.adoc    |  17 +
 .../grails/orm/hibernate/HibernateDatastore.java   | 117 ++++++-
 .../orm/hibernate/HibernateGormStaticApi.groovy    |   8 +
 .../cfg/domainbinding/binder/CollectionBinder.java |  41 +++
 .../binder/ManyToOneValuesBinder.java              |   8 +-
 .../ToManyEntityMultiTenantFilterBinder.java       |  11 +-
 .../MultiTenantCollectionEventListener.java        |  61 ++++
 .../multitenancy/MultiTenantEventListener.java     |  11 +-
 .../tests/ManyToManyWithoutOwnerWarningSpec.groovy | 307 +++++++++++++++++
 .../domainbinding/ManyToOneValuesBinderSpec.groovy | 126 ++++++-
 .../ToManyEntityMultiTenantFilterBinderSpec.groovy |  49 ++-
 .../PartitionedMultiTenancyFilterSpec.groovy       | 322 ++++++++++++++++++
 ...PartitionedMultiTenancyResolverQuerySpec.groovy | 180 ++++++++++
 .../PartitionedMultiTenancyWithoutIdSpec.groovy    | 230 +++++++++++++
 .../MultiTenantEventListenerSpec.groovy            |  48 ++-
 .../domainClasses/gormAssociation/manyToMany.adoc  |  28 ++
 .../multiTenancy/discriminatorMultiTenancy.adoc    |  17 +
 .../MongoLookupByIdMultiTenancySpec.groovy         | 348 +++++++++++++++++++
 .../asciidoc/multiTenancy/multiTenancyModes.adoc   |  12 +
 .../tests/multitenancy/MultiTenancySpec.groovy     |  38 +++
 .../asciidoc/multiTenancy/multiTenancyModes.adoc   |   2 +
 .../PartitionedMultiTenancyNullTenantSpec.groovy   | 100 ++++++
 ...PartitionedMultiTenancyNumericTenantSpec.groovy |  95 ++++++
 .../partitioned/PartitionedLookupByIdSpec.groovy   | 367 +++++++++++++++++++++
 .../PartitionedMultiTenancyWithoutIdSpec.groovy    | 201 +++++++++++
 .../gorm/multitenancy/CurrentTenantHolder.groovy   |  30 +-
 .../groovy/grails/gorm/multitenancy/Tenants.groovy | 149 ++++++---
 .../org/grails/datastore/gorm/GormStaticApi.groovy | 276 ++++++++++++++++
 .../multitenancy/MultiTenantEventListener.groovy   |  13 +-
 .../gorm/services/DefaultTenantService.groovy      |   2 +-
 .../multitenancy/CurrentTenantHolderSpec.groovy    |  35 ++
 .../grails/datastore/gorm/GormStaticApiSpec.groovy |  39 ++-
 .../MultiTenantEventListenerSpec.groovy            |  75 ++++-
 .../src/en/guide/upgrading/upgrading80x.adoc       |  22 ++
 .../views/gsp/GroovyPageForkCompileTask.groovy     |  23 +-
 .../gsp/GroovyPageBuildCacheFunctionalSpec.groovy  | 156 +++++++++
 67 files changed, 4898 insertions(+), 248 deletions(-)
 create mode 100644 .github/workflows/ci-policy.yml
 create mode 100644 grails-data-hibernate5/core/src/main/groovy/org/grails/orm/hibernate/multitenancy/MultiTenantCollectionEventListener.java
 create mode 100644 grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/PartitionedMultiTenancyFilterSpec.groovy
 create mode 100644 grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/PartitionedMultiTenancyResolverQuerySpec.groovy
 create mode 100644 grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/PartitionedMultiTenancyWithoutIdSpec.groovy
 create mode 100644 grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/multitenancy/MultiTenantCollectionEventListener.java
 create mode 100644 grails-data-hibernate7/core/src/test/groovy/grails/gorm/tests/ManyToManyWithoutOwnerWarningSpec.groovy
 create mode 100644 grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/connections/PartitionedMultiTenancyFilterSpec.groovy
 create mode 100644 grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/connections/PartitionedMultiTenancyResolverQuerySpec.groovy
 create mode 100644 grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/connections/PartitionedMultiTenancyWithoutIdSpec.groovy
 create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/multitenancy/MongoLookupByIdMultiTenancySpec.groovy
 create mode 100644 grails-datamapping-core-test/src/test/groovy/grails/gorm/multitenancy/nulltenant/PartitionedMultiTenancyNullTenantSpec.groovy
 create mode 100644 grails-datamapping-core-test/src/test/groovy/grails/gorm/multitenancy/numerictenant/PartitionedMultiTenancyNumericTenantSpec.groovy
 create mode 100644 grails-datamapping-core-test/src/test/groovy/grails/gorm/multitenancy/partitioned/PartitionedLookupByIdSpec.groovy
 create mode 100644 grails-datamapping-core-test/src/test/groovy/grails/gorm/multitenancy/withoutid/PartitionedMultiTenancyWithoutIdSpec.groovy
 create mode 100644 grails-gradle/plugins/src/test/groovy/org/grails/gradle/plugin/views/gsp/GroovyPageBuildCacheFunctionalSpec.groovy