You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2025/07/12 03:21:25 UTC

(grails-core) 09/09: removal: remove old, deprecated `DataBindingGrailsPlugin`, use `DataBindingConfiguration` instead

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

jdaugherty pushed a commit to branch deprecationRemovals
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 2b46cdb560b27b5b03a7e84ec8e41aac39f5619b
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Fri Jul 11 23:17:39 2025 -0400

    removal: remove old, deprecated `DataBindingGrailsPlugin`, use `DataBindingConfiguration` instead
---
 .../databinding/DataBindingGrailsPlugin.java       | 33 ----------------------
 .../src/en/guide/upgrading/upgrading60x.adoc       |  1 +
 2 files changed, 1 insertion(+), 33 deletions(-)

diff --git a/grails-databinding/src/main/groovy/org/grails/plugins/databinding/DataBindingGrailsPlugin.java b/grails-databinding/src/main/groovy/org/grails/plugins/databinding/DataBindingGrailsPlugin.java
deleted file mode 100644
index 0f7b6fbe8b..0000000000
--- a/grails-databinding/src/main/groovy/org/grails/plugins/databinding/DataBindingGrailsPlugin.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *    https://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.grails.plugins.databinding;
-
-import groovy.lang.Closure;
-
-/**
- * @deprecated Use {@link DataBindingConfiguration} instead
- */
-@Deprecated
-public class DataBindingGrailsPlugin extends AbstractDataBindingGrailsPlugin {
-    @Override
-    public Closure doWithSpring() {
-        return super.doWithSpring();
-    }
-}
diff --git a/grails-doc/src/en/guide/upgrading/upgrading60x.adoc b/grails-doc/src/en/guide/upgrading/upgrading60x.adoc
index 8fab459381..6da8e3f6df 100644
--- a/grails-doc/src/en/guide/upgrading/upgrading60x.adoc
+++ b/grails-doc/src/en/guide/upgrading/upgrading60x.adoc
@@ -244,6 +244,7 @@ jakartaeeMigration {
 5. `AbstractGrailsClass#getPropertyDescriptors` - use `getMetaProperties` instead.
 6. `org.grails.core.metaclass.BaseApiProvider` - use traits instead.
 7. Several static variables on `ClosureEventTriggeringInterceptor` are removed - use the variables on `AbstractPersistentEvent` instead.
+8. `org.grails.plugins.databinding.DataBindingGrailsPlugin` was removed - use `DataBindingConfiguration` instead.
 
 - The following deprecated classes were removed, please use the suggested replacement: