All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
-
Prompt user to open snippet in editor when editing existing snippet. #104
-
Support xsel as an alternative to xclip.
0.14.4 - 2021-09-05
- .deb package extended description
0.14.3 - 2021-09-05
- Highlight parameters in shell snippets (Issue #75)
- Make .deb with CD
- Updated dependencies
0.14.2 - 2021-08-11
- Updated dependencies
0.14.1 - 2021-06-22
- Updated indicatif dependency
- Switched from Travis CI to Github Actions
0.14.0 - 2021-06-22
- Newline-delimited JSON as export format
- Updated dependencies
- Added
termux-clipboard-setas copy command for Android ( Issue #93) --stdoutprints to stdout without copying
0.13.0 - 2021-01-10
--stdout flag to copy and search (Issue #93)
- Updated dependencies (except directories-next)
- Updated ureq code to v2
0.12.1 - 2020-11-22
Regex for matching <param> and <param=value> failed when multiple > were present (
Issue #91)
0.12.0 - 2020-11-21
the-way themes setgives a list of available themes to select from if no theme is given as input (PR 88)- Better clipboard errors (PR 90)
- Added
xclip/pbcopyto requirements in README - Updated dependencies
the-way themes list
0.11.1 - 2020-10-24
- Fixed keyboard shortcuts in search help and README
- Updated dependencies
0.11.0 - 2020-10-22
Needs an export-import to fix shell snippet extensions!
the-way export snippets.json
the-way clear
the-way import snippets.json- Keyboard shortcuts in
searchmode for deleting and editing snippets interactively. (PR 85) - Demo for
the-way cmd
- Single line code can be edited without external editor. (PR 83)
- Nicer errors: Backtrace information / warning no longer displayed. (f1fbb68)
- Print statements use chosen theme color (da2cf91)
- Shell snippets saved with .sh extension instead of sh (3d8d0c3). This needs an export + import.
- Better output when
the-way syncis called with no snippets stored (7e0991d)
0.10.1 - 2020-10-18
Installation via yay (PR 81 and 82 by spikecodes)
- Allow arrow key navigation while editing text in CLI (Issue #73)
- Spaces in
$EDITORwork now (Issue #80) - Updated dependencies
0.10.0 - 2020-10-14
- Added import from gist functionality (PR 79 by @xiaochuanyu).
Run
the-way import -g <gist_url>
- Updated
languages.ymlfor more GitHub language colors.
0.9.0 - 2020-10-08
the-way cmdallows adding shell snippets without asking for the language. Also, it takes the code as an argument so can be used in a shell function to automatically add the last used command for instance.- shell snippets can have user-controlled variables inside using
<param>and<param=value>. These are queried interactively from the user whenever the snippet is selected (withsearchorcp) - old snippet information is now editable in
the-way edit(arrow key navigation still doesn't work, waiting on the next dialoguer release)
0.8.0 - 2020-10-06
- Filter using a regex pattern with
-por--pattern(PR #68 by @meluskyc) - Can install
the-waywith brew.
- Updated dependencies
0.7.0 - 2020-09-03
BREAKING RELEASE - needs a database migration
- Before upgrade
the-way export > snippets.json
the-way clear- After upgrade
the-way import snippets.json- Switched from
reqwesttoureq - Updated dependencies
0.6.1 - 2020-07-23
Sort snippets numerically in list and search
Fixes Issue #65
0.6.0 - 2020-07-15
BREAKING RELEASE - needs a database migration
- Before upgrade
the-way export > snippets.json
the-way clear- After upgrade
the-way import snippets.jsonthe-way themes language <language.sublime-syntax> - Add support for syntax highlighting non-default languages (Issue #63)
- Removed
color_spantracedependency - Bumped
sledto v0.33.0
0.5.0 - 2020-07-14
BREAKING RELEASE - needs a database migration:
- Before upgrade
the-way export > snippets.json
the-way clear- After upgrade
the-way import snippets.jsonSync to Gist functionality! Issue #60
export filenameandconfig default filenamework without needing a>or an existing file
- bumped all dependency versions to latest
- aliased
cptocopy,deltodeleteandconfigtoconfigure
0.4.0 - 2020-07-04
Issue #58 - changed search highlight and tag colors
Bumped eyre and color_eyre versions. Holding off on bumping sled since it would need a database migration.
0.3.2 - 2020-06-03
0.3.1 - 2020-05-26
- Code highlighter defaults to .txt if syntax not found. This is a workaround b/c
syntectuses some kind of default syntax set which is a subset of the GitHub syntax set. Need to figure this out though, Kotlin isn't highlighted! - Switched to
directories-next.
0.3.0 - 2020-05-14
I hope I'm following semver correctly, this is a minor version update and not a patch update because the CLI input prompt style changed Also, no one should be using 0.2.4 b/c of the database bug.
Documentation for adding syntax highlighting themes to the README (Issue #47)
Updated dialoguer to 0.6.2.
This makes new and edit look much nicer. Destructive commands (clear and del) now use dialoguer's Confirm prompt.
The code preview for search shows the correct number of lines now in the top right corner, previously it showed 3 extra because of newlines.
This fixes Issue #46
0.2.5 - 2020-05-13
Fixed a pretty terrible bug - this is why tests matter. Snippet index is incremented after adding a snippet, also this is tested now (like it already should've been). Fixes Issue #43
0.2.4 - 2020-05-13
"Failed to open configuration file" error when running the-way config default - the config command now runs without having a valid
config file location (i.e. one that has read and write permissions) since you can use the command to make a valid file.
Any other command that needs a valid config file and can't load it now throws a more helpful error telling you how to fix it.
Fixes Issue #41
0.2.3 - 2020-05-08
Colorful errors with suggestions, courtesy of color_eyre
A bug in the change_snippet test that made its own release directory causing clashes between targets in Travis. This uses the correct release directory now based on the TARGET environment variable.
0.2.2 - 2020-05-06
- clipboard dependency: Instead, I'm using xclip and pbcopy respectively on Linux and OSX. This fixes Travis compilation issues on Linux and the weird issue that clipboard is cleared when the-way exits in Linux, which would've been pretty sad. clipboard is still a dev-dependency for MacOS, to test that copying works. The copy test is not run for Linux.
- onig_sys dependency: This was also causing issues on Linux, so now I'm using the fancy_regex feature flag for syntect instead.
- Linux binaries
- Tests to Linux compilation with Travis
- A changelog: I'll make sure to add changes to it from now, the previous two releases weren't perfectly documented.
- The CLI:
- copy -> cp
- delete -> del
- show -> view
- change -> edit
- themes current -> themes get
- themes -> themes list
0.2.1 - 2020-05-02
- OSX binary
- Better demo
- Added Travis CI (only for OSX)
- A first working version of the-way
- cargo install option