Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 5 additions & 16 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import PackageDescription
let package = Package(
name: "Post",
platforms: [
.macOS("14.0")
// SwiftMail's pinned swift-nio-imap declares macOS 15 (see below).
.macOS("15.0")
],
products: [
.library(
Expand Down Expand Up @@ -57,7 +58,15 @@ let package = Package(
// 1.15.0 adds searchCount, which countMessages uses: it asks for COUNT, MIN
// and MAX without the UID list, whose reply line for a large mailbox
// exceeds swift-nio-imap's 8 KiB line limit.
.package(url: "https://github.com/Cocoanetics/SwiftMail", .upToNextMajor(from: "1.15.0")),
// Pinned by revision to SwiftMail 1.16.0 (#253), which removes that 8 KiB
// limit: it pins swift-nio-imap to main for apple/swift-nio-imap#849 and
// hands IMAPClientHandler its 1 MB responseBufferLimit. Before it, the
// BODYSTRUCTURE of a mail with 74 attachments was one reply line too long,
// so every list, search and fetch that touched the mail failed with
// PayloadTooLargeError. A revision-pinned dependency can't be resolved by
// version, so return to .upToNextMajor once swift-nio-imap tags a release
// with #849 and SwiftMail moves back to a version requirement.
.package(url: "https://github.com/Cocoanetics/SwiftMail", revision: "c3b7bc3a6b77509655668651c744934470fa2d86"),
// 2.2.0 replaced the revision-pinned ZIPFoundation with tagged
// swift-archive, so SwiftText is a normal version requirement again.
// It declares swift-tools-version 6.3, which sets Post's toolchain
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Combine IDLE with handler scripts to build a "mail room" that automatically sort
## Getting Started

### Requirements
- macOS 14.0+
- macOS 15.0+
- Swift 6.3+ (Xcode 26.4+)

### Build & Run
Expand Down
Loading