The latest source will require the current DLTK release - 5.0
You set up API Baselines in Preferences > Plug-in Development > API Baselines
(you can also turn off the warning in the same place). The API Baseline provides additional checks that you are using the code as intended.