Skip to content

Releases: br14n-sol/inquirer-file-selector

0.6.1 (2024-12-01)

01 Dec 22:44
v0.6.1
1d0b056
Compare
Choose a tag to compare

compare changes

QoL's

  • Added a ./ option in the explorer when the selection type is 'directory' or 'file+directory'. This allows for quicker selection of the current directory. #36 @pastacolsugo

Other Changes

  • build(deps): update @inquirer/core to 10.1.0 #35
  • build(deps): update @inquirer/figures to 1.0.8 #35
  • build(deps-dev): update @inquirer/select to 4.0.2 #35
  • build(deps-dev): update @inquirer/type to 3.0.1 #35
  • refactor: remove unnecessary type cast in usePrefix #35
  • chore: set up commit hooks with husky #37
  • refactor: add SelectionType type bb7804c
  • chore: update .node-version to 18.20.5 d78b915

0.6.0 (2024-10-30)

31 Oct 00:10
v0.6.0
c5056d3
Compare
Choose a tag to compare

compare changes

Features

  • Add the possibility to select directories. #24

Refactors

  • Remove deprecated property FileStats.isDir #33
  • Remove deprecated option hideNonMatch and match #33

Other Changes

  • build(deps-dev): update typescript to 5.6.3 #34
  • build(deps-dev): update tsup to 8.3.5 #34
  • build(deps-dev): update @biomejs/biome to 1.9.4 #34
  • build(deps-dev): update @inquirer/type to 3.0.0 #34
  • build(deps-dev): update @inquirer/select to 4.0.1 #34
  • build(deps): update @inquirer/core to 10.0.1 #34
  • build(deps): update @inquirer/figures to 1.0.7 #34
  • docs: update README.md
  • docs: add type-selection example
  • docs: update recursive example

0.5.0 (2024-10-22)

22 Oct 23:48
v0.5.0
9ad532c
Compare
Choose a tag to compare

compare changes

Features

  • Add the filter option. #27
    • Now match option are deprecated and will be completely removed in version 0.6.0

Warning

Unlike the match option, filter allows you to filter directories as well, so it should be used with caution as it may break the navigation, preventing you from moving forward in the directory tree.

  • Add the showExcluded option. #27
    • Now hideNonMatch option are deprecated and will be completely removed in version 0.6.0

Note

As its name indicates showExcluded works the other way around than hideNonMatch.

  • Add support for custom prefix based on the status of the prompt. #31
  • Add loop boolean property to allow loops in file list. #32

Refactors

  • Remove deprecated option noFilesFound, path and canceledLabel #23

Other Changes

  • build(deps-dev): update @inquirer/select to 2.5.0 #26
  • build(deps-dev): update @biomejs/biome to 1.9.1 #28
  • build(deps-dev): update typescript to 5.6.2 #28
  • build(deps-dev): update tsup to 8.3.0 #28
  • build(deps-dev): update @inquirer/type to 2.0.0 #28
  • build(deps): update @inquirer/figures to 1.0.6 #28
  • build(deps): update @inquirer/core to 9.2.1 #28
  • docs: update README.md

0.4.0 (2024-08-20)

20 Aug 20:07
v0.4.0
5656214
Compare
Choose a tag to compare

compare changes

Features

  • Add the emptyText and cancelText options with their respective theme options. #13
    • Now noFilesFound and canceledLabel options are deprecated and will be completely removed in version 0.5.0
    • Now noFilesFound theme option has been deprecated and will be removed completely in version 0.5.0
  • Add the basePath option. #17
    • Now path option has been deprecated and will be removed completely in version 0.5.0

Fixes

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

Refactors

  • Remove deprecated option extensions #12
  • Compact help lines. #9

Other Changes

  • docs: update README.md

0.3.1 (2024-08-11)

12 Aug 02:26
v0.3.1
d109c43
Compare
Choose a tag to compare

compare changes

Fixes

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

0.3.0 (2024-08-08)

09 Aug 01:19
v0.3.0
8596e92
Compare
Choose a tag to compare

compare changes

Features

  • Add the hideNonMatch option to hide files that do not match the extensions option or the match option, if provided. #5
  • Add match option. #7
    • Now the extensions option has been deprecated and will be removed completely in version 0.4.0
  • Add the allowCancel option to allow the user to cancel the selection by pressing the Esc key. #8
    • Now to go to the parent directory you must press the Backspace key.

Other Changes

  • build(deps): update @inquirer/core to 9.0.10 (e74f66e)
  • refactor: some internal name changes (a25d726)
  • docs: update README.md

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)
  • docs: update README.md (07b269d)
  • chore: update preview.gif (54c974d)

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)

0.1.0 (2024-07-27)

05 Aug 00:06
v0.1.0
33c4145
Compare
Choose a tag to compare

Initial release.