def METHOD_NAME(cls, values):
    """Extra warning for user using `feature_size` field."""
    if "feature_size" in values:
        raise pd.ValidationError(
            "The 'feature_size' field of circular filters available in 2.4 pre-releases was "
            "renamed to 'radius' for the official 2.4.0 release. "
            "If you're seeing this message, please change your script to use that field name."
        )
    return values