Repository navigation
Remove deprecated classes and methods for Grails 8 - #15565
Merged
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
jdaugherty
reviewed
Apr 8, 2026
Contributor
|
@matrei FYI: I updated the intellij code style in the spring boot 4 PR to fix some mismatches with the checkstyle (when reformatting I noticed them) |
✅ All tests passed ✅🏷️ Commit: af90bdd Learn more about TestLens at testlens.app. |
# Conflicts: # grails-doc/src/en/guide/upgrading/upgrading80x.adoc # grails-events/compat/build.gradle # grails-spring/src/main/groovy/org/grails/spring/GrailsApplicationContext.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Copilot PR description:
This pull request removes deprecated code and legacy behaviors in preparation for Grails 8.0, with a focus on simplifying enum marshalling, cleaning up obsolete constructors and methods, and removing compatibility stubs. The changes modernize the codebase and remove support for deprecated configuration and extension points.
Enum marshalling and converter configuration:
EnumMarshallerclasses for both JSON and XML, and updated the configuration to always registerSimpleEnumMarshallerby default, eliminating the previous format switch and legacy marshaller registration. This simplifies enum serialization and prepares for consistent behavior in Grails 8.0. (ConvertersConfigurationInitializer.java[1] [2];EnumMarshaller.java[3] [4]Removal of deprecated plugin and application extension points:
GrailsApplicationPostProcessorandProfilingGrailsApplicationPostProcessor, including those related to plugin discovery and plugin manager customization, as well as fromDefaultGrailsPluginManager. These changes further enforce the use of the new plugin discovery approach. (GrailsApplicationPostProcessor.groovy[1] [2];ProfilingGrailsApplicationPostProcessor.groovy[3];DefaultGrailsPluginManager.java[4]Core API cleanup:
GrailsApplicationinterface and the deprecatedsetLoadCorePluginsmethod fromGrailsPluginManager, reflecting their obsolescence in the new plugin architecture. (GrailsApplication.java[1];GrailsPluginManager.java[2]Compatibility and legacy code removal:
CompatibilityPluginFilterclass, which was a compatibility stub for plugin filtering, as it is no longer needed. (CompatibilityPluginFilter.javagrails-core/src/main/groovy/grails/plugins/CompatibilityPluginFilter.javaL1-L46)grails-events-compatdependency from the async plugin build configuration. (build.gradlegrails-async/plugin/build.gradleL39)Deprecated builder removal:
JSONBuilderclass, which was superseded byStreamingJsonBuilder. (JSONBuilder.groovygrails-converters/src/main/groovy/grails/web/JSONBuilder.groovyL1-L175)