Skip to content

1.12.0

Compare
Choose a tag to compare
@avylove avylove released this 24 Sep 20:55
· 18 commits to main since this release

Bugfixes

  • Elapsed time continued to increment after counter was closed #62
    • Elapsed time is now pinned to last time count changed if counter is stopped or count matches total
    • Thanks to @bedaberner for reporting
  • Seconds occasionally rounded up to 00:60 vs 01:00

Changes

  • Counter positions are now recalculated when a counter is removed
  • Color resolution is now cached
  • Direct use of Counter class now redirects to Manager.counter()
    • This allows the behavior to be consistant
    • Thanks to @ngriffiths13 for inspiration
  • Direct use of Counter class removed from documentation
    • Direct use of Counter class be refactored or removed in version 2.0
  • Counters and status bars can now be coerced to strings
    • Output is same as Counter.format() with default values
    • Does not apply to subcounters
  • Python 3.12 support added to metadata
  • Dropped support for Python 3.4
    • No code changes, but metadata and tests removed

Housekeeping

  • Minor code tweaks
  • Minor test cleanup
  • Demo gif updated
  • Specialist Tox environment added
  • Basic ASV benchmark script added