Skip to content

Conversation

@fxm90
Copy link
Owner

@fxm90 fxm90 commented Jan 10, 2026

Summary

Major version 4.0.0 release - Complete rewrite of GradientLoadingBar using modern Swift features and tooling.

Key changes

  • Rewrote the library with Swift 6.2 using the Observation framework, replacing the previous Combine-based implementation
  • Bumped minimum iOS version to iOS 26.0 to leverage latest platform capabilities
  • Migrated to Swift Package Manager only - dropped CocoaPods and Carthage support following https://blog.cocoapods.org/CocoaPods-Specs-Repo/
  • Restructured project to follow SPM conventions (Sources/ and Tests/ directories)
  • Completely rebuilt the example application as a modern SwiftUI app with UIKit integration examples
  • Simplified CI pipeline using a Makefile-based approach instead of Fastlane/bundler

Changes

Breaking Changes

  • Minimum iOS version increased from 13.0 to 26.0
  • CocoaPods and Carthage are no longer supported - use Swift Package Manager
  • Internal architecture rewritten (public API remains largely compatible)

New Features

  • Modern SwiftUI example views alongside UIKit examples
  • Added Makefile for standardized development commands (make format, make lint, make test)
  • Added project-level .swiftformat and .swiftlint.yml configuration

Improvements

  • Simplified CI workflow with dedicated jobs for linting, testing, and building
  • Cleaner project structure with ~10,000 lines of legacy/vendored code removed
  • Updated all snapshot tests with new reference images
  • New documentation with updated installation instructions and usage examples

@fxm90 fxm90 self-assigned this Jan 10, 2026
@fxm90 fxm90 force-pushed the feature/version-4 branch 5 times, most recently from 24e7886 to 0894c96 Compare January 11, 2026 08:17
Repository owner deleted a comment from codecov-commenter Jan 11, 2026
@fxm90 fxm90 force-pushed the feature/version-4 branch 5 times, most recently from 38be1b6 to 414d121 Compare January 18, 2026 10:19
Repository owner deleted a comment from codecov-commenter Jan 18, 2026
@fxm90 fxm90 force-pushed the feature/version-4 branch 12 times, most recently from eb52426 to 098d297 Compare January 18, 2026 17:53
Repository owner deleted a comment from codecov-commenter Jan 18, 2026
@fxm90 fxm90 force-pushed the feature/version-4 branch 4 times, most recently from 2f28ec2 to 4e2f898 Compare January 18, 2026 21:33
@fxm90 fxm90 force-pushed the feature/version-4 branch 6 times, most recently from fcbbc7a to e33f5ea Compare January 25, 2026 10:11
Repository owner deleted a comment from codecov-commenter Jan 25, 2026
@fxm90 fxm90 force-pushed the feature/version-4 branch 10 times, most recently from d8a65e1 to 4b6fcce Compare January 31, 2026 09:29
Repository owner deleted a comment from codecov-commenter Jan 31, 2026
@codecov-commenter
Copy link

codecov-commenter commented Jan 31, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 90.28902% with 84 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.28%. Comparing base (dd1323e) to head (d8728a8).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...radientActivityIndicatorView+AnimateIsHidden.swift 0.00% 40 Missing ⚠️
...ngBarController/GradientLoadingBarController.swift 61.81% 21 Missing ⚠️
...yIndicatorView/GradientActivityIndicatorView.swift 83.01% 9 Missing ⚠️
...Controller/NotchGradientLoadingBarController.swift 97.38% 7 Missing ⚠️
...oller/GradientLoadingBarController+ViewModel.swift 80.76% 5 Missing ⚠️
.../NotchGradientLoadingBarController+ViewModel.swift 94.28% 2 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##           main      #35       +/-   ##
=========================================
+ Coverage      0   90.28%   +90.28%     
=========================================
  Files         0       18       +18     
  Lines         0      865      +865     
=========================================
+ Hits          0      781      +781     
- Misses        0       84       +84     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fxm90 fxm90 force-pushed the feature/version-4 branch from 4b6fcce to a4627c9 Compare January 31, 2026 09:37
@fxm90 fxm90 force-pushed the feature/version-4 branch from a4627c9 to d8728a8 Compare January 31, 2026 09:41
@fxm90 fxm90 marked this pull request as ready for review January 31, 2026 09:45
@fxm90 fxm90 merged commit bd7828f into main Jan 31, 2026
3 checks passed
@fxm90 fxm90 deleted the feature/version-4 branch January 31, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants