From 14de542d8c6c3a901b2ab3b39721b96047cb545e Mon Sep 17 00:00:00 2001 From: Ellen Shapiro Date: Thu, 3 Oct 2019 09:55:17 -0500 Subject: [PATCH] Bump version, update changelog, regenerate docs --- CHANGELOG.md | 4 ++++ Configuration/Shared/Project-Version.xcconfig | 2 +- .../api/Apollo/classes/MultipartFormData.md | 19 +++++++++++++++++++ .../api/Apollo/extensions/RequestCreator.md | 4 ++-- 4 files changed, 26 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5532c385ce..86a3e2ec61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change log +### v0.16.1 +- Updated the way `run-bundled-codegen` checks whether the bundled codegen has already been unzipped and has node locally. ([#806](https://github.com/apollographql/apollo-ios/pull/806)) +- Updated how default parameters are provided for `RequestCreatorProtocol`. ([#804](https://github.com/apollographql/apollo-ios/pull/804)) + ### v0.16.0 - **BREAKING**: We've switched to a much simpler setup which does not involve NPM in order to use our CLI. This requires updating your build scripts. Please follow the [updated instructions for setting up the build script here](https://www.apollographql.com/docs/ios/installation/#adding-a-code-generation-build-step). The existing build script will continue to work until the next minor release, at which point it will be removed. ([#766](https://github.com/apollographql/apollo-ios/pull/766)) - Included CLI version fixes issues which showed up in `0.15.2`. diff --git a/Configuration/Shared/Project-Version.xcconfig b/Configuration/Shared/Project-Version.xcconfig index bfdf0fc00b..fbf497c4db 100644 --- a/Configuration/Shared/Project-Version.xcconfig +++ b/Configuration/Shared/Project-Version.xcconfig @@ -1 +1 @@ -CURRENT_PROJECT_VERSION = 0.16.0 +CURRENT_PROJECT_VERSION = 0.16.1 diff --git a/docs/source/api/Apollo/classes/MultipartFormData.md b/docs/source/api/Apollo/classes/MultipartFormData.md index a0f11969e1..9cc6e405ee 100644 --- a/docs/source/api/Apollo/classes/MultipartFormData.md +++ b/docs/source/api/Apollo/classes/MultipartFormData.md @@ -33,6 +33,25 @@ public convenience init() > Convenience initializer which uses a pre-defined boundary +### `appendPart(string:name:)` + +```swift +public func appendPart(string: String, name: String) throws +``` + +> Appends the passed-in string as a part of the body. +> +> - Parameters: +> - string: The string to append +> - name: The name of the part to pass along to the server + +#### Parameters + +| Name | Description | +| ---- | ----------- | +| string | The string to append | +| name | The name of the part to pass along to the server | + ### `appendPart(data:name:contentType:filename:)` ```swift diff --git a/docs/source/api/Apollo/extensions/RequestCreator.md b/docs/source/api/Apollo/extensions/RequestCreator.md index b45a600481..95e1218ffb 100644 --- a/docs/source/api/Apollo/extensions/RequestCreator.md +++ b/docs/source/api/Apollo/extensions/RequestCreator.md @@ -6,7 +6,7 @@ ### `requestBody(for:sendOperationIdentifiers:)` ```swift -public func requestBody(for operation: Operation, sendOperationIdentifiers: Bool = false) -> GraphQLMap +public func requestBody(for operation: Operation, sendOperationIdentifiers: Bool) -> GraphQLMap ``` > Creates a `GraphQLMap` out of the passed-in operation @@ -30,7 +30,7 @@ public func requestMultipartFormData(for operation: files: [GraphQLFile], sendOperationIdentifiers: Bool, serializationFormat: JSONSerializationFormat.Type, - manualBoundary: String? = nil) throws -> MultipartFormData + manualBoundary: String?) throws -> MultipartFormData ``` > Creates multi-part form data to send with a request