This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a change to branch feat/8.0.x-legacy-command-compat
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from e1b93a6927 Merge pull request #16059 from
jdaugherty/test/8.0.x-legacy-command-e2e
add cb35496301 [skip ci] Release v8.0.0-M4
add b11fa75cb2 [skip ci] Bump version to 8.0.0-SNAPSHOT
add 743730dc3b Merge pull request #16049 from apache/merge-back-8.0.0-M4
add 7388284e4f [skip ci] Release v7.2.1
add f9e4572136 [skip ci] Bump version to 7.2.2-SNAPSHOT
add e72c56bccf Merge pull request #15982 from apache/merge-back-7.2.1
add bc80c60f7f [skip ci] Release v7.1.4
add ca1def5974 [skip ci] Bump version to 7.1.5-SNAPSHOT
add 0496370184 Merge pull request #15981 from apache/merge-back-7.1.4
add c9c3be92a8 [skip ci] Release v7.0.14
add c63d23e428 [skip ci] Bump version to 7.0.15-SNAPSHOT
add dba8810e50 Merge pull request #15980 from apache/merge-back-7.0.14
add 876db2e1a5 Prevent multiple publishing from running at the same time
add 7eb9a5e98d Merge pull request #15988 from
apache/ci/document-publishing-limit
add ee4d85d65f Bump org.testcontainers:postgresql in /grails-forge
add 8f2f6cf1e6 Merge pull request #15639 from
apache/dependabot/gradle/grails-forge/7.0.x/org.testcontainers-postgresql-1.21.4
add 23c2c586af Update Log4j to 2.25.5 and document unfixed Jansi CVE
add ac08770cff Merge pull request #16043 from
apache/deps/cve-log4j-jansi-7.0.x
add b8df2131e9 Remove push trigger due to api limits
add 6e463ae14b Merge branch '7.0.x' into 7.1.x
add 95c0db6d4a Merge branch '7.1.x' into 7.2.x
add 63048d463e Merge branch '7.2.x' into 8.0.x
add 87ce649d52 build: try to fix dependency resolution after merge-up
add 17d78a74e4 Merge pull request #16056 from apache/try-fix-dependencies
add b2b92f34cd localeSelect: add type="dropdown" and a menu-cased name,
and titlecase autonyms
add 7e0316c71c localeSelect: keep the current query string when switching
language
add 3c5b1b9045 Merge pull request #16053 from
codeconsole/locale-autonym-titlecase
add 4aa9a0b51d Add compile-time check for GORM query strings flattened
from GString
add 46c4ba2486 Track GString origin through variable aliasing, not just
literal coercion
add cceff551fb Extend query safety check with branch-sensitivity fix and
two new warnings
add d3e1ea8485 Add protectSqlInjectionAttacks opt-out for the global query
safety check
add 6e0a8bafe0 Adopt @RestoreSystemProperties in
GlobalGormQuerySafetyASTTransformationSpec
add cb3a5753c7 Detect inline .toString()/cast flattening at the GORM query
call site
add f1fbe86956 Merge pull request #15971 from
apache/feat/gorm-query-safety-ast-check
add e0e7dd3f2a Added ternary operator formatting in the groovy-developer
skill
add 2bf0cf01f8 Merge pull request #16055 from
gsartori/groovy-developer-ternary-operator
add 09c42aebe4 Bump testlens-app/setup-testlens from 1.9.2 to 1.9.3
add 2781979e92 Merge pull request #16062 from
apache/dependabot/github_actions/testlens-app/setup-testlens-1.9.3
add 52b27dfdc3 GrailsUtil: honor stackTraceFiltererClass and
logFullStackTraceOnFilter
add 55a45f5871 fix checkstyle ImportOrder: separate spring.beans import
group
add 5577618630 GrailsUtil: bootstrap-hook init via GrailsExceptionResolver
add a23e03d961 Address review feedback from matrei
add c6610c1567 Move stack filterer init to bootstrap phase, address
jdaugherty review
add c2db0eddb0 Trigger GitHub mergeability recompute (no content change)
add 0702d7bb88 Merge branch '8.0.x' into
7.1.x-grailsutil-honor-filterer-config
add cbfe2fc8e9 Address review: Class-valued filterer config, ClassLoader,
defensiveness
add 4000654c8e Address borinquenkid review: log the wrong-type filterer
fallback
add 87d9eb40e6 Merge pull request #15666 from
codeconsole/7.1.x-grailsutil-honor-filterer-config
add 5db496701c refactor: clean up GlobalGrailsClassInjectorTransformation
add 5e9ce015d9 Add tests closing codecov gaps in
GlobalGrailsClassInjectorTransformation
add 4db83b3436 test: remove redundant javadoc
add 31875ec0a1 another iteration after review feedback
add 7860ec1d19 test: add more coverage for
`GlobalGrailsClassInjectorTransformation`
add b32e9d1907 Merge branch '8.0.x' into refactor-global-injector-trans
add 4267e77b2f test: reset static collections in cleanup()
add 8ec2dad08d Merge branch '8.0.x' into refactor-global-injector-trans
add eb90eb5c77 test: verify log warning on existing malformed plugin xml
file
add 7b35c0f4b0 fix: do not use `getClass()` in static method
add 722040412b refactor: minor
add 300b01f885 test: align on using log appender in tests and some cleanup
add 43366f1f73 test: existing resource when testing `grails-plugin.xml`
update
add c4bbf11593 build: whitespace
add 8fe145514c refactor: enhance plugin XML generation and improve error
handling
add cdad075730 refactor: make pending lists an internal instance concern
add 4fe23d49c0 refactor: another iteration after feedback
add 48e38bb1a0 refactor: extract test log capturing to reusable class
add c3b60c8c01 test: add more coverage
add 7bcab161f3 fix: logic to handle plugin excludes over source units
add bad541ba13 fix: correct error generation in ast transform
add d86a6957e9 fix: defer resources when malformed plugin descriptor lacks
metadata
add fbc9c6ee81 fix: omit unavailable Grails version from plugin metadata
add a55d2ad186 refactor: move LogCapture to textFixtures source set
add aba16ce46a fix: LogCapture improvements
add d1c8d0e439 test: add deterministic test logging configuration
add fd87c31e28 fix: clarify nullable contracts
add 7587013983 refactor: clarify plugin XML update helper names
add b341dc5b75 fix: make Grails version fallback coverage deterministic
add 945b185a17 chore: clarify logback-classic dependency in test fixtures
add a72fa18d3e style: re-order methods more logically
add f924d0c9d7 docs: clarify plugin XML update failure handling
add b5a15be028 test: improve test isolation and clarity by resetting trait
injectors in setup and cleanup
add ec9a530c7d fix: skip plugin XML generation after validation failure
add c083ad1844 fix: refresh plugin metadata without new artefacts
add f55731a748 Merge pull request #16042 from
apache/refactor-global-injector-trans
add b5d87ae5ea Merge branch '8.0.x' into feat/8.0.x-legacy-command-compat
No new revisions were added by this update.
Summary of changes:
.agents/skills/groovy-developer/SKILL.md | 10 +
.github/workflows/gradle.yml | 30 +-
.github/workflows/groovy-joint-workflow.yml | 4 +-
.github/workflows/rat.yml | 2 +-
.github/workflows/release.yml | 6 +
.github/workflows/sitemesh2.yml | 4 +-
.github/workflows/vulnerability-scan.yml | 5 -
.../grails/buildsrc/VulnerabilityScanPlugin.groovy | 5 +
dependencies.gradle | 9 +
.../common/compiler/GroovyTransformOrder.groovy | 8 +-
grails-core/build.gradle | 16 +-
.../src/main/groovy/grails/util/GrailsUtil.java | 42 +-
.../core/GrailsBootstrapRegistryInitializer.java | 139 ++++
.../GlobalGrailsClassInjectorTransformation.groovy | 669 +++++++++++++-----
.../plugins/DefaultGrailsPluginManagerSpec.groovy | 140 ++--
.../grails/util/GrailsUtilStackFiltererSpec.groovy | 168 +++++
.../GrailsBootstrapRegistryInitializerSpec.groovy | 300 +++++++++
.../grails/core/plugins/PluginDiscoverySpec.groovy | 98 +--
...balGrailsClassInjectorTransformationSpec.groovy | 749 ++++++++++++++++++---
.../reporting/StackTraceFiltererSpec.groovy | 95 ++-
.../src/test/resources/logback-test.xml | 15 +-
.../grails/core/testing/support/LogCapture.groovy | 99 +++
...=> GlobalGormQuerySafetyASTTransformation.java} | 40 +-
.../transform/GormQuerySafetyTransformer.java | 690 +++++++++++++++++++
...org.codehaus.groovy.transform.ASTTransformation | 1 +
...obalGormQuerySafetyASTTransformationSpec.groovy | 78 +++
.../GormQuerySafetyTransformerSpec.groovy | 543 +++++++++++++++
.../config/logging/loggingFullStackTraces.adoc | 9 +
.../en/guide/security/securingAgainstAttacks.adoc | 56 ++
.../src/en/guide/upgrading/upgrading80x.adoc | 47 ++
.../src/main/resources/gsp/main.gsp | 29 +-
.../grails/forge/feature/view/GrailsGspSpec.groovy | 18 +-
.../grails/plugins/web/taglib/FormTagLib.groovy | 179 ++++-
.../web/taglib/LocaleSelectRenderingSpec.groovy | 151 ++++-
.../web/skeleton/grails-app/views/layouts/main.gsp | 29 +-
.../controllers/app2/TestController.groovy | 8 +
.../GrailsUtilStackFiltererIntegrationSpec.groovy | 59 ++
.../groovy/app2/RecordingStackTraceFilterer.groovy | 39 +-
.../grails/web/errors/GrailsExceptionResolver.java | 39 ++
.../web/errors/GrailsExceptionResolverSpec.groovy | 88 +++
40 files changed, 4124 insertions(+), 592 deletions(-)
create mode 100644
grails-core/src/test/groovy/grails/util/GrailsUtilStackFiltererSpec.groovy
create mode 100644
grails-core/src/test/groovy/org/apache/grails/core/GrailsBootstrapRegistryInitializerSpec.groovy
copy grails-test-examples/app1/grails-app/views/forwarding/displayFlash.gsp =>
grails-core/src/test/resources/logback-test.xml (82%)
create mode 100644
grails-core/src/testFixtures/groovy/org/apache/grails/core/testing/support/LogCapture.groovy
copy
grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/query/transform/{GlobalDetachedCriteriaASTTransformation.java
=> GlobalGormQuerySafetyASTTransformation.java} (50%)
create mode 100644
grails-datamapping-core/src/main/groovy/org/grails/datastore/gorm/query/transform/GormQuerySafetyTransformer.java
create mode 100644
grails-datamapping-core/src/test/groovy/org/grails/datastore/gorm/query/transform/GlobalGormQuerySafetyASTTransformationSpec.groovy
create mode 100644
grails-datamapping-core/src/test/groovy/org/grails/datastore/gorm/query/transform/GormQuerySafetyTransformerSpec.groovy
create mode 100644
grails-test-examples/app2/src/integration-test/groovy/app2/GrailsUtilStackFiltererIntegrationSpec.groovy
copy
grails-core/src/main/groovy/grails/core/GrailsApplicationLifeCycleAdapter.groovy
=>
grails-test-examples/app2/src/main/groovy/app2/RecordingStackTraceFilterer.groovy
(52%)