Replaced deprecated function for 2.4 compatibility
Added new release for 2.4 compatibility
Added max version for previous release
Merge pull request #10 from nathanhornby/master

Replaced deprecated function for 2.4 compatibility