Wifi LoRa 32(V3) / painlessMesh error: 'class WiFiClass' has no member named 'setAutoConnect'; did you mean 'setAutoReconnect'?

Hi,
I have a sketch that was working fine and now it won’t compile. Be advised, I have two LoRa v3 boards, similar sketches except the problem one includes the painlessMesh 1.5.0 library, the other doesn’t. Also be advised, painlessMesh works fine with a Wemos D1 Mini, so I am leaning towards the Heltec board library v3.0.2 as the problem. I also tried rolling back to 3.0.0 but that didn’t make any difference. Here is the error, if anyone has any hot tips for me to try, it will be much appreciated.

Arduino IDE v2.3.3
Board: Heltec WiFi LoRa 32(V3) v3.0.2
#include “painlessMesh.h” //v1.5.0
#include <Arduino_JSON.h> //v0.2.0

In file included from d:\Arduino\libraries\Painless_Mesh\src/painlessMesh.h:22,
                 from D:\Dropbox\_RBHI\_RBHI_MESH\RBHI_MeshParent_LoRa_v3\RBHI_MeshParent_LoRa_v3.ino:9:
d:\Arduino\libraries\Painless_Mesh\src/arduino/wifi.hpp: In member function 'void painlessmesh::wifi::Mesh::init(TSTRING, TSTRING, uint16_t, wifi_mode_t, uint8_t, uint8_t, uint8_t)':
d:\Arduino\libraries\Painless_Mesh\src/arduino/wifi.hpp:49:14: error: 'class WiFiClass' has no member named 'setAutoConnect'; did you mean 'setAutoReconnect'?
   49 |         WiFi.setAutoConnect(false));  // Disable autoconnect
      |              ^~~~~~~~~~~~~~
      |              setAutoReconnect

exit status 1

Compilation error: exit status 1

SOLVED!
Luca on the painlessMesh forum asked me to try the develop version off the GIT, it’s at v1.5.3 now, that solved the issue.