We use mingw v3.3.0 which is from 2014. The most recent version is v12.0.0 (released 2024).
A prototype Linux build environment using mingw-w64 v12.x compiled using GCC 8.5 can be found here: https://git.cendio.se/cendio/mingw-toolchain