.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / enquirer / CHANGELOG.md
1 # Release history
2
3 All notable changes to this project will be documented in this file.
4
5 The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6 and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
8 <details>
9   <summary><strong>Guiding Principles</strong></summary>
10
11 - Changelogs are for humans, not machines.
12 - There should be an entry for every single version.
13 - The same types of changes should be grouped.
14 - Versions and sections should be linkable.
15 - The latest version comes first.
16 - The release date of each versions is displayed.
17 - Mention whether you follow Semantic Versioning.
18
19 </details>
20
21 <details>
22   <summary><strong>Types of changes</strong></summary>
23
24 Changelog entries are classified using the following labels _(from [keep-a-changelog](http://keepachangelog.com/)_):
25
26 - `Added` for new features.
27 - `Changed` for changes in existing functionality.
28 - `Deprecated` for soon-to-be removed features.
29 - `Removed` for now removed features.
30 - `Fixed` for any bug fixes.
31 - `Security` in case of vulnerabilities.
32
33 </details>
34
35 ## 2.3.6 - 2020-07-02
36
37 ### Changed
38
39 - Upgraded [ansi-colors](https://github.com/doowb/ansi-colors) dependency to v4, thanks to [@trySound](https://github.com/TrySound), [#297](https://github.com/enquirer/enquirer/pull/297).
40
41 ## 2.3.5 - 2020-04-07
42
43 ### Fixed
44
45 - PR #259 fixed typing numbers in the autocomplete prompt, which fixes #112, #199, and #237
46 - PR #266 add the `template` property to the `SnippetPromptOptions` TypeScript interface
47
48 ## 2.3.4 - 2020-01-13
49
50 ### Added
51
52 - `MultiSelectPrompt` new example for `result` option.
53
54 ### Fixed
55
56 - Updated typings to use `EventEmitter` class from `events` directly due to changes in `@types/node`.
57
58
59 ## 2.3.3 - 2020-01-13
60
61 ### Added
62
63 - `BooleanPrompt` new example for `header` option.
64
65 ### Fixed
66
67 - using `await` in `keypress` and returning the `number` result in the `array` type fixes an issue with tests failing only on Travis
68 - `autocomplete` highlighting issue
69 - Typos in some documentation and example comments.
70 - Syntax errors in example code on the README.md.
71
72 ## 2.3.2 - 2019-09-17
73
74 ### Added
75
76 - `AuthPrompt` type for creating authentication based prompts.
77 - `BasicAuth` prompt as an example of creating an authentication prompt using basic username/password authentication
78 - Examples for different authentication prompts.
79 - `QuizPrompt`
80
81 ### Fixed
82
83 - More examples were updated to fix any known bugs.
84 - Couple of fixes to the editable and autocomplete prompts.
85 - Documentation updates to highlight options available to some prompts.
86
87 ## 2.3.1 - 2019-07-12
88
89 ### Fixed
90
91 - Several examples were updated to align with latest code changes and to fix small bugs found in the implementation of the example.
92 - Some bugs found from updating examples were fixed.
93 - Updates to documentation to provide more information on how to use prompts and the options available.
94
95 ## 2.1.0 - 2018-11-29
96
97 ### Fixed
98
99 - Several improvements were made for handling custom `format`, `result` and `initial` functions defined on the options. 
100
101 ## 2.0.7 - 2018-11-14
102
103 ### Fixed
104
105 - `validate` function now properly accepts `false` as a return value, thanks to [@g-plane](https://github.com/g-plane).
106
107 ### Added
108
109 - Adds support for <kbd>ctrl</kbd>+<kbd>n</kbd> to add choices
110 - Adds support for `options.required` on all prompts. Uses the built-in `validate()` function, allowing this functionality to be overridden or customized.
111 - Adds support for `options.scroll` to disable scrolling in array prompts.
112 - Adds support for `options.onRun`, which is called when `prompt.run()` is called, after the readline instance is created.
113 - Adds support for `options.history` on the `Input` and `Text` prompts. 
114 - Adds support for `options.term` to set the terminal, thanks to [@tunnckoCore](https://github.com/tunnckoCore). At the moment this is only used in a couple of edge cases with the `Survey` and `Scale` prompts to check if the terminal is Hyper.
115 - `options.skip` may now be a Boolean, thanks to [@tunnckoCore](https://github.com/tunnckoCore)
116
117 ## 2.0.0 - 2018-11-07
118
119 ### Changed
120
121 Enquire 2.0 is a bottom-up complete re-write:
122
123 - Several prompts that were previously published as individual packages will be included in Enquirer itself. 
124 - Why? - As users, we didn't like having to add commonly-used prompts as plugins. Enquirer 2.0 will still support custom prompts as plugins, but many prompts will also be built-in.
125 - Enquirer will only have a single dependency, https://github.com/doowb/ansi-colors, which itself has no other dependencies). This will make Enquirer easier to maintain and faster for users.
126 - Methods for registering "questions" have been removed. While it was nice to be able to preregister questions that could be called upon later, this is something that is better left to implementors, as it's relatively trivial to do with custom code.
127 - `options.default` is now `options.initial`
128
129 ### Added
130
131 - Many prompts that were previously separate packages are now bundled into Enquirer itself. 
132
133
134 [Unreleased]: https://github.com/enquirer/enquirer/compare/2.0.2...HEAD
135 [keep-a-changelog]: https://github.com/olivierlacan/keep-a-changelog