Releases: Azure/azure-sdk-for-ios
Azure SDK for iOS 1.0.0-beta.7
New Features
-
Azure Communication Calling Service
- Added the ability to set the Caller display name when initializing the library.
-
Azure Communication Common Library
- Added a new communication identifier
MicrosoftTeamsUserIdentifier
, used to represent a Microsoft Teams user. - Introduced the new
CommunicationTokenRefreshOptions
type for specifying communication token refresh options.
- Added a new communication identifier
Breaking Changes
- Azure Communication Common Library
- Renamed the type
CommunicationUserCredential
toCommunicationTokenCredential
, as it represents a token. - The protocol
CommunicationTokenCredential
has likewise been renamed toCommunicationTokenCredentialProviding
. - All types that conform to the
CommunicationIdentifier
protocol now use the suffixIdentifier
. For example, the
PhoneNumber
type used to represent a phone number identifier is now namedPhoneNumberIdentifier
. - Updated the
CommunicationTokenCredential
initializer that automatically refreshes the token to accept a single
CommunicationTokenRefreshOptions
object instead of multiple parameters.
- Renamed the type
Key Bug Fixes
- Azure Communication Calling Service
- Fixed an issue where
handlePushNotification
did not return false if the same payload had been processed already. - Improved logging to help identify the source of
hangup
-related issues reported in GitHub. - Fixed an issue where the remote participant was still available after hangup/disconnect. #134
- Fixed an issue where
Azure SDK for iOS 1.0.0-beta.6
Azure SDK for iOS 1.0.0-beta.5
New Features
- Added Cocoapods specs for AzureCore, AzureCommunication, AzureCommunicationChat, and AzureCommunicationCalling
libraries.
Breaking Changes
-
Azure Communication Chat Service
- The
baseUrl
parameter has been renamed toendpoint
in theAzureCommunicationChatClient
initializers.
- The
-
Azure Communication Calling Service
- Swift applications will not see the
ACS
prefix for classes and enums. For example,ACSCallAgent
is nowCallAgent
when the library is imported in a Swift application. - Parameter labels are now mandatory for all API calls from Swift applications.
- Except for the first parameter, parameter labels are now mandatory for all other parameters to delegate methods in Swift applications.
- An exception is now thrown if an application tries to render video/camera twice.
- Swift applications will not see the
Key Bug Fixes
- Azure Communication Calling Service
- Fixed a deadlock when deleting an
ACSCallAgent
object. - The
Call.hangup()
method will return only after all necessary events are delivered to the app. #85 - The
Call.hangup()
method now terminates a call if the call is in theConnecting
orRinging
state. #96 - The library was raising a
RemoteVideoStream Removed
event when app stopped rendering a stream. The library now also raises a follow-upRemoteVideoStream Added
event once the stream is ready to be rendered again. #95
- Fixed a deadlock when deleting an
Azure SDK for iOS 1.0.0-beta.2
Version 1.0.0-beta.2 adds the Azure Communication Services Chat to the SDK.
Added Libraries
- Azure Communication Services Chat (AzureCommunicationChat)
Azure SDK libraries are distributed via Swift Package Manager. For installation instructions and a list of available libraries, see the project's README. Click on any library in the list to view getting started material and examples for that library.
Azure SDK for iOS 1.0.0-beta.1
Version 1.0.0-beta.1 is a beta of our efforts in creating a client library that is developer-friendly, idiomatic to the iOS ecosystem, and as consistent across different languages and platforms as possible. The principles that guide our efforts can be found in the Azure SDK Design Guidelines for iOS.
Added Libraries
- Azure SDK for iOS core (AzureCore)
- Azure Communication Services common (AzureCommunication)
- This library is used by other libraries in this SDK, as well as by libraries in the Azure Communication SDKs.
Azure SDK libraries are distributed via Swift Package Manager. For installation instructions and a list of available libraries, see the project's README. Click on any library in the list to view getting started material and examples for that library.
v0.5.0
New Features
The AzureData SDK now uses CosmosDB REST API version 2018-12-31
, which adds support for large partition keys.
Note: This update shouldn't break existing applications. If you do experience problems, revert to v0.4.4
and file an issue.
Bug Fixes
Fixes issue #132: Can't query with large partition key.
v0.4.4
New Features
Adds new static constructor for Query
that takes a raw SQL query string:
public static func createFrom(queryString: String) -> Query
Example usage
let query = Query.createFrom(queryString: #"SELECT c.id FROM c WHERE c.type = "round" AND ARRAY_LENGTH(c.holeScores) = 18 AND c.isDeleted = false"#)
AzureData.query(documentPropertiesIn: myCollection, with: query, andPartitionKey: "myKey") { response in
let roundsCount = response.resource.count
}
v0.4.3
v0.4.2
v0.4.1 (53)
v0.4.1
Bug fixes
- Fixes issue #127 where SDK's
AzureCore.Result
type conflicted with Swift's newSwift.Result
type. - Fixes issue #112 where AzureData.replace was throwing partition key error.