Skip to content

Releases: br14n-sol/inquirer-file-selector

1.0.1 (2025-08-10)

11 Aug 01:29
v1.0.1
22be5d8

Choose a tag to compare

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)

11 Aug 01:17
v1.0.0
e4cab77

Choose a tag to compare

Added

  • Types exported: StatusType, PromptConfig, Item, RawItem, ItemTypeUnion, PromptTheme, RenderHelpContext, RenderItemContext and Keybinds (#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.type set to 'file' resolved (#113) (by @jrsun)

Changed

  • Made files and directories selectable by default (#42)
  • Refactored theme interface (#54)
  • Returned null instead 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 Item object instead of just a path (#77, #85, #86, #96, #106)
  • Corrected @inquirer/type being incorrectly listed as a devDependency (#90)
  • Enhanced prompt signature with conditional return types (#95)
  • Updated @inquirer/figures to version 1.0.12 (#102)
  • Updated @inquirer/type to version 3.0.7 (#102)
  • Updated @inquirer/core to 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 Status Enum and improved type safety (#70)
  • Separated filtering from file sorting logic (#74)
  • Updated rimraf to version 6.0.1 (#78)
  • Updated rollup-plugin-dts to 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.md and simplified main README.md (#88, #112)
  • Removed preview.gif (#89)
  • Migrated project from npm to pnpm (#91)
  • Moved Status and ANSI_HIDE_CURSOR constants to consts.ts (#92)
  • Updated @commitlint/cli to version 19.8.1 (#102)
  • Updated @commitlint/config-conventional to version 19.8.1 (#102)
  • Updated rollup-plugin-node-externals to version 8.0.1 (#102)
  • Updated rollup to version 4.45.0 (#105)
  • Updated @biomejs/biome to version 2.1.1 (#105)
  • Updated @rollup/plugin-typescript to version 12.1.4 (#105)
  • Added isValidItemType utility to unify and simplify item type checks (#110, #111)

New Contributors

Full Changelog: v0.6.2...v1.0.0

0.6.2 (2025-03-01)

02 Mar 00:11
v0.6.2
3598669

Choose a tag to compare

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:

  • Wrong symbol in file tree when loop is true #63 17c6d95

Changed:

  • Update chalk to 5.4.1 #67
  • Update @inquirer/figures to 1.0.10 #67
  • Update @inquirer/core to 10.1.7 #67

Development:

  • Replace tsup with rollup #39 006b1e4
  • Replace lint-staged with nano-staged #65 77bccd7
  • Replace stripAnsiCodes function with node:util.stripVTControlCharacters a4c574c
  • Update @commitlint/cli to 19.7.1 #67
  • Update @commitlint/config-conventional to 19.7.1 #67
  • Update @inquirer/select to 4.0.9 #67
  • Update @inquirer/type to 3.0.4 #67

Full Changelog: v0.6.1...v0.6.2

0.6.1 (2024-12-01)

01 Dec 22:44
v0.6.1
1d0b056

Choose a tag to compare

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:

  • Update @inquirer/core to 10.1.0 #35
  • Update @inquirer/figures to 1.0.8 #35

Development:

  • Update @inquirer/select to 4.0.2 #35
  • Update @inquirer/type to 3.0.1 #35
  • Set up commit hooks with husky #37
  • Add SelectionType type bb7804c
  • Update .node-version to 18.20.5 d78b915

Full Changelog: v0.6.0...v0.6.1

0.6.0 (2024-10-30)

31 Oct 00:10
v0.6.0
c5056d3

Choose a tag to compare

Added:

  • Support for directory selection #24

Changed:

  • Remove deprecated: FileStats.isDir #33
  • Remove deprecated options: hideNonMatch and match #33
  • Update @inquirer/core to 10.0.1 #34
  • Update @inquirer/figures to 1.0.7 #34

Development:

  • Update typescript to 5.6.3 #34
  • Update tsup to 8.3.5 #34
  • Update @biomejs/biome to 1.9.4 #34
  • Update @inquirer/type to 3.0.0 #34
  • Update @inquirer/select to 4.0.1 #34

Full Changelog: v0.5.0...v0.6.0

0.5.0 (2024-10-22)

22 Oct 23:48
v0.5.0
9ad532c

Choose a tag to compare

Added:

  • filter option, allowing directory filtering #27
  • showExcluded option, which works the opposite way of hideNonMatch #27
  • Support for a custom prefix based on the prompt status #31
  • loop boolean property to allow looping in the file list #32

Changed:

  • Remove deprecated options: noFilesFound, path and canceledLabel #23
  • Mark as deprecated the options: match and hideNonMatch (to be removed in 0.6.0) #27
  • Mark as deprecated: FileStats.isDir (to be removed in 0.6.0) 75febe5
  • Update @inquirer/figures to 1.0.6 #28
  • Update @inquirer/core to 9.2.1 #28

Development:

  • Update @inquirer/select to 2.5.0 #26
  • Update @biomejs/biome to 1.9.1 #28
  • Update typescript to 5.6.2 #28
  • Update tsup to 8.3.0 #28
  • Update @inquirer/type to 2.0.0 #28

Full Changelog: v0.4.0...v0.5.0

0.4.0 (2024-08-20)

20 Aug 20:07
v0.4.0
5656214

Choose a tag to compare

Added:

  • emptyText and cancelText options with their respective theme options #13
  • basePath option #17

Fixed:

  • In node versions >= 18 and < 18.20.0, dirent.parentPath does not exist #15

Changed:

  • Compact help lines #9
  • Remove deprecated option: extensions #12
  • Mark as deprecated the options: noFilesFound, canceledLabel and path (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)

12 Aug 02:26
v0.3.1
d109c43

Choose a tag to compare

Fixed:

  • Loss focus of the active item when hideNonMatch is false and the first item in the list is disabled #10

Full Changelog: v0.3.0...v0.3.1

0.3.0 (2024-08-08)

09 Aug 01:19
v0.3.0
8596e92

Choose a tag to compare

Added:

  • hideNonMatch option to hide files that do not match the extensions option or the match option, if provided #5
  • match option #7
  • allowCancel option to allow the user to cancel the selection by pressing the Esc key #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 Backspace key #8
  • Update @inquirer/core to 9.0.10 e74f66e

Full Changelog: v0.2.1...v0.3.0

0.2.1 (2024-08-04)

05 Aug 00:08
v0.2.1
682ba6d

Choose a tag to compare

compare changes

Fixes

Other Changes

  • build(deps-dev): update tsup to v8.2.4 (ef49866)
  • build(deps-dev): update @inquirer/type to v1.5.2 (efa5ee6)
  • build(deps): update @inquirer/core to v9.0.9 (dd28151)