diff --git a/.bumpversion.cfg b/.bumpversion.cfg index b6d8f724b..9cacbb30d 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 4.3.0 +current_version = 5.0.0 commit = True message = Release version {new_version} [skip ci] diff --git a/IBMWatsonAssistantV1.podspec b/IBMWatsonAssistantV1.podspec index e10947b7d..19d8b543c 100644 --- a/IBMWatsonAssistantV1.podspec +++ b/IBMWatsonAssistantV1.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'IBMWatsonAssistantV1' - s.version = '4.3.0' + s.version = '5.0.0' s.summary = 'Client framework for the IBM Watson Assistant service' s.description = <<-DESC With the IBM Watson™ Assistant service, you can build a solution that understands @@ -10,7 +10,7 @@ natural-language input and uses machine learning to respond to customers in a wa s.homepage = 'https://www.ibm.com/cloud/watson-assistant' s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' } s.authors = { 'Jeff Arn' => 'jtarn@us.ibm.com', - 'Mike Kistler' => 'mkistler@us.ibm.com' } + 'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' } s.module_name = 'Assistant' s.ios.deployment_target = '10.0' diff --git a/IBMWatsonAssistantV2.podspec b/IBMWatsonAssistantV2.podspec index cbe0e041c..843f33218 100644 --- a/IBMWatsonAssistantV2.podspec +++ b/IBMWatsonAssistantV2.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'IBMWatsonAssistantV2' - s.version = '4.3.0' + s.version = '5.0.0' s.summary = 'Client framework for the IBM Watson Assistant service' s.description = <<-DESC With the IBM Watson™ Assistant service, you can build a solution that understands @@ -10,7 +10,7 @@ natural-language input and uses machine learning to respond to customers in a wa s.homepage = 'https://www.ibm.com/cloud/watson-assistant' s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' } s.authors = { 'Jeff Arn' => 'jtarn@us.ibm.com', - 'Mike Kistler' => 'mkistler@us.ibm.com' } + 'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' } s.module_name = 'Assistant' s.ios.deployment_target = '10.0' diff --git a/IBMWatsonDiscoveryV1.podspec b/IBMWatsonDiscoveryV1.podspec index 0ebd54893..334523575 100644 --- a/IBMWatsonDiscoveryV1.podspec +++ b/IBMWatsonDiscoveryV1.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'IBMWatsonDiscoveryV1' - s.version = '4.3.0' + s.version = '5.0.0' s.summary = 'Client framework for the IBM Watson Discovery service' s.description = <<-DESC IBM Watson™ Discovery makes it possible to rapidly build cognitive, cloud-based exploration applications @@ -11,7 +11,7 @@ as well as public and third-party data. s.homepage = 'https://www.ibm.com/watson/services/discovery/' s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' } s.authors = { 'Jeff Arn' => 'jtarn@us.ibm.com', - 'Mike Kistler' => 'mkistler@us.ibm.com' } + 'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' } s.module_name = 'Discovery' s.ios.deployment_target = '10.0' diff --git a/IBMWatsonDiscoveryV2.podspec b/IBMWatsonDiscoveryV2.podspec index dee83ef0e..a68432464 100644 --- a/IBMWatsonDiscoveryV2.podspec +++ b/IBMWatsonDiscoveryV2.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'IBMWatsonDiscoveryV2' - s.version = '4.3.0' + s.version = '5.0.0' s.summary = 'Client framework for the IBM Watson Discovery V2 service' s.description = <<-DESC IBM Watson™ Discovery makes it possible to rapidly build cognitive, cloud-based exploration applications @@ -11,7 +11,7 @@ as well as public and third-party data. IBM Watson™ Discovery V2 is available s.homepage = 'https://www.ibm.com/watson/services/discovery/' s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' } s.authors = { 'Jeff Arn' => 'jtarn@us.ibm.com', - 'Mike Kistler' => 'mkistler@us.ibm.com' } + 'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' } s.module_name = 'Discovery' s.ios.deployment_target = '10.0' diff --git a/IBMWatsonLanguageTranslatorV3.podspec b/IBMWatsonLanguageTranslatorV3.podspec index 48db7a63d..76f913e81 100644 --- a/IBMWatsonLanguageTranslatorV3.podspec +++ b/IBMWatsonLanguageTranslatorV3.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'IBMWatsonLanguageTranslatorV3' - s.version = '4.3.0' + s.version = '5.0.0' s.summary = 'Client framework for the IBM Watson Language Translator service' s.description = <<-DESC IBM Watson™ Language Translator can identify the language of text and translate it into different languages programmatically. @@ -9,7 +9,7 @@ IBM Watson™ Language Translator can identify the language of text and translat s.homepage = 'https://www.ibm.com/cloud/watson-language-translator' s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' } s.authors = { 'Jeff Arn' => 'jtarn@us.ibm.com', - 'Mike Kistler' => 'mkistler@us.ibm.com' } + 'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' } s.module_name = 'LanguageTranslator' s.ios.deployment_target = '10.0' diff --git a/IBMWatsonNaturalLanguageUnderstandingV1.podspec b/IBMWatsonNaturalLanguageUnderstandingV1.podspec index 170ddf5a0..f57e4eb6f 100644 --- a/IBMWatsonNaturalLanguageUnderstandingV1.podspec +++ b/IBMWatsonNaturalLanguageUnderstandingV1.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'IBMWatsonNaturalLanguageUnderstandingV1' - s.version = '4.3.0' + s.version = '5.0.0' s.summary = 'Client framework for the IBM Watson Natural Language Understanding service' s.description = <<-DESC IBM Watson™ Natural Language Understanding can analyze semantic features of text input, @@ -10,7 +10,7 @@ including categories, concepts, emotion, entities, keywords, metadata, relations s.homepage = 'https://www.ibm.com/watson/services/natural-language-understanding/' s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' } s.authors = { 'Jeff Arn' => 'jtarn@us.ibm.com', - 'Mike Kistler' => 'mkistler@us.ibm.com' } + 'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' } s.module_name = 'NaturalLanguageUnderstanding' s.ios.deployment_target = '10.0' diff --git a/IBMWatsonSpeechToTextV1.podspec b/IBMWatsonSpeechToTextV1.podspec index e7aac2a9d..2d4cead5b 100644 --- a/IBMWatsonSpeechToTextV1.podspec +++ b/IBMWatsonSpeechToTextV1.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'IBMWatsonSpeechToTextV1' - s.version = '4.3.0' + s.version = '5.0.0' s.summary = 'Client framework for the IBM Watson Speech to Text service' s.description = <<-DESC The IBM® Speech to Text leverages machine intelligence to transcribe the human voice accurately. @@ -11,7 +11,7 @@ of the audio signal. It continuously returns and retroactively updates a transcr s.homepage = 'https://www.ibm.com/watson/services/speech-to-text/' s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' } s.authors = { 'Jeff Arn' => 'jtarn@us.ibm.com', - 'Mike Kistler' => 'mkistler@us.ibm.com' } + 'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' } s.module_name = 'SpeechToText' s.ios.deployment_target = '10.0' diff --git a/IBMWatsonTextToSpeechV1.podspec b/IBMWatsonTextToSpeechV1.podspec index fdd22aa19..8caedd8fb 100644 --- a/IBMWatsonTextToSpeechV1.podspec +++ b/IBMWatsonTextToSpeechV1.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'IBMWatsonTextToSpeechV1' - s.version = '4.3.0' + s.version = '5.0.0' s.summary = 'Client framework for the IBM Watson Text to Speech service' s.description = <<-DESC IBM® Text to Speech uses IBM's speech-synthesis capabilities to convert written text to natural-sounding speech. @@ -10,7 +10,7 @@ The service streams the results back to the client with minimal delay. s.homepage = 'https://www.ibm.com/watson/services/text-to-speech/' s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' } s.authors = { 'Jeff Arn' => 'jtarn@us.ibm.com', - 'Mike Kistler' => 'mkistler@us.ibm.com' } + 'Angelo Paparazzi' => 'angelo.paparazzi@ibm.com' } s.module_name = 'TextToSpeech' s.ios.deployment_target = '10.0' diff --git a/README.md b/README.md index 93a6eabf4..8ca15b1f3 100755 --- a/README.md +++ b/README.md @@ -132,13 +132,13 @@ If your project does not yet have a Podfile, use the `pod init` command in the r use_frameworks! target 'MyApp' do - pod 'IBMWatsonAssistantV1', '~> 4.3.0' - pod 'IBMWatsonAssistantV2', '~> 4.3.0' - pod 'IBMWatsonDiscoveryV1', '~> 4.3.0' - pod 'IBMWatsonLanguageTranslatorV3', '~> 4.3.0' - pod 'IBMWatsonNaturalLanguageUnderstandingV1', '~> 4.3.0' - pod 'IBMWatsonSpeechToTextV1', '~> 4.3.0' - pod 'IBMWatsonTextToSpeechV1', '~> 4.3.0' + pod 'IBMWatsonAssistantV1', '~> 5.0.0' + pod 'IBMWatsonAssistantV2', '~> 5.0.0' + pod 'IBMWatsonDiscoveryV1', '~> 5.0.0' + pod 'IBMWatsonLanguageTranslatorV3', '~> 5.0.0' + pod 'IBMWatsonNaturalLanguageUnderstandingV1', '~> 5.0.0' + pod 'IBMWatsonSpeechToTextV1', '~> 5.0.0' + pod 'IBMWatsonTextToSpeechV1', '~> 5.0.0' end ``` @@ -164,7 +164,7 @@ $ brew install carthage If your project does not have a Cartfile yet, use the `touch Cartfile` command in the root directory of your project. To install the IBM Watson Swift SDK using Carthage, add the following to your Cartfile. ``` -github "watson-developer-cloud/swift-sdk" ~> 4.3.0 +github "watson-developer-cloud/swift-sdk" ~> 5.0.0 ``` Follow the remaining Carthage installation instructions for the XCode 12 workaround [here](https://github.com/Carthage/Carthage/blob/master/Documentation/Xcode12Workaround.md#how-to-make-it-work). Then run the following command to build the dependencies and frameworks: diff --git a/Scripts/jazzy-config/AssistantV1.jazzy.yaml b/Scripts/jazzy-config/AssistantV1.jazzy.yaml index 5c2817e29..3749591b9 100644 --- a/Scripts/jazzy-config/AssistantV1.jazzy.yaml +++ b/Scripts/jazzy-config/AssistantV1.jazzy.yaml @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk clean: true output: ../../gh-pages/services/AssistantV1 module: AssistantV1 -module_version: "4.3.0" +module_version: "5.0.0" documentation: ../../Sources/AssistantV1/README.md readme: ../../Sources/AssistantV1/README.md build_tool_arguments: @@ -13,4 +13,4 @@ build_tool_arguments: - "-scheme" - "AssistantV1" - "-destination" - - "platform=iOS Simulator,name=iPhone 11" \ No newline at end of file + - "platform=iOS Simulator,name=iPhone 11" diff --git a/Scripts/jazzy-config/AssistantV2.jazzy.yaml b/Scripts/jazzy-config/AssistantV2.jazzy.yaml index d4f8f7a35..0599d3af1 100644 --- a/Scripts/jazzy-config/AssistantV2.jazzy.yaml +++ b/Scripts/jazzy-config/AssistantV2.jazzy.yaml @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk clean: true output: ../../gh-pages/services/AssistantV2 module: AssistantV2 -module_version: "4.3.0" +module_version: "5.0.0" documentation: ../../Sources/AssistantV2/README.md readme: ../../Sources/AssistantV2/README.md build_tool_arguments: @@ -13,4 +13,4 @@ build_tool_arguments: - "-scheme" - "AssistantV2" - "-destination" - - "platform=iOS Simulator,name=iPhone 11" \ No newline at end of file + - "platform=iOS Simulator,name=iPhone 11" diff --git a/Scripts/jazzy-config/DiscoveryV1.jazzy.yaml b/Scripts/jazzy-config/DiscoveryV1.jazzy.yaml index 3477b2d64..5fc7106f8 100644 --- a/Scripts/jazzy-config/DiscoveryV1.jazzy.yaml +++ b/Scripts/jazzy-config/DiscoveryV1.jazzy.yaml @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk clean: true output: ../../gh-pages/services/DiscoveryV1 module: DiscoveryV1 -module_version: "4.3.0" +module_version: "5.0.0" documentation: ../../Sources/DiscoveryV1/README.md readme: ../../Sources/DiscoveryV1/README.md build_tool_arguments: @@ -13,4 +13,4 @@ build_tool_arguments: - "-scheme" - "DiscoveryV1" - "-destination" - - "platform=iOS Simulator,name=iPhone 11" \ No newline at end of file + - "platform=iOS Simulator,name=iPhone 11" diff --git a/Scripts/jazzy-config/DiscoveryV2.jazzy.yaml b/Scripts/jazzy-config/DiscoveryV2.jazzy.yaml index 697bcf5cb..c0e6f78f1 100644 --- a/Scripts/jazzy-config/DiscoveryV2.jazzy.yaml +++ b/Scripts/jazzy-config/DiscoveryV2.jazzy.yaml @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk clean: true output: ../../gh-pages/services/DiscoveryV2 module: DiscoveryV2 -module_version: "4.3.0" +module_version: "5.0.0" documentation: ../../Sources/DiscoveryV2/README.md readme: ../../Sources/DiscoveryV2/README.md build_tool_arguments: @@ -13,4 +13,4 @@ build_tool_arguments: - "-scheme" - "DiscoveryV2" - "-destination" - - "platform=iOS Simulator,name=iPhone 11" \ No newline at end of file + - "platform=iOS Simulator,name=iPhone 11" diff --git a/Scripts/jazzy-config/LanguageTranslatorV3.jazzy.yaml b/Scripts/jazzy-config/LanguageTranslatorV3.jazzy.yaml index f0f27c446..77d1983ca 100644 --- a/Scripts/jazzy-config/LanguageTranslatorV3.jazzy.yaml +++ b/Scripts/jazzy-config/LanguageTranslatorV3.jazzy.yaml @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk clean: true output: ../../gh-pages/services/LanguageTranslatorV3 module: LanguageTranslatorV3 -module_version: "4.3.0" +module_version: "5.0.0" documentation: ../../Sources/LanguageTranslatorV3/README.md readme: ../../Sources/LanguageTranslatorV3/README.md build_tool_arguments: @@ -13,4 +13,4 @@ build_tool_arguments: - "-scheme" - "LanguageTranslatorV3" - "-destination" - - "platform=iOS Simulator,name=iPhone 11" \ No newline at end of file + - "platform=iOS Simulator,name=iPhone 11" diff --git a/Scripts/jazzy-config/NaturalLanguageUnderstandingV1.jazzy.yaml b/Scripts/jazzy-config/NaturalLanguageUnderstandingV1.jazzy.yaml index f9e94e53e..fedd36e33 100644 --- a/Scripts/jazzy-config/NaturalLanguageUnderstandingV1.jazzy.yaml +++ b/Scripts/jazzy-config/NaturalLanguageUnderstandingV1.jazzy.yaml @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk clean: true output: ../../gh-pages/services/NaturalLanguageUnderstandingV1 module: NaturalLanguageUnderstandingV1 -module_version: "4.3.0" +module_version: "5.0.0" documentation: ../../Sources/NaturalLanguageUnderstandingV1/README.md readme: ../../Sources/NaturalLanguageUnderstandingV1/README.md build_tool_arguments: @@ -13,4 +13,4 @@ build_tool_arguments: - "-scheme" - "NaturalLanguageUnderstandingV1" - "-destination" - - "platform=iOS Simulator,name=iPhone 11" \ No newline at end of file + - "platform=iOS Simulator,name=iPhone 11" diff --git a/Scripts/jazzy-config/SpeechToTextV1.jazzy.yaml b/Scripts/jazzy-config/SpeechToTextV1.jazzy.yaml index a987ab71f..2c7d304e5 100644 --- a/Scripts/jazzy-config/SpeechToTextV1.jazzy.yaml +++ b/Scripts/jazzy-config/SpeechToTextV1.jazzy.yaml @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk clean: true output: ../../gh-pages/services/SpeechToTextV1 module: SpeechToTextV1 -module_version: "4.3.0" +module_version: "5.0.0" documentation: ../../Sources/SpeechToTextV1/README.md readme: ../../Sources/SpeechToTextV1/README.md build_tool_arguments: @@ -13,4 +13,4 @@ build_tool_arguments: - "-scheme" - "SpeechToTextV1" - "-destination" - - "platform=iOS Simulator,name=iPhone 11" \ No newline at end of file + - "platform=iOS Simulator,name=iPhone 11" diff --git a/Scripts/jazzy-config/TextToSpeechV1.jazzy.yaml b/Scripts/jazzy-config/TextToSpeechV1.jazzy.yaml index 7cc800cfd..5f72cc1c2 100644 --- a/Scripts/jazzy-config/TextToSpeechV1.jazzy.yaml +++ b/Scripts/jazzy-config/TextToSpeechV1.jazzy.yaml @@ -4,7 +4,7 @@ github_url: https://github.com/watson-developer-cloud/swift-sdk clean: true output: ../../gh-pages/services/TextToSpeechV1 module: TextToSpeechV1 -module_version: "4.3.0" +module_version: "5.0.0" documentation: ../../Sources/TextToSpeechV1/README.md readme: ../../Sources/TextToSpeechV1/README.md build_tool_arguments: @@ -13,4 +13,4 @@ build_tool_arguments: - "-scheme" - "TextToSpeechV1" - "-destination" - - "platform=iOS Simulator,name=iPhone 11" \ No newline at end of file + - "platform=iOS Simulator,name=iPhone 11" diff --git a/Sources/SupportingFiles/Shared.swift b/Sources/SupportingFiles/Shared.swift index 7955c99b1..1cf6fb18d 100644 --- a/Sources/SupportingFiles/Shared.swift +++ b/Sources/SupportingFiles/Shared.swift @@ -44,7 +44,7 @@ internal struct Shared { static let icpPrefix = "icp-" } - static let sdkVersion = "4.3.0" + static let sdkVersion = "5.0.0" /// The "User-Agent" header to be sent with every RestRequest static let userAgent: String? = {