Releases: br14n-sol/inquirer-file-selector
1.0.1 (2025-08-10)
This version is exactly the same as 1.0.0.
Please note that version 1.0.0 could not be published to npm because, five years ago, a package with the same name and version was already published, prior to the creation of this package.
This version 1.0.1 is created specifically to be published on npm.
1.0.0 (2025-08-09)
Added
- Types exported:
StatusType,PromptConfig,Item,RawItem,ItemTypeUnion,PromptTheme,RenderHelpContext,RenderItemContextandKeybinds(#60, #114) - Customizable help hints in the theme with dynamic display (#76)
- Multiple selection support (#103)
- Customizable keybinds (#108)
Fixed
- Visibility issues in light color schemes (#87)
- Errors caused by permission-denied files prevented by skipping those files (#104) (by @justind000)
- Crash occurring on confirming choice in empty directory with
config.typeset to'file'resolved (#113) (by @jrsun)
Changed
- Made files and directories selectable by default (#42)
- Refactored theme interface (#54)
- Returned
nullinstead of'canceled'when the prompt is canceled (#58) - Replaced default export with named export
fileSelector(#59) - Dropped support for Node.js 18; now requires Node.js 20 (#73)
- Returned a
Itemobject instead of just a path (#77, #85, #86, #96, #106) - Corrected
@inquirer/typebeing incorrectly listed as a devDependency (#90) - Enhanced prompt signature with conditional return types (#95)
- Updated
@inquirer/figuresto version 1.0.12 (#102) - Updated
@inquirer/typeto version 3.0.7 (#102) - Updated
@inquirer/coreto version 10.1.14 (#105) - Moved cancel and empty messages from config to theme (#107)
Development
- Improved code structure (#40, #84)
- Made general code improvements (#41)
- Removed example files and related dependencies (#66)
- Introduced
StatusEnum and improved type safety (#70) - Separated filtering from file sorting logic (#74)
- Updated
rimrafto version 6.0.1 (#78) - Updated
rollup-plugin-dtsto version 6.2.1 (#78) - Migrated Rollup config from TypeScript to JavaScript (#80)
- Improved naming consistency (#81)
- Simplified path aliases in
tsconfig.json(#83) - Added
.github/README.mdand simplified mainREADME.md(#88, #112) - Removed
preview.gif(#89) - Migrated project from npm to pnpm (#91)
- Moved
StatusandANSI_HIDE_CURSORconstants toconsts.ts(#92) - Updated
@commitlint/clito version 19.8.1 (#102) - Updated
@commitlint/config-conventionalto version 19.8.1 (#102) - Updated
rollup-plugin-node-externalsto version 8.0.1 (#102) - Updated
rollupto version 4.45.0 (#105) - Updated
@biomejs/biometo version 2.1.1 (#105) - Updated
@rollup/plugin-typescriptto version 12.1.4 (#105) - Added
isValidItemTypeutility to unify and simplify item type checks (#110, #111)
New Contributors
- @justind000 made their first contribution in #104
- @jrsun made their first contribution in #113
Full Changelog: v0.6.2...v1.0.0
0.6.2 (2025-03-01)
Important
This release is based on the legacy branch, not the main branch. It contains fixes and enhancements for previous versions, but new features will continue to be developed in main.
Fixed:
Changed:
- Update
chalkto 5.4.1 #67 - Update
@inquirer/figuresto 1.0.10 #67 - Update
@inquirer/coreto 10.1.7 #67
Development:
- Replace
tsupwithrollup#39 006b1e4 - Replace
lint-stagedwithnano-staged#65 77bccd7 - Replace
stripAnsiCodesfunction withnode:util.stripVTControlCharactersa4c574c - Update
@commitlint/clito 19.7.1 #67 - Update
@commitlint/config-conventionalto 19.7.1 #67 - Update
@inquirer/selectto 4.0.9 #67 - Update
@inquirer/typeto 3.0.4 #67
Full Changelog: v0.6.1...v0.6.2
0.6.1 (2024-12-01)
Added:
- Support for selecting the current directory (
./) in the explorer when the selection type is'directory'or'file+directory'. This allows for quicker selection of the current directory #36 @pastacolsugo
Changed:
Development:
- Update
@inquirer/selectto 4.0.2 #35 - Update
@inquirer/typeto 3.0.1 #35 - Set up commit hooks with husky #37
- Add
SelectionTypetype bb7804c - Update
.node-versionto 18.20.5 d78b915
Full Changelog: v0.6.0...v0.6.1
0.6.0 (2024-10-30)
Added:
- Support for directory selection #24
Changed:
- Remove deprecated:
FileStats.isDir#33 - Remove deprecated options:
hideNonMatchandmatch#33 - Update
@inquirer/coreto 10.0.1 #34 - Update
@inquirer/figuresto 1.0.7 #34
Development:
- Update
typescriptto 5.6.3 #34 - Update
tsupto 8.3.5 #34 - Update
@biomejs/biometo 1.9.4 #34 - Update
@inquirer/typeto 3.0.0 #34 - Update
@inquirer/selectto 4.0.1 #34
Full Changelog: v0.5.0...v0.6.0
0.5.0 (2024-10-22)
Added:
filteroption, allowing directory filtering #27showExcludedoption, which works the opposite way ofhideNonMatch#27- Support for a custom prefix based on the prompt status #31
loopboolean property to allow looping in the file list #32
Changed:
- Remove deprecated options:
noFilesFound,pathandcanceledLabel#23 - Mark as deprecated the options:
matchandhideNonMatch(to be removed in 0.6.0) #27 - Mark as deprecated:
FileStats.isDir(to be removed in 0.6.0) 75febe5 - Update
@inquirer/figuresto 1.0.6 #28 - Update
@inquirer/coreto 9.2.1 #28
Development:
- Update
@inquirer/selectto 2.5.0 #26 - Update
@biomejs/biometo 1.9.1 #28 - Update
typescriptto 5.6.2 #28 - Update
tsupto 8.3.0 #28 - Update
@inquirer/typeto 2.0.0 #28
Full Changelog: v0.4.0...v0.5.0
0.4.0 (2024-08-20)
Added:
Fixed:
- In node versions >= 18 and < 18.20.0,
dirent.parentPathdoes not exist #15
Changed:
- Compact help lines #9
- Remove deprecated option:
extensions#12 - Mark as deprecated the options:
noFilesFound,canceledLabelandpath(to be removed in 0.5.0) #13 #17 - Mark as deprecated the theme option:
noFilesFound(to be removed in 0.5.0) #13
Full Changelog: v0.3.1...v0.4.0
0.3.1 (2024-08-11)
Fixed:
- Loss focus of the active item when
hideNonMatchisfalseand the first item in the list is disabled #10
Full Changelog: v0.3.0...v0.3.1
0.3.0 (2024-08-08)
Added:
hideNonMatchoption to hide files that do not match theextensionsoption or thematchoption, if provided #5matchoption #7allowCanceloption to allow the user to cancel the selection by pressing theEsckey #8
Changed:
- Mark as deprecated the option:
extensions(to be removed in 0.4.0) #7 - Now to go to the parent directory you must press the
Backspacekey #8 - Update
@inquirer/coreto 9.0.10 e74f66e
Full Changelog: v0.2.1...v0.3.0