Releases: stalkermv/SwiftHelpers
Releases · stalkermv/SwiftHelpers
v1.1.0 - SecureStorage Observation & Enhanced Foundation Extensions
SwiftHelpers v1.1.0 - SecureStorage Observation & Enhanced Foundation Extensions
🚀 Major Features
SecureStorage with Reactive Updates
- NEW:
SecureStorageproperty wrapper now supports automatic observation of value changes - NEW:
AsyncThrowingStream-based observation system for real-time UI updates - NEW:
DiskNonSecureStoragefor 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:
OptionalUnwrapErrorprovides more detailed error descriptions and recovery suggestions - NEW:
HexColorContainernow conforms toCodableprotocol - DEPRECATED:
Optional.wrappedValuein favor of the more robustunwrapped()method
🔧 Technical Improvements
Platform Compatibility
- Enhanced conditional compilation with
#if canImportguards - 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.wrappedValueis now deprecated - useunwrapped()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.wrappedValueis deprecated (useunwrapped()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
SwiftHelpers v1.0.0
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