Skip to content

Releases: Rockhopper-Technologies/enlighten

1.10.0

13 May 23:58
Compare
Choose a tag to compare

New Features

1.9.0

28 Mar 22:59
Compare
Choose a tag to compare

New Features

Changes

  • New dependency: Prefixed
  • all_fields can now be specified as a keyword argument to Counter to set the default value for subcounters

Housekeeping

  • Minor refactoring and optimizations
  • Demo updated
  • Added Conda badge and instructions

1.8.0

23 Feb 13:01
Compare
Choose a tag to compare

New Features

  • Manager.counter() and Manager.status_bar() now have a replace keyword argument

    • replace value must be an existing managed counter or status bar
    • New counter will assume the position of the counter it replaces
    • Old counter will be closed and removed
    • Equivalent to setting leave=False and running counter.close before adding a new counter
  • percentage_00 and count_00 added as bar_format formatting fields (#42)

    • Sum of percentages and counts for all subcounters
    • Inverse of percentage_0 and count_0

Changes

Bugfixes

  • Improved behavior of multicolored bars to avoid partial bars when count is 0 (#41)

Housekeeping

  • Fixed typos
  • Minor refactoring

1.7.2

26 Dec 01:32
Compare
Choose a tag to compare

Changes

  • Manager() argument, threaded, now defaults to True when multiple processes are detected
  • Evaluation of Manager() argument, threaded, now deferred until scroll area is set when not set explicitly
  • Added FAQ question about reentrant calls

Housekeeping

  • blessed.Terminal subclass removed
  • Removed assert statements from code

1.7.1

22 Dec 13:06
Compare
Choose a tag to compare

Bugfixes

  • Improved write atomicity [ Issue #36 ]
    • Improved behavior when multiple processes are writing to the terminal

1.7.0

30 Nov 22:46
Compare
Choose a tag to compare

New Features

  • Added interval, the inverse of rate as a built-in formatting field. [ Issue #34 ]
  • Added new Manager() argument, threaded, which forces threading behavior when True
    • Defaults to True when multiple threads are detected

Changes

  • Deferred resize handing introduced in 1.6.2 is now only performed if threaded is True (default when multiple threads are detected)

Bugfixes

  • Improved resize handing [ Issue #33 ]

Housekeeping

  • Add 3.9 support to package metadata
  • Minor optimizations

1.6.2

25 Aug 12:49
Compare
Choose a tag to compare

Changes

  • Output will now be resized on the first write after a resize is detected
    • This addresses an issue that can cause threaded programs to crash #28
  • Default Unicode are now used when running under Windows Terminal
    • Other windows terminals, like CMD, will still default to cp65001 compatible characters

Bug fixes'

  • Additional stream flushes added to ensure incidental flush aren't relied upon #21
  • Updated RPM installation instructions

1.6.1

29 Jul 20:39
Compare
Choose a tag to compare

Changes

  • Warning is now emitted when a reserved field is passed as a user-defined field
  • Drop Python 2.6 support
  • Begin testing 3.10-dev

Bug fixes

  • Preserve max scroll offset when number of status bars decrease (#27)
  • Minor doc fixes

1.6.0

19 Jun 14:02
Compare
Choose a tag to compare

New Features

  • Status bars can now be created with Manager.status_bar()
  • Bars can now be invoked with autorefresh=True to trigger a refresh whenever another bar is updated or refreshed
  • fill can now be used multiple times in counters and status bars
    • Remaining space is divided equally
  • Fill character can now be specified for counters, with fill keyword
  • Compound colors, like 'aqua_on_seagreen' are now supported
  • Additional keywords passed to Counter() and Counter.update() are now used as user-defined fields

Changes

Bug fixes

  • Position pinning now works as expected

1.5.2

23 May 21:35
Compare
Choose a tag to compare

Bug Fixes:

  • Ensure scroll reset does not exceed screen height #19

Housekeeping: