Skip to content

2.4.0

Choose a tag to compare

@rudrankriyam rudrankriyam released this 20 Dec 09:31
· 57 commits to main since this release

What's Changed

New Features

  • Template Search: Add metadata and search functionality to PredefinedTemplate with tags, moods, and NaturalLanguage-based lemmatization
  • Gradient Export: Add snapshot helpers to render MeshGradient to CGImage/PlatformImage
  • Export Snippets: Add SwiftUI and CSS color stop snippet helpers for design tools
  • Color Hex Output: Add Color hex output functionality with README examples

Improvements

  • Add smoothsColors option to gradient creation
  • Extract animation constants to AnimationConstants enum
  • Use simd_clamp for bounds safety in animations
  • Refactor animation code into smaller, testable methods
  • Add CustomGradientTemplate validating initializer with error reporting

Bug Fixes

  • Fix animation wiring for parameterized noise
  • Fix CSS alpha fallback in export
  • Fix hex color parsing for various formats
  • Fix misleading comment: cachedMetadata → metadataValue
  • Fix merge conflict marker in test file
  • Split tests into separate files to pass SwiftLint

Tests

  • Expand template search tests
  • Add export helper tests
  • Add comprehensive template validation tests
  • Split tests into 3 files for better organization

Full Changelog: 2.3.0...2.4.0