Skip to content

Regen #294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 2, 2019
Merged

Regen #294

merged 8 commits into from
May 2, 2019

Conversation

damccorm
Copy link

We shouldn't merge this until we publish 7.2.0

package.json Outdated
@@ -1,7 +1,7 @@
{
"name": "azure-devops-node-api",
"description": "Node client for Azure DevOps and TFS REST APIs",
"version": "7.2.0",
"version": "7.3.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to discuss versioning before merging.

@stephenmichaelf
Copy link
Member

Were you able to test that all samples still run successfully?

@damccorm
Copy link
Author

damccorm commented Apr 1, 2019

I hadn't before (probably should have marked this PR as draft) - looks like there are some breaking changes here actually (some parameters have been reordered. I think we need to bump the major version. I'll update the pr to update samples and package version.

@damccorm
Copy link
Author

damccorm commented Apr 1, 2019

Looks like big changes are to build api and test api

@damccorm
Copy link
Author

damccorm commented Apr 1, 2019

Should be good now.

@damccorm damccorm mentioned this pull request Apr 11, 2019
@damccorm
Copy link
Author

@stephenmichaelf can we merge? We still need to discuss major versioning, but this should definitely be a major version bump and it would be good to get it in

@stephenmichaelf
Copy link
Member

Since it's been a little bit let's regen latest master and bump major.

@bryanmacfarlane FYI.

@damccorm
Copy link
Author

Done

"Dashboard",
"454b3e51-2e6e-48d4-ad81-978154089351",
routeValues);

let url: string = verData.requestUrl;
let url: string = verData.requestUrl!;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The generation code was changed to add the ! at the end. Did all of the samples still run successfully?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep! I think there's actually no way that could break things - the only thing it does is loosen how strict the typescript compiler is on null checks (it basically says that this thing can never be null so don't worry about that case).

@@ -11,8 +11,8 @@
"use strict";

import DistributedTaskCommonInterfaces = require("../interfaces/DistributedTaskCommonInterfaces");
import TFS_SourceControl_Contracts = require("./TfvcInterfaces");
import TFS_TestManagement_Contracts = require("./TestInterfaces");
import TFS_SourceControl_Contracts = require("../interfaces/TfvcInterfaces");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we move these on purpose or is it because of regen changes?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the regen, it has no practical impact though

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we not use those files here? How can we change the path but not move the file and it still works?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The path is basically the same, we just change ./ to ../interfaces/ which is fine since we're already in the interfaces folder and they both just resolve to ./

@stephenmichaelf
Copy link
Member

Lots of new interfaces, are they all used?

@damccorm
Copy link
Author

damccorm commented May 1, 2019

I think that's a mistake on my part, I'll clean that up. Good catch.

@damccorm
Copy link
Author

damccorm commented May 1, 2019

Ok, got rid of the extra interfaces (and reran tests/samples successfully)

@stephenmichaelf
Copy link
Member

Approve. Not sure why I don't see the approval button :)

@damccorm damccorm merged commit d6c74df into master May 2, 2019
@damccorm damccorm deleted the users/damccorm/regen branch May 2, 2019 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants