Skip to content

Off Grid v0.0.56

Choose a tag to compare

@alichherawalla alichherawalla released this 23 Feb 03:15
· 6846 commits to main since this release

What's Changed

Features

  • feat: download mmproj in parallel with main model instead of sequentially (51b0869)
  • feat: model card cancel button, repair vision, and haptic feedback (fde5843)
  • feat: model card cancel button, repair vision, and haptic feedback (c8affe6)
  • feat: flash attention user toggle with Android GPU layers guard (#62) (be5afac)

Bug Fixes

  • fix: satisfy strict typing for download id promise flow (e38d78d)
  • fix: replace repair mmproj downloadId polling with promise (6055bf5)
  • fix: resolve review bugs in repair id, phantom progress, and chat input actions (635cc28)
  • fix: rehydrate app store before download restore (c2a6fb5)
  • fix: restore image downloads after app kill + fix vision mmproj visibility error (1efd1a4)
  • fix(ChatInput): collapse toolbar icons when keyboard visible, fix mic alignment (f2bc732)
  • fix: use options objects to satisfy max-params lint rule (c2a6153)
  • fix: sonarcloud quality gate fixes, crypto fallback, and test alignment (62f0333)
  • fix: remove Standard flavor from gradle tasks and add Android build CI (75a6994)
  • fix: silent download filtering, repair cancel support, and DM vision repair (97e2425)
  • fix: silent download filtering, repair cancel support, and DM vision repair (921877c)
  • fix(android): event-driven download cleanup with moveCompleted flag (ad6e6bc)
  • fix: mmproj partial file detection, download retry, and sync recovery (f2c71bb)
  • fix: correct indentation after fdroid removal (b3374cf)
  • fix: mmproj partial file detection, download retry, and sync recovery (1ace08c)
  • fix: image model style filter uses guessStyle() instead of missing property (a376b4f)
  • fix: sync activeModelId in model load early-return paths (f0dce75)
  • fix: eject all models button only shows when models are active (95e3dea)
  • fix(test): use empty string instead of null for mmProjLocalPath type compatibility (bc26133)
  • fix(ios): correct RNFSManager method name for background URL session handler (c25eebb)
  • fix(downloads): fix background downloads surviving app kill on both platforms (7f31836)
  • fix(downloads): fix background downloads surviving app kill on both platforms (0551c4f)
  • fix(downloads): fix background downloads surviving app kill on both platforms (9544c12)
  • fix(sonar): replace nested optional regex with ordered alternation (a3084ba)
  • fix: resolve Sonar S5852 hotspots and lint errors (27cd5d8)
  • fix: resolve remaining lint errors and Sonar S5852 hotspots (35d95da)
  • fix(ios): resolve all SwiftLint warnings in native modules (4fda16b)
  • fix: resolve SonarCloud quality gate failures (2a0181f)
  • fix(ios): fix missed reference to 'i' after renaming to 'pageIndex' (3aae2bb)
  • fix(ci): add android/ios lint jobs and fix SwiftLint identifier_name error (80a2541)
  • fix(ChatMessage): resolve ESLint violations after folder split (b86b16c)
  • fix: resolve remaining inline style violations in GenerationSettingsModal and ModelsScreen (83e24ac)
  • fix: clear attachments on send, fix inline styles in ModelSettingsScreen/HomeScreen (8551788)
  • fix(ChatInputVoice): use ref for onTranscript to prevent infinite re-render loop (898b001)
  • fix(lint): eliminate inline styles in AppNavigator and AnimatedPressable (1221077)
  • fix(lint): move inline styles to StyleSheet in Group 1 screens (8f4385d)
  • fix(ios): resolve SwiftLint violations in Swift native modules (f3c6f99)
  • fix(no-shadow): remove shadowing React require in jest mock factories (3e18821)
  • fix(S3776): reduce ChatScreen component cognitive complexity (01c763b)
  • fix(prefer-template): auto-fix remaining string concatenations in tests; remove stale eslint-disable comments (6b5dfb4)
  • fix(lint): resolve no-shadow and no-empty violations in ChatScreen test (fa95ff7)
  • fix(prefer-template): replace string concatenation with template literals (506492c)
  • fix(S1874): replace deprecated InteractionManager.runAfterInteractions (b8ab1b7)
  • fix(S2004): extract waitForRenderFrame to reduce function nesting depth (84b986b)
  • fix(S6754): remove unused currentImageMode state (6e91bef)
  • fix(S1874): replace absoluteFillObject with explicit style properties (9973e45)
  • fix(S3776): reduce ensureModelLoaded cognitive complexity (a7d75d4)
  • fix(S3358): extract nested ternaries in ChatScreen (36241bc)
  • fix(security): address Gemini review comments on DownloadManagerScreen (daec006)
  • fix(S6544): extract async delete-conversation handler (68890b6)
  • fix(S2004): pass resolve directly to setTimeout (4e8435f)
  • fix(S2486/S7718): handle stop-generation catch block (7433f33)
  • fix(S1874): replace deprecated String.substr with String.slice (4a8532f)
  • fix(S7755): use Array.at(-1) instead of bracket length-index access (4208f7b)
  • fix(S6582): use optional chain for classifierModel filePath check (93bf784)
  • fix(S6754): destructure useState into setter only when value is unused (99c0097)
  • fix(S3923): remove identical-branch ternary for keyboardVerticalOffset (9d9f9c6)
  • fix(S7748): remove zero fraction from default guidanceScale in ChatScreen (ed2e5eb)
  • fix(S3776): reduce checkMemoryForModel cognitive complexity from 18 to 15 (2010a9e)
  • fix(S2094): reduce cognitive complexity of DownloadCompleteBroadcastReceiver.onReceive (630f7e8)
  • fix(S2933): mark listeners and loadingState fields as readonly (10df4b3)
  • fix(S7748): remove trailing zero fractions from memory threshold constants (9bb49c1)
  • fix(S6544/S2004): extract async logic from alert onPress callbacks (c6ada17)
  • fix(S6594/S6397): use RegExp.exec and simplify regex character class (c7265ba)
  • fix(S6479): use stable model identifiers as list keys (28f734f)
  • fix(S6439): convert quantization string conditional to boolean (bd9776d)
  • fix(S7773): prefer Number.isNaN over global isNaN (1512d93)
  • fix(S2486): handle caught exceptions with error logging (6097582)
  • fix(S6582): use optional chain for metadata filename check (c9737b4)
  • fix(S3358): extract nested ternary into getStatusText helper (0459314)

Refactoring

  • refactor(tests): reduce duplication with it.each and shared helpers (5800f21)
  • refactor: extract shared download listener/register helpers to reduce duplication (1d351ed)
  • refactor: remove foreground download code, use background downloads exclusively (d9206d4)
  • refactor: remove foreground download code, use background downloads exclusively (02b637e)
  • refactor: ChatInput redesign and ChatScreen queue UI improvements (d7a690f)
  • refactor: ChatInput redesign and ChatScreen queue UI improvements (94e82cd)
  • refactor(screens/hooks): replace console calls with logger utility (017cd54)
  • refactor(services): replace console calls with logger utility (685d131)
  • refactor: split ModelsScreen into folder structure (6c5b53c)
  • refactor: split GenerationSettingsModal and ChatScreen into folders (4f82d20)
  • refactor: split HomeScreen into folder structure (2c82630)
  • refactor: split ChatMessage into folder structure (e0d60f2)
  • refactor: split HomeScreen into folder structure (1525985)
  • refactor: split ModelSettingsScreen into folder structure (e57c911)
  • refactor: split GalleryScreen into folder structure (1b363a3)
  • refactor(components): organize ChatInput, ModelSelectorModal, VoiceRecordButton into folders (1608b44)
  • refactor(ChatInput): split into focused companion files (bd5c9c9)
  • refactor(DownloadManagerScreen): extract into focused folder structure (f083c97)
  • refactor(ModelCard): extract styles and sub-components to fix ESLint violations (41ff635)
  • refactor(StorageSettingsScreen): extract styles and OrphanedFilesSection to fix ESLint violations (f3fbded)
  • refactor(AppSheet): extract styles and panResponder to fix ESLint max-lines violations (953de92)
  • refactor: split activeModelService.ts into src/services/activeModelService/ folder (a885181)
  • refactor: split modelManager.ts into src/services/modelManager/ folder (3967f34)
  • refactor: fix ESLint violations in documentService, hardware, huggingface services (fdf358f)
  • refactor: fix ESLint max-lines violations in ModelDownloadScreen, appStore, constants (318e142)
  • refactor(llm): split llm.ts into focused modules for Group 4 ESLint compliance (29e6d17)
  • refactor(llm): split llm.ts into focused modules for Group 4 ESLint compliance (a5608b9)
  • refactor(max-params): decompose functions exceeding 3-parameter limit (1b78dcc)
  • refactor(ProjectDetailScreen): extract styles to separate file (bec11f9)
  • refactor(test): add testIDs for GPU controls; use getByTestId in tests (5ce999c)
  • refactor(android): extract shouldRemoveDownload and saveRgbToPng to companion object (0ab8413)

Tests

  • test: add model screen coverage and fix download item typing (3a215f3)
  • test: clear persisted iOS download state key in module tests (b0135cb)
  • test(ios): download entry persistence and move verification (69fdcf9)
  • test: add tests for background download system (Android, iOS, RN) (a4457f9)
  • test: add unit tests for useChatGenerationActions and useChatModelActions (bf16c85)
  • test: update test suite to match max-params refactor (187703d)
  • test: cover uncovered lines from flash-attn PR (#62) to fix codecov/patch (de4f785)
  • test(ChatScreen): use fake timers in conversation-switch KV-cache test (9253793)
  • test(android): add saveRgbToPng pixel-accuracy tests to LocalDreamModuleTest (ec62f26)
  • test(android): fix DownloadManagerModuleTest to use Robolectric for JSONObject support (c2818bf)
  • test(android): add unit tests for DownloadManagerModule and LocalDreamModule helpers (9466d5d)
  • test(ios): expand XCTest suite from 12 to 30 cases across all 3 modules (24e45e4)
  • test(ios): add XCTest unit-test infrastructure for native Swift modules (8f1fe91)
  • test(DownloadManagerScreen): add getStatusText status display coverage (ab0cbb1)

Chores

  • chore: delete fastlane (6be0d54)
  • chore: remove F-Droid support (60c15d5)
  • chore: add logger utility to replace console calls (5b10622)
  • chore(ci): consolidate to 3 jobs — lint, typecheck, test (398a49e)
  • chore: remove old service files after folder-based splits and drop no-console rule (b899c5b)
  • chore: sonar connection (ff567b2)
  • chore: add .eslintignore for generated build artifacts (4c2a148)
  • chore(tooling): add Husky pre-commit hooks, lint-staged, and SwiftLint (fe6151c)
  • chore(tooling): add Husky pre-commit hooks, expand ESLint rules, add SwiftLint to CI (daddc9b)
  • chore: add test:android and test:ios to quality gate in CLAUDE.md (60210eb)
  • chore(ci): move iOS unit tests into ci.yml, remove test-ios.yml (8f5e227)

CI

  • ci: add test-android job to CI workflow (ebc8ac0)

Other

  • Improve resilient model download recovery and iOS background restore (71c9a1b)

Full Changelog: v0.0.55...v0.0.56