Skip to content

Releases: br14n-sol/inquirer-file-selector

0.6.2 (2025-03-01)

02 Mar 00:11
v0.6.2
3598669
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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)

0.2.0 (2024-07-29)

05 Aug 00:08
v0.2.0
506b5d0
Compare
Choose a tag to compare

compare changes

Features

  • Add support for custom themes (43e3c94)

Other Changes

  • build(deps): update @inquirer/core to v9.0.6 (9e8284e)
  • lint: update @biomejs/biome rules (3406104)
  • build(deps-dev): add @tsconfig/node18 (48309e8)
  • refactor: remove ansi-escapes and add CURSOR_HIDE constant (52f422e)
  • refactor: replace yoctocolors with chalk (f6ea985)
  • refactor: move types to separate file (013c049)
  • refactor: move utils and constants to separate file (719aad8)
  • feat: add ensureTrailingSlash(), stripAnsiCodes() and getMaxLength() utils (a1e12a1)
  • build(deps-dev): add @inquirer/type (8101a92)

0.1.1 (2024-07-28)

05 Aug 00:07
v0.1.1
6ebb114
Compare
Choose a tag to compare

compare changes

Fixes

  • All files are disabled when no extensions are provided (f4096ce)