Drawings SDK reads and writes every released .dwg format from R9 (AC1004) up to the current AC1032 format, which is the format used by AutoCAD® 2018 and every version since. .dxf is supported over the same range, and .dxb for reading.
In code the versions are the OdDb::DwgVersion enumeration in OdaDefs.h — for example vAC15 (2000), vAC18 (2004), vAC21 (2007), vAC24 (2010), vAC27 (2013), vAC32 (2018). OdDb::kDHL_CURRENT always names the newest format the release can write, so you can pass that instead of hard-coding a version.
The full table is in the documentation.