Skip to content

Releases: qiyangdev/VercelAPI

v0.1 - Initial Release

28 Nov 02:30

Choose a tag to compare

VercelAPI v0.1 - Initial Release 🎉

This is the initial release of VercelAPI, a comprehensive Swift package for interacting with the Vercel REST API.

Features

Core Infrastructure

  • ✅ Modern async/await API built with Swift concurrency
  • ✅ Comprehensive error handling with typed errors
  • ✅ Automatic rate limiting with retry logic
  • ✅ Type-safe Codable models for all API responses
  • ✅ Platform support: iOS 15+, macOS 12+, tvOS 15+, watchOS 8+

API Coverage

Deployments

  • List deployments with pagination support
  • Get deployment details
  • Cancel deployments
  • Delete deployments
  • AsyncSequence support for iterating through all deployments

Projects

  • List, create, update, and delete projects
  • Get project details
  • Manage environment variables
  • Support for various frameworks (Next.js, Vite, etc.)

Domains

  • List and manage domains
  • Add and remove domains
  • Verify domain ownership
  • Manage DNS records (create, update, delete)

Teams

  • List teams and get team details
  • Manage team members
  • Invite and remove members
  • Update member roles

Developer Experience

  • Automatic Pagination: AsyncSequence support for seamless iteration
  • Rate Limiting: Automatic handling with no manual intervention needed
  • Error Handling: Comprehensive error types with localized descriptions
  • Type Safety: Full Codable conformance for all models

Installation

Add to your Package.swift:

dependencies: [
    .package(url: "https://github.com/wangqiyangX/VercelAPI.git", from: "0.1.0")
]

Requirements

  • iOS 15.0+ / macOS 12.0+ / tvOS 15.0+ / watchOS 8.0+
  • Swift 5.9+
  • Xcode 15.0+

Documentation

License

MIT License - see LICENSE for details