Releases: coenttb/swift-github-types
Releases · coenttb/swift-github-types
swift-github-types v0.1.0
🎉 Initial Release
This is the first public release of swift-github-types, providing comprehensive type definitions for GitHub's REST API.
✨ Features
- 📊 Traffic Analytics Types: Views, clones, referrers, and popular paths
- ⭐ Stargazers Types: Star counts and stargazer information
- 📦 Repository Types: Repository metadata and management structures
- 🔄 Pagination Support: Built-in pagination for API responses
- 🎯 Type Safety: Strongly-typed, Codable-compliant data models
- 🔌 Dependency Injection: Client protocols using swift-dependencies
📦 Installation
Add to your Package.swift:
dependencies: [
.package(url: "https://github.com/coenttb/swift-github-types", from: "0.1.0")
]🏗️ Architecture
The package is organized into focused modules:
GitHubTypesShared: Common types and utilitiesGitHubTrafficTypes: Traffic analytics typesGitHubRepositoriesTypes: Repository-related typesGitHubStargazersTypes: Stargazer typesGitHubTypes: Umbrella module
📄 License
Licensed under Apache 2.0 for maximum compatibility and reusability in both open source and commercial projects.
🔗 Related Packages
- swift-github-live: Live implementations
- swift-github: High-level client
📚 Documentation
See the README for detailed usage examples and API documentation.
Full Changelog: https://github.com/coenttb/swift-github-types/commits/0.1.0