This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch 9.1.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 38bfb26742 Merge branch '9.0.x' into 9.1.x
add 08082792ef fix(forge): keep the Grails Data plugin off the generated
buildscript classpath (#16575)
add b1012aaca5 Implemented the fix for #16632.
add f89943293e Add a functional test for requests without an
Authentication (#16632)
add a2f8c0ab59 Merge pull request #16654 from
ruthst00/fix/16632-unauthenticated-request
add 41cea2f0a4 fix: create proxies for Groovy entities whose trait
declares default values
add 776c6d948c fix: keep HibernateProxy visible on the Groovy proxy
wrapper and fail fast in postInstantiate
add 72c44111e5 test: exercise the built proxy and the lazy association for
trait default values
add 49fa7e809e test: cover the shared ByteBuddyState wiring in
GrailsBytecodeProviderSpec
add 87a3f936e5 fix: reuse the Groovy proxy wrapper per entity and class
loader on Hibernate 5
add 0e9dc2cbae fix: deserialize Groovy-aware proxies through the Grails
proxy factory
add c4803120b2 test: cover trait default values and proxy serialization in
the groovy-proxy apps
add c032daca86 test: load the deserialized book in the groovy-proxy apps
and drop an inert proxy setting
add 38216edf7b Merge pull request #16625 from
MartinJesusDev/fix/16600-trait-default-values-8.0.x
add 8a99cafd41 Merge branch '8.0.x' into 8.1.x
add 963386d56d Merge branch '8.1.x' into 9.0.x
add abd6beb9ad Merge branch '9.0.x' into 9.1.x
No new revisions were added by this update.
Summary of changes:
.github/workflows/gradle.yml | 2 +-
grails-data-hibernate5/core/build.gradle | 4 +
.../proxy/ByteBuddyGroovyInterceptor.java | 23 ++
.../proxy/ByteBuddyGroovyProxyFactory.java | 30 ++-
.../hibernate/proxy/GroovyProxyClassBuilder.java | 115 ++++++++++
.../proxy/GroovyProxyMetaClassDispatcher.java | 57 +++++
.../hibernate/proxy/SerializableGroovyProxy.java | 126 +++++++++++
.../TraitInitializerProxySpec.groovy | 232 +++++++++++++++++++++
.../proxy/ByteBuddyGroovyProxyFactorySpec.groovy | 175 ++++++++++++++++
.../proxy/GroovyProxyClassBuilderSpec.groovy | 109 ++++++++++
.../GroovyProxyMetaClassDispatcherSpec.groovy | 41 ++--
.../proxy/SerializableGroovyProxySpec.groovy | 111 ++++++++++
.../proxy/ByteBuddyGroovyInterceptor.java | 24 +++
.../proxy/ByteBuddyGroovyProxyFactory.java | 44 ++--
.../hibernate/proxy/GrailsBytecodeProvider.java | 10 +-
.../hibernate/proxy/GrailsProxyFactoryFactory.java | 2 +-
.../hibernate/proxy/GroovyProxyClassBuilder.java | 93 +++++++++
.../proxy/GroovyProxyMetaClassDispatcher.java | 56 +++++
.../hibernate/proxy/SerializableGroovyProxy.java | 146 +++++++++++++
.../TraitInitializerProxySpec.groovy | 232 +++++++++++++++++++++
.../proxy/ByteBuddyGroovyInterceptorSpec.groovy | 28 +++
.../proxy/ByteBuddyGroovyProxyFactorySpec.groovy | 152 ++++++++++++--
.../proxy/GrailsBytecodeProviderSpec.groovy | 47 +++++
.../proxy/GroovyProxyClassBuilderSpec.groovy | 107 ++++++++++
.../GroovyProxyMetaClassDispatcherSpec.groovy | 41 ++--
.../proxy/SerializableGroovyProxySpec.groovy | 112 ++++++++++
grails-doc/src/en/guide/introduction/whatsNew.adoc | 3 +
.../springSecurity/core/filters.adoc | 2 +
.../src/en/guide/upgrading/upgrading80x.adoc | 36 ++++
.../feature/database/GrailsDataHibernate5.groovy | 7 +-
.../feature/database/GrailsDataHibernate7.groovy | 7 +-
.../database/GrailsDataHibernate5Spec.groovy | 12 +-
.../database/GrailsDataHibernate7Spec.groovy | 10 +-
.../intercept/FilterSecurityInterceptor.groovy | 4 +
.../intercept/FilterSecurityInterceptorSpec.groovy | 141 ++++++++++++-
.../grails-hibernate-groovy-proxy/build.gradle | 1 +
.../grails-app/conf/application.yml | 4 +
.../grails-app/domain/example}/Book.groovy | 11 +-
.../grails-app/domain/example/Loan.groovy} | 13 +-
.../example/TraitDefaultValuesProxySpec.groovy | 189 +++++++++++++++++
.../src/main/groovy/example/Auditable.groovy} | 14 +-
.../grails-hibernate-groovy-proxy/build.gradle | 1 +
.../grails-app/conf/application.yml | 5 +-
.../grails-app/domain/example}/Book.groovy | 11 +-
.../grails-app/domain/example/Loan.groovy} | 13 +-
.../example/TraitDefaultValuesProxySpec.groovy | 189 +++++++++++++++++
.../src/main/groovy/example/Auditable.groovy} | 14 +-
.../grails-app/conf/application.groovy | 13 ++
.../groovy/specs/NoAnonymousFilterSpec.groovy | 105 ++++++++++
49 files changed, 2768 insertions(+), 156 deletions(-)
create mode 100644
grails-data-hibernate5/core/src/main/groovy/org/grails/orm/hibernate/proxy/GroovyProxyClassBuilder.java
create mode 100644
grails-data-hibernate5/core/src/main/groovy/org/grails/orm/hibernate/proxy/GroovyProxyMetaClassDispatcher.java
create mode 100644
grails-data-hibernate5/core/src/main/groovy/org/grails/orm/hibernate/proxy/SerializableGroovyProxy.java
create mode 100644
grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/proxy/traitinitializer/TraitInitializerProxySpec.groovy
create mode 100644
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/proxy/ByteBuddyGroovyProxyFactorySpec.groovy
create mode 100644
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/proxy/GroovyProxyClassBuilderSpec.groovy
copy
grails-fields/src/test/groovy/org/grails/scaffolding/registry/input/CurrencyInputRendererSpec.groovy
=>
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/proxy/GroovyProxyMetaClassDispatcherSpec.groovy
(52%)
create mode 100644
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/proxy/SerializableGroovyProxySpec.groovy
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/proxy/GroovyProxyClassBuilder.java
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/proxy/GroovyProxyMetaClassDispatcher.java
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/proxy/SerializableGroovyProxy.java
create mode 100644
grails-data-hibernate7/core/src/test/groovy/grails/gorm/tests/proxy/traitinitializer/TraitInitializerProxySpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/proxy/GroovyProxyClassBuilderSpec.groovy
copy
grails-fields/src/test/groovy/org/grails/scaffolding/registry/input/CurrencyInputRendererSpec.groovy
=>
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/proxy/GroovyProxyMetaClassDispatcherSpec.groovy
(52%)
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/proxy/SerializableGroovyProxySpec.groovy
copy
grails-test-examples/{async-events-pubsub-demo/grails-app/domain/pubsub/demo =>
hibernate5/grails-hibernate-groovy-proxy/grails-app/domain/example}/Book.groovy
(82%)
copy
grails-test-examples/{hibernate7/async-events-pubsub-demo/grails-app/domain/pubsub/demo/Author.groovy
=>
hibernate5/grails-hibernate-groovy-proxy/grails-app/domain/example/Loan.groovy}
(80%)
create mode 100644
grails-test-examples/hibernate5/grails-hibernate-groovy-proxy/src/integration-test/groovy/example/TraitDefaultValuesProxySpec.groovy
copy
grails-test-examples/{mongodb/springboot/src/main/groovy/example/Book.groovy =>
hibernate5/grails-hibernate-groovy-proxy/src/main/groovy/example/Auditable.groovy}
(74%)
copy
grails-test-examples/{async-events-pubsub-demo/grails-app/domain/pubsub/demo =>
hibernate7/grails-hibernate-groovy-proxy/grails-app/domain/example}/Book.groovy
(82%)
copy
grails-test-examples/hibernate7/{async-events-pubsub-demo/grails-app/domain/pubsub/demo/Author.groovy
=> grails-hibernate-groovy-proxy/grails-app/domain/example/Loan.groovy} (80%)
create mode 100644
grails-test-examples/hibernate7/grails-hibernate-groovy-proxy/src/integration-test/groovy/example/TraitDefaultValuesProxySpec.groovy
copy
grails-test-examples/{mongodb/springboot/src/main/groovy/example/Book.groovy =>
hibernate7/grails-hibernate-groovy-proxy/src/main/groovy/example/Auditable.groovy}
(74%)
create mode 100644
grails-test-examples/spring-security/core/functional-test-app/src/integration-test/groovy/specs/NoAnonymousFilterSpec.groovy