merge: stack LeanBitLab v4.0.2#124
Open
AsafMah wants to merge 119 commits into
Open
Conversation
- bump version to 4.0.0-beta1 (versionCode 4000) - add beta/pre-release detection to build-release-apk.yml - add mock release notes and changelog for 4.0.0
- defer segmentation only for matching immediate shortcuts - respect per-shortcut prefixes during prefix detection - commit completed Thai segments individually - preserve user history and n-gram context - add regression coverage for expansion and fallback paths
…rd-boundaries fix(input): segment Thai composing text by word boundaries
… in floating mode
…erver when keyboard hidden
…l and clear handler callbacks
…ons during multilingual dictionary queries
… and strip thinking tags from translation outputs
…toolbar equal key spacing
…ning dual toolbar equal key spacing
…etKeySelectionByDraggingFinger
…SuggestionStripView
…ord to prevent double text insertion on suggestion pick
…elcomeWizard and Settings
…istory, emoji dict, side panel, and backspace revert
…eption on translation dialogs
…guage deduplication
…rwriting older entries
This was referenced Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stack the pinned LeanBitLab/LeanType v4.0.2 release (
0477ef83) above the v3.9.9 integration in #122. This PR intentionally targetsmerge/upstream-v3.9.9, so reviewers see only the v3.9.9 → v4.0.2 delta; after #122 merges, retarget this PR todev.upstream/mainwas not merged because it is already one badge-only commit past v4.0.2.The update brings v4 JNI/lifecycle hardening, pointer and InputConnection stability fixes, first/next-word controls, background-service controls, immediate autospace, translation-history improvements, and restored dictionary/input reliability.
Fixes #123.
Fork decision: retain Java fallback gesture typing
Upstream v4.0.2 removes the Java gesture engine and requires a compatible native gesture library. LeanTypeDual deliberately retains both methods:
Suggest.getSuggestedWordsForBatchInputwith native unavailable, waits for asynchronous index construction, and returnshello.Merge decisions
com.asafmah.leantypedual, version3.10.0/ code4000, privacy flavors, two-thumb features, README, badges, and Fastlane metadata.Verification
compileOfflineRunTestsKotlin,compileOfflineliteRunTestsKotlin,compileStandardRunTestsKotlin, andcompileStandardfullRunTestsKotlin.largeHeap/predictive-back flags, andINTERNETonly in Standard/Standard Full.Release sequencing
dev.merge/upstream-v3.9.9todev; verify the diff remains only v4.0.2.dev, rerun capitalization/signing/device checks, then make 3.11.0 release-ready.Do not merge #120 before both upstream layers are settled.