See the following link for tiff. Version numbers for third party libraries are usually also listed in the commit messages.
https://gitlab.kitware.com/vtk/vtk/blob/v8.2.0/ThirdParty/tiff/vtktiff/ChangeLog
Building VTK with mingw is not supported, so you’re going to be running into all sorts of crazy issues.