summarylogtreecommitdiffstats
path: root/CHANGELOG.adoc
blob: ad538f045d5dd16ec6ab79c2f27a7c2c628e5522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
= Qprompt Changelog

== qprompt-0.16.3 (2021-11-19)
=== Changed
  - Changed `Menu.main()` menu behavior to not return quit result as this can cause issues with nested menus.

=== Removed
  - Removed `returns=none` option to `show_menu()` as it may cause confusion if used with looping menus.

== qprompt-0.16.2 (2021-11-19)
=== Added
  - Added `returns=none` option to `show_menu()`.

== qprompt-0.16.1 (2021-02-18)
=== Added
  - Added `Menu.get()` method.

== qprompt-0.16.0 (2020-04-21)
=== Added
  - When using `Menu.main()` can now pass in `-d` as an argument to run the default menu entry.

=== Fixed
  - Fixed exception thrown when using `Menu.main(loop=False)` and an invalid argument is supplied.

== qprompt-0.15.6 (2020-02-13)
=== Highlights
  - Reverting to old package structure, there was an issue with the new structure.

== qprompt-0.15.5 (2020-02-13)
=== Highlights
  - Attempting to restructure package to include tests.

== qprompt-0.15.4 (2020-01-09)
=== Highlights
  - Added LICENSE to distribution.

== qprompt-0.15.3 (2019-08-17)
=== Fixed
  - Attempt to fix Pylint errors related to using `default` and similar long keyword arguments.

== qprompt-0.15.2 (2018-12-22)
=== Fixed
  - Minor correction to automatic menu entries descriptions from functions, e.g. `my_cool_thing` will now correctly show up as `My Cool Thing`.

== qprompt-0.15.1 (2018-12-22)
=== Fixed
  - Fixed nested main menu auto behavior.

== qprompt-0.15.0 (2018-12-22)
=== Changed
  - Can now pass functions directly to `Menu()`, e.g. `Menu(func1, func2, func3)`.

== qprompt-0.14.2 (2018-12-21)
=== Fixed
  - Fixed incorrect placement of menu note.

== qprompt-0.14.1 (2018-11-26)
=== Fixed
  - Fixed `pip install qprompt` issue related to missing `requirements.txt` file; thanks to BartlomiejBartnicki for reporting; fixed using https://caremad.io/posts/2013/07/setup-vs-requirement/[method described in this article].

== qprompt-0.14.0 (2018-11-25)
=== Added
  - Added fzf menu search functionality; uses the excellent https://github.com/dahlia/iterfzf[iterfzf library by dahlia].

== qprompt-0.13.1 (2018-11-09)
=== Added
  - Added `ECHORETURN` flag.

== qprompt-0.13.0 (2018-11-09)
=== Highlights
  - Updated CHANGELOG format.

=== Added
  - Added `SILENT` flag.
  - Added `info()`.

=== Changed
  - Print-like functions now return string that is printed which is useful for simple logging tasks, effects `echo()`, `alert()`, `info()`, `warn()`, `error()`, `hrule()`.
  - Can now pass a function to `wrap()`.

== qprompt-0.12.2 (2018-11-05)
=== Highlights
  - Minor bug fix.

=== Fixed
  - Fixed issue with `title()` only setting the first letter of the window title under Python3.

== qprompt-0.12.1 (2018-08-22)
=== Highlights
  - Added convenience class.

=== Changed
  - Added `Wrap` context manager class.

== qprompt-0.12.0 (2018-08-08)
=== Highlights
  - Updates to `Menu` auto run functionality.

=== Changed
  - When running automatically from `Menu.main()` the full menu is not shown and the auto input is shown.

== qprompt-0.11.1 (2018-08-07)
=== Highlights
  - `Menu` bug fix.
  - Minor `Menu` convenience update.

=== Changed
  - Can now initialize `Menu()` with any number of entries that can be passed to `Menu.add()`.

=== Fixed
  - Fixed `Menu.main(loop=True, returns="func")` infinite loop.

== qprompt-0.11.0 (2018-07-28)
=== Highlights
  - Various `Menu` updates.

=== Changed
  - No longer throw a EOFError when passing in CLI arguments to `Menu.main()` that are not terminated with `quit`.
  - Menus can now return function result using `returns=func`.
  - When `Menu.main(loop=True, returns=func)`, the last non-quit result will be returned.

== qprompt-0.10.0 (2018-06-15)
=== Highlights
  - Minor convenience update and bug fix.

=== Changed
  - Can now specify a optional default for `show_menu()`.

=== Fixed
  - Fixed incorrect `kwargs` behavior in `show_menu()`.

== qprompt-0.9.8 (2018-04-06)
=== Highlights
  - Minor bug fix.

=== Fixed
  - Fixed incorrect behavior of `show_limit()`.

== qprompt-0.9.7 (2018-02-14)
=== Highlights
  - Minor bug fix.

=== Fixed
  - Fixed error when passing `pause=True` to `fatal()`.

== qprompt-0.9.6 (2017-12-03)
=== Highlights
  - Added new `fatal()` function.
  - Minor updates for consistency of short/long keywords.

== qprompt-0.9.5 (2017-09-19)
=== Highlights
  - Minor update to help messages.

== qprompt-0.9.4 (2017-09-16)
=== Highlights
  - Various minor convenience updates and bug fixes.

=== Changed
  - For `ask` functions, can now use full keyword names like `message` instead of `msg`. Supported keywords are `message`, `default`, `valid`, `blank`, `show`, `help`.
  - Functions/lambdas representation are no longer shown in `?` help message.
  - Added ability to supply additional `help` message.

=== Fixed
  - Default values are no longer accumulated in help messages.
  - Can now use blank string along with valid inputs.

== qprompt-0.9.3 (2017-07-22)
=== Highlights
  - Bug fix and minor feature update.

=== Changed
  - Can now return any part of of a `MenuEntry` from `show_menu()`.

=== Fixed
  - Added missing return statement for `Menu.main`.

== qprompt-0.9.2 (2017-06-02)
=== Highlights
  - No functional changes, just documentation and minor style updates.

== qprompt-0.9.1 (2017-04-30)
=== Highlights
  - Minor convenience update.

=== Changed
  - Added optional `note` text to `Menu`.
  - The `note` text will automatically be set when using `Menu.main` to show if menu will loop or not.

== qprompt-0.9.0 (2017-03-11)
=== Highlights
  - New helper functions and classes.
  - Minor logic updates.

=== Changed
  - Added `StdinSetup` and `StdinAuto` helper classes along with `stdin_setup` and `stdin_auto` globals.
  - Added `main()` method to `Menu` to handle standard main logic.
  - Added `clear()` and `setinput()` functions.
  - The `blk` parameter for all `ask` functions will now automatically be set false if `vld` is supplied.
  - Scripts can now automatically use `sys.argv` as input using either `Menu.main()` or `StdinAuto`.

== qprompt-0.8.2 (2017-01-29)
=== Highlights
  - Python3 related bug fix.

=== Fixed
  - Fixed Python3 `TypeError` exception thrown when `dft` keyword argument was set in an `ask` function; thanks to Andreas Urke for discovering.

== qprompt-0.8.1 (2017-01-21)
=== Highlights
  - Added convenience function.

=== Changed
  - Added `wrap()`.

== qprompt-0.8.0 (2016-08-05)
=== Highlights
  - Minor functionality update.

=== Changed
  - Changed `enum_menu()` to return menu instead of show menu.

== qprompt-0.7.0 (2016-07-16)
=== Highlights
  - Added convenience function.

=== Changed
  - Added `ask_captcha()` function.

== qprompt-0.6.0 (2016-05-18)
=== Highlights
  - Various convenience and consistency updates.

=== Changed
  - Added `hrule()` function.
  - Added `run()` method to `Menu`.
  - Can now pass functions into `vld` parameter of `ask` functions.
  - When using `status()` as function, must pass `func` args (`fargs`) as list and kwargs (`fkrgs`) as dictionary.

== qprompt-0.5.0 (2016-05-01)
=== Highlights
  - Added API documentation.
  - Added Travis CI support.
  - Various minor convenience updates.

=== Changed
  - Added `enum()` method to `Menu`.
  - Added `show_limit()` and `limit` parameter to `show_menu()`.
  - Added `start` parameter to `enum_menu()`.

== qprompt-0.4.1 (2016-04-14)
=== Highlights
  - Major bug fix.
  - Minor convenience update.

=== Changed
  - Added ability to pass default `show_menu()` keyword arguments during `Menu()` initialization.

=== Fixed
  - Fixed issue with `Menu()` entries over multiple menus.

== qprompt-0.4.0 (2016-03-29)
=== Highlights
  - Added convenience function.
  - Changed argument order for `status()` when used as function.

=== Changed
  - Added `echo()`, essentially a portable replacement for `print()`.
  - When used as function, first argument to `status()` is message and second is function.

=== Fixed
  - Fixed potential bug with Python 2.x and print statement.

== qprompt-0.3.0 (2016-02-27)
=== Highlights
  - New convenience function for showing status of an action.

=== Changed
  - Added `status()`.
  - Display functions (`alert()`, `warn()`, `error()`) now accept keyword args
    associated with Python 3 `print()`

== qprompt-0.2.0 (2016-02-21)
=== Highlights
  - Ported to Python 3; maintains Python 2.7 compatibility.

=== Changed
  - Added `warn()` and `error()`.

== qprompt-0.1.11 (2015-12-10)
=== Highlights
  - Added convenience function.

=== Changed
  - Added `title()` function to allow naming the console window; only works on Windows.

== qprompt-0.1.10 (2015-11-16)
=== Highlights
  - Minor bug fix.

=== Fixed
  - Fixed 0 as default value in `ask_int(dft=0)`.

== qprompt-0.1.9 (2015-10-19)
=== Highlights
  - Minor changes for PyPI distribution.

== qprompt-0.1.5 (2015-10-18)
=== Highlights
  - Renamed QCHAR and ICHAR to QSTR and ISTR.
  - Added compact option to menus.
  - Renamed menu `footer` to `msg`.

== qprompt-0.1.4 (2015-08-02)
=== Highlights
  - Minor non-functional updates.

=== Changed
  - Added QCHAR and ICHAR to allow for minor customizations.

== qprompt-0.1.3 (2015-07-26)
=== Highlights
  - Minor functional update.

=== Changed
  - Function `ask_yesno()` now accepts boolean defaults.

== qprompt-0.1.2 (2015-07-18)
=== Highlights
  - Minor improvements to string prompt.
  - New helper functions.

=== Changed
  - Function `ask_str()` optionally accepts blank input.
  - Added `pause()` function.
  - Added `alert()` function.

== qprompt-0.1.1 (2015-07-14)
=== Changed
  - Function `ask_yesno()` no longer defaults to "no".
  - Minor update to `ask()` valid input sanitization.

== qprompt-0.1.0 (2015-07-12)
=== Highlights
  - First release.