Skip to content

v0.0.3 - Swift-like Naming Improvements

Choose a tag to compare

@noppefoxwolf noppefoxwolf released this 05 Jul 00:53
· 5 commits to main since this release
efe7aac

v0.0.3 - Swift-like Naming Improvements

This release improves the API to follow Swift naming conventions and makes the codebase more readable.

πŸ”„ API Changes

Renamed Components

  • FeedbackAssistantView β†’ FeedbackForm
  • FeedbackSubmissionProtocol β†’ FeedbackSubmitting

Renamed Methods

  • submitFeedback() β†’ submit()
  • addAttachment() β†’ attach()
  • removeAttachment() β†’ detach()
  • createTempFileForQuickLook() β†’ makeTempFile(for:)
  • captureScreenshot() β†’ makeScreenshotAttachment()
  • captureViewHierarchy() β†’ makeViewHierarchyAttachment()

Updated Parameters

  • submissionHandler β†’ submitter
  • initialIssue β†’ initialFeedback

πŸ“š Documentation

  • Completely updated README.md with current implementation
  • Improved API reference with better organization
  • Added comprehensive code examples

πŸ› οΈ Migration Guide

Before (v0.0.2)

FeedbackAssistantView(
    submissionHandler: handler,
    initialIssue: issue
)

After (v0.0.3)

FeedbackForm(
    submitter: submitter,
    initialFeedback: feedback
)

All existing functionality remains the same, only naming has been improved to follow Swift conventions.

πŸ€– Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com