Skip to content

1.0.0 — Stable API, documented contracts, and release hardening

Latest

Choose a tag to compare

@twhitt14 twhitt14 released this 06 Nov 09:22

PaperConfetti 1.0.0 establishes the stable public API for SwiftUI and UIKit: simple pop() and drop() methods, custom shapes, source-view origins, multiple cannons, flat/3D appearances, and explicit completion outcomes. iOS 16 and Swift tools 5.9 remain supported, with no runtime dependencies.

Release review and fixes

  • Correct color caching for pattern colors and different color spaces. Prepare only the shape/color/pose combinations an event uses, sharing repeated images.
  • Keep source-view origins correct when SwiftUI replaces a controller without moving the view. Support UIKit storyboard/archive decoding with a fresh, touch-transparent renderer.
  • Harden large finite angle conversions and invalid shape-preview bounds; stop palette selection at 32 distinct shapes.
  • Document all 102 authored public symbols, configuration units and limits, lifecycle behavior, callback ownership, accessibility, and privacy. Validation now checks public documentation, strict Swift 6 examples, and DocC warnings.
  • Include an explicit privacy manifest with the original attribution. Verify both resources in an independently built Release app.
  • Expand regression coverage for custom holes and palettes, adaptive colors, source movement/removal/controller replacement, deferred layout, UIKit backgrounding, and real input through live confetti.
  • Repair individual-shape benchmark selection after the 0.4 value-type migration and test every named shape. Existing device-performance measurements retain their original version/device labels.

Upgrading

The 0.4 public API remains source compatible. ConfettiConfiguration additionally conforms to Sendable. Use from: "1.0.0" for compatible 1.x updates, or an exact pin if required by your app. See the migration guide and compatibility contract. Testing SPI and exact seeded trajectories are implementation details.

Validation

  • Local Xcode 27.2 / Swift 6.4.2: 19 macOS core tests, 57 iOS package tests, and 5 example interaction tests passed. Release builds, strict Swift 6 compilation targeting iOS 16, and DocC passed. All 102 authored public symbols have documentation.
  • All 12 benchmark motion tests and 39 Python tests passed. Both simulator smoke workflows passed, including the 16 interaction/pixel checks and all five cannons at 5,760 pieces.
  • Xcode 16.4 and 26.6 passed for the exact release source in dev CI, main CI, and tag CI.
  • A fresh consumer resolved the exact public 1.0.0 tag and built the product on macOS and iOS Simulator, verifying the original attribution and privacy manifest in the built resource bundles.

Simulator and CI results establish behavior on the tested runtimes, not physical-device frame delivery or energy use. iOS 16 is the deployment minimum; this release was not run on an iOS 16 runtime. No new physical-device performance claim is made. The MIT license and original ConfettiSwiftUI notice remain intact.