Skip to content

Commit

Permalink
Merge pull request #820 from watson-developer-cloud/v0.26
Browse files Browse the repository at this point in the history
Release candidate for v0.26
Mike Kistler authored May 21, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 6dd75d9 + e675fb6 commit e78a383
Showing 1,096 changed files with 21,235 additions and 21,056 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
Change Log
==========

## Version 0.26.0
_2018-05-17_

This release regenerates all services. It includes updates to the documentation and some minor new service features.

This release includes the following new features and bug fixes:

- Adds a `headers` parameter to all service methods that can be used to pass request headers to be sent with the request.
- Adds a `deleteUserData` method in some services to allow deletion of data associated with a specified `customer_id`.

## Version 0.25.0
_2018-04-26_

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -93,7 +93,7 @@ Add the following to your `Package.swift` file to identify the Swift SDK as a de

```swift
dependencies: [
.package(url: "https://github.com/watson-developer-cloud/swift-sdk", from: "0.23.1")
.package(url: "https://github.com/watson-developer-cloud/swift-sdk", from: "0.26.0")
]
```

@@ -147,6 +147,8 @@ let naturalLanguageClassifier = NaturalLanguageClassifier(username: username, pa
naturalLanguageClassifier.defaultHeaders = ["X-Watson-Learning-Opt-Out": "true"]
```

Each service method also accepts an optional `headers` parameter which is a dictionary of request headers to be sent with the request.

## Sample Applications

* [Simple Chat (Swift)](https://github.com/watson-developer-cloud/simple-chat-swift)
567 changes: 416 additions & 151 deletions Source/AssistantV1/Assistant.swift

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Source/AssistantV1/Models/CreateDialogNode.swift
Original file line number Diff line number Diff line change
@@ -39,6 +39,7 @@ public struct CreateDialogNode: Encodable {
case generic = "generic"
case nomatch = "nomatch"
case nomatchResponsesDepleted = "nomatch_responses_depleted"
case digressionReturnPrompt = "digression_return_prompt"
}

/// Whether this top-level dialog node can be digressed into.
1 change: 1 addition & 0 deletions Source/AssistantV1/Models/DialogNode.swift
Original file line number Diff line number Diff line change
@@ -39,6 +39,7 @@ public struct DialogNode: Decodable {
case generic = "generic"
case nomatch = "nomatch"
case nomatchResponsesDepleted = "nomatch_responses_depleted"
case digressionReturnPrompt = "digression_return_prompt"
}

/// Whether this top-level dialog node can be digressed into.
1 change: 1 addition & 0 deletions Source/AssistantV1/Models/UpdateDialogNode.swift
Original file line number Diff line number Diff line change
@@ -39,6 +39,7 @@ public struct UpdateDialogNode: Encodable {
case generic = "generic"
case nomatch = "nomatch"
case nomatchResponsesDepleted = "nomatch_responses_depleted"
case digressionReturnPrompt = "digression_return_prompt"
}

/// Whether this top-level dialog node can be digressed into.
Loading

0 comments on commit e78a383

Please sign in to comment.