Skip to content

Commit eb9ca32

Browse files
authored
Merge pull request #283 from rsalmei/new3.2
New 3.2
2 parents 048a92a + dc4a58f commit eb9ca32

File tree

14 files changed

+303
-246
lines changed

14 files changed

+303
-246
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
10+
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
1111
steps:
1212
- uses: actions/checkout@v3
1313
- name: Set up Python ${{ matrix.python-version }}

CHANGELOG.md

Lines changed: 9 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,41 @@
11
# Changelog
22

3+
## 3.2.0 - Oct 26, 2024
4+
- print/logging hooks now support multithreading
5+
- rounded ETAs for long tasks
6+
- support for zero and even negative bar increments
7+
- custom offset for enriched print/logging messages
8+
- improved compatibility with PyInstaller
9+
- improved compatibility with Celery
10+
- drop python 3.7 and 3.8, hello 3.12 and 3.13
311

412
## 3.1.5 - Nov 08, 2023
513
- ignore more errors when trying to set hooks (it seems `pyam` uses `setuptools_scm` which does `assert value is sys.stderr` in `setStream()` for whatever reason)
614

7-
815
## 3.1.4 - May 31, 2023
916
- support spaces at the start and end of titles and units (removed trim)
1017

11-
1218
## 3.1.3 - May 26, 2023
1319
- better error handling of invalid `alive_it` calls before iterating it
1420
- detect nested uses of alive_progress and throw a clearer error message
1521

16-
1722
## 3.1.2 - May 08, 2023
1823
- fix some exotic ANSI Escape Codes not being printed by supporting terminal [OSC](https://en.wikipedia.org/wiki/ANSI_escape_code#OSC)
1924

20-
2125
## 3.1.1 - Apr 08, 2023
2226
- support for printing ANSI Escape Codes without extra newlines, like "set console title"
2327
- typing annotations in `alive_it`, so collection types are correctly identified
2428

25-
2629
## 3.1.0 - Mar 23, 2023
2730
- new resuming computations support with `skipped` items
2831
- new `max_cols` config setting, the number of columns to use if not possible to fetch it, like in jupyter and other platforms which doesn't support size
2932
- fix fetching the size of the terminal when using stderr
3033
- officially supports Python 3.11
3134
- included [ruff](https://github.com/charliermarsh/ruff) linter before building
3235

33-
3436
## 3.0.1 - Jan 01, 2023
3537
- fix for logging streams that extend StreamHandler but doesn't allow changing streams (import dill/tensorflow/dask issues)
3638

37-
3839
## 3.0.0 - Dec 22, 2022
3940
- units with automatic scaling and configurable precision
4041
- automatic scaling for slow throughputs
@@ -47,11 +48,9 @@
4748
- fix unknown mode always ending with a warning (!)
4849
- improved test branch coverage to 89%
4950

50-
5151
## 2.4.1 - Apr 01, 2022
5252
- fix a crash when dual-line and disabled are set
5353

54-
5554
## 2.4.0 - Mar 21, 2022
5655
- support dual-line text mode
5756
- finalize function parameter in alive_it
@@ -60,18 +59,15 @@
6059
- fix default stats_end, which did not follow stats
6160
- fix `bar.text` assignment not working on alive_it
6261

63-
6462
## 2.3.1 - Feb 11, 2022
6563
- introduce ctrl_c config param
6664
- print the final receipt even when interrupted
6765

68-
6966
## 2.3.0 - Feb 07, 2022
7067
- customizable `monitor`, `elapsed`, and `stats` core widgets
7168
- new `monitor_end`, `elapsed_end`, and `stats_end` core widgets
7269
- better support for CTRL+C, which makes `alive_bar` stop prematurely
7370

74-
7571
## 2.2.0 - Feb 02, 2022
7672
- bar title can be dynamically set, changed or removed
7773
- new custom fps system, which enables very slow refresh rates (long periods)
@@ -85,13 +81,12 @@
8581
- fix hook manager trimming spaces at the start
8682
- remove Python 3.6 support
8783

88-
8984
## 2.1.0 - Oct 18, 2021
9085
- Jupyter notebook support (experimental), Jupyter auto-detection, disable feature and configuration
9186
- four internal terminal abstractions, to support TTY, JUPYTER, NON_TTY, and VOID
9287

93-
9488
## 2.0.0 - Aug 25, 2021
89+
9590
This is a major achievement in `alive-progress`!
9691
- now there's complete support for Emojis 🤩 and exotic Unicode chars in general, which required MAJOR refactoring deep within the project, giving rise to what I called **Cells Architecture** => now all internal components use and generate streams of cells instead of chars, and correctly interprets grapheme clusters — it has enabled to render complex multi-chars symbols as if they were one, thus making them work on any spinners, bars, texts, borders, backgrounds, everything!!! there's even support for wide chars, which are represented with any number of chars, including one, but take two spaces on screen!! pretty advanced stuff 🤓
9792
- new super cool spinner compiler and runner, which generates complete animations ahead of time, and plays these ready-to-go animations seamlessly, with no overhead at all! 🚀
@@ -106,19 +101,16 @@ This is a major achievement in `alive-progress`!
106101
- includes a new iterator adapter `alive_it`, that accepts an iterable and calls `bar()` for you!
107102
- requires Python 3.6+ (and officially supports Python 3.9 and 3.10)
108103

109-
110104
## 1.6.2 - Jan 7, 2021
111105
- new `bar.current()` method
112106
- newlines get printed on vanilla Python REPL
113107
- bar is truncated to 80 chars on Windows
114108

115-
116109
## 1.6.1 - Jul 11, 2020
117110
- fix logging support for Python 3.6 and lower
118111
- support logging for file
119112
- support for wide Unicode chars, which use 2 columns but have length 1
120113

121-
122114
## 1.6.0 - Jul 9, 2020
123115
- soft wrapping support
124116
- hiding cursor support
@@ -129,78 +121,62 @@ This is a major achievement in `alive-progress`!
129121
- new `bar.text()` method, to set situational messages at any time without incrementing position (deprecates 'text' parameter in `bar()`)
130122
- performance optimizations
131123

132-
133124
## 1.5.1 - May 4, 2020
134125
- fix compatibility with Python 2.7 (should be the last one, version 2 is in the works, with Python 3 support only)
135126

136-
137127
## 1.5.0 - May 2, 2020
138128
- standard_bar accepts a `background` parameter instead of `blank`, which accepts arbitrarily sized strings and remains fixed in the background, simulating a bar going "over it"
139129

140-
141130
## 1.4.4 - Apr 18, 2020
142131
- restructure internal packages
143132
- 100% branch coverage of all animations systems, i.e., bars and spinners
144133

145-
146134
## 1.4.3 - Apr 14, 2020
147135
- protect configuration system against other errors (length='a' for example)
148136
- first automated tests, 100% branch coverage of configuration system
149137

150-
151138
## 1.4.2 - Apr 13, 2020
152139
- sanitize text input, keeping '\n' from entering and replicating the bar on the screen
153140

154-
155141
## 1.4.1 - Mar 7, 2020
156142
- include a license file in the source distribution
157143

158-
159144
## 1.4.0 - Mar 5, 2020
160145
- print() enrichment can now be disabled (locally and globally)
161146
- exhibits now have a real-time fps indicator
162147
- new exhibit functions `show_spinners` and `show_bars`
163148
- new utility `print_chars`
164149
- `show_bars` gains some advanced demonstrations (try it again!)
165150

166-
167151
## 1.3.3 - Jan 26, 2020
168152
- further improve stream compatibility with isatty
169153

170-
171154
## 1.3.2 - Jan 26, 2020
172155
- beautifully finalize bar in case of unexpected errors
173156

174-
175157
## 1.3.1 - Jan 26, 2020
176158
- fix a subtle race condition that could leave artifacts if ended very fast
177159
- flush print buffer when position changes or bar terminates
178160
- keep the total argument from unexpected types
179161

180-
181162
## 1.3.0 - Sep 17, 2019
182163
- new fps calibration system
183164
- support force_tty and manual options in global configuration
184165
- multiple increment support in bar handler
185166

186-
187167
## 1.2.0 - Aug 24, 2019
188168
- filled blanks bar styles
189169
- clean underflow representation of filled blanks
190170

191-
192171
## 1.1.1 - Aug 21, 2019
193172
- optional percentage in manual mode
194173

195-
196174
## 1.1.0 - Aug 17, 2019
197175
- new manual mode
198176

199-
200177
## 1.0.1 - Aug 9, 2019
201178
- PyCharm console support with force_tty
202179
- improve compatibility with Python stdio streams
203180

204-
205181
## 1.0.0 - Aug 5, 2019
206182
- first public release, already very complete and mature

0 commit comments

Comments
 (0)