Skip to content

Commit d7f4347

Browse files
authored
Merge pull request #127 from watson-developer-cloud/release-03-2022
Release 03 2022
2 parents 7149e39 + 58219ae commit d7f4347

21 files changed

+469
-3729
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ lib/ibm_watson/.openapi-generator-ignore
1717
lib/ibm_watson/.openapi-generator/VERSION
1818
test/html_reports/
1919
.pre-commit-config.yaml
20-
.secrets.baseline
2120

2221
# Used by dotenv library to load environment variables.
2322
.env

.secrets.baseline

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
{
2+
"exclude": {
3+
"files": "^.secrets.baseline$",
4+
"lines": null
5+
},
6+
"generated_at": "2022-03-22T14:13:54Z",
7+
"plugins_used": [
8+
{
9+
"name": "AWSKeyDetector"
10+
},
11+
{
12+
"name": "ArtifactoryDetector"
13+
},
14+
{
15+
"name": "AzureStorageKeyDetector"
16+
},
17+
{
18+
"base64_limit": 4.5,
19+
"name": "Base64HighEntropyString"
20+
},
21+
{
22+
"name": "BasicAuthDetector"
23+
},
24+
{
25+
"name": "BoxDetector"
26+
},
27+
{
28+
"name": "CloudantDetector"
29+
},
30+
{
31+
"ghe_instance": "github.ibm.com",
32+
"name": "GheDetector"
33+
},
34+
{
35+
"name": "GitHubTokenDetector"
36+
},
37+
{
38+
"hex_limit": 3,
39+
"name": "HexHighEntropyString"
40+
},
41+
{
42+
"name": "IbmCloudIamDetector"
43+
},
44+
{
45+
"name": "IbmCosHmacDetector"
46+
},
47+
{
48+
"name": "JwtTokenDetector"
49+
},
50+
{
51+
"keyword_exclude": null,
52+
"name": "KeywordDetector"
53+
},
54+
{
55+
"name": "MailchimpDetector"
56+
},
57+
{
58+
"name": "NpmDetector"
59+
},
60+
{
61+
"name": "PrivateKeyDetector"
62+
},
63+
{
64+
"name": "SlackDetector"
65+
},
66+
{
67+
"name": "SoftlayerDetector"
68+
},
69+
{
70+
"name": "SquareOAuthDetector"
71+
},
72+
{
73+
"name": "StripeDetector"
74+
},
75+
{
76+
"name": "TwilioKeyDetector"
77+
}
78+
],
79+
"results": {
80+
"README.md": [
81+
{
82+
"hashed_secret": "caccca3d65e2608a75392aeaa0866b0058f4f948",
83+
"is_secret": false,
84+
"is_verified": false,
85+
"line_number": 138,
86+
"type": "Secret Keyword",
87+
"verified_result": null
88+
}
89+
],
90+
"lib/ibm_watson/speech_to_text_v1.rb": [
91+
{
92+
"hashed_secret": "76ab55d87544c0b1249f68074227716e6a5488e4",
93+
"is_secret": false,
94+
"is_verified": false,
95+
"line_number": 617,
96+
"type": "Secret Keyword",
97+
"verified_result": null
98+
}
99+
],
100+
"test/integration/test_discovery_v1.rb": [
101+
{
102+
"hashed_secret": "12269f85e2defbd83a3a9a5e0675ca66bbdb8080",
103+
"is_secret": false,
104+
"is_verified": false,
105+
"line_number": 207,
106+
"type": "Secret Keyword",
107+
"verified_result": null
108+
}
109+
],
110+
"test/integration/test_iam_assistant_v1.rb": [
111+
{
112+
"hashed_secret": "fc13ecfa613c208fa90fa84b744ce26a3b99ee9d",
113+
"is_secret": false,
114+
"is_verified": false,
115+
"line_number": 707,
116+
"type": "Secret Keyword",
117+
"verified_result": null
118+
}
119+
],
120+
"test/unit/test_language_translator_v3.rb": [
121+
{
122+
"hashed_secret": "da2f27d2c57a0e1ed2dc3a34b4ef02faf2f7a4c2",
123+
"is_secret": false,
124+
"is_verified": false,
125+
"line_number": 25,
126+
"type": "Hex High Entropy String",
127+
"verified_result": null
128+
},
129+
{
130+
"hashed_secret": "2308d0fb5ab83a7e92e8000f5f094342d3f87bd0",
131+
"is_secret": false,
132+
"is_verified": false,
133+
"line_number": 634,
134+
"type": "Secret Keyword",
135+
"verified_result": null
136+
},
137+
{
138+
"hashed_secret": "3255d8449be5e4858e9408cd4ba0498456bd78ba",
139+
"is_secret": false,
140+
"is_verified": false,
141+
"line_number": 646,
142+
"type": "Secret Keyword",
143+
"verified_result": null
144+
}
145+
]
146+
},
147+
"version": "0.13.1+ibm.47.dss",
148+
"word_list": {
149+
"file": null,
150+
"hash": null
151+
}
152+
}

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,20 @@
1515
Ruby gem to quickly get started with the various [IBM Watson][wdc] services.
1616

1717
## Announcements
18-
### Natural Language Classifier deprecation
18+
### Tone Analyzer Deprecation
19+
20+
As of this major release, 3.0.0, the Tone Analyzer api has been removed in preparation for deprecation. If you wish to continue using this sdk to make calls to Tone Analyzer until its final deprecation, you will have to use a previous version.
21+
22+
On 24 February 2022, IBM announced the deprecation of the Tone Analyzer service. The service will no longer be available as of 24 February 2023. As of 24 February 2022, you will not be able to create new instances. Existing instances will be supported until 24 February 2023.
23+
24+
As an alternative, we encourage you to consider migrating to the Natural Language Understanding service on IBM Cloud. With Natural Language Understanding, tone analysis is done by using a pre-built classifications model, which provides an easy way to detect language tones in written text. For more information, see [Migrating from Watson Tone Analyzer Customer Engagement endpoint to Natural Language Understanding](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-tone_analytics).
25+
26+
### Natural Language Classifier Deprecation
27+
28+
As of this major release, 3.0.0, the NLC api has been removed in preparation for deprecation. If you wish to continue using this sdk to make calls to NLC until its final deprecation, you will have to use a previous version.
29+
1930
On 9 August 2021, IBM announced the deprecation of the Natural Language Classifier service. The service will no longer be available from 8 August 2022. As of 9 September 2021, you will not be able to create new instances. Existing instances will be supported until 8 August 2022. Any instance that still exists on that date will be deleted.
20-
31+
2132
As an alternative, we encourage you to consider migrating to the Natural Language Understanding service on IBM Cloud that uses deep learning to extract data and insights from text such as keywords, categories, sentiment, emotion, and syntax, along with advanced multi-label text classification capabilities, to provide even richer insights for your business or industry. For more information, see [Migrating to Natural Language Understanding](https://cloud.ibm.com/docs/natural-language-classifier?topic=natural-language-classifier-migrating).
2233

2334
### Support for 2.7 ruby
@@ -26,17 +37,6 @@ To support 2.7 the http gem dependency is updated to 4.4.0. Since it conflicted
2637
### Updating endpoint URLs from watsonplatform.net
2738
Watson API endpoint URLs at watsonplatform.net are changing and will not work after 26 May 2021. Update your calls to use the newer endpoint URLs. For more information, see https://cloud.ibm.com/docs/watson?topic=watson-endpoint-change.
2839

29-
### Personality Insights deprecation
30-
IBM Watson™ Personality Insights is discontinued. For a period of one year from 1 December 2020, you will still be able to use Watson Personality Insights. However, as of 1 December 2021, the offering will no longer be available.
31-
32-
As an alternative, we encourage you to consider migrating to IBM Watson™ [Natural Language Understanding](https://cloud.ibm.com/docs/natural-language-understanding), a service on IBM Cloud® that uses deep learning to extract data and insights from text such as keywords, categories, sentiment, emotion, and syntax to provide insights for your business or industry. For more information, see About Natural Language Understanding.
33-
34-
### Visual Recognition deprecation
35-
IBM Watson™ Visual Recognition is discontinued. Existing instances are supported until 1 December 2021, but as of 7 January 2021, you can't create instances. Any instance that is provisioned on 1 December 2021 will be deleted.
36-
37-
### Compare and Comply deprecation
38-
IBM Watson™ Compare and Comply is discontinued. Existing instances are supported until 30 November 2021, but as of 1 December 2020, you can't create instances. Any instance that exists on 30 November 2021 will be deleted. Consider migrating to Watson Discovery Premium on IBM Cloud for your Compare and Comply use cases. To start the migration process, visit https://ibm.biz/contact-wdc-premium.
39-
4040
## Before you begin
4141

4242
* You need an [IBM Cloud][ibm-cloud-onboarding] account.

lib/ibm_watson.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,14 @@ module IBMWatson
77
ApiException = IBMCloudSdkCore::ApiException
88
DetailedResponse = IBMCloudSdkCore::DetailedResponse
99

10-
require_relative("./ibm_watson/personality_insights_v3.rb")
11-
require_relative("./ibm_watson/tone_analyzer_v3.rb")
1210
require_relative("./ibm_watson/assistant_v1.rb")
1311
require_relative("./ibm_watson/assistant_v2.rb")
1412
require_relative("./ibm_watson/text_to_speech_v1.rb")
1513
require_relative("./ibm_watson/discovery_v1.rb")
1614
require_relative("./ibm_watson/discovery_v2.rb")
1715
require_relative("./ibm_watson/natural_language_understanding_v1.rb")
1816
require_relative("./ibm_watson/speech_to_text_v1.rb")
19-
require_relative("./ibm_watson/visual_recognition_v3.rb")
20-
require_relative("./ibm_watson/visual_recognition_v4.rb")
21-
require_relative("./ibm_watson/natural_language_classifier_v1.rb")
2217
require_relative("./ibm_watson/language_translator_v3.rb")
23-
require_relative("./ibm_watson/compare_comply_v1.rb")
2418
require_relative("./ibm_watson/websocket/recognize_callback.rb")
2519
require_relative("./ibm_watson/authenticators.rb")
2620
require_relative("./ibm_watson/common.rb")

lib/ibm_watson/assistant_v1.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
# (C) Copyright IBM Corp. 2018, 2020.
3+
# (C) Copyright IBM Corp. 2018, 2022.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -43,7 +43,7 @@ class AssistantV1 < IBMCloudSdkCore::BaseService
4343
#
4444
# @param args [Hash] The args to initialize with
4545
# @option args version [String] Release date of the API version you want to use. Specify dates in YYYY-MM-DD
46-
# format. The current version is `2021-06-14`.
46+
# format. The current version is `2021-11-27`.
4747
# @option args service_url [String] The base service URL to use when contacting the service.
4848
# The base service_url may differ between IBM Cloud regions.
4949
# @option args authenticator [Object] The Authenticator instance to be configured for this service.

lib/ibm_watson/assistant_v2.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
# (C) Copyright IBM Corp. 2018, 2020.
3+
# (C) Copyright IBM Corp. 2018, 2022.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -43,7 +43,7 @@ class AssistantV2 < IBMCloudSdkCore::BaseService
4343
#
4444
# @param args [Hash] The args to initialize with
4545
# @option args version [String] Release date of the API version you want to use. Specify dates in YYYY-MM-DD
46-
# format. The current version is `2021-06-14`.
46+
# format. The current version is `2021-11-27`.
4747
# @option args service_url [String] The base service URL to use when contacting the service.
4848
# The base service_url may differ between IBM Cloud regions.
4949
# @option args authenticator [Object] The Authenticator instance to be configured for this service.

0 commit comments

Comments
 (0)