I am a windows user, want to build a safari extension
The latest version of Safari for Windows is 5.1.7.

Extensions are made with HTML, CSS and JavaScript, so depending on the exact functionality you want in your extension, it should work on all Safari versions that support extensions. Extensions were introduced in Safari 5.0.1.

For more information, see this page.