I did read about new login API from 6.45.x version. https://wiki.mikrotik.com/wiki/Manual:API#Initial_login
Now I have several routers where I connect throw pear2/Net_RouterOS with versions older that 6.45 (arround 1000 routers). And now there start to come some with new RouterOS version.
I did found a new version on pear2/Net_RouterOS 1.0.0b6 (i'm using 1.0.0.b5) but on the change log I didn't found login differences.
So how I have to do to keep working the api call with both verions ?
I'm doing at the moment:
$this->util = new RouterOS\Util($this->client = new RouterOS\Client($ip,$userRouter,$passRouter,null,null,$tiempoEspera));