Skip to content

Releases: phrase/phrase-android

3.12.0

17 Dec 09:47
dc3fb22

Choose a tag to compare

  • Downloaded releases are rechecked against the latest app version on start and will be removed if their minimum or maximum version constraints no longer match. Fixes #42
  • Log used webview version in debug mode

3.11.0

04 Sep 11:58
c1cee4c

Choose a tag to compare

Added

  • Add optional formatArgs parameter to Translations.getString() and Translations.getQuantityString() for automatic translation placeholder replacement.
  • Add getPhraseString(), getPhraseText(), getPhraseStringArray(), getPhraseTextArray(), getPhraseQuantityString() and getPhraseQuantityText() extension functions to Context and Resources
  • Add optional wrapContext parameter to Phrase.getDelegate() to disable Activity Context wrapping.

Compose

  • Deprecate Phrase {} wrapper composable. Context Wrapping is not necessary any more to use Phrase translations in Compose.
  • Add phraseText(), phraseStringArray(), phraseTextArray(), phraseQuantityString() and phraseQuantityText() composables to complete the Phrase Translation support in Compose.

3.10.5

06 Aug 07:49
ccd9552

Choose a tag to compare

Improvements

  • Improve parsing performance of translations with HTML
  • New method to set datacenter
    • Phrase.setDatacenter(PhraseDataCenter.EU) (set by default)
    • Or Phrase.setDatacenter(PhraseDataCenter.US)
  • Reduce references to context that could cause activity leaks
  • Switch to API host eu.ota.phrase.com for EU datacenter

Deprecations

  • Phrase.setHost() being deprecated and replaced with Phrase.setDatacenter()

3.10.4

21 May 12:17
cac4517

Choose a tag to compare

Improvements

  • Fixed an issue where newline characters \n were incorrectly converted to <br> tags when retrieving translations using Phrase.getTranslations().getString()

Deprecations

  • Phrase.setLocaleCode is being deprecated. Instead the per-app language feature should be used

3.10.3

08 Apr 07:49
5a01edd

Choose a tag to compare

  • Fix performance regression accessing translations #75

3.10.3-beta

03 Dec 09:48
1a46041

Choose a tag to compare

3.10.3-beta Pre-release
Pre-release
  • Improve performance when accessing translatons

3.10.2

06 Aug 10:14
1a46041

Choose a tag to compare

Bugfixes:

  • Reverts changes introduced in release 3.10.1 which can potentially lead to app crashing.

3.10.1

02 Aug 07:57
1a46041

Choose a tag to compare

Release 3.10.1

Bugfixes:

  • Fixes issue regarding crashing of Webview (for Xiaomi devices)

3.10.0

04 Jul 11:50
1a46041

Choose a tag to compare

Release 3.10.0

New

  • Large speed-up for loading translation on application start. Existing cached releases will be migrated during first launch which should not be noticeable to any user
  • New minimum supported Android version. The minimum supported Android SDK is bumped from 15 to 21

Bugfixes:

  • Fixes issue regarding missing HTML markup attributes
  • Fixes issue regarding changing of theme when custom locale is set
  • Fixes issue regarding crashing of Webview

3.10.0-rc4

03 Jul 08:25
1a46041

Choose a tag to compare

3.10.0-rc4 Pre-release
Pre-release

Backport fix for Webview crashing to previous versions of Android.