Releases: ctongfei/progressbar
Releases · ctongfei/progressbar
0.10.1
0.10.0
- New functionalities:
- Makes
me.tongfei.progressbar
a Java 9 module (#149, #153, #154). Thanks @clo-vis, @Kamillaova, @bowbahdoe ! - Enables the builder pattern for
ProgressBarStyle
(PR #152). Thanks @PakhomovAlexander !
- Makes
- Dependency version bump.
0.9.5
- Bugfixes:
- Fixed the problem of
ProgressState
not being public, thus makingsetEtaFunction
useless (#147, PR #146). Thanks @deejgregor, @natanfudge ! - Correct handling of ANSI control characters in calculating the display length.
- Fixed the problem of
- New functionalities:
- Added a new
UNICODE_COLORFUL_BAR
style.
- Added a new
0.9.4
- New functionalities:
- In
ProgressBarBuilder
s, one can now switch whether to show the remaining time, or to provide a custom
function to compute the remaining time (if the progress is not linear) (#131). Thanks @MagnusErikssonAB ! - In
ProgressBarBuilder
s, one can now set.clearDisplayOnFinish()
to clear the display on terminals when
a progress is complete (#135). Thanks @mattparkins ! - Added a method
ProgressBar::isIndefinite
to check if a progress bar's max is unknown (#140). Thanks @lt3stus3el !
- In
- Bugfixes:
- Fixed the bug of not drawing after resetting or stepping back caused by #91 (#124). Thanks @Bricktheworld !
- Suppress exceptions thrown in
Spliterator.estimateSize
and continue as if indefinite (#141). Thanks @seanf !
- Dependency version bump.
0.9.3
- New functionalities:
- Performance improvements:
- Improved performance in rendered string building (PR #107). Thanks @heroesleo65 !
- Improved performance in
ConsoleProgressBarConsumer::accept
(PR #106). Thanks @heroesleo65 !
- Bugfixes:
- Displays a progress bar immediately after it starts, regardless of whether it has made any progress (#117). Thanks @azachar !
- Closing a progress bar will now force the progress bar to refresh (PR #110). Thanks @kmtong !
- Using a default
DecimalFormat
object ifisSpeedShown
is true as it will otherwise throw aNullPointerException
during rendering (#121, PR #120). Thanks @gaoagong !
- Dependency bump. Specifically:
- Supports Apple M1 due to jline/jline3#688 (PR #119). Thanks @snuyanzin !
0.9.2
- New functionalities:
- Support for wrapping around
java.io.Reader
s.
- Support for wrapping around
- Bugfixes:
- Fixed potential
StringIndexOutOfBoundsException
and improved performance intrimDisplayLength
(PR #104). Thanks @heroesleo65 ! - Fixed the bug that incorrectly calculates string display length while displaying that results in last
)
truncated (#105).
- Fixed potential
- Improvements:
- Misc:
- Dependency version bump.
0.9.1
- Improvements:
- Correct rendering of East Asian full-width characters as defined in Unicode TR11 (#75). Thanks @ImSejin and @fangyuzhong2016 !
- Only renders the progress bar when progress is made (#91). This improves the performance of progress bars. Thanks @elanzini !
- Added
setMaxRenderedLength
method to builders (#71). Thanks @koppor !
- Misc:
- Updates JUnit 4 to JUnit 5 (PR #93). Thanks @michaelsiepmann !
- Dependency version bump.
0.9.0
- New functionalities:
- Supports the parallel display of multiple progress bars (PR #69), fixing #11. Thanks @vehovsky !
- Supports pausing and resuming progress bars (PR #56, PR #63), fixing #17. Thanks @mesat !
- Supports direct wrapping around arrays (#62).
- Supports customized max length for progress bars (#71). Thanks @koppor and @cloudnotify !
- Bugfixes:
- Fixes the bug of dividing-by-zero when extra message is too long on indefinite progress bars (PR #85), fixing #84. Thanks @AndreiNekrasOn and @rharder !
- Misc:
- Removed redundant
jline-terminal-jansi
dependency (#77). Thanks @zbateson ! - Added references to Kotlin extensions (#72). Thanks @heinrichreimer !
- Changed the permission level of some methods in
DefaultProgressBarRenderer
to "protected" to make it more extensible (#81). Thanks @ksvladimir ! - Dependency version bump.
- Removed redundant
0.8.1
- Bugfixes:
- Fixed the bug of possible negative suffix length (PR #58). Thanks @kristofarkas !
- Fixed the issue of stepping by -1 when wrapped input stream is depleted (#60, PR #61). Thanks @mordechaim !
- Default value for initial max in progress bar builders should be -1, not 0 (#60, PR #61). Thanks @mordechaim !
- Dependency version bump.