Connect 3.0 deprecation alert fix