Commit Graph
316 Commits
Author SHA1 Message Date
DarkSky 6f9f1cace5 refactor(workspace): dissolve native-playground into domain directories 2026-11-27 06:55:47 +09:00
DarkSky 577ae12b51 feat(mobile): bump xcode deps (#15885)
#### PR Dependency Tree


* **PR #15885** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved handling of app links and shared content when the iOS app
opens or returns to the foreground.
* iOS simulator tests now install and launch the app before running, and
verify that it stays open.
* **Chores**
* Updated the iOS build and release process to use Xcode 27 and require
an iOS SDK version of 27 or later.
* Adjusted release builds to preserve the required components for iOS
app packaging.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-11-22 22:30:44 +08:00
DarkSky 3d25727076 feat(core): improve sync stability (#15883)
#### PR Dependency Tree


* **PR #15883** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **New Features**
* Document creation can now recover incomplete registrations without
recreating document content.
* Document updates can detect revision conflicts, helping prevent
changes from overwriting newer edits.
* **Improvements**
* Document sync and update handling are improved across desktop,
Android, and iOS.
* Workspace metadata and legacy document pages are handled more
consistently during migration and recovery.
* Creator and editor details are better preserved when documents are
recovered or compacted.
* **Configuration**
  * Removed the experimental document-merge setting.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-11-22 01:37:22 +08:00
DarkSky c471cfc9a5 feat(core): improve sync protocol (#15854)
#### PR Dependency Tree


* **PR #15854** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **New Features**
* Added workspace document lifecycle tracking, including trashed and
deleted states, with migration support.
* Added workspace inventory syncing and state refresh across cloud and
local storage, improving document discovery and offline synchronization.
* Added clearer messages for invalid or oversized document updates and
temporarily unavailable sync or validation.
* Added paused-upload diagnostics and a Quick Export shortcut for
relevant workspace sync issues.

* **Improvements**
* Search, indexing, and document metadata now reflect workspace
inventory and lifecycle state.
* Restoring from history preserves concurrent edits made during
recovery.
* Unused-blob checks now scan document content and detect changes during
scanning.

* **Bug Fixes**
* Invalid document updates are rejected without partially saving a
batch.
* Document reading handles missing or cyclic block relationships more
reliably.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-11-16 19:37:14 +08:00
DarkSky a37334a150 feat(server): improve order sync (#15802) 2026-11-08 12:24:01 +08:00
renovate[bot] ef401b20cb chore: bump up apple/swift-collections version to from: "1.7.5" (#15778)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[apple/swift-collections](https://redirect.github.com/apple/swift-collections)
| patch | `from: "1.7.4"` → `from: "1.7.5"` |

---

### Release Notes

<details>
<summary>apple/swift-collections</summary>

###
[`v1.7.5`](https://redirect.github.com/apple/swift-collections/releases/tag/1.7.5):
Swift Collections 1.7.5

[Compare
Source](https://redirect.github.com/apple/swift-collections/compare/1.7.4...1.7.5)

#### What's Changed

- \[OrderedCollections] Resolve filename ambiguity with
InternalCollectionsUtilities/UnsafeBitSet/\_UnsafeBitSet.swift by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;805](https://redirect.github.com/apple/swift-collections/pull/805)
- Bump swiftlang/github-workflows from 0.0.16 to 0.0.17 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;802](https://redirect.github.com/apple/swift-collections/pull/802)
- Bump
swiftlang/github-workflows/.github/workflows/swift_package_test.yml from
0.0.16 to 0.0.17 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;803](https://redirect.github.com/apple/swift-collections/pull/803)
- Bump swiftlang/github-workflows/.github/workflows/soundness.yml from
0.0.16 to 0.0.17 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;804](https://redirect.github.com/apple/swift-collections/pull/804)
- Document standalone macOS backdeployment requirements by
[@&#8203;0xSixtos](https://redirect.github.com/0xSixtos) in
[#&#8203;800](https://redirect.github.com/apple/swift-collections/pull/800)
- \[DequeModule] Fix RigidDeque prepend example capacity and
direction-word slips by
[@&#8203;aashish254](https://redirect.github.com/aashish254) in
[#&#8203;801](https://redirect.github.com/apple/swift-collections/pull/801)
- Fix prepend(copying:) dropping items from multi-span sources by
[@&#8203;awaisdev5765](https://redirect.github.com/awaisdev5765) in
[#&#8203;796](https://redirect.github.com/apple/swift-collections/pull/796)
- Review RigidDeque/UniqueDeque tests; add better tests for prepends by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;806](https://redirect.github.com/apple/swift-collections/pull/806)

#### New Contributors

- [@&#8203;0xSixtos](https://redirect.github.com/0xSixtos) made their
first contribution in
[#&#8203;800](https://redirect.github.com/apple/swift-collections/pull/800)
- [@&#8203;awaisdev5765](https://redirect.github.com/awaisdev5765) made
their first contribution in
[#&#8203;796](https://redirect.github.com/apple/swift-collections/pull/796)

**Full Changelog**:
<https://github.com/apple/swift-collections/compare/1.7.4...1.7.5>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODguMiIsInVwZGF0ZWRJblZlciI6IjQ0LjE4OC4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-06 18:46:24 +08:00
renovate[bot] 5f19254997 chore: bump up apple/swift-collections version to from: "1.7.4" (#15741)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[apple/swift-collections](https://redirect.github.com/apple/swift-collections)
| minor | `from: "1.6.0"` → `from: "1.7.4"` |

---

### Release Notes

<details>
<summary>apple/swift-collections</summary>

###
[`v1.7.4`](https://redirect.github.com/apple/swift-collections/releases/tag/1.7.4):
Swift Collections 1.7.4

[Compare
Source](https://redirect.github.com/apple/swift-collections/compare/1.7.3...1.7.4)

This is a patch release shipping a number of bug fixes.

#### What's Changed

- Fix implementation of `InputSpan.removeAll()` by
[@&#8203;glessard](https://redirect.github.com/glessard) in
[#&#8203;766](https://redirect.github.com/apple/swift-collections/pull/766)
- SortedSet: keep the existing member on insert, replace it on
update(with:) by
[@&#8203;aniketatgithub](https://redirect.github.com/aniketatgithub) in
[#&#8203;761](https://redirect.github.com/apple/swift-collections/pull/761)
- \[SortedCollections] Check SortedSet's SetAlgebra conformance by
[@&#8203;Joseph-Cursio](https://redirect.github.com/Joseph-Cursio) in
[#&#8203;758](https://redirect.github.com/apple/swift-collections/pull/758)
- Check the set predicates and isEqualSet(to:) against plain sequences
by [@&#8203;Joseph-Cursio](https://redirect.github.com/Joseph-Cursio) in
[#&#8203;759](https://redirect.github.com/apple/swift-collections/pull/759)
- \[BitCollections] Check BitSet.Counted's BidirectionalCollection
conformance by
[@&#8203;Joseph-Cursio](https://redirect.github.com/Joseph-Cursio) in
[#&#8203;767](https://redirect.github.com/apple/swift-collections/pull/767)
- Fix implementation of OutputSpan.\_consumeAll() by
[@&#8203;glessard](https://redirect.github.com/glessard) in
[#&#8203;775](https://redirect.github.com/apple/swift-collections/pull/775)
- Bump
swiftlang/github-workflows/.github/workflows/swift_package_test.yml from
0.0.15 to 0.0.16 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;778](https://redirect.github.com/apple/swift-collections/pull/778)
- Bump swiftlang/github-workflows from 0.0.15 to 0.0.16 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;780](https://redirect.github.com/apple/swift-collections/pull/780)
- Bump swiftlang/github-workflows/.github/workflows/soundness.yml from
0.0.15 to 0.0.16 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;779](https://redirect.github.com/apple/swift-collections/pull/779)
- \[BasicContainers] Fix RigidSet.hash(into:) never returning by
[@&#8203;Joseph-Cursio](https://redirect.github.com/Joseph-Cursio) in
[#&#8203;768](https://redirect.github.com/apple/swift-collections/pull/768)
- Add checkSetAlgebraMemberIdentity, a law checker for which equal
member SetAlgebra keeps by
[@&#8203;Joseph-Cursio](https://redirect.github.com/Joseph-Cursio) in
[#&#8203;769](https://redirect.github.com/apple/swift-collections/pull/769)
- \[BasicContainers] Fix UniqueArray.append(moving:) dropping and
leaking every element by
[@&#8203;aniketatgithub](https://redirect.github.com/aniketatgithub) in
[#&#8203;776](https://redirect.github.com/apple/swift-collections/pull/776)
- \[UniqueDeque] Fix prepend(from:) reversing batch order across
producer passes by
[@&#8203;SwastikTripathi](https://redirect.github.com/SwastikTripathi)
in
[#&#8203;777](https://redirect.github.com/apple/swift-collections/pull/777)
- \[BasicContainers] Fix returned range of
replaceSubrange(\_:addingCount:initializingWith:) by
[@&#8203;aashish254](https://redirect.github.com/aashish254) in
[#&#8203;781](https://redirect.github.com/apple/swift-collections/pull/781)
- \[BasicContainers] Fix RigidSet/UniqueSet batch insertion never
terminating without the preview trait by
[@&#8203;aashish254](https://redirect.github.com/aashish254) in
[#&#8203;782](https://redirect.github.com/apple/swift-collections/pull/782)
- \[BigString] Resync character breaks after removeSubrange by
[@&#8203;sebxt](https://redirect.github.com/sebxt) in
[#&#8203;784](https://redirect.github.com/apple/swift-collections/pull/784)
- Saturate producer buffers by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;789](https://redirect.github.com/apple/swift-collections/pull/789)
- Fix nextSpan/previousSpan implementations by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;793](https://redirect.github.com/apple/swift-collections/pull/793)
- \[BorrowingMapProducer] Fix skip(by:) hanging at end of iterator by
[@&#8203;SwastikTripathi](https://redirect.github.com/SwastikTripathi)
in
[#&#8203;794](https://redirect.github.com/apple/swift-collections/pull/794)
- \[OrderedCollections] Check the remaining Hashable conformances by
[@&#8203;Joseph-Cursio](https://redirect.github.com/Joseph-Cursio) in
[#&#8203;792](https://redirect.github.com/apple/swift-collections/pull/792)
- \[ContainersPreview] Add missing RigidSet+Extras.swift to CMake source
list by [@&#8203;aashish254](https://redirect.github.com/aashish254) in
[#&#8203;797](https://redirect.github.com/apple/swift-collections/pull/797)
- \[BitCollections] Fix BitSet intersection doc examples for Range
inputs by [@&#8203;aashish254](https://redirect.github.com/aashish254)
in
[#&#8203;799](https://redirect.github.com/apple/swift-collections/pull/799)
- \[BitCollections] Fix BitArray.resizingShiftRight leaving stale bits
by [@&#8203;aashish254](https://redirect.github.com/aashish254) in
[#&#8203;798](https://redirect.github.com/apple/swift-collections/pull/798)
- fix: guard InputSpan methods against nil base address in debug builds
by
[@&#8203;SwastikTripathi](https://redirect.github.com/SwastikTripathi)
in
[#&#8203;795](https://redirect.github.com/apple/swift-collections/pull/795)

#### New Contributors

- [@&#8203;SwastikTripathi](https://redirect.github.com/SwastikTripathi)
made their first contribution in
[#&#8203;777](https://redirect.github.com/apple/swift-collections/pull/777)
- [@&#8203;aashish254](https://redirect.github.com/aashish254) made
their first contribution in
[#&#8203;781](https://redirect.github.com/apple/swift-collections/pull/781)
- [@&#8203;sebxt](https://redirect.github.com/sebxt) made their first
contribution in
[#&#8203;784](https://redirect.github.com/apple/swift-collections/pull/784)

**Full Changelog**:
<https://github.com/apple/swift-collections/compare/1.7.3...1.7.4>

###
[`v1.7.3`](https://redirect.github.com/apple/swift-collections/releases/tag/1.7.3):
Swift Collections 1.7.3

[Compare
Source](https://redirect.github.com/apple/swift-collections/compare/1.7.2...1.7.3)

This is a patch release resolving a correctness issue with
`BitSet.Counted.isEqualSet(to:)`, improving test coverage throughout the
library, and continuing the development of unstable interfaces.

#### What's Changed

- \[Heap] Add exhaustive permutations and duplicate-value coverage by
[@&#8203;rksharma-owg](https://redirect.github.com/rksharma-owg) in
[#&#8203;750](https://redirect.github.com/apple/swift-collections/pull/750)
- \[BitCollections] Fix BitSet.Counted.isEqualSet(to:) rejecting
sequences with duplicates by
[@&#8203;kwy404](https://redirect.github.com/kwy404) in
[#&#8203;749](https://redirect.github.com/apple/swift-collections/pull/749)
- SortedSet: generalize set operations to arbitrary Sequences by
[@&#8203;aniketatgithub](https://redirect.github.com/aniketatgithub) in
[#&#8203;746](https://redirect.github.com/apple/swift-collections/pull/746)
- \[SortedCollections] Check the BidirectionalCollection, Equatable and
Hashable conformances by
[@&#8203;Joseph-Cursio](https://redirect.github.com/Joseph-Cursio) in
[#&#8203;742](https://redirect.github.com/apple/swift-collections/pull/742)
- Build BigString in Embedded Swift - with a custom implementation of
grapheme walking instead of using the stdlib by
[@&#8203;parkera](https://redirect.github.com/parkera) in
[#&#8203;752](https://redirect.github.com/apple/swift-collections/pull/752)
- Revive configuration for Foundation toolchain module builds by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;753](https://redirect.github.com/apple/swift-collections/pull/753)
- Copy every source span in replaceSubrange(copying:) by
[@&#8203;hamed75kazemii](https://redirect.github.com/hamed75kazemii) in
[#&#8203;755](https://redirect.github.com/apple/swift-collections/pull/755)
- 1.7.3: Clean up minor issues in build configuration by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;756](https://redirect.github.com/apple/swift-collections/pull/756)
- CMake: Enable UnstableContainersPreview and UnstableHashedContainers
by default by [@&#8203;lorentey](https://redirect.github.com/lorentey)
in
[#&#8203;757](https://redirect.github.com/apple/swift-collections/pull/757)

#### New Contributors

- [@&#8203;rksharma-owg](https://redirect.github.com/rksharma-owg) made
their first contribution in
[#&#8203;750](https://redirect.github.com/apple/swift-collections/pull/750)
- [@&#8203;kwy404](https://redirect.github.com/kwy404) made their first
contribution in
[#&#8203;749](https://redirect.github.com/apple/swift-collections/pull/749)
- [@&#8203;aniketatgithub](https://redirect.github.com/aniketatgithub)
made their first contribution in
[#&#8203;746](https://redirect.github.com/apple/swift-collections/pull/746)
- [@&#8203;hamed75kazemii](https://redirect.github.com/hamed75kazemii)
made their first contribution in
[#&#8203;755](https://redirect.github.com/apple/swift-collections/pull/755)

**Full Changelog**:
<https://github.com/apple/swift-collections/compare/1.7.2...1.7.3>

###
[`v1.7.2`](https://redirect.github.com/apple/swift-collections/releases/tag/1.7.2):
Swift Collections 1.7.2

[Compare
Source](https://redirect.github.com/apple/swift-collections/compare/1.7.1...1.7.2)

This is a patch release shipping a few internal cleanups.

- On Swift 6.4, the package is now built with strict memory safety
enabled. (I don't expect to ever get rid of all `unsafe` keywords: safe
data structures have to be built on top of unsafe allocator primitives,
after all. But I do expect we will gradually move to using memory-safe
constructs whenever it's possible to do so, and the keywords will serve
as a helpful incentive for that.)
- The package has now fully migrated its testing to rely on `package`
access modifiers rather than `@testable import` or `@_spi` trickery.

#### What's Changed

- \[Xcode, CMake]: Build ContainersPreview as a standalone module by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;744](https://redirect.github.com/apple/swift-collections/pull/744)
- Stop using `@_spi` attribute and `@testable import` by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;745](https://redirect.github.com/apple/swift-collections/pull/745)
- Enable strict memory safety on Swift 6.4 by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;747](https://redirect.github.com/apple/swift-collections/pull/747)

**Full Changelog**:
<https://github.com/apple/swift-collections/compare/1.7.1...1.7.2>

###
[`v1.7.1`](https://redirect.github.com/apple/swift-collections/releases/tag/1.7.1):
Swift Collections 1.7.1

[Compare
Source](https://redirect.github.com/apple/swift-collections/compare/1.7.0...1.7.1)

This is a patch release that ships a workaround for a Swift 6.4 defect
that prevents code that uses the package from deploying before macOS/iOS
27
([#&#8203;733](https://redirect.github.com/apple/swift-collections/issues/733)),
alongside fixes for a handful of other bugs uncovered since 1.7.0.

#### What's Changed

- Housekeeping: replace repo-level CODE_OF_CONDUCT by
[@&#8203;apple-ospo](https://redirect.github.com/apple-ospo)\[bot] in
[#&#8203;738](https://redirect.github.com/apple/swift-collections/pull/738)
- \[HashTreeCollections] Fix union misplacing items pushed into a new
child by
[@&#8203;Denimworld12](https://redirect.github.com/Denimworld12) in
[#&#8203;737](https://redirect.github.com/apple/swift-collections/pull/737)
- \[BitCollections] Fix BitSet.Counted.update(with:) not maintaining the
cached count by
[@&#8203;Denimworld12](https://redirect.github.com/Denimworld12) in
[#&#8203;736](https://redirect.github.com/apple/swift-collections/pull/736)
- validateContainer: report a mis-sized expectation instead of trapping
or ignoring it by
[@&#8203;Joseph-Cursio](https://redirect.github.com/Joseph-Cursio) in
[#&#8203;735](https://redirect.github.com/apple/swift-collections/pull/735)
- Avoid using `Ref` in Swift 6.4 by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;739](https://redirect.github.com/apple/swift-collections/pull/739)
- Version 1.7.1 release preparations by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;740](https://redirect.github.com/apple/swift-collections/pull/740)

#### New Contributors

- [@&#8203;apple-ospo](https://redirect.github.com/apple-ospo)\[bot]
made their first contribution in
[#&#8203;738](https://redirect.github.com/apple/swift-collections/pull/738)
- [@&#8203;Denimworld12](https://redirect.github.com/Denimworld12) made
their first contribution in
[#&#8203;737](https://redirect.github.com/apple/swift-collections/pull/737)

**Full Changelog**:
<https://github.com/apple/swift-collections/compare/1.7.0...1.7.1>

###
[`v1.7.0`](https://redirect.github.com/apple/swift-collections/releases/tag/1.7.0):
Swift Collections 1.7.0

[Compare
Source](https://redirect.github.com/apple/swift-collections/compare/1.6.0...1.7.0)

This is a feature release raising the minimum required toolchain to
Swift 6.2. It formalizes `Equatable`/`Hashable` conformances on the
ownership-aware container types, adds a new stable `OrderedSet`
operation, and continues to develop the experimental ownership-aware
container model behind the `UnstableContainersPreview` trait. It also
includes a number of performance improvements and bug fixes.

#### New stable APIs

##### `OrderedCollections`

- `OrderedSet.replace(at:with:)` replaces the member at a given index
with a new element, returning the element that was removed. Replacing a
member with an element that already exists elsewhere in the set is a
runtime error. Expected amortized O(1) complexity.
([#&#8203;669](https://redirect.github.com/apple/swift-collections/pull/669))

##### `BasicContainers`, `DequeModule`

- On a Swift 6.4 or later toolchain, `RigidArray`, `UniqueArray`,
`RigidDeque`, `UniqueDeque`, `RigidSet`, `UniqueSet`, `RigidDictionary`,
and `UniqueDictionary` now formally conform to `Equatable` and
`Hashable`. (The underlying `==` and `hash(into:)` members were already
available in 1.6.0; what is new is the conformances themselves.)
Building with Swift 6.2 or 6.3 still gets you the `==`/`hash(into:)`
members, but no conformances.

- `RigidDeque.isTriviallyIdentical(to:)` and
`UniqueDeque.isTriviallyIdentical(to:)` are now available for every
element type, including noncopyable ones. Previously these required
`Element: Equatable`.

- New spelling for the capacity, cloning, and range-replacement
operations; see **Renamed APIs** below. The new names are the stable
spelling going forward; the old ones remain as deprecated shims.

##### `Collections` umbrella module

The `Collections` module is back to re-exporting its constituent modules
with `@_exported import`, instead of restating each type as a `public
typealias`
([#&#8203;716](https://redirect.github.com/apple/swift-collections/pull/716)).
A single
`import Collections` therefore now brings in the *entire* contents of
`BitCollections`, `DequeModule`, `HashTreeCollections`, `HeapModule`,
and `OrderedCollections` — including types that previously were not
exposed in the `Collections` module, such as `RigidDeque` and
`UniqueDeque`. This allows `import Collections` to work even for clients
that have `MemberImportVisibility` enabled.

#### Renamed APIs

`BasicContainers` and `DequeModule` are stable modules, so every rename
below ships with a deprecated shim carrying `@available(*, deprecated,
renamed:)`. Existing code keeps compiling, and Xcode/`swift build` will
offer fix-its.

| Old name | New name |
| ------------------------------------------ |
---------------------------------------------------------------- |
| `reallocate(capacity:)` | `setCapacity(_:)` |
| `copy()` | `clone()` |
| `copy(capacity:)` | `clone(capacity:)` |
| `UniqueDeque.init(capacity:)` | `init(minimumCapacity:)` |
| `replace(_:with:)` and friends | `replaceSubrange(_:copying:)` /
`(_:moving:)` / `(_:consuming:)` |
| `replace(_:count:initializingWith:)` |
`replaceSubrange(_:addingCount:initializingWith:)` |
| `append(count:initializingWith:)` |
`append(addingCount:initializingWith:)` |
| `insert(count:at:initializingWith:)` |
`insert(addingCount:at:initializingWith:)` |
| `nextSpan(after:maximumCount:)` | `nextSpan(after:maxCount:)` |
| `nextMutableSpan(after:maximumCount:)` |
`nextMutableSpan(after:maxCount:)` |
| `previousSpan(before:maximumCount:)` |
`previousSpan(before:maxCount:)` |
| `RigidSet.insert(count:initializingWith:)` |
`insert(addingCount:initializingWith:)` |
| `RigidSet.insert(count:from:)` | `insert(addingCount:from:)` |

Most of the new names sync this package with the API names recently
adopted in the Standard Library in `Iterable` and `UniqueArray`.

#### Performance improvements

- **`BitSet.count` is roughly 3× faster.**
([#&#8203;702](https://redirect.github.com/apple/swift-collections/pull/702))
- `_Word.allBits` is now `@inlinable`, which unblocks specialization in
several
bit-twiddling paths.
([#&#8203;704](https://redirect.github.com/apple/swift-collections/pull/704))
- `OrderedSet.reverse()` now reverses the hash table in place instead of
rebuilding it from scratch.
([#&#8203;668](https://redirect.github.com/apple/swift-collections/pull/668))
- `UniqueArray` no longer performs duplicate bounds checks on subscript
and
mutation paths.
([#&#8203;699](https://redirect.github.com/apple/swift-collections/pull/699))
- `RigidArray`'s internal representation was split from a `(buffer
pointer, count)` pair into separate pointer, capacity, and count fields.
This exposes an unused bit pattern for the compiler to use for
representing nil values in optional wrapped arrays, avoiding having to
add an out-of-line discriminator. The representation of
`RigidDictionary` was
adjusted in a similar way.
([#&#8203;692](https://redirect.github.com/apple/swift-collections/pull/692),
[#&#8203;717](https://redirect.github.com/apple/swift-collections/pull/717))
- `Deque` and the `TreeSet`/`TreeDictionary` types are no longer using a
`malloc_size` to make use of any "extra" storage allocated.
([#&#8203;700](https://redirect.github.com/apple/swift-collections/pull/700))
- `OrderedDictionary.replaceElement` now uses `exchange(_:with:)` on its
equal-key path to avoid copying the outgoing value.
([#&#8203;688](https://redirect.github.com/apple/swift-collections/pull/688),
[#&#8203;703](https://redirect.github.com/apple/swift-collections/pull/703))
- `RigidDictionary` now stores a sentinel value rather than `nil` for
its values pointer, removing a branch from value access.

#### Notable bug fixes

- **`BitCollections`:** `BitSet.isEqualSet(to:)` returned the wrong
result when given an empty `Range<Int>`. A non-empty bit set incorrectly
compared equal to an empty range.
([#&#8203;718](https://redirect.github.com/apple/swift-collections/pull/718))
- **`SortedCollections`** (`UnstableSortedCollections` trait):
`SortedDictionary.Keys`, `.Values`, and `.SubSequence` had inverted `==`
implementations, so equal instances compared unequal and vice versa.
`SubSequence` equality also now uses tuple comparison rather than an
element-by-element loop with the wrong short-circuit.
([#&#8203;697](https://redirect.github.com/apple/swift-collections/pull/697))
- **Embedded Swift:** the `_UniqueCollection` fast paths in
`BitSet.isEqualSet(to:)`, `OrderedSet.isEqualSet(to:)`,
`TreeSet.isEqualSet(to:)`, and `TreeSet.symmetricDifference(_:)` rely on
dynamic conformance checks, which are unavailable in embedded Swift.
They are now compiled out with `#if !$Embedded`.
([#&#8203;715](https://redirect.github.com/apple/swift-collections/pull/715))

#### Experimental container protocols (`UnstableContainersPreview`
trait)

This is the first swift-collections release that ships a fully
operational container protocol hierarchy, including some massive
updates. However, things are still subject to change, and we expect to
need to make breaking changes as we gain experience using the new
constructs. Nothing under this trait is stable API, and source-breaking
changes land without deprecations.

**New:**
[`Documentation/Container-design.md`](Documentation/Container-design.md)
is a work-in-progress document describing the container design
implemented in the `ContainersPreview` module. As of the 1.7.0 release,
it explains some of the design decisions behind the container protocols,
up to and including `MutableContainer`. (The `Producer` hierarchy and
the range-replaceable container protocol family is not yet fully
covered; we expect those parts to be fleshed out later.)

##### New `SpanPreview` module

`InputSpan` has moved out of `ContainersPreview` into a new
`SpanPreview` module. `SpanPreview` holds span-adjacent primitives that
are expected to graduate to the standard library, and it is entirely
empty unless the `UnstableContainersPreview` trait is enabled. It also
ships basic `MutableSpan`/`OutputSpan` helpers for producing and
consuming `InputSpan`s.

Some core APIs on the container types require the use of `InputSpan`,
and this change lets these APIs continue to live in their defining
module.

`SpanPreview` is explicitly not part of the package's stable public API,
as we expect to soon replace it with the Standard Library's own
`InputSpan` definition.

##### Dependency inversion

`ContainersPreview` and the concrete container modules have swapped
places in the dependency graph. `BasicContainers` and `DequeModule` no
longer depend on `ContainersPreview`; instead `ContainersPreview`
depends on them, and all
container conformances for the concrete types now live there, under
`Sources/ContainersPreview/Conformances/`.
([`842f125c`](https://redirect.github.com/apple/swift-collections/commit/842f125c))

**Source-breaking for trait adopters:** getting `Container` (etc.)
conformances for `RigidArray`, `UniqueArray`, `RigidDeque`,
`UniqueDeque`, `RigidSet`, or `UniqueSet` now requires `import
ContainersPreview`. Importing just `BasicContainers` or `DequeModule`
gets you the types and their intrinsic operations, but not the protocol
conformances.

##### Standard library adoption

- The locally-defined `BorrowingSequence_`/`BorrowingIteratorProtocol_`
protocols have been replaced by the standard library's `Iterable` and
`BorrowingIteratorProtocol`. The package's own definitions have been
removed.
([#&#8203;657](https://redirect.github.com/apple/swift-collections/pull/657))
- Similarly, `Ref` and `MutableRef` now ship in the Standard Library
rather than being declared in `ContainersPreview`. (`UniqueBox` is part
of the package's stable API, so its definition continues to remain
available. We expect to deprecate it in a future package release.)

##### New protocols

- Removal and consumption operations were spun off from
`RangeReplaceableContainer` into the new parent protocol
`DrainableContainer`. This protocol models containers supporting partial
in-place consumption (and removal) of their contents. Range-replacement
operations now all return indices to the subranges they affected, so
that we can perform insertions/removals without losing our place in the
container. (This is particularly important for linked lists and similar
linked data structures capable of performing O(1) insertions/removals.)
([#&#8203;723](https://redirect.github.com/apple/swift-collections/pull/723))
- `CountedProducer` refines `Producer` adding a precise count of
remaining elements. `Drain` now refines `CountedProducer`.
- `ContainerDrain` refines `Drain` to allow retrieving a valid index
after the items have been drained.
- `RangeExpression2` now refines the standard `RangeExpression`, so that
we can use the standard range expression notation over container types.
(The name (as well as the protocol itself) is a placeholder, so that we
have something that works while we are looking for a better solution.)
([#&#8203;22a94a97](https://redirect.github.com/apple/swift-collections/commit/22a94a97))

##### Reworked core requirements

- `Container`'s core primitive is now
`nextSpan(after:maxCount:limitedBy:)`, with optional delimiter
arguments; the
bidirectional counterpart is
`spanBoundary(before:maxDistance:limitedBy:)`.
- `Container` gained `makeBorrowingIterator(from:)`,
`makeBorrowingIterator(from:to:)`, and `currentIndex(of:)` requirements.
- `Container` now expects its indices to be `Comparable` again, as we
have found a way to provide them in conforming linked list types.
([#&#8203;727](https://redirect.github.com/apple/swift-collections/pull/727))
- `[Mutable]Container` gained subscript requirements expressed with
borrow and mutate accessors.
- `Producer.generate(into:)` switched to saturating semantics — it now
fills the destination when possible, unless it reaches its end or
throws.
([#&#8203;728](https://redirect.github.com/apple/swift-collections/pull/728))

##### New algorithms

- `MutableContainer` gained bulk update operations (`updateSubrange` and
friends), in both mutating and copying forms, plus a default `swapAt`
implementation for copyable elements.
([#&#8203;724](https://redirect.github.com/apple/swift-collections/pull/724))
- `PermutableContainer` gained `reverse()`, `shuffle()`,
`moveSubrange(_:to:)`, and a heap sort.
- `Producer` gained `UnfoldProducer` (an unfold-style generator), and
- `BorrowingIteratorProtocol` gained `mapError`, and `map` was fixed;
`_map2` and `_map3` were added alongside it to demonstrate different
throwing behaviors. Error handling across the producer/drain algorithms
was reviewed.
- New `Container` conformances for `Span`, `MutableSpan`, `OutputSpan`,
and `InputSpan`.

#### Experimental hashed containers (`UnstableHashedContainers` trait)

These types are functional, but they still have known usability gaps in
their API surface that prevents us from declaring them API stable.

- The trait no longer needs `UnstableContainersPreview` to be enabled
alongside it.
[`70dc2389`](https://redirect.github.com/apple/swift-collections/commit/70dc2389))
- `RigidSet` and `UniqueSet` now conform to `Container`.
([#&#8203;713](https://redirect.github.com/apple/swift-collections/pull/713))
- `RigidDictionary` and `UniqueDictionary` gained a `keys` property and
`mutableValue(forKey:)`, which yields in-place mutable access to a
stored value.
([#&#8203;698](https://redirect.github.com/apple/swift-collections/pull/698),

#### Testing and infrastructure

- **`checkSetAlgebra`**, a new law checker in `_CollectionsTestSupport`,
verifies set-like types against the `SetAlgebra` laws — and additionally
checks each mutating operation against its non-mutating twin.
([#&#8203;719](https://redirect.github.com/apple/swift-collections/pull/719),
[#&#8203;730](https://redirect.github.com/apple/swift-collections/pull/730))
- A **`Container` conformance validator** has been added, along the
lines of the existing `Sequence`/`Collection` conformance checkers, and
is now applied to `RigidSet`, `UniqueSet`, `RigidDeque`, and
`UniqueDeque`.
([#&#8203;713](https://redirect.github.com/apple/swift-collections/pull/713),
[#&#8203;720](https://redirect.github.com/apple/swift-collections/pull/720))
- New tests cover `Deque`'s storage allocation behavior and
`MutableContainer`'s requirements (the latter uncovered and fixed
several issues).
([#&#8203;722](https://redirect.github.com/apple/swift-collections/pull/722))
- We added a first draft of a `swift-format` configuration for this
package.
- CI workflows were updated (`swiftlang/github-workflows` 0.0.11 →
0.0.15, `actions/checkout` 6 → 7), and the matrix was simplified now
that 6.0/6.1 are out of support.
- The unstable Xcode project had its groups converted to folders.

#### Detailed List of Changes

- Run heap node tests in release by
[@&#8203;sorinc03](https://redirect.github.com/sorinc03) in
[#&#8203;662](https://redirect.github.com/apple/swift-collections/pull/662)
- \[BasicContainers] Rename reallocate to setCapacity for Rigid and
UniqueArray by [@&#8203;Azoy](https://redirect.github.com/Azoy) in
[#&#8203;667](https://redirect.github.com/apple/swift-collections/pull/667)
- Define SwiftStdlib 6.4 with actual version numbers by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;670](https://redirect.github.com/apple/swift-collections/pull/670)
- Update `BorrowingSequence` to `Iterable` by
[@&#8203;natecook1000](https://redirect.github.com/natecook1000) in
[#&#8203;657](https://redirect.github.com/apple/swift-collections/pull/657)
- Bump swiftlang/github-workflows/.github/workflows/soundness.yml from
0.0.11 to 0.0.12 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;678](https://redirect.github.com/apple/swift-collections/pull/678)
- Bump
swiftlang/github-workflows/.github/workflows/swift_package_test.yml from
0.0.11 to 0.0.12 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;677](https://redirect.github.com/apple/swift-collections/pull/677)
- Fix [@&#8203;inlinable](https://redirect.github.com/inlinable) deinit
incompatibility with library evolution (HashTree/Sorted storage) by
[@&#8203;itej13](https://redirect.github.com/itej13) in
[#&#8203;679](https://redirect.github.com/apple/swift-collections/pull/679)
- Bump actions/checkout from 6 to 7 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;672](https://redirect.github.com/apple/swift-collections/pull/672)
- \[OrderedCollections] OrderedSet.reverse(): update the hash table in
place by [@&#8203;inju2403](https://redirect.github.com/inju2403) in
[#&#8203;668](https://redirect.github.com/apple/swift-collections/pull/668)
- Fix superset set algebra doc comments by
[@&#8203;wjdtjq6](https://redirect.github.com/wjdtjq6) in
[#&#8203;674](https://redirect.github.com/apple/swift-collections/pull/674)
- Fix typos in doc comments and a DocC article by
[@&#8203;wjdtjq6](https://redirect.github.com/wjdtjq6) in
[#&#8203;673](https://redirect.github.com/apple/swift-collections/pull/673)
- \[OrderedCollections] Add OrderedSet.replace(\_:at:) by
[@&#8203;inju2403](https://redirect.github.com/inju2403) in
[#&#8203;669](https://redirect.github.com/apple/swift-collections/pull/669)
- Bump swiftlang/github-workflows/.github/workflows/soundness.yml from
0.0.12 to 0.0.13 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;689](https://redirect.github.com/apple/swift-collections/pull/689)
- Bump
swiftlang/github-workflows/.github/workflows/swift_package_test.yml from
0.0.12 to 0.0.13 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;690](https://redirect.github.com/apple/swift-collections/pull/690)
- \[ContainersPreview] Update Container protocols by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;682](https://redirect.github.com/apple/swift-collections/pull/682)
- \[RigidArray/UniqueArray] Split up the buffer pointer in RIgidArray by
[@&#8203;Azoy](https://redirect.github.com/Azoy) in
[#&#8203;692](https://redirect.github.com/apple/swift-collections/pull/692)
- Fix stale paths in internals documentation by
[@&#8203;ZayanKhan-12](https://redirect.github.com/ZayanKhan-12) in
[#&#8203;691](https://redirect.github.com/apple/swift-collections/pull/691)
- More updates to the container model by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;694](https://redirect.github.com/apple/swift-collections/pull/694)
- More ContainersPreview updates by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;695](https://redirect.github.com/apple/swift-collections/pull/695)
- \[Rigid/UniqueDictionary] Add mutableValue(forKey:) to new dictionary
types by [@&#8203;Azoy](https://redirect.github.com/Azoy) in
[#&#8203;698](https://redirect.github.com/apple/swift-collections/pull/698)
- \[OrderedCollections] Share OrderedSet's replace primitive with
OrderedDictionary.replaceElement by
[@&#8203;inju2403](https://redirect.github.com/inju2403) in
[#&#8203;688](https://redirect.github.com/apple/swift-collections/pull/688)
- Fix inverted SortedDictionary Keys/Values/SubSequence equality by
[@&#8203;Hashim1999164](https://redirect.github.com/Hashim1999164) in
[#&#8203;697](https://redirect.github.com/apple/swift-collections/pull/697)
- \[Deque/HashTree] Remove references to ManagedBuffer.capacity and use
the given minCapacity by
[@&#8203;Azoy](https://redirect.github.com/Azoy) in
[#&#8203;700](https://redirect.github.com/apple/swift-collections/pull/700)
- \[Rigid/UniqueArray] Eliminate some duplicate bounds checks for
UniqueArray by [@&#8203;Azoy](https://redirect.github.com/Azoy) in
[#&#8203;699](https://redirect.github.com/apple/swift-collections/pull/699)
- Mark `_Word.allBits` as `@inlinable` by
[@&#8203;dnadoba](https://redirect.github.com/dnadoba) in
[#&#8203;704](https://redirect.github.com/apple/swift-collections/pull/704)
- Improve `BitSet.count` performance by \~3x by
[@&#8203;dnadoba](https://redirect.github.com/dnadoba) in
[#&#8203;702](https://redirect.github.com/apple/swift-collections/pull/702)
- \[workflows] Update CI workflows by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;706](https://redirect.github.com/apple/swift-collections/pull/706)
- Name the documented arguments the way the declarations name them by
[@&#8203;karpovantonme](https://redirect.github.com/karpovantonme) in
[#&#8203;701](https://redirect.github.com/apple/swift-collections/pull/701)
- \[OrderedCollections] Use exchange(\_:with:) in replaceElement's
equal-key path by
[@&#8203;inju2403](https://redirect.github.com/inju2403) in
[#&#8203;703](https://redirect.github.com/apple/swift-collections/pull/703)
- \[SortedCollections] Name the documented arguments the way the
declarations name them by
[@&#8203;karpovantonme](https://redirect.github.com/karpovantonme) in
[#&#8203;705](https://redirect.github.com/apple/swift-collections/pull/705)
- More container updates by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;707](https://redirect.github.com/apple/swift-collections/pull/707)
- Bump
swiftlang/github-workflows/.github/workflows/swift_package_test.yml from
0.0.14 to 0.0.15 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;712](https://redirect.github.com/apple/swift-collections/pull/712)
- Bump swiftlang/github-workflows/.github/workflows/soundness.yml from
0.0.14 to 0.0.15 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;711](https://redirect.github.com/apple/swift-collections/pull/711)
- Conform RigidSet/UniqueSet to Container and add Container validator by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;713](https://redirect.github.com/apple/swift-collections/pull/713)
- Disable `_UniqueCollection` fast paths in embedded Swift by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;715](https://redirect.github.com/apple/swift-collections/pull/715)
- Reinstate exported imports in Collections module by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;716](https://redirect.github.com/apple/swift-collections/pull/716)
- \[RigidDictionary] Store a sentinel value for values ptr if null by
[@&#8203;Azoy](https://redirect.github.com/Azoy) in
[#&#8203;717](https://redirect.github.com/apple/swift-collections/pull/717)
- \[BitSet] Fix isEqualSet(to: Range<Int>) for empty ranges by
[@&#8203;dylanpulver](https://redirect.github.com/dylanpulver) in
[#&#8203;718](https://redirect.github.com/apple/swift-collections/pull/718)
- Refactor DrainableContainer/RangeReplaceableContainer/DynamicContainer
by [@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;723](https://redirect.github.com/apple/swift-collections/pull/723)
- MutableContainer: Add some bulk update operations by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;724](https://redirect.github.com/apple/swift-collections/pull/724)
- Container: Reinstate requirement for Comparable indices by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;727](https://redirect.github.com/apple/swift-collections/pull/727)
- Add checkSetAlgebra, a law checker for set-like types by
[@&#8203;Joseph-Cursio](https://redirect.github.com/Joseph-Cursio) in
[#&#8203;719](https://redirect.github.com/apple/swift-collections/pull/719)
- Fix typos in documentation and comments by
[@&#8203;eliorpom-cmd](https://redirect.github.com/eliorpom-cmd) in
[#&#8203;725](https://redirect.github.com/apple/swift-collections/pull/725)
- \[DequeModule] Add tests for Deque's storage allocation behavior by
[@&#8203;Joseph-Cursio](https://redirect.github.com/Joseph-Cursio) in
[#&#8203;722](https://redirect.github.com/apple/swift-collections/pull/722)
- Unbacktick parameter names so DocC binds the parameter docs by
[@&#8203;hxperl](https://redirect.github.com/hxperl) in
[#&#8203;721](https://redirect.github.com/apple/swift-collections/pull/721)
- Validate the Container conformance of RigidDeque and UniqueDeque by
[@&#8203;Joseph-Cursio](https://redirect.github.com/Joseph-Cursio) in
[#&#8203;720](https://redirect.github.com/apple/swift-collections/pull/720)
- `Producer.generate(into:)`: Switch to saturating semantics by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;728](https://redirect.github.com/apple/swift-collections/pull/728)
- Check the mutating form\* twins against their non-mutating originals
by [@&#8203;Joseph-Cursio](https://redirect.github.com/Joseph-Cursio) in
[#&#8203;730](https://redirect.github.com/apple/swift-collections/pull/730)
- 1.7.0 release preparations by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;729](https://redirect.github.com/apple/swift-collections/pull/729)
- Finalize the 1.7.0 release by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;731](https://redirect.github.com/apple/swift-collections/pull/731)

#### New Contributors

- [@&#8203;sorinc03](https://redirect.github.com/sorinc03) made their
first contribution in
[#&#8203;662](https://redirect.github.com/apple/swift-collections/pull/662)
- [@&#8203;itej13](https://redirect.github.com/itej13) made their first
contribution in
[#&#8203;679](https://redirect.github.com/apple/swift-collections/pull/679)
- [@&#8203;wjdtjq6](https://redirect.github.com/wjdtjq6) made their
first contribution in
[#&#8203;674](https://redirect.github.com/apple/swift-collections/pull/674)
- [@&#8203;ZayanKhan-12](https://redirect.github.com/ZayanKhan-12) made
their first contribution in
[#&#8203;691](https://redirect.github.com/apple/swift-collections/pull/691)
- [@&#8203;Hashim1999164](https://redirect.github.com/Hashim1999164)
made their first contribution in
[#&#8203;697](https://redirect.github.com/apple/swift-collections/pull/697)
- [@&#8203;karpovantonme](https://redirect.github.com/karpovantonme)
made their first contribution in
[#&#8203;701](https://redirect.github.com/apple/swift-collections/pull/701)
- [@&#8203;dylanpulver](https://redirect.github.com/dylanpulver) made
their first contribution in
[#&#8203;718](https://redirect.github.com/apple/swift-collections/pull/718)
- [@&#8203;Joseph-Cursio](https://redirect.github.com/Joseph-Cursio)
made their first contribution in
[#&#8203;719](https://redirect.github.com/apple/swift-collections/pull/719)
- [@&#8203;eliorpom-cmd](https://redirect.github.com/eliorpom-cmd) made
their first contribution in
[#&#8203;725](https://redirect.github.com/apple/swift-collections/pull/725)
- [@&#8203;hxperl](https://redirect.github.com/hxperl) made their first
contribution in
[#&#8203;721](https://redirect.github.com/apple/swift-collections/pull/721)

**Full Changelog**:
<https://github.com/apple/swift-collections/compare/1.6.0...1.7.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE4MC4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-26 16:51:30 +08:00
DarkSky b2e56529ee chore: improve ci (#15743) 2026-10-26 16:49:45 +08:00
renovate[bot] 2e84a86570 chore: bump up RevenueCat/purchases-ios-spm version to from: "5.92.0" (#15459)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[RevenueCat/purchases-ios-spm](https://redirect.github.com/RevenueCat/purchases-ios-spm)
| minor | `from: "5.83.0"` → `from: "5.92.0"` |

---

### Release Notes

<details>
<summary>RevenueCat/purchases-ios-spm
(RevenueCat/purchases-ios-spm)</summary>

###
[`v5.92.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.91.0...5.92.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.91.0...5.92.0)

###
[`v5.91.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.90.2...5.91.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.90.2...5.91.0)

###
[`v5.90.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.90.1...5.90.2)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.90.1...5.90.2)

###
[`v5.90.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.90.0...5.90.1)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.90.0...5.90.1)

###
[`v5.90.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.89.0...5.90.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.89.0...5.90.0)

###
[`v5.89.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.88.0...5.89.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.88.0...5.89.0)

###
[`v5.88.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.87.1...5.88.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.87.1...5.88.0)

###
[`v5.87.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.87.0...5.87.1)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.87.0...5.87.1)

###
[`v5.87.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.86.0...5.87.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.86.0...5.87.0)

###
[`v5.86.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.85.0...5.86.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.85.0...5.86.0)

###
[`v5.85.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.84.0...5.85.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.84.0...5.85.0)

###
[`v5.84.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.83.2...5.84.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.83.2...5.84.0)

###
[`v5.83.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.83.1...5.83.2)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.83.1...5.83.2)

###
[`v5.83.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.83.0...5.83.1)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.83.0...5.83.1)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMi4wIiwidXBkYXRlZEluVmVyIjoiNDQuMTM0LjEiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-10 04:07:46 +08:00
renovate[bot] bf473eeb6c chore: bump up Recouse/EventSource version to from: "0.1.9" (#15686)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [Recouse/EventSource](https://redirect.github.com/Recouse/EventSource)
| patch | `from: "0.1.8"` → `from: "0.1.9"` |

---

### Release Notes

<details>
<summary>Recouse/EventSource (Recouse/EventSource)</summary>

###
[`v0.1.9`](https://redirect.github.com/Recouse/EventSource/releases/tag/0.1.9)

[Compare
Source](https://redirect.github.com/Recouse/EventSource/compare/0.1.8...0.1.9)

#### What's Changed

- fix: add explicit default auth challenge handling to SessionDelegate
by [@&#8203;liefran-sim](https://redirect.github.com/liefran-sim) in
[#&#8203;51](https://redirect.github.com/Recouse/EventSource/pull/51)
- Fix watchOS build failure on Xcode 27 by
[@&#8203;maximbilan](https://redirect.github.com/maximbilan) in
[#&#8203;52](https://redirect.github.com/Recouse/EventSource/pull/52)

**Full Changelog**:
<https://github.com/Recouse/EventSource/compare/0.1.8...0.1.9>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzQuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjEzNC4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-09 12:01:04 +08:00
DarkSky 7dd71162b5 feat(native): support multi remote source (#15642) 2026-09-25 20:27:16 +08:00
DarkSky d897bb3d84 chore: bump deps (#15624) 2026-09-20 13:01:49 +08:00
keepClamDownandDarkSky 2af30773ae feat(ios): add stable Share Extension imports (#15547)
## Summary

The changes below are prepared locally and have not been committed or
pushed.

- Save original URLs, user titles, selected text, images and PDFs
through a versioned, file-backed Share Inbox. Stable document/attempt
IDs, serialized imports and committed receipts make retries preserve
user edits and recover native completion.
- Keep rich previews transient. Share previews request transcript
excerpts, clip optional display fields and bound response/image
downloads. Saving does not wait for preview requests or persist provider
metadata, transcript snapshots or dedicated preview blobs.
- Restore the minimal App Group workspace-mode snapshot and
`official`/`deferred` route. Official routes remain fixed for the
pending share; deferred self-hosted previews use the selected server
without a provider fallback.
- Let bookmark and YouTube details read the current workspace's Link
Preview API by URL. Full transcripts, chapters and timestamps load on
expansion without document writes. Reuse editor styles and the existing
portal for canvas details; isolate endpoint/base/transcript caches and
keep transcript results out of persistent cache.

## Validation

- Focused frontend suites: 128 tests passed; the 43 preview/details
cases also passed after the final portal change.
- `ShareInboxSafetyTests`: 57 tests passed on iOS 26.5 simulator.
- `yarn typecheck` and full `yarn lint` passed.
- iOS web bundle, Capacitor asset copy, and signed simulator App build
with embedded ShareExtension passed.
- Browser component checks: desktop, narrow viewport, light/dark themes,
full transcript scrolling, canvas portal positioning and Escape
dismissal.
- Simulator Safari share: rich preview, cancellation, native-to-app
handoff, workspace selection and successful save. The pending manifest
contained original content and routing only, and was removed after
import.

Physical-device and network-capture matrices remain manual. The
simulator YouTube iframe displayed player error 153; this is separate
from the successful preview/import checks and video playback is not
claimed as verified.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* iOS sharing now supports PDF files alongside images, with previews and
attachment validation.
* Share imports offer improved workspace selection, offline handling,
retry recovery, and clearer error messages.
* Link previews can display expandable metadata and transcript details
for bookmarks and YouTube embeds.
* Share inbox entries now identify unsupported versions and provide
safer attachment resolution.

* **Bug Fixes**
* Improved cancellation, cleanup, and stale-request handling during
sharing and importing.
* Enhanced link-preview validation and protection against oversized or
invalid responses.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-09-15 14:55:04 +08:00
DarkSky 51fdf602ba feat(core): adapt new lifecycle (#15575)
fix #15574


#### PR Dependency Tree


* **PR #15575** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## New Features
* Added source-aware blob handling for current documents and page
history.
* Added document lifecycle support for trashing, restoring, and
permanently deleting documents.
* Copilot attachments now upload directly to session attachment
endpoints.

## Bug Fixes
* Document actions now complete before confirmations, notifications, and
navigation proceed.
* Improved cancellation, upload fallback, size-limit handling, and cloud
synchronization reliability.
* Invite-link expiration now remains reliable for long durations.
* Improved synchronization for document permissions and reserved
documents.

## Changes
* Blob management now displays attachment icons instead of image
previews.
* Cloud synchronization now uses a unified batch protocol.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-09 23:00:06 +08:00
DarkSky 8c5937111b feat(server): migrate legacy impl (#15571)
#### PR Dependency Tree


* **PR #15571** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Added Copilot session attachments, scoped access controls,
personal-workspace support, and automatic title generation.
- Added self-hosted license compatibility, license portal access, and
external license-key configuration.
- Added reservation-based storage uploads and workspace storage
reconciliation.
- Added permissions for previews, history, analytics, moderation, and
workspace storage.

- **Changes**
- Removed the admin queue dashboard and queue-based background
processing.
- Updated blob, comment-attachment, payment, and calendar
synchronization workflows.
- Improved redirect validation, preview indexing, and synchronization
error reporting.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-08 23:21:00 +08:00
DarkSky b6de0ad51b feat(ios): improve share preview (#15538)
#### PR Dependency Tree

* **PR #15538** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added rich link previews to mobile and iOS sharing, including images,
metadata, transcripts, and selected text.
* Share imports can now create structured content blocks, embeds,
bookmarks, and transcript callouts.
* Added workspace-aware preview handling for cloud, self-hosted, and
signed-out modes.
* **Accessibility**
* Improved collapse/expand controls with semantic buttons and ARIA
relationships.
* **Bug Fixes**
  * Enhanced URL and error sanitization in server logs.
* Improved link-preview CORS support, validation, and request handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-08-28 03:32:26 +08:00
keepClamDownandDarkSky 329839e467 feat(ios): add share to support (#15340)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
  * Added iOS sharing for URLs, text, web pages, and images.
* Shared content can be reviewed, titled, and saved to an AFFiNE
workspace.
  * Choose destinations including workspaces, tags, and collections.
* Added previews, attachment handling, import status, retry support, and
success/error feedback.
* Pending shares are processed when AFFiNE opens or returns to the
foreground.
* **Bug Fixes**
* Improved workspace profile handling across different workspace types.
* Onboarding completion is now recorded immediately after successful
sign-in verification.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
2026-08-27 19:09:51 +08:00
DarkSky ca056ae7b9 feat(ios): cleanup ui (#15535) 2026-08-27 17:53:36 +08:00
keepClamDownandDarkSky cd6593c659 fix(ios): ios local access limit for self-hosted workspace (#15338)
## Summary
- Route iOS nbstore worker token reads through the main-thread
MessagePort and skip Capacitor Auth on `/socket.io` polling so self-host
WebSocket/XHR sync no longer hangs on Connect timeout.
- Harden workspace `flavour:id` routing, DocSyncPeer abort/status
handling, and `resetSync` so local selfhost edits push and Mac browsers
can receive them.
- Soften root-doc readiness waits and session-exchange throttling to
keep mobile selfhost sign-in/sync stable under retries.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

* **New Features**
* Improved workspace switching across local and remote environments,
preserving workspace type and server context.
  * Added support for page navigation with query parameters.
* Added iOS local-network permission messaging for self-hosted
workspaces.
* **Bug Fixes**
* Improved document synchronization, reset handling, prioritized
document refreshes, and retry behavior.
* Prevented authentication headers and refresh attempts for socket
connection requests.
* Improved workspace reopening and routing when multiple workspace types
share an ID.
  * Fixed handling of unlimited data query limits.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-08-24 09:33:58 +08:00
keepClamDownandDarkSky 73e2d10973 feat(ios): polish onboarding and native sign-in flow (#15217)
## Summary
- Reworks the iOS onboarding, native sign-in, and paywall flow so
first-install and cold-start entry stay native, adaptive, and aligned
with the current login/subscription gates.
- Removes onboarding swipe paging, refines onboarding/paywall layout
behavior, and keeps AI/paywall entry behavior consistent for logged-in
and subscribed users.
- Adds the new mobile all-docs empty states with localized copy and
dialog entry points, and closes the remaining review follow-ups by
removing the onboarding plan artifact and dropping the iOS AI
subscription bypass.

## Test plan
- Built the iOS app for simulator with `xcodebuild -workspace
App.xcworkspace -scheme App -configuration Debug -sdk iphonesimulator
-destination 'generic/platform=iOS Simulator' ARCHS=arm64
ONLY_ACTIVE_ARCH=YES CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO
build` during the native onboarding/sign-in flow work.
- Let the repo pre-commit hooks run on the latest follow-up commit
(`prettier` + `eslint --fix`).
- Checked diagnostics for the edited TS/TSX files after the review
follow-up changes.
- Manually iterated on onboarding/native sign-in/paywall UI states in
simulator during implementation.

---------

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-08-21 08:12:27 +08:00
DarkSky c57004ea2c refactor(server): indexer & worker & sync perf (#15504) 2026-08-21 08:11:37 +08:00
keepClamDownandDarkSky d6fd3174b2 feat(ios): refresh mobile settings layout (#15234)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Redesigned mobile Settings with localized sections, promotional
content, support actions, subscription access, and improved account
controls.
- Added sign-in prompts for signed-out users and clearer device-session
handling.
- Added a guided account-deletion flow with email confirmation and
completion messaging.
- Added App Store, download, team invitation, rating, and external
support links.
- **Bug Fixes**
- Improved interactive row behavior, keyboard accessibility, navigation,
and subscription availability.
  - Prevented account deletion for unresolved team owners.
- **Style**
- Refreshed mobile settings, subscription, profile, and promotional card
layouts.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-08-19 10:30:37 +08:00
DarkSky 6375f5ab8c chore: bump typescript 7 (#15465) 2026-08-11 03:09:54 +08:00
DarkSky 0c7b20dc18 chore: migrate oxlint & oxfmt (#15464)
#### PR Dependency Tree


* **PR #15464** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Replaced the project’s formatting and linting workflow with Oxfmt and
Oxlint.
* Added shared formatting and linting configuration, editor integration,
and updated automated checks.
* Updated generated files, scripts, and lint guidance to use the new
tooling.

* **Style**
* Reformatted templates, source code, examples, and configuration files
for consistent readability.
  * No user-facing functionality or rendering behavior changed.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-08-10 23:51:28 +08:00
DarkSky 386e92acb6 feat: update schema & bump deps (#15455)
#### PR Dependency Tree


* **PR #15455** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Added workspace artifact management, artifact details, and removal
support.
- Added workspace BYOK configuration insights, model capabilities,
connection checks, and validation status.
  - Added profile reordering and credential revision safeguards.
- **Improvements**
- Improved Copilot session creation with server-provided history and
metadata.
- Streamlined context handling with document scope selections and
selected-source synchronization.
- **Bug Fixes**
- Improved compatibility and reliability across web, Android, and iOS
Copilot workflows.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-08-10 18:16:13 +08:00
DarkSky 965f4590ff feat(server): converge legacy compatibility (#15426)
#### PR Dependency Tree


* **PR #15426** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added workspace BYOK profiles with provider/model catalogs, capability
validation, connection probing, credential rotation, reordering, and
secure local leases.
* Added Copilot route options, selectable targets, managed tiers,
explicit profile/model overrides, and improved streaming with tool
callbacks and abort support.
* Added Copilot availability controls to prevent access when the feature
is disabled.
* **Changes**
* Simplified Copilot configuration and removed legacy provider-specific
settings.
* Removed obsolete model, token-cost, transcript strategy, and provider
metadata fields from public responses.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-08-05 00:40:13 +08:00
renovate[bot] 3824018d2d chore: bump up RevenueCat/purchases-ios-spm version to from: "5.83.0" (#15393)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[RevenueCat/purchases-ios-spm](https://redirect.github.com/RevenueCat/purchases-ios-spm)
| minor | `from: "5.82.0"` → `from: "5.83.0"` |

---

### Release Notes

<details>
<summary>RevenueCat/purchases-ios-spm
(RevenueCat/purchases-ios-spm)</summary>

###
[`v5.83.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.82.0...5.83.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.82.0...5.83.0)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0NC4zLjIiLCJ1cGRhdGVkSW5WZXIiOiI0NC4zLjIiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-31 19:05:31 +08:00
renovate[bot] ea7df7f428 chore: bump up RevenueCat/purchases-ios-spm version to from: "5.82.0" (#15388)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[RevenueCat/purchases-ios-spm](https://redirect.github.com/RevenueCat/purchases-ios-spm)
| minor | `from: "5.76.0"` → `from: "5.82.0"` |

---

### Release Notes

<details>
<summary>RevenueCat/purchases-ios-spm
(RevenueCat/purchases-ios-spm)</summary>

###
[`v5.82.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.81.3...5.82.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.81.3...5.82.0)

###
[`v5.81.3`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.81.2...5.81.3)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.81.2...5.81.3)

###
[`v5.81.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.81.1...5.81.2)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.81.1...5.81.2)

###
[`v5.81.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.81.0...5.81.1)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.81.0...5.81.1)

###
[`v5.81.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.80.3...5.81.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.80.3...5.81.0)

###
[`v5.80.3`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.80.2...5.80.3)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.80.2...5.80.3)

###
[`v5.80.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.80.1...5.80.2)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.80.1...5.80.2)

###
[`v5.80.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.80.0...5.80.1)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.80.0...5.80.1)

###
[`v5.80.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.79.0...5.80.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.79.0...5.80.0)

###
[`v5.79.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.78.0...5.79.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.78.0...5.79.0)

###
[`v5.78.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.77.0...5.78.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.77.0...5.78.0)

###
[`v5.77.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.76.0...5.77.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.76.0...5.77.0)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0NC4zLjIiLCJ1cGRhdGVkSW5WZXIiOiI0NC4zLjIiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-31 17:09:12 +08:00
renovate[bot] 4f3ace6e7f chore: bump up apollographql/apollo-ios version to v1.25.7 (#13687)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[apollographql/apollo-ios](https://redirect.github.com/apollographql/apollo-ios)
| patch | `from: "1.25.4"` → `from: "1.25.7"` |
|
[apollographql/apollo-ios](https://redirect.github.com/apollographql/apollo-ios)
| patch | `1.25.4` → `1.25.7` |

---

### Release Notes

<details>
<summary>apollographql/apollo-ios (apollographql/apollo-ios)</summary>

###
[`v1.25.7`](https://redirect.github.com/apollographql/apollo-ios/releases/tag/1.25.7)

[Compare
Source](https://redirect.github.com/apollographql/apollo-ios/compare/1.25.6...1.25.7)

##### Improved

- **Expose `DatabaseRow` stored properties for `SQLiteDatabase`
extensibility
([#&#8203;1056](https://redirect.github.com/apollographql/apollo-ios-dev/pull/1056)):**
`DatabaseRow`'s stored properties (`cacheKey` and `storedInfo`) are now
`public`, complementing the public initializer added in
[#&#8203;664](https://redirect.github.com/apollographql/apollo-ios-dev/pull/664).
This lets adopters build wrapper or decorator implementations of the
public `SQLiteDatabase` protocol — for encryption, compression, logging,
metrics, and similar use cases — without duplicating Apollo's SQLite
implementation. This change only expands the public API surface and
introduces no behavioral changes. *Thank you to
[@&#8203;ErShubhShankar](https://redirect.github.com/ErShubhShankar) for
the contribution.*

###
[`v1.25.6`](https://redirect.github.com/apollographql/apollo-ios/releases/tag/1.25.6)

[Compare
Source](https://redirect.github.com/apollographql/apollo-ios/compare/1.25.5...1.25.6)

##### Fixed

- **Fix `\r\n` in GraphQL descriptions generating invalid Swift comments
([#&#8203;965](https://redirect.github.com/apollographql/apollo-ios-dev/pull/965)):**
GraphQL field descriptions containing `\r\n` (Windows CRLF) line endings
caused codegen to emit invalid Swift — only the first line received the
`///` doc comment prefix and subsequent lines were emitted as
uncommented text, breaking compilation. Backport of
[#&#8203;961](https://redirect.github.com/apollographql/apollo-ios-dev/pull/961).
Fixes
[#&#8203;3553](https://redirect.github.com/apollographql/apollo-ios/issues/3553).
*Thank you to
[@&#8203;iPhoneNoobDeveloper](https://redirect.github.com/iPhoneNoobDeveloper)
for the contribution.*

###
[`v1.25.5`](https://redirect.github.com/apollographql/apollo-ios/releases/tag/1.25.5)

[Compare
Source](https://redirect.github.com/apollographql/apollo-ios/compare/1.25.4...1.25.5)

##### Fixed

- **Fixed concurrency crash in `compileGraphQLResult` on Swift 6.3/macOS
26
([#&#8203;929](https://redirect.github.com/apollographql/apollo-ios-dev/pull/929)):**
Serialized `async let` calls in `compileGraphQLResult` to work around a
[Swift concurrency runtime
crash](https://redirect.github.com/swiftlang/swift/pull/87665) triggered
when code generation is used in an `AsyncParsableCommand`. See PR
[#&#8203;942](https://redirect.github.com/apollographql/apollo-ios-dev/pull/942).
*Thank you to [@&#8203;m4p](https://redirect.github.com/m4p) for the
contribution.*

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQzLjI3Mi40IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-31 10:58:02 +08:00
DarkSky 1d36e2e4b2 feat(core): improve mobile perf (#15317)
#### PR Dependency Tree


* **PR #15317** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Virtualized mobile navigation with shell navigation and interactive
swipe menus; coordinated mobile back handling with interactive
phases/state restoration.
* Added shared auth request proxy and message-port based token handling
across mobile and worker flows.
* **Bug Fixes**
  * Hydrated remote worker error stacks for calls and observable errors.
* Improved SQLite FTS/indexer and nbstore optional text handling;
refined docs-search ref parsing and notification loading/retry.
* **Refactor / UX**
* Modal focus-preservation and pointer behavior updates; improved mobile
menu controls and back gesture plugins.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-07-23 00:23:21 +08:00
DarkSky d24c17f300 feat(core): improve auth handling (#15271)
fix #15270
fix #15260
fix #15257


#### PR Dependency Tree


* **PR #15271** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
2026-07-18 06:27:01 +08:00
DarkSky 00d4ab10a1 chore: bump version 2026-07-14 19:43:42 +08:00
DarkSky 0c16d7110d feat: improve native preview (#15223)
#### PR Dependency Tree


* **PR #15223** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Improvements**
* Updated Mermaid and Typst preview rendering in native/mobile apps to
use a shared preview implementation.
* Improved production Release builds with additional Rust release tuning
and enhanced iOS Release stripping/symbol settings.
* Enabled stronger release output optimization for the native package
build.
* **Bug Fixes**
* Strengthened handling of unsupported self-hosted server versions
during login preflight.
* Refreshed unsupported-version messaging with localized text and a
direct upgrade link.
* **Tests**
* Added coverage for login preflight behavior when the server version is
unsupported.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-07-13 03:23:08 +08:00
DarkSky abf37d3dfa feat(core): improve login flow (#15219)
#### PR Dependency Tree


* **PR #15219** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added secure, automatic auth session token refresh and request replay
for expired-token responses across Android, iOS, and Electron.
* Updated sign-in flows to manage sessions without returning tokens to
the app layer.
* Added “Devices” management UI with sign out per device and sign out
all.
  * Enabled support for both Hashcash and Turnstile captcha providers.
* **Bug Fixes**
* Improved refresh de-duplication, inflight cancellation/clear behavior,
and recovery from corrupted/invalid sessions.
* **Tests**
* Expanded auth-session, refresh/revoke, and replay coverage (Electron
unit tests, Android instrumentation tests, iOS auth date parser tests).
* **Chores**
* Removed CAPTCHA site key from build-time configuration and adjusted CI
test execution.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-07-12 18:11:02 +08:00
keepClamDown a868f54eeb fix(ios): stabilize keyboard toolbar, image picker, and scrolling (#15182)
## Summary
- keep the editor active when iOS keyboard toolbar interactions move
focus into range-sync excluded widgets
- use the native iOS image picker/source sheet and sync native
presentation with the app theme
- pin `ListViewKit` to `1.1.6` so the iOS workspace resolves with Xcode
16.3
- restore vertical scrolling in the iOS `WKWebView` by removing the
global `contentOffset` reset while preserving zoom prevention

## Test plan
- [x] `yarn vitest --run --config \"vitest.config.ts\"
--browser.enabled=false \"src/__tests__/inline/active.unit.spec.ts\"`
- [x] `LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 xcodebuild
-resolvePackageDependencies -workspace
\"packages/frontend/apps/ios/App/App.xcworkspace\" -scheme \"App\"`
- [x] `xcodebuild -workspace \"App.xcworkspace\" -scheme \"App\"
-destination \"generic/platform=iOS Simulator\" build
CODE_SIGNING_ALLOWED=NO ONLY_ACTIVE_ARCH=YES ARCHS=arm64`
- [x] Xcode build validation for the updated PR branch
2026-07-09 11:11:55 +08:00
keepClamDown cebd7296b1 fix(ios): restore simulator Rust build outputs (#15190)
- sync the iOS ATT pod lockfile with the Capacitor plugin version
already referenced by the repo
- make `xc-universal-binary.sh` produce a real universal simulator Rust
archive for `arm64` and `x86_64`
- run `uniffi-bindgen` against a single-slice archive before assembling
the fat simulator output

- [x] `bash -n packages/frontend/apps/ios/App/xc-universal-binary.sh`
- [x] `xcodebuild -workspace \"App.xcworkspace\" -scheme App
-destination 'generic/platform=iOS Simulator' -derivedDataPath
\".derivedData-rebuild\" build`

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

* **Bug Fixes**
* Improved the iOS build process so universal binaries are generated
from consistent output locations, reducing build path issues.
* Made device and simulator library handling more reliable during
packaging and code generation, helping produce the expected app binaries
more consistently.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-07-03 18:11:08 +08:00
DarkSky 57c5bac456 fix: ci 2026-06-25 02:43:41 +08:00
DarkSky 11db127772 chore: bump deps (#15151) 2026-06-24 23:55:19 +08:00
renovate[bot] fa488aee64 chore: bump up apple/swift-collections version to from: "1.6.0" (#15136)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[apple/swift-collections](https://redirect.github.com/apple/swift-collections)
| minor | `from: "1.5.1"` → `from: "1.6.0"` |

---

### Release Notes

<details>
<summary>apple/swift-collections (apple/swift-collections)</summary>

###
[`v1.6.0`](https://redirect.github.com/apple/swift-collections/releases/tag/1.6.0):
Swift Collections 1.6.0

[Compare
Source](https://redirect.github.com/apple/swift-collections/compare/1.5.1...1.6.0)

This is a feature release adding several useful operations to ordered
collections, as well as shipping bug fixes that landed since 1.5.1.

The list of supported Swift toolchain versions remains 6.0, 6.1, 6.2,
and 6.3 for now. Note that we intend to retire support for Swift 6.0 and
6.1 in a subsequent release later this year.

#### New `OrderedCollections` operations

We now have several new operations that move existing elements in an
`OrderedSet` or `OrderedDictionary` to a new position within the same
collection:

- `OrderedSet.moveSubrange(_:to:)` and
`OrderedDictionary.moveSubrange(_:to:)` move items at a range of indices
to just before the item at the specified destination index.
- `OrderedSet.move(members:to:)` and `OrderedDictionary.move(keys:to:)`
relocate elements identified by value (or key), preserving the order in
which they're listed.
- `OrderedSet.move(indices:to:)` and
`OrderedDictionary.move(indices:to:)` relocate items at an arbitrary
sequence of indices, preserving their listed order.

#### Bugfixes

- `SortedCollections` \[with the `UnstableSortedCollections` trait]: The
default capacity of B-tree nodes is no longer clamped at 16, improving
performance.
([#&#8203;257](https://redirect.github.com/apple/swift-collections/issues/257))
- `DequeModule`: The ownership-aware `RigidDeque` and `UniqueDeque`
types no longer hand out invalid spans to clients
([#&#8203;659](https://redirect.github.com/apple/swift-collections/issues/659))
- `ContainersPreview` \[with the `UnstableContainersPreview` trait]: The
deprecated `Borrow` type alias is now declared with correct
availability.
([#&#8203;655](https://redirect.github.com/apple/swift-collections/issues/655))

#### What's Changed

- Add missing availability to Borrow by
[@&#8203;guoye-zhang](https://redirect.github.com/guoye-zhang) in
[#&#8203;655](https://redirect.github.com/apple/swift-collections/pull/655)
- \[InternalCollectionsUtilities] Fix \_trim returning the wrong buffer
region by
[@&#8203;adityasingh2400](https://redirect.github.com/adityasingh2400)
in
[#&#8203;659](https://redirect.github.com/apple/swift-collections/pull/659)
- \[SortedCollections] Fix \_BTree default node capacity capping at 16
by
[@&#8203;adityasingh2400](https://redirect.github.com/adityasingh2400)
in
[#&#8203;661](https://redirect.github.com/apple/swift-collections/pull/661)
- Small benchmarking improvements by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;664](https://redirect.github.com/apple/swift-collections/pull/664)
- \[OrderedCollections] Add move operations by
[@&#8203;dnadoba](https://redirect.github.com/dnadoba) in
[#&#8203;660](https://redirect.github.com/apple/swift-collections/pull/660)
- 1.6.0 prerelease cleanups by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;665](https://redirect.github.com/apple/swift-collections/pull/665)

#### New Contributors

- [@&#8203;guoye-zhang](https://redirect.github.com/guoye-zhang) made
their first contribution in
[#&#8203;655](https://redirect.github.com/apple/swift-collections/pull/655)
- [@&#8203;adityasingh2400](https://redirect.github.com/adityasingh2400)
made their first contribution in
[#&#8203;659](https://redirect.github.com/apple/swift-collections/pull/659)

**Full Changelog**:
<https://github.com/apple/swift-collections/compare/1.5.1...1.6.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzEuMSIsInVwZGF0ZWRJblZlciI6IjQzLjIzMS4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-22 11:49:09 +08:00
renovate[bot]andDarkSky 24e07f73bb chore: bump up capacitor-plugin-app-tracking-transparency version to v3 (#15079)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[capacitor-plugin-app-tracking-transparency](https://redirect.github.com/mahnuh/capacitor-plugin-app-tracking-transparency)
| [`^2.0.5` →
`^3.0.0`](https://renovatebot.com/diffs/npm/capacitor-plugin-app-tracking-transparency/2.0.5/3.0.0)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/capacitor-plugin-app-tracking-transparency/3.0.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/capacitor-plugin-app-tracking-transparency/2.0.5/3.0.0?slim=true)
|

---

### Release Notes

<details>
<summary>mahnuh/capacitor-plugin-app-tracking-transparency
(capacitor-plugin-app-tracking-transparency)</summary>

###
[`v3.0.0`](https://redirect.github.com/mahnuh/capacitor-plugin-app-tracking-transparency/releases/tag/v3.0.0)

[Compare
Source](https://redirect.github.com/mahnuh/capacitor-plugin-app-tracking-transparency/compare/v2.0.5...v3.0.0)

- Add support for Swift Package Manager
([#&#8203;29](https://redirect.github.com/mahnuh/capacitor-plugin-app-tracking-transparency/issues/29))
[`40051d6`](https://redirect.github.com/mahnuh/capacitor-plugin-app-tracking-transparency/commit/40051d6)
- Update README.md
[`d8c4d27`](https://redirect.github.com/mahnuh/capacitor-plugin-app-tracking-transparency/commit/d8c4d27)

***

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4yMDkuNCIsInVwZGF0ZWRJblZlciI6IjQzLjIwOS40IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
2026-06-18 13:00:42 +08:00
DarkSky d500e472f0 chore: bump deps (#15124) 2026-06-18 12:55:18 +08:00
keepClamDownandDarkSky a77d89bb1a fix(editor): edgeless can't slider with finger (#15091)
fix bug edgeless can't slider with finger 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added mobile immersive edgeless mode with dynamic chrome auto-hide and
tap-gesture controls.
  * Added a mobile zoom ruler UI for edgeless.
* **Bug Fixes**
* Improved iOS rendering/zoom by applying low-zoom survival behavior,
gesture-aware refresh deferral, and effective-DPR canvas scaling.
* Fixed iOS webview zoom/bounce and process-termination reload behavior.
  * Improved placeholder styling with theme-aware colors.
* **Chores**
  * Updated local ignore rules and iOS app build/version configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-06-16 21:19:31 +08:00
renovate[bot] edc87e38df chore: bump up RevenueCat/purchases-ios-spm version to from: "5.76.0" (#15077)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[RevenueCat/purchases-ios-spm](https://redirect.github.com/RevenueCat/purchases-ios-spm)
| minor | `from: "5.75.0"` → `from: "5.76.0"` |

---

### Release Notes

<details>
<summary>RevenueCat/purchases-ios-spm
(RevenueCat/purchases-ios-spm)</summary>

###
[`v5.76.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.75.0...5.76.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.75.0...5.76.0)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4yMDkuNCIsInVwZGF0ZWRJblZlciI6IjQzLjIwOS40IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-04 16:39:11 +08:00
DarkSky 81760fd45c chore: cleanup legacy logic (#15072) 2026-06-03 16:20:15 +08:00
DarkSky ce9841df9d feat(server): passkey pre-refactor (#15060)
#### PR Dependency Tree


* **PR #15060** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* OpenApp native sign-in and native session exchange (JWT) for mobile &
desktop.
  * Centralized short-lived auth challenge store for one-time tokens.
* Encrypted per-endpoint token storage and native token handlers
(Android, iOS, Electron).

* **Improvements**
* Richer auth-method reporting (password, magic link, OAuth, passkey)
and improved sign-in flows.
* Hardened magic-link, OAuth, and session issuance; JWT-backed sessions
and websocket JWT support.
* UX tweaks: form-based password submit, OTP autocomplete, adjusted
captcha flow.

* **Bug Fixes**
  * Expanded tests and auth-state resets to avoid cross-test leakage.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-06-01 17:11:15 +08:00
renovate[bot] 5b9d51b41b chore: bump up RevenueCat/purchases-ios-spm version to from: "5.75.0" (#15048)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[RevenueCat/purchases-ios-spm](https://redirect.github.com/RevenueCat/purchases-ios-spm)
| minor | `from: "5.74.0"` → `from: "5.75.0"` |

---

### Release Notes

<details>
<summary>RevenueCat/purchases-ios-spm
(RevenueCat/purchases-ios-spm)</summary>

###
[`v5.75.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.74.0...5.75.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.74.0...5.75.0)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4yMDIuMSIsInVwZGF0ZWRJblZlciI6IjQzLjIwMi4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-31 04:07:47 +08:00
renovate[bot] 4f14e8840c chore: bump up RevenueCat/purchases-ios-spm version to from: "5.74.0" (#15024)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[RevenueCat/purchases-ios-spm](https://redirect.github.com/RevenueCat/purchases-ios-spm)
| minor | `from: "5.73.0"` → `from: "5.74.0"` |

---

### Release Notes

<details>
<summary>RevenueCat/purchases-ios-spm
(RevenueCat/purchases-ios-spm)</summary>

###
[`v5.74.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.73.1...5.74.0)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.73.1...5.74.0)

###
[`v5.73.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5731)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.73.0...5.73.1)

#### 5.73.1

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xOTQuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE5NC4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-24 19:28:25 +08:00
renovate[bot] 41145961f9 chore: bump up RevenueCat/purchases-ios-spm version to from: "5.73.0" (#15008)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[RevenueCat/purchases-ios-spm](https://redirect.github.com/RevenueCat/purchases-ios-spm)
| minor | `from: "5.66.0"` → `from: "5.73.0"` |

---

### Release Notes

<details>
<summary>RevenueCat/purchases-ios-spm
(RevenueCat/purchases-ios-spm)</summary>

###
[`v5.73.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5730)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.72.0...5.73.0)

#### 5.73.0

###
[`v5.72.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5720)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.71.0...5.72.0)

#### 5.72.0

###
[`v5.71.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5710)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.70.0...5.71.0)

#### 5.71.0

###
[`v5.70.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5700)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.69.0...5.70.0)

#### 5.70.0

###
[`v5.69.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5690)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.68.0...5.69.0)

#### 5.69.0

###
[`v5.68.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5680)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.67.2...5.68.0)

#### 5.68.0

###
[`v5.67.2`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5672)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.67.1...5.67.2)

#### 5.67.2

###
[`v5.67.1`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5671)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.67.0...5.67.1)

#### 5.67.1

###
[`v5.67.0`](https://redirect.github.com/RevenueCat/purchases-ios-spm/blob/HEAD/CHANGELOG.md#5670)

[Compare
Source](https://redirect.github.com/RevenueCat/purchases-ios-spm/compare/5.66.0...5.67.0)

#### 5.67.0

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xODUuMSIsInVwZGF0ZWRJblZlciI6IjQzLjE4NS4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-20 18:41:32 +08:00
DarkSky 9f33d37add feat(core): integrate realtime features (#15003) 2026-05-20 05:48:03 +08:00
renovate[bot] 3e42bbf4fa chore: bump up apple/swift-collections version to from: "1.5.1" (#15001)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[apple/swift-collections](https://redirect.github.com/apple/swift-collections)
| patch | `from: "1.5.0"` → `from: "1.5.1"` |

---

### Release Notes

<details>
<summary>apple/swift-collections (apple/swift-collections)</summary>

###
[`v1.5.1`](https://redirect.github.com/apple/swift-collections/releases/tag/1.5.1):
Swift Collections 1.5.1

[Compare
Source](https://redirect.github.com/apple/swift-collections/compare/1.5.0...1.5.1)

This is a patch release resolving three issues uncovered since 1.5.0 was
tagged, including a source breaking regression introduced in 1.4.0,
affecting clients importing the `Collections` module.

#### What's Changed

- Import error from `HashTreeCollections`, reported by
[@&#8203;vanvoorden](https://redirect.github.com/vanvoorden) in
[#&#8203;653](https://redirect.github.com/apple/swift-collections/issues/653)
- Resolve source break in the Collections module by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;654](https://redirect.github.com/apple/swift-collections/pull/654)
- Linker error around RigidArray when using in Embedded Swift for
WebAssembly, reported by
[@&#8203;sliemeobn](https://redirect.github.com/sliemeobn) in
[#&#8203;648](https://redirect.github.com/apple/swift-collections/issues/648)
- \[BasicContainers] Don’t define LLDB formatter symbol on Wasm by
[@&#8203;lorentey](https://redirect.github.com/lorentey) in
[#&#8203;650](https://redirect.github.com/apple/swift-collections/pull/650)
- Guard `UniqueBox.borrow` correctly by
[@&#8203;FranzBusch](https://redirect.github.com/FranzBusch) in
[#&#8203;649](https://redirect.github.com/apple/swift-collections/pull/649)

**Full Changelog**:
<https://github.com/apple/swift-collections/compare/1.5.0...1.5.1>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xODUuMSIsInVwZGF0ZWRJblZlciI6IjQzLjE4NS4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-19 23:58:03 +08:00