Skip to content

Latest commit

 

History

History
295 lines (261 loc) · 12.8 KB

CHANGELOG.md

File metadata and controls

295 lines (261 loc) · 12.8 KB

Changelog

All notable changes to this project will be documented in this file.

Tag BREAKING means the change break compatibility with a previous version of the shell.

[0.8.2] - 2024-11-06

Fixed

  • Compilation with Nim 2.2.0

[0.8.1] - 2024-06-25

Fixed

  • Highlightning the user's input when there are nested quotes

[0.8.0] - 2024-05-31

Added

  • The commands' completion can now find also executables in the current directory
  • Ability to quit from the shell with CTRL-D shortcut
  • Ability to select a help topic from the list of them by using its number This option is available only for command help without entering any topic's name
  • Ability to color environment variables in the user's input when they names starts with $

Changed

  • Updated the shell's help entries
  • Updated contributing guide

Fixed

  • Returning to the first row from the last row in Tab completions' list.
  • Showing the shell's error's information
  • Directories' completion doesn't work with ~ as home directory replacement
  • Typo in the help topics list
  • Crash due to locked the shell's database

[0.7.0] - 2024-02-11

Added

  • Completions for commands' arguments. It can be set manually or imported from files, previously exported from the shell, into the shell's database
  • Commands to optimize, export or import the shell's database
  • Option to set the maximum length of a terminal's title which will be set by the shell
  • Loading shells' profiles on Unix systems
  • Creating the Unix man page for the shell
  • Ability to set the shell's output's colors as the shell's theme system.
  • Date to the debug's log's messages
  • Types to environment variables
  • Command exec to execute a command with or without using the system's default shell. The behavior of the command depends on the shell's configuration
  • Option to set the shell's default behavior related to executing commands: do the shell should use the system's default shell or not

Changed

  • Updated the shell's help entries
  • Updated look of list of available subcommands. Now there are more colors.
  • Redesigned the look of the output of command options list. Removed information about types and default values for options and made information about their values more human-friendly
  • BREAKING: Redesigned the command options set. Instead of setting the name and value of the option to set by its arguments, the command is now a form similar to setting an alias or a variable
  • BREAKING: Redesigned the command options reset. Same as above, instead of setting the name of the option to reset by its argument, the command will ask for the name after executing it. Resetting of all of options is done in the same way as it was
  • Moved information about the last command's error code before information about the current directory in the shell's default prompt
  • Commands alias delete, alias show, alias edit can now be executed without entering the index of the alias. In that situation, the user will be asked for the index of an alias from their list
  • Commands completion edit, completion delete, completion show can now be executed without entering the index of the completion. In that situation, the user will be asked for the index of a completion from their list
  • Commands plugin remove, plugin enable, plugin disable, plugin show can now be executed without entering the index of the plugin. In that situation, the user will be asked for the index of a plugin from their list
  • Commands variable delete, variable edit, variable show can now be executed without entering the index of the variable. In that situation, the user will be asked for the index of a variable from their list
  • Updated contributing guide
  • Look of various shell's forms. Now they are more colorful.

Fixed

  • Cross-compiling the shell for Arm
  • Typo in the editing alias message
  • Getting completions for directories
  • Handling unknown key pressed when selecting a command's suggestion
  • Crash when setting a terminal's title
  • Commands' suggestions don't work with the built-in shell's commands
  • Refreshing environment variables after adding a new or editing an existing
  • If the shell's alias' output is set to a file, append the result of the alias to the file instead of overwritting it
  • Sending the shell's alias' output to the standard error output
  • Loading the shell's plugins at start of the shell
  • Disabling the shell's plugins
  • Crash when there is no more entries in the shell's history

[0.6.0] - 2023-11-13

Added

  • New subcommand variable show to show details about the selected shell's environment variable
  • Option to set case-insentivity for Tab completion for directories and entries
  • Logging the shell's actions to the file when the shell is build in debug mode
  • New command . to repeat the last command entered by the user
  • Support for Delete key in the user's input
  • Suggestions for commands when the user enters an unknown command

Changed

  • Updated README.md
  • Updated contributing guide
  • Made the current values of a variable colored during its edition
  • Show message when there are no defined aliases instead of the empty list
  • Show message when there are no enabled or no available plugins instead of the empty list
  • Show message when there are no defined environment variables instead of the empty list
  • Better handling very long lines in the user's input
  • Using unittest2 package for the project's unit tests
  • BREAKING: updated the shell's database schema and its code. This made the old entries in the shell's history to lost their last used time. All the new entries or updated entries will have set the time correctly
  • Removed the shell's variables' description from command variable list
  • Updated the shell's help entries
  • Look of various lists. Now they have more colors inside
  • Updated the shell's help system, with some text formatting options
  • Setting a terminal's title shows also the command's arguments not just the command

Fixed

  • Compiling the shell with Nim 2.0
  • Compiling the shell on Windows
  • The shell hangs when the directory in which the user doesn't exist anymore
  • Return the user's command's result as a shell's result
  • Crash when trying to edit an existing environment variable
  • Showing header during editing an alias after setting its recursiveness
  • Typos in README.md and CHANGELOG.md
  • Using environment variables in the shell's aliases
  • Backspace key doesn't work in some terminal emulators

[0.5.0] - 2023-01-05

Added

  • Directory separator to tab completion if the completion's result is a directory
  • Tab completion now works also with commands not only with their arguments
  • Support for Unicode in the user's input
  • Ability to set the terminal's title. Can be enabled or disabled in the shell's options.
  • Ability to enable or disable syntax highlighting for the user's input
  • Ability to look for a command in the shell's commands' history
  • Info about the amount of the last commands to history list command
  • Tab completion: support for select a completion from the list of completions
  • Tab completion: completion for available commands and shell's aliases
  • Ability to set the amount of displayed Tab completions on the list
  • Option to set style of the output headers, like sections in forms to set aliases and variables, listing commands, etc.
  • Prevention from crash shell during work
  • Options to set amount of columns in the help list and the completion list
  • Sort alphabetically the list of shell's options

Changed

  • BREAKING: Updated plugins' system. May require to add the installed plugins again, due how pre-command and post-command hooks are handled now
  • Updated README.md
  • Better syntax highlighting in the user's commands
  • Better handling the user's input in various forms, like adding variables, aliases, etc.
  • Better look of some commands output, like headers, word wrapping, etc.
  • BREAKING: Type of historyAmount option from natural to positive
  • BREAKING: Redesigned how the shell's converts the commands arguments. It should now properly handle arguments like -jar.

Fixed

  • Clearing the plugin's table after failed adding the new plugin to the shell
  • The shell option promptCommand should be writable by the user
  • Style issues in README.md
  • Refreshing the user input when it is longer than a terminal width
  • Don't mark environment variable as invalid command
  • Better handling arguments in the test plugin
  • Special keys not working with some terminal emulators
  • Typos in CHANGELOG.md and README.md
  • Getting stack trace for the shell's exception when build in debug mode
  • Adding values of short options in entered commands
  • Aliases don't return proper exit codes
  • Deleting exceeded commands from the shell's history
  • Delete more commands from the shell's history if its size changed in the shell's options
  • Shell's hangs on problems with input/output

[0.4.0] - 2022-10-14

Added

  • BREAKING: Version to the plugins API
  • Information about supported API version by plugin to plugin show command
  • Information about used API calls by plugin to plugin show command
  • Deleting a character with Backspace key in the middle of the user's input
  • Canceling entering the command with Ctrl-c
  • Showing error message when a plugin sends unknown request or response to the shell
  • Ability to add, remove or replace the shell's commands with the shell's plugins
  • Ability to add, remove or update the shell's help's entries with the shell's plugins

Changed

  • Updated README.md
  • Updated contributing guide
  • BREAKING: Better, more effective system of plugins
  • Better help entry for list of subcommands for the selected command
  • BREAKING: Better, more advanced system of help

Fixed

  • Typos in README.md
  • Crash when trying to enter a directory outside the user's home directory tree
  • Executing aliases which arguments contain whitespace
  • Backspace key during editing a command entered by the user

[0.3.0] - 2022-07-29

Added

  • Shell's commands' history now remember directory in which the command used last time and prioritize the local commands
  • Support for shell's read-only options
  • Ability to select how the shell's history should be sorted
  • Ability to reverse direction of the shell's history last commands list
  • Ability to set the amount, order and direction of order of the last commands to show for history list command
  • Ability to redirect output of aliases to standard error or the selected file
  • Ability to set the output of program or script as the shell's prompt
  • The shell's plugins' system

Changed

  • Better getting commands from the shell's history
  • Better help entry for history list command
  • Type of some the shell's options' to natural instead of integer
  • Updated README.md
  • BREAKING: Renamed command history show to history list to match other subcommands related to listings
  • BREAKING: Renamed command options show to options list to match other subcommands related to listings

Fixed

  • Reading command line parameters, when there is set database path and the command to execute
  • The program's help about setting the database's path
  • Showing error information during Tab completion
  • Showing error information during getting command from the shell's history
  • Showing error message on standard output instead of standard error
  • The look of alias show command when the description of the alias is empty
  • Pressing Enter key repeat the last entered command
  • The cursor position during editing a command

[0.2.0] - 2022-05-09

Added

  • Checks for valid name and path during creating or editing the shell's aliases
  • Checks for valid name and path during creating or editing the shell's environment variables
  • When there is partial input, looking in the shell's history returns the first command which starts with the input
  • Ability to insert characters into the current input of the user
  • Ability to move between start and end of the current input of the user with Home and End keys
  • Simple Tab completion for command with names of files and directories
  • Coloring the user entered command on green when valid and red on invalid
  • Ability to use environment variables inside the shell's environment variables

Changed

  • Updated README.md
  • Updated adding a new alias form
  • Updated editing an existing alias form
  • Updated look of list of available aliases, help entries, showing last commands from shell's history, list of shell's options, list of environment variables, showing the selected alias details, list of shell's options
  • Updated adding a new variable form
  • Updated editing an existing variable form

Fixed

  • Merging commands with || in aliases doesn't work properly
  • Information about unknown help topic
  • Parsing aliases arguments when the user input contains $ sign
  • Handling aliases arguments with whitespace

[0.1.0] - 2022-02-23

  • Initial release