-
Notifications
You must be signed in to change notification settings - Fork 669
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
feat: add support for new authenticators in all sdks #946
Conversation
BREAKING CHANGE: Passing individual credentials to the service constructor will no longer work. An Authenticator must be initialized and passed in. For more information, see the migration guide.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 This looks good! I think you're making some changes for the tests but so far this looks good once we get everything passing
|
||
#### Visual Recognition | ||
- Property `class_name` renamed to `_class` in interface `ClassResult` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
totally gonna steal this 👍
@@ -230,7 +232,7 @@ class RecognizeStream extends Duplex { | |||
null, | |||
options.headers, | |||
null, | |||
{ tlsOptions: { rejectUnauthorized: options.rejectUnauthorized }} | |||
{ tlsOptions: { rejectUnauthorized: !options.disableSslVerification }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Codecov Report
@@ Coverage Diff @@
## release-candidate-v5 #946 +/- ##
========================================================
+ Coverage 54.49% 54.92% +0.43%
========================================================
Files 19 20 +1
Lines 4487 4564 +77
Branches 898 904 +6
========================================================
+ Hits 2445 2507 +62
- Misses 2041 2056 +15
Partials 1 1
Continue to review full report at Codecov.
|
Service Failures/integration/assistant.v1.test.js /integration/discovery.test.js /integration/speech_to_text.test.js /integration/compare_comply.test.js /integration/visual_recognition.custom_classifiers.test.js /integration/text_to_speech.test.js /integration/visual_recognition.test.js /integration/language_translator.v3.test.js /integration/assistant.v2.test.js /integration/tone_analyzer.test.js /integration/personality_insights.v3.test.js /integration/natural_language_classifier.test.js Possible Test Failures/integration/assistant.v1.test.js /integration/discovery.test.js /integration/speech_to_text.test.js /integration/compare_comply.test.js /integration/visual_recognition.custom_classifiers.test.js /integration/text_to_speech.test.js /integration/visual_recognition.test.js /integration/language_translator.v3.test.js /integration/assistant.v2.test.js /integration/tone_analyzer.test.js /integration/personality_insights.v3.test.js /integration/natural_language_classifier.test.js |
1 similar comment
Service Failures/integration/assistant.v1.test.js /integration/discovery.test.js /integration/speech_to_text.test.js /integration/compare_comply.test.js /integration/visual_recognition.custom_classifiers.test.js /integration/text_to_speech.test.js /integration/visual_recognition.test.js /integration/language_translator.v3.test.js /integration/assistant.v2.test.js /integration/tone_analyzer.test.js /integration/personality_insights.v3.test.js /integration/natural_language_classifier.test.js Possible Test Failures/integration/assistant.v1.test.js /integration/discovery.test.js /integration/speech_to_text.test.js /integration/compare_comply.test.js /integration/visual_recognition.custom_classifiers.test.js /integration/text_to_speech.test.js /integration/visual_recognition.test.js /integration/language_translator.v3.test.js /integration/assistant.v2.test.js /integration/tone_analyzer.test.js /integration/personality_insights.v3.test.js /integration/natural_language_classifier.test.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 looks good! Lets update the readme after the pre-release
Service Failures/integration/assistant.v1.test.js /integration/discovery.test.js /integration/speech_to_text.test.js /integration/compare_comply.test.js /integration/visual_recognition.custom_classifiers.test.js /integration/text_to_speech.test.js /integration/visual_recognition.test.js /integration/language_translator.v3.test.js /integration/assistant.v2.test.js /integration/tone_analyzer.test.js /integration/personality_insights.v3.test.js /integration/natural_language_classifier.test.js Possible Test Failures/integration/assistant.v1.test.js /integration/discovery.test.js /integration/speech_to_text.test.js /integration/compare_comply.test.js /integration/visual_recognition.custom_classifiers.test.js /integration/text_to_speech.test.js /integration/visual_recognition.test.js /integration/language_translator.v3.test.js /integration/assistant.v2.test.js /integration/tone_analyzer.test.js /integration/personality_insights.v3.test.js /integration/natural_language_classifier.test.js |
1 similar comment
Service Failures/integration/assistant.v1.test.js /integration/discovery.test.js /integration/speech_to_text.test.js /integration/compare_comply.test.js /integration/visual_recognition.custom_classifiers.test.js /integration/text_to_speech.test.js /integration/visual_recognition.test.js /integration/language_translator.v3.test.js /integration/assistant.v2.test.js /integration/tone_analyzer.test.js /integration/personality_insights.v3.test.js /integration/natural_language_classifier.test.js Possible Test Failures/integration/assistant.v1.test.js /integration/discovery.test.js /integration/speech_to_text.test.js /integration/compare_comply.test.js /integration/visual_recognition.custom_classifiers.test.js /integration/text_to_speech.test.js /integration/visual_recognition.test.js /integration/language_translator.v3.test.js /integration/assistant.v2.test.js /integration/tone_analyzer.test.js /integration/personality_insights.v3.test.js /integration/natural_language_classifier.test.js |
Service Failures/integration/speech_to_text.test.js Possible Test Failures/integration/speech_to_text.test.js |
1 similar comment
Service Failures/integration/speech_to_text.test.js Possible Test Failures/integration/speech_to_text.test.js |
163a892
to
db864c4
Compare
…ice features for major release (#946) BREAKING CHANGE: Passing individual credentials to the service constructor will no longer work. An Authenticator must be initialized and passed in. For more information, see the migration guide.
…ice features for major release (#946) BREAKING CHANGE: Passing individual credentials to the service constructor will no longer work. An Authenticator must be initialized and passed in. For more information, see the migration guide.
# [5.0.0](v4.5.1...v5.0.0) (2019-10-04) ### Bug Fixes * make RecognizeStream.readableObjectMode always return Boolean ([#943](#943)) ([a276df4](a276df4)) ### Build System * drop support for Node versions 6 and 8 ([3ea1fd7](3ea1fd7)) ### Code Refactoring * change all websocket method parameters to lower camel case ([#941](#941)) ([cb6711f](cb6711f)) ### Features * add support for new authenticators in all sdks and add new service features for major release ([#946](#946)) ([3acffc5](3acffc5)) ### BREAKING CHANGES * Passing individual credentials to the service constructor will no longer work. An Authenticator must be initialized and passed in. For more information, see the migration guide. * All parameters have been converted to their lower camel case version. * Support for the `token` parameter has been removed * Support for the `customization_id` parameter has been removed * Method `setAuthorizationHeaderToken` has been removed from the WebSocket Stream classes * `RecognizeStream.readableObjectMode` will always be a Boolean value - before, it could have been `undefined`. * This SDK may no longer work with applications running on Node 6 or 8.
release-candidate-v1
branchMany of the breaking changes come just from the core version changing.
All breaking changes described in the Migration Guide.
I will release the RC once this is merged.