v26.0.0
This release is all about making dyn possible both for nested progress, as well as for 'simple' one (previously known as RawProgress).
Switching to this release naturally makes it possible for users of Progress to also use dyn Progress, as this trait is now object safe (formerly RawProgress).
If there are compile errors, the code now needs NestedProgress, instead of Progress, and possibly the import of the Count trait.
Finally, it's recommended to review all usages of Progress as they can possibly be replaced with Count which provides the guarantee that only counting happens,
and no change of the progress information itself.
New Features (BREAKING)
- split
Progressinto various super-traits to allow most of them to be dyn-safe.
Progressis nowNestedProgress,RawProgressis nowProgress, and there is
a newCounttrait for solely counting things. Progress::counter()is now mandatory.
This should simplify downstream code and we just accept that we are dealing
with a threaded world.
This also comes with performance improvements as increments are now 250% faster.
Commit Statistics
- 8 commits contributed to the release.
- 13 days passed between releases.
- 2 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- Merge branch 'simplify' (5e21df7)
Progress::counter()is now mandatory. (6c60835)- Prepare release (e1e282a)
- Fixup nested dyn-traits (5e76abf)
- Merge branch 'feat/dyn-progress' into simplify (c1590e4)
- Split
Progressinto various super-traits to allow most of them to be dyn-safe. (6aba6e3) - Add benchmarks for dyn-traits (9d03124)
- Refactor (54094b6)