Skip to content
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

Update ms-rest-js to @azure/ms-rest-js #46

Closed
wants to merge 1 commit into from

Conversation

ParadoxARG
Copy link

@ParadoxARG ParadoxARG commented May 8, 2019

Fixes #45

Description

Update @azure/ms-rest-js library in botbuilder-ai from version 1.8.2 to 1.8.4(latest). This is a required change because the @azure/cognitiveservices-luis-runtime library is using this version and they are not compatible.

We would also suggest changing the package version from ~1.8.4(1.8.x) to ^1.8.4(1.x) to provide the same compatibility as @azure/cognitiveservices-luis-runtime. If we don't we may have issues if a new minor version is released. Also, we should remove @azure/ms-rest-js from the package-lock.json cause with every patch release the build may break, as @azure/cognitiveservices-luis-runtime is always updating to the last version.

Specific Changes

  • change package.json to use @azure/ms-rest-js 1.8.4

Testing

Build passing:
image

Tests passing:
image

Copy link

@Bill7zz Bill7zz left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@gasper-az gasper-az left a comment

Choose a reason for hiding this comment

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

In addition to the requested changes/questions regarding the package.json, can you provide some links regarding the dependencies of @azure/cognitiveservices-luis-runtime?

Also, have you tested this change in both browser and node environments? This is because of the @azure/ms-rest-js package works in both environments (info).

package.json Outdated Show resolved Hide resolved
@ParadoxARG ParadoxARG force-pushed the fix/azure-ms-rest-js branch from 4158d9a to 2348b94 Compare May 8, 2019 18:22
@ParadoxARG ParadoxARG requested a review from gasper-az May 8, 2019 19:15
Copy link

@gasper-az gasper-az left a comment

Choose a reason for hiding this comment

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

LGTM 💯 :shipit:

@ParadoxARG
Copy link
Author

Replaced by #917

@ParadoxARG ParadoxARG closed this May 30, 2019
@gasper-az gasper-az deleted the fix/azure-ms-rest-js branch September 16, 2019 15:53
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.

BotBuilder-ai build failing
3 participants