Releases: Rockhopper-Technologies/enlighten
Releases · Rockhopper-Technologies/enlighten
1.12.4
Bug Fixes
- Resize handler crashes when window height is reduced and manager has no counters #64
Changes
- Resize handler now does line feeds when height is increased when not threaded
- Previously only did when threaded
- A warning is raised when closing a previously closed counter
- Previously raised a non-specific error in some conditions
- If the counter would normally be refreshed before closing, it will only refresh if still attached to manager, i.e.
leave=True
Housekeeping
- Pin Pip version in Tox to support older Python versions
1.12.3
1.12.2
Housekeeping
- Add readthedocs.yaml
1.12.1
1.12.0
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
- Elapsed time is now pinned to last time
- Seconds occasionally rounded up to 00:60 vs 01:00
- Thanks to @DJtheRedstoner for reporting and PR #61
Changes
- Counter positions are now recalculated when a counter is removed
- Thanks to @SKnight79 for reporting #58
- 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
- Output is same as
- 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
1.11.2
Bugfixes
NotebookManager
raised exception if there were no counters whenstop()
was called #53
Changes
- Python 3.11 support added to metadata
Housekeeping
- Update tests for Prefixed 0.6.0
'!'
flag now adds space after number even if there is no prefix added
- Make Python 3.11 the base version for tests
1.11.1
Bugfixes
- Wrong stream referenced in tests
- Multiple bug fixes for utility classes used by
NotebookManager
- HTMLConverter: Don't test blink if not listed as supported on platform
- HTMLConverter: Did not handle when
term.normal
was a single termcap - HTMLConverter: Friendly color names depended on the platform
- Now friendly color names are always used for class names when available
- HTMLConverter: Tests attempted to use a different term kind than other tests
- Lookahead raised exception when iterator was empty
Changes
- HTMLConverter: Termcap parsing is now cached to improve performance for multiple lookups.
1.11.0
1.10.2
Changes
- Curly braces in field names no longer have to be escaped #45
Bugfixes
- Bytecode for examples and tests no longer included in sdist
- companion_stream tests did not provide coverage in some test environments
- TestManager.test_autorefresh failed on macOS #44
Housekeeping
- Switched to GitHub Actions for testing
- Fixes for Pylint changes