enabled API v2
fixed RT#48005
added trim functionality
upped version