Skip to content

Releases: stalkermv/SwiftHelpers

v1.1.0 - SecureStorage Observation & Enhanced Foundation Extensions

Choose a tag to compare

@stalkermv stalkermv released this 13 Oct 20:07

SwiftHelpers v1.1.0 - SecureStorage Observation & Enhanced Foundation Extensions

🚀 Major Features

SecureStorage with Reactive Updates

  • NEW: SecureStorage property wrapper now supports automatic observation of value changes
  • NEW: AsyncThrowingStream-based observation system for real-time UI updates
  • NEW: DiskNonSecureStorage for development and preview environments
  • IMPROVED: Enhanced error handling with proper fallbacks and detailed error reporting

Enhanced Foundation Extensions

  • IMPROVED: Optional.unwrapped() now includes file and line information in error messages
  • IMPROVED: OptionalUnwrapError provides more detailed error descriptions and recovery suggestions
  • NEW: HexColorContainer now conforms to Codable protocol
  • DEPRECATED: Optional.wrappedValue in favor of the more robust unwrapped() method

🔧 Technical Improvements

Platform Compatibility

  • Enhanced conditional compilation with #if canImport guards
  • Better support for different platform targets (iOS, macOS, tvOS, watchOS)
  • Improved Foundation networking compatibility

📚 Documentation

  • COMPLETELY UPDATED: README.md now accurately reflects current modular architecture
  • NEW: Comprehensive usage examples for all modules
  • NEW: Clear installation instructions for modular dependencies
  • NEW: Detailed API documentation with practical examples

🔄 Migration Notes

  • Optional.wrappedValue is now deprecated - use unwrapped() instead
  • Storage observation is now automatic - no manual subscription management required
  • Enhanced error handling may require updates to error handling code

📦 Module Overview

  • SwiftHelpers: Main module (FoundationExtensions + CombineExtensions)
  • SwiftStorage: Secure storage with reactive updates
  • FoundationExtensions: Core Swift/Foundation extensions
  • CombineExtensions: Combine framework utilities
  • Development: Development and debugging tools

🐛 Bug Fixes

  • Fixed unsafe force unwrapping in document directory access
  • Resolved observation stream lifecycle issues
  • Improved error propagation in storage operations

Full Changelog: 1.0.8...v1.1.0

Breaking Changes:

  • Optional.wrappedValue is deprecated (use unwrapped() instead)
  • Storage observation API has been modernized (automatic observation, no manual subscription)

Compatibility:

  • iOS 14.0+, macOS 12.0+, tvOS 14.0+, watchOS 9.0+
  • Swift 5.9+

v1.0.1

Choose a tag to compare

@stalkermv stalkermv released this 08 May 17:23
58a63bd

What's Changed

Full Changelog: v1.0.0...v1.0.1

SwiftHelpers v1.0.0

SwiftHelpers v1.0.0 Pre-release
Pre-release

Choose a tag to compare

@stalkermv stalkermv released this 05 May 01:25
9ec69c6

I'm excited to announce the pre-release of SwiftHelpers v1.0.0! This release contains a collection of Swift extensions and helpers designed to simplify common coding tasks and improve code readability in your Swift projects. With this release, you will be able to easily work with optional values, and manipulate strings, dates, and arrays using several helper functions and convenient methods.

Full Changelog: https://github.com/stalkermv/SwiftHelpers/commits/v1.0.0