microsoft / vss-web-extension-sdk

Visual Studio Teams Service Web Extension SDK
https://www.visualstudio.com/docs/integrate/extensions/overview
MIT License
133 stars 87 forks source link

Compatibility with TFS versions #83

Open damirvarga opened 6 years ago

damirvarga commented 6 years ago

Is there an overview with TFS versions and the latest sdk version supported for that TFS version?

VSTS = latest version TFS 2018.1 = 5.127.1 ??? TFS 2018 = TFS 2017 =

MrTarantula commented 6 years ago

A range would be nice as well, as in the range of versions that will work on a TFS version, for those of us that want to support older and newer versions.

cschleiden commented 6 years ago

We try not to break compat in the SDK, only some rest APIs might not be available.

MrTarantula commented 6 years ago

I've had compatibility broken a few times. As an example, recently one of my extensions stopped working. At some point witClient.getFields() changed from return type WorkItemComment[] to WorkItemComments in VSTS, with no announcement (that I'm aware of). Is the WorkItemComments type in VSTS only? or VSTS and 2018.1? What about 2018 or 2017.x? There's no easy way to know what will work in different versions.

cschleiden commented 6 years ago

getFields should return WorkItemField[], is that not what you're seeing?

MrTarantula commented 6 years ago

Oops, I mean witClient.getComments().