From 38ca8e1ca98f1bc4d2e48a44a0950ca4a97bd39a Mon Sep 17 00:00:00 2001 From: Zefut <57273156+zefutoff@users.noreply.github.com> Date: Thu, 3 Dec 2026 21:38:10 +0100 Subject: [PATCH] release: prepare 1.1.0-rc1 and acceptance gates (#141) --- .github/workflows/ci.yml | 14 +++++++++- CHANGELOG.md | 4 ++- THIRD_PARTY_NOTICES.md | 7 ++--- app/build.gradle.kts | 4 +-- docs/releases/v1.1.0-rc1-acceptance.md | 26 ++++++++++++++++++ docs/releases/v1.1.0-rc1.md | 27 +++++++++++++++++++ .../metadata/android/en-US/changelogs/4.txt | 1 + .../metadata/android/fr-FR/changelogs/4.txt | 1 + 8 files changed, 75 insertions(+), 9 deletions(-) create mode 100644 docs/releases/v1.1.0-rc1-acceptance.md create mode 100644 docs/releases/v1.1.0-rc1.md create mode 100644 fastlane/metadata/android/en-US/changelogs/4.txt create mode 100644 fastlane/metadata/android/fr-FR/changelogs/4.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c9c1c6..0787796 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ concurrency: jobs: quality: runs-on: ubuntu-latest - timeout-minutes: 20 + timeout-minutes: 40 steps: - name: Checkout @@ -56,6 +56,18 @@ jobs: - name: Build unsigned release APK run: make unsigned-release + - name: Verify unsigned release reproducibility + if: github.event_name == 'pull_request' && startsWith(github.head_ref, 'release/') + run: make release-reproducibility + + - name: Upload candidate runtime SBOM + if: github.event_name == 'pull_request' && startsWith(github.head_ref, 'release/') + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 + with: + name: candidate-runtime-sbom + path: build/reports/sbom/grammalecte-android.cdx.json + if-no-files-found: error + - name: Upload debug APK if: always() uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 diff --git a/CHANGELOG.md b/CHANGELOG.md index 736e3f6..70e172f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), ## [Unreleased] -Changes merged after the published v1.0.0 tag; not yet released. +## [1.1.0-rc1] + +Release candidate under validation; not published. ### Added diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md index 5363da7..3df3028 100644 --- a/THIRD_PARTY_NOTICES.md +++ b/THIRD_PARTY_NOTICES.md @@ -131,12 +131,9 @@ License text: - Project: AndroidX / Jetpack Compose / Material 3 - Upstream: https://android.googlesource.com/platform/frameworks/support/ - Maven groups: `androidx.*` -- Compose BOM: `androidx.compose:compose-bom:2026.09.00` -- Compose UI, runtime, foundation and animation: 1.12.1 -- Material 3: 1.4.0 -- Material Icons Extended: 1.7.8 +- Compose BOM: `androidx.compose:compose-bom:2026.11.01` - Activity Compose: 1.13.0 -- Lifecycle Compose: 2.9.4 +- Exact resolved Compose, Material and Lifecycle versions: see the generated release runtime SBOM. The candidate inventory and notices must be reviewed before publication. - License: Apache-2.0 - Purpose: Android UI components, theming, navigation support, lifecycle handling, accessibility and supporting Android libraries diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 15e52f8..13ec76b 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -39,8 +39,8 @@ android { applicationId = "fr.zefut.grammalecte" minSdk = 26 targetSdk = 36 - versionCode = 3 - versionName = "1.0.0" + versionCode = 4 + versionName = "1.1.0-rc1" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } diff --git a/docs/releases/v1.1.0-rc1-acceptance.md b/docs/releases/v1.1.0-rc1-acceptance.md new file mode 100644 index 0000000..6c13876 --- /dev/null +++ b/docs/releases/v1.1.0-rc1-acceptance.md @@ -0,0 +1,26 @@ +# 1.1.0-rc1 acceptance — pending + +Tracking: #141. Do not mark checks passed without evidence. + +## Build evidence + +- Source SHA, CI / CodeQL / instrumentation run IDs: pending. +- Unsigned two-worktree reproducibility: pending. +- Signed workflow, APK SHA-256, SBOM SHA-256 and F-Droid reconstruction: pending. +- Review resolved runtime SBOM and applicable license/NOTICE texts, including native dependencies: pending. +- Verify final APK application ID, versionName, versionCode, minSdk, permissions (no INTERNET), absence of DEV fixtures and release certificate fingerprint: pending. + +## Signed upgrade protocol + +Use a dedicated API 26 emulator and a supported physical device. Verify published v1.0.0 APK SHA-256 `43538f909caaf4b91d56146b3176cf168c163c6d171a449d9dfeb1d62424aca7` and both APK signatures using `apksigner verify --verbose --print-certs`. Both must match `config/release-signing-cert.sha256`. On a dedicated test device, install the signed baseline; do not uninstall or clear an existing production installation. Seed synthetic personal words, choose a non-default dictionary and toggle at least two grammar rule categories. Record exact settings and activation state before upgrading. + +Run `adb install -r candidate.apk` (no downgrade flag); verify installed versionCode 4 with `adb shell dumpsys package fr.zefut.grammalecte`. Do not clear application data. Record device/API, APK hashes, date and results. Do not capture private text. + +- [ ] All original personal words and exact non-default preferences retained after restart. +- [ ] Personal dictionary search, add, edit and delete work; changes persist after restart. +- [ ] Native spellchecker, selected-text correction and IME work in supported editors, with airplane mode enabled. +- [ ] Setup and activation status remain accurate; keyboard switching updates the suppression warning on API 31+. +- [ ] Light/dark, enlarged fonts, compact layout and accessibility smoke checks pass. +- [ ] Fresh signed candidate install on a separate test environment works. + +Record API 26 emulator and physical-device results separately. Known host limitations #50 and FUTO #1334 are not claimed fixed. Repeat signed upgrade from baseline and RC to the eventual stable APK with a higher versionCode. Publication is a separate maintainer decision. diff --git a/docs/releases/v1.1.0-rc1.md b/docs/releases/v1.1.0-rc1.md new file mode 100644 index 0000000..98a0a32 --- /dev/null +++ b/docs/releases/v1.1.0-rc1.md @@ -0,0 +1,27 @@ +# Grammalecte Android 1.1.0-rc1 — Candidate release notes + +Not published. Acceptance tracked in #141. + +## Français + +- Interface Material 3 modernisée et configuration guidée en trois étapes. +- Dictionnaire personnel : recherche, ajout et modification des mots. +- Avertissement lorsque le clavier sélectionné déclare désactiver le correcteur natif (Android 12+). +- Clavier de correction plus compact et meilleur contraste en thème sombre. +- Android 8 ou supérieur, moteur Grammalecte 2.3.0, fonctionnement hors ligne. + +Limitations : FUTO peut désactiver le correcteur natif (avertissement, pas de contournement). Samsung Messages peut insérer le résultat de PROCESS_TEXT après la sélection (#50) ; utiliser le clavier de correction ou la copie manuelle. + +## English + +- Modernized Material 3 interface and three-step guided setup. +- Personal dictionary search, addition and editing. +- Warning when the selected keyboard declares native spellchecker suppression (Android 12+). +- More compact correction keyboard and improved dark-theme contrast. +- Android 8 or later, Grammalecte 2.3.0 engine, offline operation. + +Limitations: FUTO may disable native spell checking (warning, not a bypass). Samsung Messages may insert PROCESS_TEXT output after the selection (#50); use the correction keyboard or manual copy. + +## Distribution + +Version 1.1.0-rc1, versionCode 4. Package `fr.zefut.grammalecte`. Signature, reproducibility, final APK privacy, licenses and signed upgrade acceptance are pending. F-Droid submission is separate (#85). diff --git a/fastlane/metadata/android/en-US/changelogs/4.txt b/fastlane/metadata/android/en-US/changelogs/4.txt new file mode 100644 index 0000000..35b6980 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/4.txt @@ -0,0 +1 @@ +Modernized interface, guided setup and more compact correction keyboard. Search and edit personal dictionary words. Warning when the selected keyboard disables native spell checking. Improved dark-theme contrast. Still fully offline. Release candidate. diff --git a/fastlane/metadata/android/fr-FR/changelogs/4.txt b/fastlane/metadata/android/fr-FR/changelogs/4.txt new file mode 100644 index 0000000..a47cb19 --- /dev/null +++ b/fastlane/metadata/android/fr-FR/changelogs/4.txt @@ -0,0 +1 @@ +Interface modernisée, configuration guidée et clavier de correction plus compact. Recherche et modification des mots du dictionnaire personnel. Avertissement si le clavier désactive le correcteur natif. Amélioration du contraste en thème sombre. Fonctionnement toujours hors ligne. Version candidate.