Skip to content

Open-source Android PDF and document toolkit with PDF tools, Office viewing, XLSX editing, scanning, and image editing. Built with Kotlin and Jetpack Compose.

Prepare ClearPDF v5.2 release

chethan61610b5e54db508
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 91ac2b3..2e8d84b 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -3,6 +3,7 @@ name: Android build
on:
push:
branches: [main]
+ tags: ['v*']
pull_request:
permissions:
@@ -22,14 +23,79 @@ jobs:
cache: gradle
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4
- - name: Build release variant
+ - name: Build release variants for CI
+ if: ${{ !startsWith(github.ref, 'refs/tags/') }}
# Three flavors (play, foss, fdroid) compile in one Kotlin daemon; its default 2 GB heap ran
# out (GC overhead limit). The runner has 16 GB, so give Gradle and Kotlin 4 GB each.
run: ./gradlew assembleRelease --stacktrace -Dorg.gradle.jvmargs="-Xmx4g -Dfile.encoding=UTF-8" -Pkotlin.daemon.jvmargs=-Xmx4g
- - name: Upload release APK
+
+ - name: Prepare the official upload key
+ if: startsWith(github.ref, 'refs/tags/v')
+ env:
+ KEYSTORE_BASE64: ${{ secrets.CLEARPDF_UPLOAD_STORE_FILE_BASE64 }}
+ CLEARPDF_UPLOAD_STORE_FILE: ${{ runner.temp }}/clearpdf-upload-key.jks
+ run: |
+ test -n "$KEYSTORE_BASE64"
+ printf '%s' "$KEYSTORE_BASE64" | base64 --decode > "$CLEARPDF_UPLOAD_STORE_FILE"
+ test -s "$CLEARPDF_UPLOAD_STORE_FILE"
+ chmod 600 "$CLEARPDF_UPLOAD_STORE_FILE"
+
+ - name: Build signed FOSS APKs
+ if: startsWith(github.ref, 'refs/tags/v')
+ env:
+ CLEARPDF_UPLOAD_STORE_FILE: ${{ runner.temp }}/clearpdf-upload-key.jks
+ CLEARPDF_UPLOAD_STORE_PASSWORD: ${{ secrets.CLEARPDF_UPLOAD_STORE_PASSWORD }}
+ CLEARPDF_UPLOAD_KEY_ALIAS: ${{ secrets.CLEARPDF_UPLOAD_KEY_ALIAS }}
+ CLEARPDF_UPLOAD_KEY_PASSWORD: ${{ secrets.CLEARPDF_UPLOAD_KEY_PASSWORD }}
+ run: |
+ test -s "$CLEARPDF_UPLOAD_STORE_FILE"
+ test -n "$CLEARPDF_UPLOAD_STORE_PASSWORD"
+ test -n "$CLEARPDF_UPLOAD_KEY_ALIAS"
+ test -n "$CLEARPDF_UPLOAD_KEY_PASSWORD"
+ ./gradlew :app:assembleFossRelease --stacktrace -Dorg.gradle.jvmargs="-Xmx4g -Dfile.encoding=UTF-8" -Pkotlin.daemon.jvmargs=-Xmx4g
+
+ - name: Upload CI APK artifacts
+ if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/upload-artifact@v4
with:
name: clearpdf-release-apk
- # Product flavors (foss / play) put APKs under apk/<flavor>/release/.
+ # Branch builds include all flavors under apk/<flavor>/release/.
path: app/build/outputs/apk/*/release/*.apk
if-no-files-found: error
+
+ - name: Upload signed FOSS APK artifacts
+ if: startsWith(github.ref, 'refs/tags/v')
+ uses: actions/upload-artifact@v4
+ with:
+ name: clearpdf-release-apk
+ path: app/build/outputs/apk/foss/release/*.apk
+ if-no-files-found: error
+
+ publish:
+ if: startsWith(github.ref, 'refs/tags/v')
+ needs: build
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ steps:
+ - name: Check out release source
+ uses: actions/checkout@v4
+ - name: Download signed APKs
+ uses: actions/download-artifact@v4
+ with:
+ name: clearpdf-release-apk
+ path: release-apks
+ - name: Create GitHub release
+ env:
+ GH_TOKEN: ${{ github.token }}
+ run: |
+ set -euo pipefail
+ notes="release-notes/${GITHUB_REF_NAME}.md"
+ test -f "$notes"
+ title="$(sed -n '1s/^# //p' "$notes")"
+ test -n "$title"
+ gh release create "$GITHUB_REF_NAME" \
+ --verify-tag \
+ --title "$title" \
+ --notes-file "$notes" \
+ release-apks/*.apk
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index b0d75e5..d7171a3 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -45,8 +45,8 @@ android {
minSdk = 23
targetSdk = 36
// Keep this a literal: F-Droid's update checker reads it from this file.
- versionCode = 6
- versionName = "2.1.1"
+ versionCode = 7
+ versionName = "2.2.0"
// Keep every locale declared by the app. Filtering this to English
// removes values-pt-rBR from the packaged APK, so the language picker
// can appear to work while the app continues to resolve English.
diff --git a/app/src/main/java/com/chethan616/clearpdf/ui/screen/WhatsNewScreen.kt b/app/src/main/java/com/chethan616/clearpdf/ui/screen/WhatsNewScreen.kt
index c57f200..2d00fef 100644
--- a/app/src/main/java/com/chethan616/clearpdf/ui/screen/WhatsNewScreen.kt
+++ b/app/src/main/java/com/chethan616/clearpdf/ui/screen/WhatsNewScreen.kt
@@ -19,15 +19,10 @@ import androidx.compose.foundation.verticalScroll
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.rounded.AutoAwesome
import androidx.compose.material.icons.rounded.BugReport
-import androidx.compose.material.icons.rounded.CheckBox
-import androidx.compose.material.icons.rounded.Layers
-import androidx.compose.material.icons.rounded.ZoomIn
-import androidx.compose.material.icons.rounded.EditNote
-import androidx.compose.material.icons.rounded.TableChart
-import androidx.compose.material.icons.rounded.DarkMode
-import androidx.compose.material.icons.rounded.Description
-import androidx.compose.material.icons.rounded.Print
-import androidx.compose.material.icons.rounded.Translate
+import androidx.compose.material.icons.rounded.FileDownload
+import androidx.compose.material.icons.rounded.Link
+import androidx.compose.material.icons.rounded.Lock
+import androidx.compose.material.icons.rounded.MenuBook
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.remember
@@ -60,17 +55,11 @@ import kotlinx.coroutines.launch
private class WhatsNewItem(val icon: ImageVector, val accent: Color, val title: Int, val desc: Int)
private val WhatsNewItems = listOf(
- WhatsNewItem(Icons.Rounded.Description, LiquidGlassColors.Blue, R.string.whats_new_word_title, R.string.whats_new_word_desc),
- WhatsNewItem(Icons.Rounded.DarkMode, LiquidGlassColors.Indigo, R.string.whats_new_night_title, R.string.whats_new_night_desc),
- WhatsNewItem(Icons.Rounded.TableChart, LiquidGlassColors.Green, R.string.whats_new_xlsx_title, R.string.whats_new_xlsx_desc),
- WhatsNewItem(Icons.Rounded.Translate, LiquidGlassColors.Orange, R.string.whats_new_lang_title, R.string.whats_new_lang_desc),
- WhatsNewItem(Icons.Rounded.Print, LiquidGlassColors.Teal, R.string.whats_new_print_title, R.string.whats_new_print_desc),
- WhatsNewItem(Icons.Rounded.EditNote, LiquidGlassColors.Blue, R.string.whats_new_edit_title, R.string.whats_new_edit_desc),
- WhatsNewItem(Icons.Rounded.CheckBox, LiquidGlassColors.Indigo, R.string.whats_new_forms_title, R.string.whats_new_forms_desc),
- WhatsNewItem(Icons.Rounded.ZoomIn, LiquidGlassColors.Teal, R.string.whats_new_zoom_title, R.string.whats_new_zoom_desc),
- WhatsNewItem(Icons.Rounded.Layers, LiquidGlassColors.Blue, R.string.whats_new_window_title, R.string.whats_new_window_desc),
- WhatsNewItem(Icons.Rounded.AutoAwesome, LiquidGlassColors.Teal, R.string.whats_new_glass_title, R.string.whats_new_glass_desc),
- WhatsNewItem(Icons.Rounded.BugReport, LiquidGlassColors.Red, R.string.whats_new_fixes_title, R.string.whats_new_fixes_desc)
+ WhatsNewItem(Icons.Rounded.Lock, LiquidGlassColors.Indigo, R.string.whats_new_encrypt_title, R.string.whats_new_encrypt_desc),
+ WhatsNewItem(Icons.Rounded.MenuBook, LiquidGlassColors.Blue, R.string.whats_new_reading_title, R.string.whats_new_reading_desc),
+ WhatsNewItem(Icons.Rounded.FileDownload, LiquidGlassColors.Green, R.string.whats_new_copy_title, R.string.whats_new_copy_desc),
+ WhatsNewItem(Icons.Rounded.Link, LiquidGlassColors.Orange, R.string.whats_new_links_title, R.string.whats_new_links_desc),
+ WhatsNewItem(Icons.Rounded.BugReport, LiquidGlassColors.Red, R.string.whats_new_reliability_title, R.string.whats_new_reliability_desc)
)
/**
diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml
index 4bdd863..2185e85 100644
--- a/app/src/main/res/values-ar/strings.xml
+++ b/app/src/main/res/values-ar/strings.xml
@@ -943,4 +943,14 @@
<string name="motion_reset">إعادة ضبط الحركة</string>
<string name="settings_invert_share_morph">تبديل المشاركة والفتح</string>
<string name="settings_invert_share_morph_desc">في العارض، انقر الزر الدائري لمشاركة المستند، واضغط مطولًا ثم اسحب لأعلى لفتح ملف آخر.</string>
+ <string name="whats_new_encrypt_title">تشفير PDF بمعيار AES-256</string>
+ <string name="whats_new_encrypt_desc">احمِ ملفات PDF باستخدام AES-256، وحدد كلمة مرور للمالك بشكل منفصل عن كلمة مرور فتح الملف.</string>
+ <string name="whats_new_reading_title">اختر طريقة القراءة</string>
+ <string name="whats_new_reading_desc">فعّل وضع الكتاب لعرض صفحة واحدة في كل مرة، أو قص الهوامش العريضة من الإعدادات ← المظهر.</string>
+ <string name="whats_new_copy_title">حفظ نسخة</string>
+ <string name="whats_new_copy_desc">احتفظ بملف PDF المفتوح من تطبيق آخر بحفظ نسخة في مجلد تختاره، دون تعديل الملف الأصلي.</string>
+ <string name="whats_new_links_title">افتح روابط PDF</string>
+ <string name="whats_new_links_desc">انقر على رابط للانتقال إلى صفحة أخرى أو لفتح موقع ويب أو رابط بريد إلكتروني.</string>
+ <string name="whats_new_reliability_title">قارئ PDF أكثر موثوقية</string>
+ <string name="whats_new_reliability_desc">تستهلك ملفات PDF الكبيرة ذاكرة أقل. أصبح التكبير بالأصابع وسحب التعليقات وتنظيم الصفحات أكثر موثوقية، مع إصلاح الأعطال على Android 9 و10.</string>
</resources>
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index bc02357..561d908 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -968,4 +968,14 @@
<string name="motion_reset">Restablecer movimiento</string>
<string name="settings_invert_share_morph">Intercambiar compartir y abrir</string>
<string name="settings_invert_share_morph_desc">En el visor, toca el botón redondo para compartir el documento y mantenlo pulsado y desliza hacia arriba para abrir otro archivo.</string>
+ <string name="whats_new_encrypt_title">Cifrado AES-256 para PDF</string>
+ <string name="whats_new_encrypt_desc">Protege tus PDF con AES-256 y usa una contraseña de propietario distinta de la que abre el archivo.</string>
+ <string name="whats_new_reading_title">Elige cómo leer</string>
+ <string name="whats_new_reading_desc">Activa el modo libro para ver una página cada vez o recorta los márgenes amplios en Ajustes → Apariencia.</string>
+ <string name="whats_new_copy_title">Guardar una copia</string>
+ <string name="whats_new_copy_desc">Guarda en una carpeta que elijas una copia del PDF abierto desde otra app, sin modificar el original.</string>
+ <string name="whats_new_links_title">Abre enlaces de PDF</string>
+ <string name="whats_new_links_desc">Toca un enlace para ir a otra página o abrir un sitio web o un enlace de correo.</string>
+ <string name="whats_new_reliability_title">Un lector de PDF más fiable</string>
+ <string name="whats_new_reliability_desc">Los PDF grandes usan menos memoria. El zoom con dos dedos, el movimiento de anotaciones y la organización de páginas son más fiables; se corrigieron los cierres en Android 9 y 10.</string>
</resources>
diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml
index 901c860..b3a1db2 100644
--- a/app/src/main/res/values-it/strings.xml
+++ b/app/src/main/res/values-it/strings.xml
@@ -973,4 +973,14 @@
<string name="motion_reset">Ripristina movimento</string>
<string name="settings_invert_share_morph">Scambia condividi e apri</string>
<string name="settings_invert_share_morph_desc">Nel visualizzatore, tocca il pulsante rotondo per condividere il documento e tienilo premuto e scorri verso l\'alto per aprire un altro file.</string>
+ <string name="whats_new_encrypt_title">Crittografia PDF AES-256</string>
+ <string name="whats_new_encrypt_desc">Proteggi i PDF con AES-256 e imposta una password proprietario diversa da quella usata per aprire il file.</string>
+ <string name="whats_new_reading_title">Scegli come leggere</string>
+ <string name="whats_new_reading_desc">Attiva la modalità Libro per vedere una pagina alla volta oppure ritaglia i margini ampi in Impostazioni → Aspetto.</string>
+ <string name="whats_new_copy_title">Salva una copia</string>
+ <string name="whats_new_copy_desc">Salva in una cartella a tua scelta una copia del PDF aperto da un'altra app, senza modificare l'originale.</string>
+ <string name="whats_new_links_title">Apri i link nei PDF</string>
+ <string name="whats_new_links_desc">Tocca un link per passare a un'altra pagina o aprire un sito web o un indirizzo email.</string>
+ <string name="whats_new_reliability_title">Un lettore PDF più affidabile</string>
+ <string name="whats_new_reliability_desc">I PDF grandi usano meno memoria. Lo zoom con due dita, lo spostamento delle annotazioni e l'organizzazione delle pagine sono più affidabili; corretti gli arresti anomali su Android 9 e 10.</string>
</resources>
diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml
index 52add6c..d700fd3 100644
--- a/app/src/main/res/values-pt-rBR/strings.xml
+++ b/app/src/main/res/values-pt-rBR/strings.xml
@@ -966,4 +966,14 @@
<string name="motion_reset">Redefinir movimento</string>
<string name="settings_invert_share_morph">Trocar compartilhar e abrir</string>
<string name="settings_invert_share_morph_desc">No visualizador, toque no botão redondo para compartilhar o documento e toque, segure e deslize para cima para abrir outro arquivo.</string>
+ <string name="whats_new_encrypt_title">Criptografia AES-256 para PDF</string>
+ <string name="whats_new_encrypt_desc">Proteja PDFs com AES-256 e defina uma senha de proprietário diferente da senha usada para abrir o arquivo.</string>
+ <string name="whats_new_reading_title">Escolha como ler</string>
+ <string name="whats_new_reading_desc">Ative o modo Livro para ver uma página por vez ou corte as margens largas em Configurações → Aparência.</string>
+ <string name="whats_new_copy_title">Salvar uma cópia</string>
+ <string name="whats_new_copy_desc">Salve em uma pasta escolhida uma cópia do PDF aberto em outro app, sem alterar o original.</string>
+ <string name="whats_new_links_title">Abra links em PDFs</string>
+ <string name="whats_new_links_desc">Toque em um link para ir a outra página ou abrir um site ou link de e-mail.</string>
+ <string name="whats_new_reliability_title">Um leitor de PDF mais confiável</string>
+ <string name="whats_new_reliability_desc">PDFs grandes usam menos memória. O zoom com dois dedos, o arrasto de anotações e a organização de páginas estão mais confiáveis; as falhas no Android 9 e 10 foram corrigidas.</string>
</resources>
diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml
index bba5005..de5d257 100644
--- a/app/src/main/res/values-pt/strings.xml
+++ b/app/src/main/res/values-pt/strings.xml
@@ -966,4 +966,14 @@
<string name="motion_reset">Repor movimento</string>
<string name="settings_invert_share_morph">Trocar partilhar e abrir</string>
<string name="settings_invert_share_morph_desc">No visualizador, toque no botão redondo para partilhar o documento e mantenha premido e deslize para cima para abrir outro ficheiro.</string>
+ <string name="whats_new_encrypt_title">Encriptação PDF AES-256</string>
+ <string name="whats_new_encrypt_desc">Proteja PDFs com AES-256 e defina uma palavra-passe de proprietário diferente da usada para abrir o ficheiro.</string>
+ <string name="whats_new_reading_title">Escolha como ler</string>
+ <string name="whats_new_reading_desc">Ative o modo Livro para ver uma página de cada vez ou corte as margens largas em Definições → Aparência.</string>
+ <string name="whats_new_copy_title">Guardar uma cópia</string>
+ <string name="whats_new_copy_desc">Guarde numa pasta à sua escolha uma cópia do PDF aberto noutra aplicação, sem alterar o original.</string>
+ <string name="whats_new_links_title">Abra ligações em PDFs</string>
+ <string name="whats_new_links_desc">Toque numa ligação para ir para outra página ou abrir um site ou endereço de email.</string>
+ <string name="whats_new_reliability_title">Um leitor de PDF mais fiável</string>
+ <string name="whats_new_reliability_desc">Os PDFs grandes usam menos memória. O zoom com dois dedos, o arrasto de anotações e a organização de páginas são mais fiáveis; as falhas no Android 9 e 10 foram corrigidas.</string>
</resources>
diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml
index 30a6f8f..3649aa1 100644
--- a/app/src/main/res/values-ru/strings.xml
+++ b/app/src/main/res/values-ru/strings.xml
@@ -973,4 +973,14 @@
<string name="motion_reset">Сбросить движение</string>
<string name="settings_invert_share_morph">Поменять «Поделиться» и «Открыть»</string>
<string name="settings_invert_share_morph_desc">В просмотрщике нажмите круглую кнопку, чтобы поделиться документом, а нажмите, удерживайте и проведите вверх, чтобы открыть другой файл.</string>
+ <string name="whats_new_encrypt_title">Шифрование PDF AES-256</string>
+ <string name="whats_new_encrypt_desc">Защитите PDF с помощью AES-256 и задайте отдельный пароль владельца, отличный от пароля для открытия файла.</string>
+ <string name="whats_new_reading_title">Выберите способ чтения</string>
+ <string name="whats_new_reading_desc">Включите режим книги, чтобы видеть по одной странице, или обрежьте широкие поля в разделе «Настройки → Внешний вид».</string>
+ <string name="whats_new_copy_title">Сохранить копию</string>
+ <string name="whats_new_copy_desc">Сохраните копию PDF, открытого из другого приложения, в выбранную папку без изменения оригинала.</string>
+ <string name="whats_new_links_title">Переходите по ссылкам в PDF</string>
+ <string name="whats_new_links_desc">Нажмите ссылку, чтобы перейти на другую страницу, открыть сайт или ссылку электронной почты.</string>
+ <string name="whats_new_reliability_title">Более надёжный просмотрщик PDF</string>
+ <string name="whats_new_reliability_desc">Большие PDF занимают меньше памяти. Масштабирование двумя пальцами, перемещение пометок и организация страниц стали надёжнее; сбои на Android 9 и 10 исправлены.</string>
</resources>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 740b526..9f4048e 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -867,6 +867,16 @@
<string name="whats_new_lang_desc">ClearPDF now speaks Arabic, and Arabic text copies and searches in the right order.</string>
<string name="whats_new_print_title">Print and pick up where you left off</string>
<string name="whats_new_print_desc">Print Word documents in their real layout, and reopen them at the page you were reading.</string>
+ <string name="whats_new_encrypt_title">AES-256 PDF encryption</string>
+ <string name="whats_new_encrypt_desc">Protect PDFs with AES-256 and set an owner password separately from the password used to open the file.</string>
+ <string name="whats_new_reading_title">Choose how you read</string>
+ <string name="whats_new_reading_desc">Turn on Book mode for one page at a time, or trim wide page margins in Settings → Appearance.</string>
+ <string name="whats_new_copy_title">Save a copy</string>
+ <string name="whats_new_copy_desc">Keep a PDF opened from another app by saving a copy to a folder you choose, without editing the original.</string>
+ <string name="whats_new_links_title">Follow PDF links</string>
+ <string name="whats_new_links_desc">Tap a link to jump to another page, or open a website or email link.</string>
+ <string name="whats_new_reliability_title">A more reliable PDF reader</string>
+ <string name="whats_new_reliability_desc">Large PDFs use less memory. Pinch zoom, annotation dragging, and page organization are more reliable, with crashes fixed on Android 9 and 10.</string>
<string name="tour_edit_text_title">Edit the PDF\'s own text</string>
<string name="tour_edit_text_message">Tap the edit icon and pick Text, then tap any line to rewrite it in its own font. Or long-press a word and tap Edit text.</string>
<string name="tour_recents_menu_title">Quick actions</string>
diff --git a/fastlane/metadata/android/en-US/changelogs/7.txt b/fastlane/metadata/android/en-US/changelogs/7.txt
new file mode 100644
index 0000000..ee45a6f
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/7.txt
@@ -0,0 +1,4 @@
+• Encrypt PDFs with AES-256 and set a separate owner password
+• Read one page at a time in Book mode, or trim wide page margins
+• Save a copy of PDFs opened from other apps; follow PDF links
+• Fixed large-PDF crashes, fast zoom, annotation dragging and Android 9/10 crashes
diff --git a/fastlane/metadata/android/en-US/changelogs/71.txt b/fastlane/metadata/android/en-US/changelogs/71.txt
new file mode 100644
index 0000000..ee45a6f
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/71.txt
@@ -0,0 +1,4 @@
+• Encrypt PDFs with AES-256 and set a separate owner password
+• Read one page at a time in Book mode, or trim wide page margins
+• Save a copy of PDFs opened from other apps; follow PDF links
+• Fixed large-PDF crashes, fast zoom, annotation dragging and Android 9/10 crashes
diff --git a/fastlane/metadata/android/en-US/changelogs/72.txt b/fastlane/metadata/android/en-US/changelogs/72.txt
new file mode 100644
index 0000000..ee45a6f
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/72.txt
@@ -0,0 +1,4 @@
+• Encrypt PDFs with AES-256 and set a separate owner password
+• Read one page at a time in Book mode, or trim wide page margins
+• Save a copy of PDFs opened from other apps; follow PDF links
+• Fixed large-PDF crashes, fast zoom, annotation dragging and Android 9/10 crashes
diff --git a/fastlane/metadata/android/en-US/changelogs/73.txt b/fastlane/metadata/android/en-US/changelogs/73.txt
new file mode 100644
index 0000000..ee45a6f
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/73.txt
@@ -0,0 +1,4 @@
+• Encrypt PDFs with AES-256 and set a separate owner password
+• Read one page at a time in Book mode, or trim wide page margins
+• Save a copy of PDFs opened from other apps; follow PDF links
+• Fixed large-PDF crashes, fast zoom, annotation dragging and Android 9/10 crashes
diff --git a/fastlane/metadata/android/en-US/changelogs/74.txt b/fastlane/metadata/android/en-US/changelogs/74.txt
new file mode 100644
index 0000000..ee45a6f
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/74.txt
@@ -0,0 +1,4 @@
+• Encrypt PDFs with AES-256 and set a separate owner password
+• Read one page at a time in Book mode, or trim wide page margins
+• Save a copy of PDFs opened from other apps; follow PDF links
+• Fixed large-PDF crashes, fast zoom, annotation dragging and Android 9/10 crashes
diff --git a/readme.md b/readme.md
index cd70845..b382c80 100644
--- a/readme.md
+++ b/readme.md
@@ -100,7 +100,7 @@ ClearPDF annotates PDFs and edits form fields, signatures, and pages, but it doe
## Download
-The current stable release is **V5.1 (app version 2.1.1)**.
+The current stable release is **V5.2 (app version 2.2.0)**.
<p>
<a href="https://github.com/Chethan616/ClearPDF/releases/latest"><img src="https://img.shields.io/badge/Go%20to-Latest%20Release-0A84FF?style=for-the-badge&logo=github&logoColor=white" alt="Go to the latest release page"></a>
diff --git a/release-notes/v5.2.md b/release-notes/v5.2.md
new file mode 100644
index 0000000..cb25057
--- /dev/null
+++ b/release-notes/v5.2.md
@@ -0,0 +1,27 @@
+# ClearPDF V5.2 — PDF encryption, book mode, and reliability (2.2.0)
+
+ClearPDF V5.2 adds stronger PDF protection and more ways to read and save documents. This release also fixes several issues reported by users of V5.1.
+
+## What's new
+
+- **AES-256 PDF encryption:** protect a PDF with AES-256 and set an owner password separately from the password used to open it.
+- **Book mode and trimmed margins:** read one page at a time, or trim wide page margins. Both options are in **Settings → Appearance**.
+- **Save a copy:** save a PDF opened from another app to a folder you choose, even when you have not edited it.
+- **Working PDF links:** follow links to another page, or open web and email links in their apps.
+
+## Issues fixed
+
+- Fixed crashes from glass controls on Android 9 and 10. ([#80](https://github.com/Chethan616/ClearPDF/issues/80))
+- Fixed saving after organizing, merging, or extracting pages from a PDF. ([#89](https://github.com/Chethan616/ClearPDF/issues/89))
+- Dragging a placed text annotation no longer pans the page. ([#88](https://github.com/Chethan616/ClearPDF/issues/88))
+- Fast pinch zoom no longer snaps back to the original size. ([#93](https://github.com/Chethan616/ClearPDF/issues/93))
+- Reduced memory use when opening very large PDFs.
+- Fixed PDF links that did not respond to taps. ([#83](https://github.com/Chethan616/ClearPDF/issues/83))
+
+The new reading, saving, and navigation options address requests for page-margin trimming, horizontal book-style reading, and saving PDFs opened from other apps. ([#85](https://github.com/Chethan616/ClearPDF/issues/85), [#84](https://github.com/Chethan616/ClearPDF/issues/84), [#76](https://github.com/Chethan616/ClearPDF/issues/76))
+
+## Download
+
+Choose the APK that matches your device. The arm64-v8a APK is recommended for most current Android phones and tablets; the universal APK works across supported ABIs and is larger.
+
+ClearPDF processes documents on your device. See [PRIVACY.md](https://github.com/Chethan616/ClearPDF/blob/main/PRIVACY.md) for network details.