Skip to content

1.2.2.1640

Choose a tag to compare

@guiyanakuang guiyanakuang released this 11 Sep 02:38
· 1183 commits to main since this release
2713d7e

Highlights 🌟

  • 🚀 Database Performance Boost
    SQLite is now tuned for better concurrency and responsiveness, improving overall app performance (#3102).

  • 🌐 Network Interface Selection
    Choose which network interface CrossPaste uses for discovery and sync, giving you more control in multi-network environments (#3142).

  • 📱 Smarter Device Management
    Preview device details before adding, and enjoy a fully reactive sync service with dynamic polling intervals for faster, more reliable connections (#3148 #3166 #3171).

  • 📝 Rich Text Everywhere
    HTML clipboard rendering now uses rich text (no Chrome dependency) and RTF is also rendered via RichText (#3193 #3198).

  • 🍏 Native macOS Status Bar
    CrossPaste now integrates with the macOS system status bar, offering a more seamless and intuitive interaction experience(#3222).

Bug Fixes 🐛

  • Handle invalid filename characters when syncing files from other systems to Windows (#3074)
  • Fix FileNameNormalizer extension preservation and dot-only files (#3076)
  • Fix PasteDataScopeImpl implementation (#3132)
  • Fix PasteShimmer UI in side window (#3139)
  • Fix UI recomposition for AsyncImagePainter state changes (#3189)
  • Fix infinite sync update loop by checking for actual changes (#3175)
  • Integrate Swift dylib compilation with resources pipeline to work with atomicfu (#3181)
  • Fix murmurhash3 compilation warnings (#3183)
  • Fix issue where scrolling clipboard doesn’t load more items (#3200)
  • Normalize HSL inputs for hslToColor in getAdaptiveColor (#3207)
  • Improve error handling in paste data deserialization (#3213)
  • Ensure PasteItem.fromJson catches exceptions (#3217)
  • Remove locale-dependent format directives for cross-platform compatibility (#3221)

New Features ✨

  • ✨ Native app menu support (#3053)
  • ✨ Reintroduce “Clear All Paste” button (#3114)
  • ✨ Dynamic polling interval adjustment in sync manager (#3171)
  • ✨ Use rich text rendering for HTML clipboard content (#3193)
  • ✨ Use RichText to render RTF clipboard content (#3198)
  • ✨ Smart contrast colour utility for colour palette (#3219)
  • ✨ Network interface selection (#3142)
  • ✨ View device details before adding nearby devices (#3148)
  • ✨ Multi-language support for date/time formatting (#3096)

UI Improvements 💄

  • 💄 Newly added clipboard items are displayed at the top (#3073)

Multiplatform · Refactor · Code Style 🔨

  • 🔨 Make toRGBString compatible with iOS (#3069)
  • 🔨 Move JsonUtils to commonMain for cross-platform reuse (#3085)
  • 🔨 Refactor build.gradle.kts and reorder dependencies (#3087)
  • 🔨 Migrate shared code to shared module in preparation for CLI module creation (#3089)
  • 🔨 Rewrite all toByteArray calls to encodeToByteArray (#3112)
  • 🔨 Remove PasteboardViewProvider interface to simplify implementation (#3124)
  • 🔨 Add PasteDataScope and refactor preview views structure (#3130)
  • 🔨 Refactor pasteboard-related UI using PasteDataScope to avoid repeatedly passing PasteData between UI functions (#3136)
  • 🔨 Optimize PasteDataScope related code (#3138)
  • 🔨 Abstract ResourcesClient to support multi-platform resource reading (#3150)
  • 🔨 Rename ImageWriter to imageHandler and add read methods (#3152)
  • 🔨 Standardize image resource file naming convention (#3154)
  • 🔨 Make the device sync service fully reactive (#3166)
  • 🔨 Extract independent connection maintenance logic for connected and pending devices (#3168)
  • 🔨 Resolve multiplatform support issues for network components (#3177)
  • 🔨 Rewrite SyncPollingManager to use atomic instead of @Volatile for multiplatform support (#3179)
  • 🔨 Implement screen navigation and switching in base class for multi-platform reuse (#3185)
  • 🔨 Rewrite ColorUtils based on ph-css source code (#3191)
  • 🔨 Make border parameter optional in HighlightedCard component (#3187)
  • 🔨 Update theme definitions to use non-deprecated JewelTheme API (#3215)

Performance ⚡

  • ⚡ Configure SQLite for better concurrency and performance (#3102)
  • ⚡ Optimize search state management and add throttling for pagination (#3211)

Dependencies ⬆️

  • ⬆️ Compose 1.8.3 → 1.9.0 (#3118)
  • ⬆️ Compose-plugin 1.8.2 → 1.9.0-rc01 (#3161)
  • ⬆️ Compose-hot-reload 1.0.0-beta04 → 1.0.0-beta06 (#3119 #3162)
  • ⬆️ Kotlin 2.2.0 → 2.2.10 (#3122)
  • ⬆️ Ktor 3.2.2 → 3.2.3 (#3079)
  • ⬆️ Okio 3.15.0 → 3.16.0 (#3083)
  • ⬆️ Ksoup 0.2.4 → 0.2.5 (#3077)
  • ⬆️ Coil 3.2.0 → 3.3.0 (#3057)
  • ⬆️ Jewel 0.28.0-252.15920 → 0.30.0-252.26252 (#3056 #3195)
  • ⬆️ Lifecycle 2.9.1 → 2.9.3 (#3121 #3159)
  • ⬆️ Koin 4.1.0 → 4.1.1 (#3194)
  • ⬆️ kotlin-logging 7.0.7 → 7.0.13 (#3080 #3099 #3145)
  • ⬆️ filekit-dialogs 0.10.0-beta04 → 0.11.0 (#3078 #3205)
  • ⬆️ ktlint-gradle 13.0.0 → 13.1.0 (#3144)
  • ⬆️ snakeyaml 2.4 → 2.5 (#3158)
  • ⬆️ jmdns 3.6.1 → 3.6.2 (#3160)

Documentation 📝

  • 📝 Update product images in README (#3055)
  • 📝 Update main image in README (#3065)
  • 📝 Add missing alt text to Chinese ad images (#3060)
  • 📝 Update project documentation (#3116)

Build & Tooling 👷

  • 👷 Switch Claude review to comment-triggered workflow (#3062)
  • 👷 Reject dependencies with “dev” versions in Gradle resolution strategy (#3202)

Tests ✅

  • ✅ Enhance SecureMessageProcessor unit tests (#3106)
  • ✅ Add comprehensive unit tests for DefaultPasteSync ProcessManager and PasteSingleProcessImpl (#3108)
  • ✅ Enhance GeneralSyncManager unit tests with scope updates (#3110)

Full Changelog: 1.2.1.1551...1.2.2.1640