Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
swiftlang
/
swift-testing
Public
Notifications
You must be signed in to change notification settings
Fork
160
Star
2.2k
Code
Issues
70
Pull requests
56
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Add
Attachment.init(encoding:as:...)
- #1770
#1770
Open
grynspan
wants to merge 19 commits into
main
swiftlang/swift-testing:main
from
jgrynspan/attachment-init-encoding
swiftlang/swift-testing:jgrynspan/attachment-init-encoding
Copy head branch name to clipboard
Conversation
Commits
19
(19)
Checks
Files changed
Open
Add
Attachment.init(encoding:as:...)
#1770
grynspan
wants to merge 19 commits into
main
swiftlang/swift-testing:main
from
jgrynspan/attachment-init-encoding
swiftlang/swift-testing:jgrynspan/attachment-init-encoding
Copy head branch name to clipboard
Commits
Commits on Jul 9, 2026
Add `Attachment.init(encoding:as:...)`
grynspan
committed
86e3db9
View commit details
Copy full SHA for 86e3db9
Browse repository at this point
Commits on Jul 10, 2026
Merge branch 'main' into jgrynspan/attachment-init-encoding
grynspan
authored
e11df0f
View commit details
Copy full SHA for e11df0f
Browse repository at this point
Merge branch 'main' into jgrynspan/attachment-init-encoding
grynspan
authored
eacc328
View commit details
Copy full SHA for eacc328
Browse repository at this point
Commits on Jul 15, 2026
Merge branch 'main' into jgrynspan/attachment-init-encoding
grynspan
authored
23e9b7b
View commit details
Copy full SHA for 23e9b7b
Browse repository at this point
Commits on Aug 10, 2026
Merge branch 'main' into jgrynspan/attachment-init-encoding
grynspan
committed
d79f6b9
View commit details
Copy full SHA for d79f6b9
Browse repository at this point
Fix some sendability issues
grynspan
committed
2161fab
View commit details
Copy full SHA for 2161fab
Browse repository at this point
Fix JSONEncoder/PlistEncoder sendability constraint
grynspan
committed
38d840b
View commit details
Copy full SHA for 38d840b
Browse repository at this point
Correctly handle isolated conformance to Codable
grynspan
committed
92def27
View commit details
Copy full SHA for 92def27
Browse repository at this point
D.R.Y.
grynspan
committed
2c51a27
View commit details
Copy full SHA for 2c51a27
Browse repository at this point
Commits on Aug 11, 2026
Merge branch 'main' into jgrynspan/attachment-init-encoding
grynspan
authored
68082ee
View commit details
Copy full SHA for 68082ee
Browse repository at this point
Commits on Aug 14, 2026
Merge branch 'main' into jgrynspan/attachment-init-encoding
grynspan
authored
32e5343
View commit details
Copy full SHA for 32e5343
Browse repository at this point
Update copyright years
grynspan
committed
e38b0d6
View commit details
Copy full SHA for e38b0d6
Browse repository at this point
This doesn't need to be a closure
grynspan
committed
e88b024
View commit details
Copy full SHA for e88b024
Browse repository at this point
Add a bit more test coverage, ensure .xml is preserved
grynspan
committed
f019ab6
View commit details
Copy full SHA for f019ab6
Browse repository at this point
Commits on Aug 17, 2026
Merge branch 'main' into jgrynspan/attachment-init-encoding
grynspan
committed
ac65dfd
View commit details
Copy full SHA for ac65dfd
Browse repository at this point
Prepare for merging and exposing as API
grynspan
committed
702e01c
View commit details
Copy full SHA for 702e01c
Browse repository at this point
Commits on Aug 18, 2026
Merge branch 'main' into jgrynspan/attachment-init-encoding
grynspan
committed
9a8f76e
View commit details
Copy full SHA for 9a8f76e
Browse repository at this point
Split up the wrapper type to separately handle Encodable and NSSecureCoding via two wrappers, which solves some sendability issues
grynspan
committed
559a3d6
View commit details
Copy full SHA for 559a3d6
Browse repository at this point
Drive-by typo fixes
grynspan
committed
475fd20
View commit details
Copy full SHA for 475fd20
Browse repository at this point
You can’t perform that action at this time.