Skip to content

v3: new cross-platform API, fixes #9#20

Draft
boronine wants to merge 5 commits intomainfrom
wip-v3
Draft

v3: new cross-platform API, fixes #9#20
boronine wants to merge 5 commits intomainfrom
wip-v3

Conversation

@boronine
Copy link
Copy Markdown
Member

@boronine boronine commented Jun 14, 2025

@boronine boronine requested a review from Copilot June 14, 2025 13:04
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces version 3.0 with a new cross-platform API while removing legacy platform-specific and dependency configurations. Key changes include updates to the Swift Package Manager configuration (dropping explicit platform settings and CocoaPods support), a streamlined CI workflow using swift test on multiple OSes, and the removal of outdated playground and tooling files.

Reviewed Changes

Copilot reviewed 34 out of 37 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Package.swift Updated package configuration to expose the new cross-platform API and remove legacy platform restrictions.
LICENSE Updated copyright notice to reflect new contribution dates.
HSLuviOS.playground/* Removed outdated playground files and timeline configuration.
HSLuvSwift.xcworkspace / xcschemes Removed obsolete Xcode workspace settings and shared schemes.
HSLuvSwift.podspec Dropped CocoaPods support in favor of SPM exclusively.
CHANGELOG.md Added changelog documenting breaking changes and new API features.
.github/workflows/ci.yml Updated CI workflow to run swift tests across multiple OSes using a new matrix strategy.
.devcontainer/* Added support for a dev container via Docker and VSCode customizations.
Files not reviewed (3)
  • .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata: Language not supported
  • HSLuvSwift.xcodeproj/project.xcworkspace/contents.xcworkspacedata: Language not supported
  • HSLuvSwift.xcworkspace/contents.xcworkspacedata: Language not supported
Comments suppressed due to low confidence (2)

Package.swift:7

  • The removal of explicit platform targets and previous product configurations may confuse users. Consider updating the package documentation or comments to clearly explain the new cross-platform design and its implications.
        .library(name: "HSLuv", targets: ["HSLuv"])

.github/workflows/ci.yml:25

  • Replacing the xcodebuild command with 'swift test' may bypass platform-specific tests previously run with an iOS simulator. Ensure that the new test command covers all necessary test cases across the supported platforms.
        run: swift test

@boronine boronine linked an issue Jun 14, 2025 that may be closed by this pull request
@boronine boronine self-assigned this Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make more methods public

2 participants