Widget factory: options vs. defaults

Widget factory: options vs. defaults

Ive wasted hours to recognize that the defaults array is now the options array. There's no explanation, so it should be added soon.
 
Is there a easy way to make a plugin useable for ui 1.7.1 AND 1.8rc1? Can i merge the new options array to defaults if the old version of UI is used? Or is it necessary to maintain 2 versions of my widgets?
 
Thanks,
 
Felix