Skip to content

Releases: ctongfei/progressbar

0.10.1

24 Mar 08:03
4c80a7f
Compare
Choose a tag to compare
  • Improvements:
    • Changed the JPMS module dependency org.jline to a more fine-grained module org.jline.terminal (#158, PR #159). Thanks @brett-smith !
    • Added a new builder method setRenderer to allow custom renderers (#157). Thanks @drothmaler !

0.10.0

11 Aug 20:30
5af6755
Compare
Choose a tag to compare

0.9.5

10 Oct 03:58
Compare
Choose a tag to compare
  • Bugfixes:
    • Fixed the problem of ProgressState not being public, thus making setEtaFunction useless (#147, PR #146). Thanks @deejgregor, @natanfudge !
    • Correct handling of ANSI control characters in calculating the display length.
  • New functionalities:
    • Added a new UNICODE_COLORFUL_BAR style.

0.9.4

10 Sep 06:15
493daa1
Compare
Choose a tag to compare
  • New functionalities:
    • In ProgressBarBuilders, 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 ProgressBarBuilders, 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 !
  • 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

23 Jan 07:23
Compare
Choose a tag to compare
  • New functionalities:
    • Supports for wrapping around java.io.OutputStreams and java.io.Writers (#114). Thanks @azachar !
    • Added continuousUpdate boolean parameter to various constructors and the ProgressUpdateAction so that long-running processes don't take forever to print something (#121, PR #120). Thanks @gaoagong !
  • 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 if isSpeedShown is true as it will otherwise throw a NullPointerException during rendering (#121, PR #120). Thanks @gaoagong !
  • Dependency bump. Specifically:

0.9.2

01 Jul 04:45
Compare
Choose a tag to compare
  • New functionalities:
    • Support for wrapping around java.io.Readers.
  • Bugfixes:
    • Fixed potential StringIndexOutOfBoundsException and improved performance in trimDisplayLength (PR #104). Thanks @heroesleo65 !
    • Fixed the bug that incorrectly calculates string display length while displaying that results in last ) truncated (#105).
  • Improvements:
    • Size now known when wrapping an array (PR #101). Thanks @seanf !
    • Better estimation of initial max for spliterators (#102).
  • Misc:
    • Dependency version bump.

0.9.1

13 Mar 06:31
Compare
Choose a tag to compare
  • 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:

0.9.0

15 Sep 02:35
Compare
Choose a tag to compare
  • 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.

0.8.1

29 Jan 05:25
Compare
Choose a tag to compare
  • 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.

0.8.0

23 Dec 17:14
Compare
Choose a tag to compare
  • Supports loggers (PR #54) by factoring out progress bar consumers and renderers. This allows progress bars to be used with logging libraries such as SLF4J, hence fixing #12 and #18. Thanks @alexpeelman !
  • Dependency version bump.