mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
888f1f39db8aebd29f604defe54e826f38867e83
479 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
888f1f39db | chore: bump deps (#14341) | ||
|
|
759aa1b684 |
feat: add option to disable image anti-aliasing (#14278)
## What this PR does Closes #13869 Adds a global setting to toggle image anti-aliasing in AFFiNE. When disabled, images are rendered using nearest-neighbor scaling (`image-rendering: pixelated`), preserving crisp pixels for pixel art, sprites, icons, and low-resolution images. ## Why Anti-aliasing causes small images to become blurry when scaled, making it difficult to work with pixel art and technical assets. ## How to test 1. Open Settings → Appearance → Images 2. Toggle “Smooth image rendering” 3. Observe image scaling behavior: - ON: smooth / anti-aliased - OFF: pixelated / nearest-neighbor ## Notes - Frontend-only change - No backend required # BEFORE <img width="1911" height="909" alt="Screenshot 2026-01-18 202651" src="https://github.com/user-attachments/assets/a40816c3-93fa-416d-90ec-38a919da182f" /> # AFTER <img width="1919" height="910" alt="Screenshot 2026-01-18 202705" src="https://github.com/user-attachments/assets/19fc348b-5f14-4e32-b6a8-a0905e569af5" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added an Images section in Appearance with a toggle to switch image antialiasing on/off (setting is persisted). * **Style** * When antialiasing is turned off, images render with pixelated scaling for a crisp, non-smoothed look. * **Localization** * Added English labels and description for the new Images and antialiasing options. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com> |
||
|
|
b8f626513f |
feat: disable high power consumption without charger (#14281)
Co-authored-by: DarkSky <darksky2048@gmail.com> |
||
|
|
50507fc9bf |
chore: bump up RevenueCat/purchases-ios-spm version to from: "5.55.3" (#14302)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [RevenueCat/purchases-ios-spm](https://redirect.github.com/RevenueCat/purchases-ios-spm) | minor | `from: "5.0.1"` → `from: "5.55.3"` | --- ### Release Notes <details> <summary>RevenueCat/purchases-ios-spm (RevenueCat/purchases-ios-spm)</summary> ### [`v5.55.3`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.55.2...5.55.3) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.55.2...5.55.3) ### [`v5.55.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5552) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.55.1...5.55.2) #### 5.55.2 ### [`v5.55.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5551) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.55.0...5.55.1) #### 5.55.1 ### [`v5.55.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5550) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.54.1...5.55.0) #### 5.55.0 ### [`v5.54.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5541) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.54.0...5.54.1) #### 5.54.1 ### [`v5.54.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5540) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.53.0...5.54.0) #### 5.54.0 ### [`v5.53.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5530) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.52.1...5.53.0) #### 5.53.0 ### [`v5.52.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5521) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.52.0...5.52.1) #### 5.52.1 ### [`v5.52.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5520) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.51.1...5.52.0) #### 5.52.0 ### [`v5.51.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5511) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.51.0...5.51.1) #### 5.51.1 ### [`v5.51.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5510) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.50.1...5.51.0) #### 5.51.0 ### [`v5.50.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5501) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.50.0...5.50.1) #### 5.50.1 ### [`v5.50.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5500) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.49.3...5.50.0) #### 5.50.0 ### [`v5.49.3`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5493) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.49.2...5.49.3) #### 5.49.3 ### [`v5.49.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5492) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.49.1...5.49.2) #### 5.49.2 ### [`v5.49.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5491) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.49.0...5.49.1) #### 5.49.1 ### [`v5.49.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5490) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.48.0...5.49.0) #### 5.49.0 ### [`v5.48.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5480) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.47.1...5.48.0) #### 5.48.0 ### [`v5.47.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5471) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.47.0...5.47.1) #### 5.47.1 ### [`v5.47.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5470) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.46.3...5.47.0) #### 5.47.0 ### [`v5.46.3`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5463) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.46.2...5.46.3) ##### 🔄 Other Changes - Use cached offerings on network errors ([#​5707](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/5707)) via Antonio Pallares ([@​ajpallares](https://redirect.github.com/ajpallares)) - Allow the use of Test Store in release builds using the uiPreview dangerous setting for the RC Mobile app ([#​5765](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/5765)) via Rick ([@​rickvdl](https://redirect.github.com/rickvdl)) - Fix signature verification fallback urls ([#​5756](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/5756)) via Antonio Pallares ([@​ajpallares](https://redirect.github.com/ajpallares)) ### [`v5.46.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5462) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.46.1...5.46.2) #### 5.46.2 ### [`v5.46.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5461) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.46.0...5.46.1) #### 5.46.1 ### [`v5.46.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5460) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.45.1...5.46.0) #### 5.46.0 ### [`v5.45.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5451) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.45.0...5.45.1) #### 5.45.1 ### [`v5.45.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5450) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.44.1...5.45.0) #### 5.45.0 ### [`v5.44.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5441) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.44.0...5.44.1) #### 5.44.1 ### [`v5.44.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5440) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.43.0...5.44.0) #### 5.44.0 ### [`v5.43.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5430) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.42.0...5.43.0) #### 5.43.0 ### [`v5.42.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5420) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.41.0...5.42.0) #### 5.42.0 ### [`v5.41.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5410) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.40.0...5.41.0) #### 5.41.0 ### [`v5.40.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5400) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.39.3...5.40.0) #### 5.40.0 ### [`v5.39.3`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5393) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.39.2...5.39.3) #### 5.39.3 ### [`v5.39.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5392) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.39.1...5.39.2) #### 5.39.2 ### [`v5.39.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5391) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.39.0...5.39.1) #### 5.39.1 ### [`v5.39.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5390) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.38.2...5.39.0) #### 5.39.0 ### [`v5.38.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5382) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.38.1...5.38.2) #### 5.38.2 ### [`v5.38.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5381) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.38.0...5.38.1) #### 5.38.1 ### [`v5.38.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5380) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.37.0...5.38.0) #### 5.38.0 ### [`v5.37.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5370) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.36.0...5.37.0) #### 5.37.0 ### [`v5.36.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5360) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.35.1...5.36.0) #### 5.36.0 ### [`v5.35.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5351) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.35.0...5.35.1) #### 5.35.1 ### [`v5.35.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5350) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.34.0...5.35.0) #### 5.35.0 ### [`v5.34.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5340) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.33.1...5.34.0) #### 5.34.0 ### [`v5.33.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5331) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.33.0...5.33.1) #### 5.33.1 ### [`v5.33.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5330) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.32.0...5.33.0) #### 5.33.0 ### [`v5.32.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5320) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.31.0...5.32.0) #### 5.32.0 ### [`v5.31.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5310) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.30.0...5.31.0) #### 5.31.0 ### [`v5.30.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.29.0...5.30.0) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.29.0...5.30.0) ### [`v5.29.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5290) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.28.1...5.29.0) #### 5.29.0 ### [`v5.28.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5281) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.28.0...5.28.1) #### 5.28.1 ### [`v5.28.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5280) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.27.1...5.28.0) #### 5.28.0 ### [`v5.27.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5271) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.26.0...5.27.1) #### 5.27.1 ### [`v5.26.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5260) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.25.3...5.26.0) #### 5.26.0 ### [`v5.25.3`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5253) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.25.2...5.25.3) #### 5.25.3 ### [`v5.25.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5252) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.25.1...5.25.2) #### 5.25.2 ### [`v5.25.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5251) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.25.0...5.25.1) #### 5.25.1 ### [`v5.25.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5250) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.24.0...5.25.0) #### 5.25.0 ### [`v5.24.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5240) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.23.0...5.24.0) #### 5.24.0 ### [`v5.23.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5230) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.22.2...5.23.0) #### 5.23.0 ### [`v5.22.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5222) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.22.1...5.22.2) #### 5.22.2 ### [`v5.22.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5221) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.22.0...5.22.1) #### 5.22.1 ### [`v5.22.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5220) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.21.2...5.22.0) #### 5.22.0 ### [`v5.21.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5212) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.21.1...5.21.2) #### 5.21.2 ### [`v5.21.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5211) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.21.0...5.21.1) #### 5.21.1 ### [`v5.21.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5210) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.20.3...5.21.0) #### 5.21.0 ### [`v5.20.3`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5203) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.20.2...5.20.3) #### 5.20.3 ### [`v5.20.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5202) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.20.1...5.20.2) #### 5.20.2 ### [`v5.20.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5201) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.20.0...5.20.1) #### 5.20.1 ### [`v5.20.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5200) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.19.0...5.20.0) #### 5.20.0 ### [`v5.19.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5190) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.18.0...5.19.0) #### 5.19.0 ### [`v5.18.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5180) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.17.0...5.18.0) #### 5.18.0 ### [`v5.17.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5170) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.16.1...5.17.0) #### 5.17.0 ### [`v5.16.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5161) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.16.0...5.16.1) #### 5.16.1 ### [`v5.16.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5160) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.15.1...5.16.0) #### 5.16.0 ### [`v5.15.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5151) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.15.0...5.15.1) #### 5.15.1 ### [`v5.15.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5150) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.14.6...5.15.0) #### 5.15.0 ### [`v5.14.6`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5146) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.14.5...5.14.6) #### 5.14.6 ### [`v5.14.5`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5145) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.14.4...5.14.5) #### 5.14.5 ### [`v5.14.4`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5144) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.14.3...5.14.4) #### 5.14.4 ### [`v5.14.3`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5143) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.14.2...5.14.3) #### 5.14.3 ### [`v5.14.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5142) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.14.1...5.14.2) #### 5.14.2 ### [`v5.14.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5141) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.14.0...5.14.1) #### 5.14.1 ### [`v5.14.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5140) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.13.0...5.14.0) #### 5.14.0 ### [`v5.13.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5130) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.12.1...5.13.0) #### 5.13.0 ### [`v5.12.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5121) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.12.0...5.12.1) #### 5.12.1 ### [`v5.12.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5120) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.11.0...5.12.0) #### 5.12.0 ### [`v5.11.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5110) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.10.0...5.11.0) #### 5.11.0 ### [`v5.10.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5100) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.9.0...5.10.0) #### 5.10.0 ### [`v5.9.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#590) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.8.0...5.9.0) #### 5.9.0 ### [`v5.8.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#580) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.7.1...5.8.0) #### 5.8.0 ### [`v5.7.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#571) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.7.0...5.7.1) #### 5.7.1 ### [`v5.7.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#570) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.6.0...5.7.0) #### 5.7.0 ### [`v5.6.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#560) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.5.0...5.6.0) #### 5.6.0 ### [`v5.5.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#550) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.4.0...5.5.0) #### 5.5.0 ### [`v5.4.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#540) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.3.4...5.4.0) #### 5.4.0 ### [`v5.3.4`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#534) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.3.3...5.3.4) #### 5.3.4 ### [`v5.3.3`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#533) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.3.2...5.3.3) ##### Bugfixes - Remove usage of adServicesToken in syncPurchases ([#​4257](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4257)) via Mark Villacampa ([@​MarkVillacampa](https://redirect.github.com/MarkVillacampa)) - Fixes a Paywall Template 7 crash when none of the tiers have any available products. ([#​4243](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4243)) via JayShortway ([@​JayShortway](https://redirect.github.com/JayShortway)) - \[SK2] send unsynced attributes when syncing purchases ([#​4245](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4245)) via Mark Villacampa ([@​MarkVillacampa](https://redirect.github.com/MarkVillacampa)) ##### Other Changes - Do not embed `RevenueCat.framework` in `RevenueCatUI` ([#​4256](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4256)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) - Add warnings and clarifications to v5 migration docs ([#​4231](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4231)) via Mark Villacampa ([@​MarkVillacampa](https://redirect.github.com/MarkVillacampa)) - Fixes SwiftLint violation of rule optional\_data\_string\_conversion ([#​4252](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4252)) via JayShortway ([@​JayShortway](https://redirect.github.com/JayShortway)) - Paywall Components Localized Strings ([#​4237](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4237)) via James Borthwick ([@​jamesrb1](https://redirect.github.com/jamesrb1)) - Update `fastlane-plugin-revenuecat_internal` ([#​4244](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4244)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) - Add missing `#if PAYWALL_COMPONENTS` ([#​4241](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4241)) via James Borthwick ([@​jamesrb1](https://redirect.github.com/jamesrb1)) - Paywalls Components Viewmodels + partial localization support ([#​4230](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4230)) via James Borthwick ([@​jamesrb1](https://redirect.github.com/jamesrb1)) ### [`v5.3.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#532) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.3.1...5.3.2) ##### Bugfixes - \[Customer Center] Build `WrongPlatformView` from JSON ([#​4234](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4234)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) - Add `feedbackSurveyCompleted` event to Customer Center events ([#​4194](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4194)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) ##### Other Changes - \[Diagnostics] Add `backend_error_code` property ([#​4236](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4236)) via Toni Rico ([@​tonidero](https://redirect.github.com/tonidero)) - Update README.md ([#​3986](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/3986)) via Khoa ([@​onmyway133](https://redirect.github.com/onmyway133)) ### [`v5.3.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#531) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.3.0...5.3.1) ##### Bugfixes - Fix `compatibleTopBarTrailing` in MacOS and api tests ([#​4226](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4226)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) - \[Paywall] Fix restoreStarted not being called on `presentPaywallIfNeeded` when using `requiredEntitlementIdentifier` ([#​4223](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4223)) via Josh Holtz ([@​joshdholtz](https://redirect.github.com/joshdholtz)) - \[CustomerCenter] Move sheet and restore alert creation to `ManageSubscriptionsView` ([#​4220](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4220)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) - \[EXTERNAL] `Custom Entitlements Computation`: fix support display on debug screen ([#​4215](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4215)) by [@​NachoSoto](https://redirect.github.com/NachoSoto) ([#​4218](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4218)) via Toni Rico ([@​tonidero](https://redirect.github.com/tonidero)) - \[Customer Center] Add padding to `No thanks` in promotional offer screen ([#​4221](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4221)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) - Fix version number in plist files ([#​4213](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4213)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) - fix mac os sandbox check slowness ([#​3879](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/3879)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - \[Customer Center] Fix `FeedbackSurveyView` not opening ([#​4208](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4208)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) - Remove `unneeded_override` disable to fix linter ([#​4209](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4209)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) ##### Dependency Updates - Bump rexml from 3.3.3 to 3.3.6 in /Tests/InstallationTests/CocoapodsInstallation ([#​4210](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4210)) via dependabot\[bot] ([@​dependabot](https://redirect.github.com/dependabot)\[bot]) - Bump rexml from 3.3.3 to 3.3.6 ([#​4211](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4211)) via dependabot\[bot] ([@​dependabot](https://redirect.github.com/dependabot)\[bot]) ##### Other Changes - Update readme wording ([#​3914](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/3914)) via James Borthwick ([@​jamesrb1](https://redirect.github.com/jamesrb1)) - Set a maximum duration for iOS 15 tests ([#​4229](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4229)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) - Paywall Components Initial Commit ([#​4224](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4224)) via James Borthwick ([@​jamesrb1](https://redirect.github.com/jamesrb1)) - \[CustomerCenter] Open App Store when the user wants to update their app ([#​4199](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4199)) via JayShortway ([@​JayShortway](https://redirect.github.com/JayShortway)) - \[Customer Center] Shows a warning when the app is not the latest version ([#​4193](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4193)) via JayShortway ([@​JayShortway](https://redirect.github.com/JayShortway)) - Fix integration tests simulator version ([#​4219](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4219)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) - Pin swift-docc-plugin to 1.3.0 ([#​4216](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4216)) via James Borthwick ([@​jamesrb1](https://redirect.github.com/jamesrb1)) ### [`v5.3.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#530) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.2.3...5.3.0) ##### New Features - Price rounding logic ([#​4132](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4132)) via James Borthwick ([@​jamesrb1](https://redirect.github.com/jamesrb1)) ##### Bugfixes - \[Customer Center] Migrate to List style ([#​4190](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4190)) via Cody Kerns ([@​codykerns](https://redirect.github.com/codykerns)) - \[Paywalls] Improve locale consistency ([#​4158](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4158)) via Josh Holtz ([@​joshdholtz](https://redirect.github.com/joshdholtz)) - Set Paywalls Tester deployment target to iOS 15 ([#​4196](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4196)) via James Borthwick ([@​jamesrb1](https://redirect.github.com/jamesrb1)) - \[Customer Center] Hide Contact Support button if URL can't be created ([#​4192](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4192)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) - Fix the setting for SKIP\_INSTALL in Xcode project ([#​4195](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4195)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - \[Customer Center] Improving customer center buttons ([#​4165](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4165)) via Cody Kerns ([@​codykerns](https://redirect.github.com/codykerns)) - Revert workaround for iOS 18 beta 5 SwiftUI crash ([#​4173](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4173)) via Mark Villacampa ([@​MarkVillacampa](https://redirect.github.com/MarkVillacampa)) - \[Paywalls] Make iOS version calculation lazy ([#​4163](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4163)) via Mark Villacampa ([@​MarkVillacampa](https://redirect.github.com/MarkVillacampa)) - Observe `PurchaseHandler` when owned externally ([#​4097](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4097)) via James Borthwick ([@​jamesrb1](https://redirect.github.com/jamesrb1)) ##### Dependency Updates - Bump fastlane-plugin-revenuecat\_internal from `d5f0742` to `4c4b8ce` ([#​4167](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4167)) via dependabot\[bot] ([@​dependabot](https://redirect.github.com/dependabot)\[bot]) - Bump rexml from 3.2.8 to 3.3.3 in /Tests/InstallationTests/CocoapodsInstallation ([#​4176](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4176)) via dependabot\[bot] ([@​dependabot](https://redirect.github.com/dependabot)\[bot]) - Bump rexml from 3.2.9 to 3.3.3 ([#​4175](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4175)) via dependabot\[bot] ([@​dependabot](https://redirect.github.com/dependabot)\[bot]) ##### Other Changes - \[Customer Center] Clean up colors in WrongPlatformView and NoSubscriptionsView ([#​4204](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4204)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) - Fix failing `all-tests` and retry more flaky tests ([#​4188](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4188)) via Josh Holtz ([@​joshdholtz](https://redirect.github.com/joshdholtz)) - Compatibility content unavailable improvements ([#​4197](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4197)) via James Borthwick ([@​jamesrb1](https://redirect.github.com/jamesrb1)) - Create lane to enable customer center ([#​4191](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4191)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) - XCFramework artifacts in CircleCI ([#​4189](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4189)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - \[Customer Center] CustomerCenterViewModel checks whether the app is the latest version ([#​4169](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4169)) via JayShortway ([@​JayShortway](https://redirect.github.com/JayShortway)) - export RevenueCatUI xcframework ([#​4172](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4172)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - Corrects references from ManageSubscriptionsButtonStyle to ButtonsStyle. ([#​4186](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4186)) via JayShortway ([@​JayShortway](https://redirect.github.com/JayShortway)) - Speed up carthage installation tests ([#​4184](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4184)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - Customer center improvements ([#​4166](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4166)) via James Borthwick ([@​jamesrb1](https://redirect.github.com/jamesrb1)) - replace `color(from colorInformation:)` global with extension ([#​4183](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4183)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - Generating new test snapshots for `main` - ios-13 ([#​4181](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4181)) via RevenueCat Git Bot ([@​RCGitBot](https://redirect.github.com/RCGitBot)) - Generating new test snapshots for `main` - ios-16 ([#​4182](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4182)) via RevenueCat Git Bot ([@​RCGitBot](https://redirect.github.com/RCGitBot)) - Generating new test snapshots for `main` - ios-14 ([#​4180](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4180)) via RevenueCat Git Bot ([@​RCGitBot](https://redirect.github.com/RCGitBot)) - Generating new test snapshots for `main` - ios-15 ([#​4179](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4179)) via RevenueCat Git Bot ([@​RCGitBot](https://redirect.github.com/RCGitBot)) - Fix tests in main ([#​4174](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4174)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - Enable customer center tests ([#​4171](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4171)) via James Borthwick ([@​jamesrb1](https://redirect.github.com/jamesrb1)) - \[Customer Center] Initial implementation ([#​3967](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/3967)) via Cesar de la Vega ([@​vegaro](https://redirect.github.com/vegaro)) ### [`v5.2.3`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#523) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.2.2...5.2.3) ##### Bugfixes - Fix Paywalls crash on iOS 18 beta ([#​4154](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4154)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) ##### Dependency Updates - Bump danger from 9.4.3 to 9.5.0 ([#​4143](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4143)) via dependabot\[bot] ([@​dependabot](https://redirect.github.com/dependabot)\[bot]) - Bump nokogiri from 1.16.6 to 1.16.7 ([#​4129](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4129)) via dependabot\[bot] ([@​dependabot](https://redirect.github.com/dependabot)\[bot]) - Bump fastlane from 2.221.1 to 2.222.0 ([#​4130](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4130)) via dependabot\[bot] ([@​dependabot](https://redirect.github.com/dependabot)\[bot]) ##### Other Changes - Update deployment targets for tests ([#​4145](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4145)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - Deploy purchaserTester: clean up dry-run parameter ([#​4140](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4140)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - Clean up API Testers ([#​4141](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4141)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - More project structure cleanup ([#​4131](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4131)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - temporarily disables purchasetester deploy ([#​4133](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4133)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - Fix trigger all tests branch ([#​4135](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4135)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - Clean up XCWorkspace and testing apps ([#​4111](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4111)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - tests trigger: add target-branch parameter to trigger from the right branch ([#​4121](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4121)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - Re-added the RevenueCatUI tests job on every commit ([#​4113](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4113)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) ### [`v5.2.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#522-customercenteralpha3) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.2.1...5.2.2) - Fix for disabled promo offer button ([#​4142](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4142)) ### [`v5.2.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#521-customercenteralpha1) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.2.0...5.2.1) - Initial Customer Center Alpha Release ### [`v5.2.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#520) [Compare Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.1.0...5.2.0) ##### New Features - Added new paywall template to support multiple tiered subscriptions ([#​4022](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4022)) via Josh Holtz ([@​joshdholtz](https://redirect.github.com/joshdholtz)) ##### Bugfixes - Fix certain completion blocks not being dispatched on the main thread ([#​4058](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4058)) via Mark Villacampa ([@​MarkVillacampa](https://redirect.github.com/MarkVillacampa)) - Only checks staged files for leftover API keys. ([#​4073](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4073)) via JayShortway ([@​JayShortway](https://redirect.github.com/JayShortway)) ##### Other Changes - \[Ci] Fix trigger to run all tests from github actions ([#​4075](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4075)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - added new workflow to trigger all tests ([#​4051](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4051)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) - Reduce CI jobs ([#​4025](https://redirect.github.com/RevenueCat/purchases-ios-spm/issues/4025)) via Andy Boedo ([@​aboedo](https://redirect.github.com/aboedo)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Mi4xIiwidXBkYXRlZEluVmVyIjoiNDIuOTIuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
|
924d58603f | chore: improve event flow (#14266) | ||
|
|
27a58e764c | chore: bump version & deps | ||
|
|
cf98afb32e |
chore: bump theme@1.1.23 (#14222)
close #13952 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Upgraded the shared theme library from v1.1.16 to v1.1.23 across the project (core components, UI widgets, content blocks, and frontend apps), delivering the latest styling and design refinements platform-wide. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: L-Sun <zover.v@gmail.com> |
||
|
|
f42246aba1 | fix: allow method for cors | ||
|
|
41addfe311 | fix: blob sync | ||
|
|
99332228da |
feat: native sync state (#14190)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added indexed clock management capabilities for documents, enabling
get, set, and clear operations across Android, iOS, Electron, and web
platforms.
* **Refactor**
* Improved storage architecture to dynamically select platform-specific
implementations (SQLite for Electron, IndexedDB for others).
* **Bug Fixes**
* Enhanced document operations to properly maintain and clean up indexer
synchronization state during document lifecycle changes.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
|
||
|
|
20a80015c0 |
feat: integrate native indexer for mobile (#14174)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Release Notes
* **New Features**
* Added full-text search functionality to mobile apps (Android and iOS),
enabling document indexing and search capabilities.
* Enhanced blob upload support with new GraphQL mutations for creating,
completing, and managing file uploads.
* **Improvements**
* iOS and Android now use SQLite storage backend for improved indexing
performance, aligning with desktop experience.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
|
||
|
|
11d9a41433 |
chore: bump up apple/swift-collections version to from: "1.3.0" (#13688)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [apple/swift-collections](https://redirect.github.com/apple/swift-collections) | minor | `from: "1.2.1"` -> `from: "1.3.0"` | --- ### Release Notes <details> <summary>apple/swift-collections (apple/swift-collections)</summary> ### [`v1.3.0`](https://redirect.github.com/apple/swift-collections/releases/tag/1.3.0): Swift Collections 1.3.0 [Compare Source](https://redirect.github.com/apple/swift-collections/compare/1.2.1...1.3.0) This feature release supports Swift toolchain versions 6.0, 6.1 and 6.2, and it includes the following improvements: ##### `BasicContainers` module This new module collects ownership-aware, low-level variants of existing data structures in the core standard library. In this release, this module consists of two array variants, `UniqueArray` and `RigidArray`. These new types are provided as less flexible, noncopyable alternatives to the classic `Array` type. The standard `Array` implements value semantics with the copy-on-write optimization; this inherently requires elements to be copyable, and it is itself copyable. `struct UniqueArray<Element>` is a noncopyable array variant that takes away `Array`'s copy-on-write behavior, enabling support for noncopyable elements. This type's noncopyability means mutations can always assume that the array is uniquely owned, with no shared copies (hence the name!). This means that array mutations such as mutating an element at an index can behave much more predictably, with no unexpected performance spikes due to having to copy shared storage. `struct RigidArray<Element>` goes even further, by also disabling dynamic resizing. Rigid arrays have a fixed capacity: they are initialized with room for a particular number of elements, and they never implicitly grow (nor shrink) their storage. When a rigid array's count reaches its capacity, it becomes unable to add any new items -- inserting into a full array is considered a programming error. This makes this a quite inflexible (or *rigid*) type indeed, as avoiding storage overflow requires careful, up front planning on the resource needs of the task at hand. In exchange, rigid arrays can have extremely predictable performance characteristics. `UniqueArray` is a great default choice when a task just needs an array type that is able store noncopyable elements. `RigidArray` is best reserved for use cases that require absolute, pedantic control over memory use or latency -- such as control software running in environments with extremely limited memory, or when a certain task must always be completed in some given amount of time. The `Unique` and `Rigid` prefixes applied here establish a general naming convention for low-level variants of the classic copy-on-write data structure implementations. Future releases are expected to flesh out our zoo of container types by adding `Unique` and `Rigid` variants of the existing `Set`, `Dictionary`, `Deque`, `Heap` and other constructs, with type names such as as `RigidDictionary` and `UniqueDeque`. ##### `TrailingElementsModule` module This new module ships a new `TrailingArray` construct, a preview of a new low-level, ownership-aware variant of `ManagedBuffer`. This is primarily intended as a interoperability helper for C constructs that consist of a fixed-size header directly followed by variable-size storage buffer. ##### `ContainersPreview` module This module is intended to contain previews of an upcoming ownership-aware container model. In this initial release, this module consists of just one construct: `struct Box<T>`. `Box` is a wrapper type that forms a noncopyable, heap allocated box around an arbitrary value. #### What's Changed - Merge release/1.1 to main by [@​lorentey](https://redirect.github.com/lorentey) in [#​204](https://redirect.github.com/apple/swift-collections/pull/204) - Merge relase/1.1 to main, without taking any changes by [@​lorentey](https://redirect.github.com/lorentey) in [#​206](https://redirect.github.com/apple/swift-collections/pull/206) - \[Heap] Add methods to replace minimum/maximum (redux) by [@​lorentey](https://redirect.github.com/lorentey) in [#​208](https://redirect.github.com/apple/swift-collections/pull/208) - Persistent collections updates (part 10) by [@​lorentey](https://redirect.github.com/lorentey) in [#​207](https://redirect.github.com/apple/swift-collections/pull/207) - Update CMakeLists.txt by [@​compnerd](https://redirect.github.com/compnerd) in [#​215](https://redirect.github.com/apple/swift-collections/pull/215) - Merge latest changes from release/1.1 to main by [@​lorentey](https://redirect.github.com/lorentey) in [#​220](https://redirect.github.com/apple/swift-collections/pull/220) - Merge branch release/1.1 to main by [@​lorentey](https://redirect.github.com/lorentey) in [#​231](https://redirect.github.com/apple/swift-collections/pull/231) - \[SortedCollections] Disable tests with [@​testable](https://redirect.github.com/testable) imports in release builds by [@​lorentey](https://redirect.github.com/lorentey) in [#​232](https://redirect.github.com/apple/swift-collections/pull/232) - \[Hashtable] Minor Documentation Fix (Typo) by [@​nickkohrn](https://redirect.github.com/nickkohrn) in [#​241](https://redirect.github.com/apple/swift-collections/pull/241) - Merge branch `release/1.1` to `main` by [@​lorentey](https://redirect.github.com/lorentey) in [#​248](https://redirect.github.com/apple/swift-collections/pull/248) - Update README.md by [@​glessard](https://redirect.github.com/glessard) in [#​251](https://redirect.github.com/apple/swift-collections/pull/251) - \[OrderedDictionary] Explicitly mention in documentation that keys/values are ordered by [@​warpling](https://redirect.github.com/warpling) in [#​254](https://redirect.github.com/apple/swift-collections/pull/254) - build: support ARM64 spelling by [@​compnerd](https://redirect.github.com/compnerd) in [#​282](https://redirect.github.com/apple/swift-collections/pull/282) - Merge release/1.1 to main by [@​lorentey](https://redirect.github.com/lorentey) in [#​284](https://redirect.github.com/apple/swift-collections/pull/284) - Update release checklist by [@​lorentey](https://redirect.github.com/lorentey) in [#​323](https://redirect.github.com/apple/swift-collections/pull/323) - build: update the build rules for adjusted tree layout by [@​compnerd](https://redirect.github.com/compnerd) in [#​331](https://redirect.github.com/apple/swift-collections/pull/331) - build: support using swift-collections in larger projects by [@​compnerd](https://redirect.github.com/compnerd) in [#​330](https://redirect.github.com/apple/swift-collections/pull/330) - Merge release/1.1 to main by [@​lorentey](https://redirect.github.com/lorentey) in [#​332](https://redirect.github.com/apple/swift-collections/pull/332) - build: support building in Debug mode on Windows by [@​compnerd](https://redirect.github.com/compnerd) in [#​333](https://redirect.github.com/apple/swift-collections/pull/333) - Bugfix Incorrect Assert in BTree.removeFirst/removeLast by [@​LeoNavel](https://redirect.github.com/LeoNavel) in [#​349](https://redirect.github.com/apple/swift-collections/pull/349) - Fix typos by [@​rex4539](https://redirect.github.com/rex4539) in [#​356](https://redirect.github.com/apple/swift-collections/pull/356) - Merge branch `release/1.1` to `main` by [@​lorentey](https://redirect.github.com/lorentey) in [#​358](https://redirect.github.com/apple/swift-collections/pull/358) - Merge.1.1→main by [@​lorentey](https://redirect.github.com/lorentey) in [#​361](https://redirect.github.com/apple/swift-collections/pull/361) - Add post-merge CI support by [@​shahmishal](https://redirect.github.com/shahmishal) in [#​367](https://redirect.github.com/apple/swift-collections/pull/367) - Update CODEOWNERS by [@​lorentey](https://redirect.github.com/lorentey) in [#​375](https://redirect.github.com/apple/swift-collections/pull/375) - Merge release/1.1 to main by [@​lorentey](https://redirect.github.com/lorentey) in [#​386](https://redirect.github.com/apple/swift-collections/pull/386) - Merge release/1.1 to main by [@​lorentey](https://redirect.github.com/lorentey) in [#​410](https://redirect.github.com/apple/swift-collections/pull/410) - \[BTree]\[NFC] Rephrase some comments by [@​lorentey](https://redirect.github.com/lorentey) in [#​427](https://redirect.github.com/apple/swift-collections/pull/427) - \[CI] Pull Request testing support via GitHub Actions by [@​shahmishal](https://redirect.github.com/shahmishal) in [#​426](https://redirect.github.com/apple/swift-collections/pull/426) - \[OrderedDictionary Documentation] fix a typo by [@​Gyuni](https://redirect.github.com/Gyuni) in [#​445](https://redirect.github.com/apple/swift-collections/pull/445) - Install swiftmodules with full module triple by [@​etcwilde](https://redirect.github.com/etcwilde) in [#​470](https://redirect.github.com/apple/swift-collections/pull/470) - \[OrderedSet] Add `OrderedSet.appending(contentsOf:)` by [@​pm-dev](https://redirect.github.com/pm-dev) in [#​452](https://redirect.github.com/apple/swift-collections/pull/452) - ManagedBuffer.capacity is unavailable on OpenBSD. by [@​3405691582](https://redirect.github.com/3405691582) in [#​456](https://redirect.github.com/apple/swift-collections/pull/456) - Align Heap.\_UnsafeHandle min/maxValue tie-breaking with Swift.min/max by [@​DakshinD](https://redirect.github.com/DakshinD) in [#​455](https://redirect.github.com/apple/swift-collections/pull/455) - Add Heap.removeAll(where:) by [@​DakshinD](https://redirect.github.com/DakshinD) in [#​454](https://redirect.github.com/apple/swift-collections/pull/454) - Merge release/1.2 to main by [@​lorentey](https://redirect.github.com/lorentey) in [#​450](https://redirect.github.com/apple/swift-collections/pull/450) - Disable `SortedCollections` module by [@​lorentey](https://redirect.github.com/lorentey) in [#​479](https://redirect.github.com/apple/swift-collections/pull/479) - Enable MemberImportVisibility and fix issues uncovered by [@​lorentey](https://redirect.github.com/lorentey) in [#​480](https://redirect.github.com/apple/swift-collections/pull/480) - fix comment for OrderedSet.appending(contentsOf:) by [@​ozumin](https://redirect.github.com/ozumin) in [#​478](https://redirect.github.com/apple/swift-collections/pull/478) - Bump requirements of nested benchmarking package by [@​lorentey](https://redirect.github.com/lorentey) in [#​481](https://redirect.github.com/apple/swift-collections/pull/481) - Fix CMake build by [@​etcwilde](https://redirect.github.com/etcwilde) in [#​482](https://redirect.github.com/apple/swift-collections/pull/482) - Merge changes on `release/1.2` to `main` branch by [@​lorentey](https://redirect.github.com/lorentey) in [#​487](https://redirect.github.com/apple/swift-collections/pull/487) - Enable macOS testing on GitHub Actions by [@​shahmishal](https://redirect.github.com/shahmishal) in [#​483](https://redirect.github.com/apple/swift-collections/pull/483) - Fix API documentation links in README.md by [@​azarovalex](https://redirect.github.com/azarovalex) in [#​490](https://redirect.github.com/apple/swift-collections/pull/490) - Skip Xcode 16.0 and 16.1 in PR workflow by [@​natecook1000](https://redirect.github.com/natecook1000) in [#​493](https://redirect.github.com/apple/swift-collections/pull/493) - Fix OrderedSet example usage by [@​azarovalex](https://redirect.github.com/azarovalex) in [#​491](https://redirect.github.com/apple/swift-collections/pull/491) - Add support for embedded Swift mode by [@​parkera](https://redirect.github.com/parkera) in [#​494](https://redirect.github.com/apple/swift-collections/pull/494) - Include DequeModule in the Foundation toolchain build by [@​cthielen](https://redirect.github.com/cthielen) in [#​495](https://redirect.github.com/apple/swift-collections/pull/495) - Fix CMake build for `release/1.2` by [@​cthielen](https://redirect.github.com/cthielen) in [#​498](https://redirect.github.com/apple/swift-collections/pull/498) - fix minor typo in init docs for Deque.swift by [@​t089](https://redirect.github.com/t089) in [#​503](https://redirect.github.com/apple/swift-collections/pull/503) - \[SortedSet] Fix subtreeCount inconsistency after remove at index by [@​brianchang928](https://redirect.github.com/brianchang928) in [#​502](https://redirect.github.com/apple/swift-collections/pull/502) - Add the missing COLLECTIONS\_SINGLE\_MODULE when import InternalCollectionsUtils by [@​faimin](https://redirect.github.com/faimin) in [#​501](https://redirect.github.com/apple/swift-collections/pull/501) - \[SortedCollections] Fix incorrect offset calculation in BTree.findAnyIndex by [@​brianchang928](https://redirect.github.com/brianchang928) in [#​506](https://redirect.github.com/apple/swift-collections/pull/506) - \[SortedCollections] Fix B-tree root reduction during element removal causing data loss by [@​brianchang928](https://redirect.github.com/brianchang928) in [#​507](https://redirect.github.com/apple/swift-collections/pull/507) - Add checks for Wasm compatibility to `pull_request.yml` by [@​MaxDesiatov](https://redirect.github.com/MaxDesiatov) in [#​509](https://redirect.github.com/apple/swift-collections/pull/509) - First round of noncopyable constructs: `Box`, `RigidArray`, `DynamicArray` by [@​lorentey](https://redirect.github.com/lorentey) in [#​508](https://redirect.github.com/apple/swift-collections/pull/508) - \[actions] exclude Xcode 26 beta 6 by [@​glessard](https://redirect.github.com/glessard) in [#​514](https://redirect.github.com/apple/swift-collections/pull/514) - Add "trailing elements" module with facilities for tail-allocated storage by [@​DougGregor](https://redirect.github.com/DougGregor) in [#​513](https://redirect.github.com/apple/swift-collections/pull/513) - \[Xcode] Add trailing elements to xcodeproj by [@​Azoy](https://redirect.github.com/Azoy) in [#​515](https://redirect.github.com/apple/swift-collections/pull/515) - Containers: Naming updates, minor tweaks by [@​lorentey](https://redirect.github.com/lorentey) in [#​516](https://redirect.github.com/apple/swift-collections/pull/516) - Add BasicContainer rename to xcodeproj by [@​Azoy](https://redirect.github.com/Azoy) in [#​517](https://redirect.github.com/apple/swift-collections/pull/517) - Prepare for tagging 1.3.0 by [@​lorentey](https://redirect.github.com/lorentey) in [#​523](https://redirect.github.com/apple/swift-collections/pull/523) - \[Docs] Fix landing page of collections documentation by [@​Azoy](https://redirect.github.com/Azoy) in [#​520](https://redirect.github.com/apple/swift-collections/pull/520) - build: Install libraries in an `arch` sub-folder by [@​Steelskin](https://redirect.github.com/Steelskin) in [#​505](https://redirect.github.com/apple/swift-collections/pull/505) - More release preparations for 1.3.0 by [@​lorentey](https://redirect.github.com/lorentey) in [#​524](https://redirect.github.com/apple/swift-collections/pull/524) - One last round of documentation updates by [@​lorentey](https://redirect.github.com/lorentey) in [#​525](https://redirect.github.com/apple/swift-collections/pull/525) #### New Contributors - [@​nickkohrn](https://redirect.github.com/nickkohrn) made their first contribution in [#​241](https://redirect.github.com/apple/swift-collections/pull/241) - [@​warpling](https://redirect.github.com/warpling) made their first contribution in [#​254](https://redirect.github.com/apple/swift-collections/pull/254) - [@​LeoNavel](https://redirect.github.com/LeoNavel) made their first contribution in [#​349](https://redirect.github.com/apple/swift-collections/pull/349) - [@​rex4539](https://redirect.github.com/rex4539) made their first contribution in [#​356](https://redirect.github.com/apple/swift-collections/pull/356) - [@​Gyuni](https://redirect.github.com/Gyuni) made their first contribution in [#​445](https://redirect.github.com/apple/swift-collections/pull/445) - [@​pm-dev](https://redirect.github.com/pm-dev) made their first contribution in [#​452](https://redirect.github.com/apple/swift-collections/pull/452) - [@​DakshinD](https://redirect.github.com/DakshinD) made their first contribution in [#​455](https://redirect.github.com/apple/swift-collections/pull/455) - [@​ozumin](https://redirect.github.com/ozumin) made their first contribution in [#​478](https://redirect.github.com/apple/swift-collections/pull/478) - [@​azarovalex](https://redirect.github.com/azarovalex) made their first contribution in [#​490](https://redirect.github.com/apple/swift-collections/pull/490) - [@​natecook1000](https://redirect.github.com/natecook1000) made their first contribution in [#​493](https://redirect.github.com/apple/swift-collections/pull/493) - [@​parkera](https://redirect.github.com/parkera) made their first contribution in [#​494](https://redirect.github.com/apple/swift-collections/pull/494) - [@​t089](https://redirect.github.com/t089) made their first contribution in [#​503](https://redirect.github.com/apple/swift-collections/pull/503) - [@​brianchang928](https://redirect.github.com/brianchang928) made their first contribution in [#​502](https://redirect.github.com/apple/swift-collections/pull/502) - [@​faimin](https://redirect.github.com/faimin) made their first contribution in [#​501](https://redirect.github.com/apple/swift-collections/pull/501) - [@​MaxDesiatov](https://redirect.github.com/MaxDesiatov) made their first contribution in [#​509](https://redirect.github.com/apple/swift-collections/pull/509) - [@​DougGregor](https://redirect.github.com/DougGregor) made their first contribution in [#​513](https://redirect.github.com/apple/swift-collections/pull/513) **Full Changelog**: <https://github.com/apple/swift-collections/compare/1.2.1...1.3.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [x] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQyLjU5LjAiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
|
f49f42ce76 |
chore: bump up Lakr233/ListViewKit version to from: "1.1.8" (#14078)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [Lakr233/ListViewKit](https://redirect.github.com/Lakr233/ListViewKit) | patch | `from: "1.1.6"` -> `from: "1.1.8"` | --- ### Release Notes <details> <summary>Lakr233/ListViewKit (Lakr233/ListViewKit)</summary> ### [`v1.1.8`](https://redirect.github.com/Lakr233/ListViewKit/compare/1.1.7...1.1.8) [Compare Source](https://redirect.github.com/Lakr233/ListViewKit/compare/1.1.7...1.1.8) ### [`v1.1.7`](https://redirect.github.com/Lakr233/ListViewKit/compare/1.1.6...1.1.7) [Compare Source](https://redirect.github.com/Lakr233/ListViewKit/compare/1.1.6...1.1.7) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zMi4yIiwidXBkYXRlZEluVmVyIjoiNDIuMzIuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com> |
||
|
|
f78dc44690 |
chore: bump up Lakr233/MarkdownView version to from: "3.4.7" (#14090)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [Lakr233/MarkdownView](https://redirect.github.com/Lakr233/MarkdownView) | patch | `from: "3.4.2"` -> `from: "3.4.7"` | --- ### Release Notes <details> <summary>Lakr233/MarkdownView (Lakr233/MarkdownView)</summary> ### [`v3.4.7`](https://redirect.github.com/Lakr233/MarkdownView/compare/3.4.6...3.4.7) [Compare Source](https://redirect.github.com/Lakr233/MarkdownView/compare/3.4.6...3.4.7) ### [`v3.4.6`](https://redirect.github.com/Lakr233/MarkdownView/compare/3.4.5...3.4.6) [Compare Source](https://redirect.github.com/Lakr233/MarkdownView/compare/3.4.5...3.4.6) ### [`v3.4.5`](https://redirect.github.com/Lakr233/MarkdownView/compare/3.4.4...3.4.5) [Compare Source](https://redirect.github.com/Lakr233/MarkdownView/compare/3.4.4...3.4.5) ### [`v3.4.4`](https://redirect.github.com/Lakr233/MarkdownView/compare/3.4.3...3.4.4) [Compare Source](https://redirect.github.com/Lakr233/MarkdownView/compare/3.4.3...3.4.4) ### [`v3.4.3`](https://redirect.github.com/Lakr233/MarkdownView/compare/3.4.2...3.4.3) [Compare Source](https://redirect.github.com/Lakr233/MarkdownView/compare/3.4.2...3.4.3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [x] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi40Mi4yIiwidXBkYXRlZEluVmVyIjoiNDIuNTkuMCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
|
6514614df8 | feat: bump electron (#14158) | ||
|
|
702dbf7be4 |
fix: client indexing & outdated scheme (#14160)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Optimized storage handling with platform-specific
implementations—SQLite for Electron and IndexedDB for other environments
for improved performance.
* **Bug Fixes**
* Enhanced recording file access and retrieval functionality for better
reliability.
* Strengthened local file protocol handling and security restrictions.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
|
||
|
|
4eed92cebf | feat: improve electron sandbox (#14156) | ||
|
|
3fe8923fc3 | fix: flatpak bundle (#14155) | ||
|
|
ca386283c5 | feat: bump electron (#14151) | ||
|
|
2e38898937 | feat: refresh index if version changed (#14150) | ||
|
|
e8693a3a25 | feat: introduce fuzzy search for native indexer (#14109) | ||
|
|
246e09e0cd |
fix: roll back electron version to v35 (#14089)
In electron v36, all workers do not work. The webpack configuration is too complicated, so go back first. If start a new project with [forge](https://www.electronforge.io/) and latest electron, the worker works well. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Downgraded the Electron development/runtime used for building and testing the desktop app from v36 to v35; this is a development-environment change with no functional or API changes affecting end users. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
b258fc3775 | feat: update dmg compress algorithm | ||
|
|
cb0ff04efa | feat: bump more deps (#14079) | ||
|
|
215541d331 |
feat: improve indexing perf with native indexer (#14066)
fix #12132, #14006, #13496, #12375, #12132 The previous idb indexer generated a large number of scattered writes when flushing to disk, which caused CPU and disk write spikes. If the document volume is extremely large, the accumulation of write transactions will cause memory usage to continuously increase. This PR introduces batch writes to mitigate write performance on the web side, and adds a native indexer on the Electron side to greatly improve performance. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Full-text search (FTS) added across storage layers and native plugins: indexing, search, document retrieval, match ranges, and index flushing. * New SQLite-backed indexer storage, streaming search/aggregate APIs, and in-memory index with node-building and highlighting. * **Performance** * Indexing rewritten for batched, concurrent writes and parallel metadata updates. * Search scoring enhanced to consider multiple term positions and aggregated term data. * **Other** * Configurable refresh interval and indexer version bump. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
027f741ed6 |
chore: bump deps (#14065)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Updated dependency versions across the monorepo (notably zod →
^3.25.76 and vitest-related packages → ^3.2.4), plus minor package bumps
to align tooling and libraries. These are manifest/test-tooling updates
only; no public API, behavior, or end-user features were changed.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
|
||
|
|
776ca2c702 | chore: bump version | ||
|
|
cf4e37c584 | feat(native): native reader for indexer (#14055) | ||
|
|
d90eeffe84 | fix: ci | ||
|
|
12fe7a5ced | fix: flatpak build | ||
|
|
4e082e4170 | chore: bump version | ||
|
|
46e7d9fab7 |
chore: bump electron (#13935)
fix #13647 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **Chores** * Updated development tooling and build dependencies to latest stable versions * Increased minimum Node.js requirement to version 22 * Updated macOS deployment target to version 11.6 * Enhanced type safety and error handling in build processes <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
7e6ead4232 | feat: native doc reader (#13881) | ||
|
|
2bd9f1a353 |
feat: implement tray and minimize behaviors (#13851)
This PR introduces new window behaviors, which can be enabled when the menubar setting is active: New Features: - Quick open from tray icon - Minimize to tray - Exit to tray - Start minimized These changes have not yet been tested on macOS. <img width="645" height="479" alt="image" src="https://github.com/user-attachments/assets/7bdd13d0-5322-45a4-8e71-85c081aa0c86" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Configurable menubar/tray behaviors: open on left-click, minimize to tray, close to tray (exit to tray), and start minimized. * **UI** * Appearance settings add a Menubar → Window Behavior group with four toggles; group shows only when menubar/tray is enabled (hidden on macOS). * **Settings** * Tray settings persisted and exposed via the settings API with getters and setters for each option. * **Localization** * Added translation keys and English strings for the new controls and descriptions. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Peng Xiao <pengxiao@outlook.com> |
||
|
|
c9a4129a3e | fix: a security issue related to open external (#13864) | ||
|
|
f3bb2be5ef | feat: request apply subscription mutation (#13844) | ||
|
|
e4b5b24fdd | chore: bump package version | ||
|
|
c18840038f |
chore: bump up @sentry/electron version to v7 (#13652)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [@sentry/electron](https://redirect.github.com/getsentry/sentry-electron) | [`^6.1.0` -> `^7.0.0`](https://renovatebot.com/diffs/npm/@sentry%2felectron/6.6.0/7.2.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>getsentry/sentry-electron (@​sentry/electron)</summary> ### [`v7.2.0`](https://redirect.github.com/getsentry/sentry-electron/blob/HEAD/CHANGELOG.md#720) [Compare Source](https://redirect.github.com/getsentry/sentry-electron/compare/7.1.1...7.2.0) - feat: Update JavaScript SDKs from [v10.11.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/10.11.0) to [v10.17.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/10.17.0) - feat: Log os and device attributes ([#​1246](https://redirect.github.com/getsentry/sentry-electron/issues/1246)) ### [`v7.1.1`](https://redirect.github.com/getsentry/sentry-electron/blob/HEAD/CHANGELOG.md#711) [Compare Source](https://redirect.github.com/getsentry/sentry-electron/compare/7.1.0...7.1.1) - fix: Preload injection path ([#​1243](https://redirect.github.com/getsentry/sentry-electron/issues/1243)) - fix: Preload `contextIsolation` issues ([#​1244](https://redirect.github.com/getsentry/sentry-electron/issues/1244)) - fix: Include `sentry.origin` with auto-generated logs ([#​1241](https://redirect.github.com/getsentry/sentry-electron/issues/1241)) ### [`v7.1.0`](https://redirect.github.com/getsentry/sentry-electron/blob/HEAD/CHANGELOG.md#710) [Compare Source](https://redirect.github.com/getsentry/sentry-electron/compare/7.0.0...7.1.0) - feat: Update JavaScript SDKs from [v10.7.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/10.7.0) to [v10.11.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/10.11.0) ([#​1236](https://redirect.github.com/getsentry/sentry-electron/issues/1236)) - feat: Optional Namespaced IPC ([#​1234](https://redirect.github.com/getsentry/sentry-electron/issues/1234)) - fix: Export `ErrorEvent` type ([#​1229](https://redirect.github.com/getsentry/sentry-electron/issues/1229)) - fix: Only capture logs if `enableLogs` is true ([#​1235](https://redirect.github.com/getsentry/sentry-electron/issues/1235)) ### [`v7.0.0`](https://redirect.github.com/getsentry/sentry-electron/blob/HEAD/CHANGELOG.md#700) [Compare Source](https://redirect.github.com/getsentry/sentry-electron/compare/6.11.0...7.0.0) This release updates the underlying Sentry JavaScript SDKs to v10 which includes some breaking changes. Check out the the [migration guide](./MIGRATION.md) for more details. - feat: Update JavaScript SDKs to v10.8.0 ([#​1205](https://redirect.github.com/getsentry/sentry-electron/issues/1205)) ### [`v6.11.0`](https://redirect.github.com/getsentry/sentry-electron/blob/HEAD/CHANGELOG.md#6110) [Compare Source](https://redirect.github.com/getsentry/sentry-electron/compare/6.10.0...6.11.0) - feat: Update JavaScript SDKs from [v9.45.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.45.0) to [v9.46.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.46.0) - fix: Ensure native directory ends up in package ([#​1216](https://redirect.github.com/getsentry/sentry-electron/issues/1216)) ### [`v6.10.0`](https://redirect.github.com/getsentry/sentry-electron/blob/HEAD/CHANGELOG.md#6100) [Compare Source](https://redirect.github.com/getsentry/sentry-electron/compare/6.9.0...6.10.0) - feat: Update JavaScript SDKs from [v9.43.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.43.0) to [v9.45.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.45.0) - fix: Don't use `deepmerge` to merge events to remove circular ref. issues ([#​1210](https://redirect.github.com/getsentry/sentry-electron/issues/1210)) - fix: Support `node16` for TypeScript `moduleResolution` ([#​1203](https://redirect.github.com/getsentry/sentry-electron/issues/1203)) ### [`v6.9.0`](https://redirect.github.com/getsentry/sentry-electron/blob/HEAD/CHANGELOG.md#690) [Compare Source](https://redirect.github.com/getsentry/sentry-electron/compare/6.8.0...6.9.0) - feat: Update JavaScript SDKs from [v9.26.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.26.0) to [v9.43.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.43.0) - feat: Add `eventLoopBlockIntegration` ([#​1188](https://redirect.github.com/getsentry/sentry-electron/issues/1188)) - feat: Move renderer event loop block detection to an integration ([#​1196](https://redirect.github.com/getsentry/sentry-electron/issues/1196)) ### [`v6.8.0`](https://redirect.github.com/getsentry/sentry-electron/blob/HEAD/CHANGELOG.md#680) [Compare Source](https://redirect.github.com/getsentry/sentry-electron/compare/6.7.0...6.8.0) - feat: Update JavaScript SDKs from [v9.25.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.25.0) to [v9.26.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.26.0) - fix: Don't capture stack traces from destroyed renderers ([#​1165](https://redirect.github.com/getsentry/sentry-electron/issues/1165)) ### [`v6.7.0`](https://redirect.github.com/getsentry/sentry-electron/blob/HEAD/CHANGELOG.md#670) [Compare Source](https://redirect.github.com/getsentry/sentry-electron/compare/6.6.0...6.7.0) - feat: Update JavaScript SDKs from [v9.18.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.18.0) to [v9.25.0](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/9.25.0) - feat: Add structured logging support ([#​1159](https://redirect.github.com/getsentry/sentry-electron/issues/1159)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzAuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
|
8aeb8bd0ca |
feat(ios): insert app user id to rc (#13756)
This pull request integrates RevenueCat into the iOS paywall system, enabling user authentication and subscription management through the RevenueCat SDK. It introduces new dependencies, updates the paywall plugin initialization, and adds logic to fetch and use the current user identifier from the web context for RevenueCat login. The most important changes are grouped below: **RevenueCat Integration and Configuration:** * Added `purchases-ios-spm` (RevenueCat) as a Swift Package dependency in `AffinePaywall` and updated `Package.resolved` to track the new dependency. (`packages/frontend/apps/ios/App/Packages/AffinePaywall/Package.swift`, `packages/frontend/apps/ios/App/App.xcworkspace/xcshareddata/swiftpm/Package.resolved`) [[1]](diffhunk://#diff-7716c691e65a220dad542e024fbf91547c45ea69ddff1d0b6a002a497cd7c8ecR20-R28) [[2]](diffhunk://#diff-63609de9bdfc08b8a0691a4f0ddb7ddff07ae76b40ec2ee7c12adb7db226eb3cR48-R56) * Implemented `Paywall.setup()` for initializing RevenueCat configuration, including setting log level, proxy URL, and a static API key. (`packages/frontend/apps/ios/App/Packages/AffinePaywall/Sources/AffinePaywall/Paywall.swift`, `packages/frontend/apps/ios/App/Plugins/PayWall/PayWallPlugin.swift`) [[1]](diffhunk://#diff-bce0a21a4e7695b7bf2430cd6b8a85fbc84124cc3be83f3288119992b7abb6cdR8-R30) [[2]](diffhunk://#diff-1854d318d8fd8736d078f5960373ed440836263649a8193c8ee33e72a99424edR14) **User Authentication and Subscription State:** * Enhanced the paywall ViewModel logic to fetch the current user identifier from the web context (`window.getCurrentUserIdentifier`), configure RevenueCat, and log in the user before fetching subscription state. Improved error handling and ensured external entitlement fetching is robust. (`packages/frontend/apps/ios/App/Packages/AffinePaywall/Sources/AffinePaywall/Model/ViewModel+Action.swift`) [[1]](diffhunk://#diff-df2cb61867b4ff10dee98d534cf3c94fe8d48ebaef3f219450a9fba26725fdcbR9) [[2]](diffhunk://#diff-df2cb61867b4ff10dee98d534cf3c94fe8d48ebaef3f219450a9fba26725fdcbL120-R155) [[3]](diffhunk://#diff-df2cb61867b4ff10dee98d534cf3c94fe8d48ebaef3f219450a9fba26725fdcbR165) * Added a global JavaScript function `getCurrentUserIdentifier` to the iOS web context to retrieve the current user's account ID for use in RevenueCat login. (`packages/frontend/apps/ios/src/app.tsx`) **Project Metadata:** * Downgraded the `objectVersion` in the Xcode project file, possibly to maintain compatibility with other tools or environments. (`packages/frontend/apps/ios/App/App.xcodeproj/project.pbxproj`) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Paywall now initializes automatically for a smoother subscription flow. * New global API to retrieve the current user identifier from the app context. * **Improvements** * Added integration to better coordinate subscription/login state before showing paywall options. * Ensures user identity is validated prior to entitlement checks, improving accuracy. * Improved error messages and logging during purchase/login flows. * **Bug Fixes** * Fixed intermittent issues where subscription status could fail to load or appear outdated. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
c63e3e7fe6 |
fix(ios): adopt smaller font size for small device (#13715)
This pull request makes minor adjustments to the iOS frontend app, focusing on UI fine-tuning and improving type safety for concurrency. The most notable changes are a small font size adjustment in the paywall badge, marking an enum as `Sendable` for safer concurrency, and removing a StoreKit configuration reference from the Xcode scheme. UI adjustments: * Reduced the font size for the badge text in `PackageOptionView` from 12 to 10 for a more refined appearance. Concurrency and type safety: * Added the `Sendable` protocol conformance to the `SKUnitCategory` enum to ensure it can be safely used across concurrency boundaries. Project configuration: * Removed the `StoreKitConfigurationFileReference` from the `App.xcscheme`, which may help streamline scheme configuration or prevent unnecessary StoreKit file usage during app launch. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - Style - Tweaked paywall option badge text size for a cleaner, more polished look. - Refactor - Improved concurrency safety in underlying models to enhance stability. - Chores - Removed a development-only StoreKit configuration from the iOS debug launch setup. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
7d0b8aaa81 |
feat(ios): sync paywall with external purchased items (#13681)
This pull request introduces significant improvements to the integration between the paywall feature and the web context within the iOS app. The main focus is on enabling synchronization of subscription states between the app and the embedded web view, refactoring how purchased items are managed, and enhancing the paywall presentation logic. Additionally, some debug-only code has been removed for cleaner production builds. **Paywall and Web Context Integration** * Added support for binding a `WKWebView` context to the paywall, allowing the paywall to communicate with the web view for subscription state updates and retrievals (`Paywall.presentWall` now accepts a `bindWebContext` parameter, and `ViewModel` supports binding and using the web context). [[1]](diffhunk://#diff-bce0a21a4e7695b7bf2430cd6b8a85fbc84124cc3be83f3288119992b7abb6cdR10-R32) [[2]](diffhunk://#diff-cb192a424400265435cb06d86b204aa17b4e8195d9dd811580f51faeda211ff0R54-R57) [[3]](diffhunk://#diff-cb192a424400265435cb06d86b204aa17b4e8195d9dd811580f51faeda211ff0L26-R38) [[4]](diffhunk://#diff-1854d318d8fd8736d078f5960373ed440836263649a8193c8ee33e72a99424edL30-R36) * On paywall dismissal, the app now triggers a JavaScript call to update the subscription state in the web view, ensuring consistency between the app and the web context. **Purchased Items Refactor** * Refactored `ViewModel` to distinguish between store-purchased items and externally-purchased items (from the web context), and unified them in a computed `purchasedItems` property. This improves clarity and extensibility for handling entitlements from multiple sources. * Added logic to fetch external entitlements by executing JavaScript in the web view and decoding the subscription information, mapping external plans to internal product identifiers. [[1]](diffhunk://#diff-df2cb61867b4ff10dee98d534cf3c94fe8d48ebaef3f219450a9fba26725fdcbL99-R137) [[2]](diffhunk://#diff-df2cb61867b4ff10dee98d534cf3c94fe8d48ebaef3f219450a9fba26725fdcbR169-R209) **Codebase Cleanup** * Removed debug-only code for shake gesture and debug menu from `AFFiNEViewController`, streamlining the production build. **API and Model Enhancements** * Made `SKUnitCategory` and its extensions public to allow broader usage across modules, and introduced a configuration struct for the paywall. [[1]](diffhunk://#diff-742ccf0c6bafd2db6cb9795382d556fbab90b8855ff38dc340aa39318541517dL10-R17) [[2]](diffhunk://#diff-bce0a21a4e7695b7bf2430cd6b8a85fbc84124cc3be83f3288119992b7abb6cdR10-R32) **Other Minor Improvements** * Improved constructor formatting for `PayWallPlugin` for readability. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - New Features - Paywall now binds to the in-app web view so web-based subscriptions are recognized alongside App Store purchases. - Bug Fixes - Entitlements combine App Store and web subscription state for more accurate display. - Dismissing the paywall immediately updates subscription status to reduce stale states. - Improved reliability when presenting the paywall. - Chores - Removed debug shake menu and debug paywall options from iOS builds. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
5fdae9161a |
chore: bump up SwifterSwift/SwifterSwift version to from: "6.2.0" (#12874)
> [!NOTE] > Mend has cancelled [the proposed renaming](https://redirect.github.com/renovatebot/renovate/discussions/37842) of the Renovate GitHub app being renamed to `mend[bot]`. > > This notice will be removed on 2025-10-07. <hr> This PR contains the following updates: | Package | Update | Change | |---|---|---| | [SwifterSwift/SwifterSwift](https://redirect.github.com/SwifterSwift/SwifterSwift) | minor | `from: "6.0.0"` -> `from: "6.2.0"` | --- ### Release Notes <details> <summary>SwifterSwift/SwifterSwift (SwifterSwift/SwifterSwift)</summary> ### [`v6.2.0`](https://redirect.github.com/SwifterSwift/SwifterSwift/blob/HEAD/CHANGELOG.md#v620) [Compare Source](https://redirect.github.com/SwifterSwift/SwifterSwift/compare/6.1.1...6.2.0) ##### Added - **NSView** - Added `addArrangedSubviews(_ views: )` to add an array of views to the end of the arrangedSubviews array. [#​1181](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1181) by [Roman Podymov](https://redirect.github.com/RomanPodymov) - Added `removeArrangedSubviews` to remove all views in stack’s array of arranged subviews. [#​1181](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1181) by [Roman Podymov](https://redirect.github.com/RomanPodymov) - **Sequence** - `sorted(by:)`, `sorted(by:with:)`, `sorted(by:and:)`, `sorted(by:and:and:)`, `sum(for:)`, `first(where:equals:)` now have alternatives that receive functions as parameters. This change maintains compatibility with KeyPath while making the methods more flexible. [#​1170](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1170) by [MartonioJunior](https://redirect.github.com/MartonioJunior) ##### Changed - **Sequence** - `sorted(by:)`, `sorted(by:with:)`, `sorted(by:and:)`, `sorted(by:and:and:)`, `sum(for:)`, `first(where:equals:)` now have alternatives that receive functions as parameters. This change maintains compatibility with KeyPath while making the methods more flexible. [#​1170](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1170) by [MartonioJunior](https://redirect.github.com/MartonioJunior) - `contains(_:)` for `Element: Hashable` now can receive any type that conforms to `Sequence`, not just an `Array`. [#​1169](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1169) by [MartonioJunior](https://redirect.github.com/MartonioJunior) ##### Fixed - **PrivacyInfo.xcprivacy** - XCode Generate Privacy Report: `Missing an expected key: 'NSPrivacyCollectedDataTypes'`. [#​1182](https://redirect.github.com/SwifterSwift/SwifterSwift/issues/1182) by [Phil](https://redirect.github.com/cdoky) ### [`v6.1.1`](https://redirect.github.com/SwifterSwift/SwifterSwift/blob/HEAD/CHANGELOG.md#v611) [Compare Source](https://redirect.github.com/SwifterSwift/SwifterSwift/compare/6.1.0...6.1.1) ##### Added - **Cocoapods** - Added the privacy manifest to Cocoapods. [#​1178](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1178) by [guykogus](https://redirect.github.com/guykogus) ### [`v6.1.0`](https://redirect.github.com/SwifterSwift/SwifterSwift/blob/HEAD/CHANGELOG.md#v610) [Compare Source](https://redirect.github.com/SwifterSwift/SwifterSwift/compare/6.0.0...6.1.0) ##### Deprecated - **UIImageView** - `blurred(withStyle:)` should have copied the image view and blurred the new instance, but instead it performed the same functionality as `blur(withStyle:)`, making the outcome unexpected as well as being obsolete. [#​1161](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1161) by [guykogus](https://redirect.github.com/guykogus) ##### Added - **Swift Package Manager** - Added a privacy manifest to comply with Apple's requirements regarding [Describing use of required reason API](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api). [#​1176](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1176) by [guykogus](https://redirect.github.com/guykogus) - **Measurement** - Added `+=`, `-=`, `*=`, `/=` to add, subtract, multiply and divide measurements. [#​1162](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1162) by [Roman Podymov](https://redirect.github.com/RomanPodymov) - **Sequence** - Added `product()` for calculating the product of all `Numeric` elements. [#​1168](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1168) by [MartonioJunior](https://redirect.github.com/MartonioJunior) - Added `product(for:)` for calculating the product of the `Numeric` property for all elements in `Sequence`. [#​1168](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1168) by [MartonioJunior](https://redirect.github.com/MartonioJunior) - **UIView** - Added `removeBlur()` method for removing the applied blur effect from the view. [#​1159](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1159) by [regi93](https://redirect.github.com/regi93) - Added `makeCircle(diameter:)` method to make the view circular. [#​1165](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1165) by [happyduck-git](https://redirect.github.com/happyduck-git) ##### Fixed - **UIImageView** - Moved `blur(withStyle:)` from `UIImageView` to `UIView`, as it can be performed on all views. [#​1161](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1161) by [guykogus](https://redirect.github.com/guykogus) - **UIView** - `GradientDirection` initializer and constants had access level `internal` instead of `public`. [#​1152](https://redirect.github.com/SwifterSwift/SwifterSwift/pull/1152) by [guykogus](https://redirect.github.com/guykogus) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42MC4xIiwidXBkYXRlZEluVmVyIjoiNDEuMTMxLjkiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
|
4b3ebd899b |
feat(ios): update js subscription api (#13678)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - New Features - Added on-demand subscription refresh and state retrieval in the iOS app, enabling up-to-date subscription status and billing information. - Exposed lightweight runtime APIs to check and update subscription state for improved account visibility. - Chores - Integrated shared GraphQL package and project references to support subscription operations. - Updated workspace configuration to include the common GraphQL module for the iOS app. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
8df7353722 |
chore(ios): iap paywall update (#13669)
This pull request introduces several improvements and refactors to the iOS frontend, with a focus on the paywall system, configuration, and developer experience. The most significant changes include dynamic pricing updates for subscription packages, the introduction of a centralized pricing configuration, and enhanced developer documentation and settings for Claude Code. There are also minor fixes and improvements to restore purchase flows, App Store syncing, and protocol usage guidance. **Paywall System Improvements** * Subscription package pricing and display is now dynamically updated based on App Store data, ensuring users see accurate, localized pricing and descriptions. This includes new logic for calculating monthly prices and updating package button text. (`ViewModel.swift`, `ViewModel+Action.swift`, `SKUnit+Pro.swift`, `SKUnit+AI.swift`) [[1]](diffhunk://#diff-cb192a424400265435cb06d86b204aa17b4e8195d9dd811580f51faeda211ff0R83-R160) [[2]](diffhunk://#diff-cb192a424400265435cb06d86b204aa17b4e8195d9dd811580f51faeda211ff0L102-R199) [[3]](diffhunk://#diff-df2cb61867b4ff10dee98d534cf3c94fe8d48ebaef3f219450a9fba26725fdcbL58-R73) [[4]](diffhunk://#diff-df2cb61867b4ff10dee98d534cf3c94fe8d48ebaef3f219450a9fba26725fdcbL74-R94) [[5]](diffhunk://#diff-ea535c02550f727587e74521da8fd90dec23cbe3c685f9c4aa4923ce0bbdb363L19-R35) [[6]](diffhunk://#diff-a5fef660f959bbb52ce3f19bba8bfbd0bb00d66c9f18a20a998101b5df6c8f60L18-R22) * Introduced a new `PricingConfiguration.swift` file to centralize product identifiers, default selections, and display strings for subscription products, improving maintainability and consistency. (`PricingConfiguration.swift`, `SKUnit+Pro.swift`, `SKUnit+AI.swift`) [[1]](diffhunk://#diff-de4566ecd5bd29f36737ae5e5904345bd1a5c8f0a73140c3ebba41856bae3e86R1-R54) [[2]](diffhunk://#diff-ea535c02550f727587e74521da8fd90dec23cbe3c685f9c4aa4923ce0bbdb363L19-R35) [[3]](diffhunk://#diff-a5fef660f959bbb52ce3f19bba8bfbd0bb00d66c9f18a20a998101b5df6c8f60L18-R22) **Developer Experience and Documentation** * Added `AGENTS.md` to provide comprehensive guidance for Claude Code and developers, including project overview, build commands, architecture, native bridge APIs, Swift code style, and dependencies. (`AGENTS.md`) * Added a local settings file (`settings.local.json`) to configure permissions for Claude Code, allowing specific Bash commands for iOS builds. (`settings.local.json`) * Updated Swift architecture guidelines to discourage protocol-oriented design unless necessary, favoring dependency injection and composition. (`AGENTS.md`) **User Experience Improvements** * The purchase footer now includes an underline for "Restore Purchase" and a clear message about subscription auto-renewal and cancellation flexibility. (`PurchaseFooterView.swift`) * Improved restore purchase and App Store sync logic to better handle user sign-in prompts and error handling. (`ViewModel+Action.swift`, `Store.swift`) [[1]](diffhunk://#diff-df2cb61867b4ff10dee98d534cf3c94fe8d48ebaef3f219450a9fba26725fdcbL45-R49) [[2]](diffhunk://#diff-df2cb61867b4ff10dee98d534cf3c94fe8d48ebaef3f219450a9fba26725fdcbL58-R73) [[3]](diffhunk://#diff-9f18fbbf15591c56380ce46358089c663ce4440f596db8577de76dc6cd306b54R26-R28) **Minor Fixes and Refactoring** * Made `docId` in `DeleteSessionInput` optional to match GraphQL schema expectations. (`DeleteSessionInput.graphql.swift`) [[1]](diffhunk://#diff-347e5828e46f435d7d7090a3e3eb7445af8c616f663e8711cd832f385f870a9bL14-R14) [[2]](diffhunk://#diff-347e5828e46f435d7d7090a3e3eb7445af8c616f663e8711cd832f385f870a9bL25-R25) * Minor formatting and dependency list updates in `Package.swift`. (`Package.swift`) * Fixed concurrency usage in event streaming for chat manager. (`ChatManager+Stream.swift`) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * New Features * Paywall options now dynamically reflect product data with clearer labels and monthly price calculations. * Added an auto‑renewal note (“cancel anytime”) and underlined “Restore Purchase” for better clarity. * Refactor * Improved purchase/restore flow reliability and UI updates for a smoother experience. * Documentation * Added a comprehensive development guide and updated architecture/style guidance for iOS. * Chores * Introduced local build permissions configuration for iOS development. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
8d6f7047c2 |
fix(ios): build project (#13656)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - New Features - Access Tokens screen now shows revealed access tokens, including the token value where available. - Chores - Updated iOS Paywall package to use Swift tools version 5.9. - Removed an unused internal iOS package to streamline the app. - Aligned access token data model to the latest backend schema for improved consistency. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
54498df247 |
feat(ios): upgrade button in setting (#13645)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - New Features - Added a Subscription section in Mobile Settings (for signed-in users) with plan info and an Upgrade button that opens the native paywall. - Supports showing “Pro” and “AI” paywalls. - Integrated native paywall provider on iOS. - Style - Introduced new styling for the subscription card, content, and button. - Localization - Added English strings for subscription title, description, and button. - Chores - Minor iOS project cleanup and internal wiring to enable the paywall module. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
7a90e1551c |
fix(ios): complete iap user interface (#13639)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - New Features - In-app purchases fully integrated for Pro and AI plans with restore, live product loading, and StoreKit test configuration. - Improvements - Refreshed paywall: intro animation, delayed close button, smoother horizontal paging, page dots interaction, per-item reveal animations, and purchase-state UI (disabled/checked when owned). - Changes - "Believer" plan and related screens removed; Pro simplified to Monthly and Annual offerings. - Chores - iOS project and build settings updated for newer toolchain and StoreKit support. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> |
||
|
|
ca9811792d |
feat(component): emoji and icon picker (#13638)
 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Icon Picker added with Emoji and Icon panels, search/filtering, recent selections, color selection, skin tone options, and smooth group navigation. - **Documentation** - Storybook example added to preview and test the Icon Picker. - **Chores** - Bumped icon library dependency to a newer minor version. - Added emoji data dependency to support the Emoji Picker. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
75a6c79b2c |
fix(ios): crash at swift runtime error (#13635)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Fetch copilot model options per prompt (default, optional, pro) with generated GraphQL query and schema types. * **Chores** * Upgraded iOS deps: Apollo iOS 1.23.0, EventSource 0.1.5, Swift Collections 1.2.1. * Switched Intelligents to static linking and updated project integration. * Parameterized and standardized GraphQL codegen tooling; setup automation now syncs versions and safely backs up/restores custom scalars. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
ebf75e4d31 |
chore: bump up apollographql/apollo-ios version to v1.23.0 (#13623)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more [here](https://redirect.github.com/renovatebot/renovate/discussions/37842). This PR contains the following updates: | Package | Update | Change | |---|---|---| | [apollographql/apollo-ios](https://redirect.github.com/apollographql/apollo-ios) | minor | `from: "1.22.0"` -> `from: "1.23.0"` | | [apollographql/apollo-ios](https://redirect.github.com/apollographql/apollo-ios) | minor | `1.22.0` -> `1.23.0` | --- ### Release Notes <details> <summary>apollographql/apollo-ios (apollographql/apollo-ios)</summary> ### [`v1.23.0`](https://redirect.github.com/apollographql/apollo-ios/blob/HEAD/CHANGELOG.md#v1230) [Compare Source](https://redirect.github.com/apollographql/apollo-ios/compare/1.22.0...1.23.0) ##### New - **Added `requireNonOptionalMockFields` flag to `ApolloCodegenConfiguration.OutputOptions`. ([#​669](https://redirect.github.com/apollographql/apollo-ios-dev/pull/669)):** Added new flag to codegen output options to allow having non-optional fields in the test mocks if desired. *Thank you to [@​dwroth](https://redirect.github.com/dwroth) for the contribution.* ##### Improvement - **Added public initializer to `DatabaseRow`. ([#​664](https://redirect.github.com/apollographql/apollo-ios-dev/pull/664)):** Not having a public initializer on `DatabasRow` was hindering the ability to create custom `SQLiteDatabase` implementations. This solves that by adding a public initializer to `DatabaseRow`.*Thank you to [@​ChrisLaganiere](https://redirect.github.com/ChrisLaganiere) for the contribution.* ##### Fixed - **Unncessary deprecation warning in codegen options initializer. ([#​3563](https://redirect.github.com/apollographql/apollo-ios/issues/3563)):** Added `@_disfavoredOverload` to the deprecated initialized in `ApolloCodegenConfiguration` to prevent possible warnings caused by the compiler selecting a deprecated initializer versus the new/current initializer. See PR [#​682](https://redirect.github.com/apollographql/apollo-ios-dev/pull/682). *Thank you to [@​CraigSiemens](https://redirect.github.com/CraigSiemens) for raising the issue.* </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |