Skip to content

Releases: phrase/ios-sdk

5.1.0

23 Jun 12:36
Compare
Choose a tag to compare

What’s New

Public Function: applyPendingUpdates

The new function applyPendingUpdates makes newly downloaded translations available immediately—without needing to restart the app.

ℹ️ Note: If applyPendingUpdates is not called, the new translations will still be applied automatically on the next app launch.

Example:

Task {
    do {
        let newUpdatesAvailable = try await Phrase.shared.updateTranslation()
        if newUpdatesAvailable {
            Phrase.shared.applyPendingUpdates()
            // refresh the screen if needed
            ...
        }
    } catch {
        // Error handling
    }
}

Note: Build with Xcode 16.2 & Swift 6.0

5.1.0-beta

23 Apr 13:54
Compare
Choose a tag to compare
5.1.0-beta Pre-release
Pre-release

BETA Release - What’s New

Public Function: applyPendingUpdates

The new function applyPendingUpdates makes newly downloaded translations available immediately—without needing to restart the app.

ℹ️ Note: If applyPendingUpdates is not called, the new translations will still be applied automatically on the next app launch.

Example:

Task {
    do {
        let newUpdatesAvailable = try await Phrase.shared.updateTranslation()
        if newUpdatesAvailable {
            Phrase.shared.applyPendingUpdates()
            // refresh the screen if needed
            ...
        }
    } catch {
        // Error handling
    }
}

Note: Build with Xcode 16.2 & Swift 6.0

5.0.0

27 Jan 14:27
Compare
Choose a tag to compare
  • Support Swift 6.0
  • change updateTranslation method

Migration guide: https://github.com/phrase/ios-sdk?tab=readme-ov-file#migration-guide-from-version-4xx-to-5xx

Note: Build with Xcode 16.1 & Swift 6.0

4.4.3

06 Dec 08:40
Compare
Choose a tag to compare
  • Cocoa Pods Release (same code as 4.4.2)

Note: Build with Xcode 15.4

4.4.2

27 Nov 13:22
Compare
Choose a tag to compare

Note: Build with Xcode 15.4

4.4.1

08 Apr 09:33
Compare
Choose a tag to compare

Changes

  • Add: Privacy Manifest

Note: Build with Xcode 15.3

4.4.0

22 Jan 13:19
Compare
Choose a tag to compare

Changes

  • Change: The minimum SDK version is now iOS 12
  • Change: Need Xcode 15

Note: Build with Xcode 15.2

4.3.4

24 Oct 07:58
Compare
Choose a tag to compare

Changes

  • Fixes: #61 adjustment of the validation logic whether the correct files were downloaded (fixes inconsistentUpdate)

Note: Build with Xcode 14.3.1

4.3.3

20 Oct 13:36
Compare
Choose a tag to compare

Changes

  • Fixes: handling of the http status code, which would lead to an inconsistentUpdate error
  • New: more logging and more error cases

Note: Build with Xcode 14.3.1

4.3.2

17 Oct 07:43
Compare
Choose a tag to compare

Changes

  • Fixes: codesigning for mac catalyst

Note: Build with Xcode 14.3.1