Releases: NSPC911/search
v1.1.0 | Slightly Major Update
A lot of changes, hang tight!
Changes
08ed519 -> Requests is installed in a separate thread
85df70c -> Requests is lazy-loaded
- It is loaded only when needed, like when resetting config and updating the script
73e80ba -> Updater uses the tagged tree instead of from main
- Previously, the script would straight up take from the main branch, which is considered a canary release.
- Now, it points to the tag (like v1.1.0)
94aacff -> Added ability to ignore directories
- Currently ignored directories are
.git
,node_modules
(fixed later) and__pycache__
(added later)
516f67e -> Fixed term being printed
701a41e -> Directories are ignored even if they are not in the current working directory
- Also fixed the wrong name of
node_modules
being.node_nodules
928b44a -> Added option to quieten output with --quiet
- You can change the default variable at
"default.show_current"
(default set to true) - If set to false, you can enable it with --verbose
search.config.json
is also renamed toconfig.json
BREAKING CHANGE- Workflow also outputs the SHA256 of archives (ready for scoop but not ready)
7ca710a -> Updated the workflow file
6322d93 -> Tweaked colors used in search + more
- Added help text in config and request errors
- Added supported colors to the config (--config list will not show them)
e80fdf8 -> Config now properly checks the version
- Previously you can sort-of "downgrade" by setting the current version or canary version to be higher than what is here, this fixes that
f76f69f -> Notes are shown when there is an update available
- It won't show if you haven't upgraded to v1.1.0, so do it!
b608e99 -> v1.1.0
You know the drill
Installation
For Command Prompt or Powershell, select bat.zip
and add the extracted folder to %PATH%
For Bash/Zsh, select bash.zip
and add the folder to $PATH
(i think) before also make search.sh
executable
Update
Updater won't work, download it here
Hashes
Why would you need it?
bat.zip
= 59ae612ef6ad869cb41702c5132ee3ac651bc195e65e2267cd9a1709d6f2c604
bash.zip
= 0e8562803dd390fa26867ffb5ffffb783f6f3a27c084a72af83f70bc43e21dcb
v1.0.4 | Skipped v1.0.3 for fun
I skipped v1.0.3 because just run search --update
smh
Changes
v1.0.3
1546af8 -> Fixed --in-file
exiting program
- Did a bump in stable version because it can affect many
v1.0.4
e9015c6 -> Added Flag Aliases
Aliases
- --in-cwd => -nr
- --recursive => -r
- --include-filename => -f
- --exclude-filename => -nf
- --search-content => -sc (new flag)
- -no-search-content => -nsc (new flag)
- --context => -c
- --file-name => -fn
- --case-sensitive => -cs
- --case-insensitive => -ncs
- --update => -u
- --config stays the same
d3f02bd -> import requests
is in a separate thread
- I've been noticing since the start, that importing requests takes ~1.5s, so it creates a new thread and then waits before starting the main program
ca7f830 -> More colourful
- Also provides commit hash for canary updates and option to auto-update
8003569 -> Fix config being set in current directory
- Not sure how I didn't catch it until today, but it is fixed! There will definitely be a lot of
search.config.json
files in your folders
8c0f769 -> Subtly highlights the term
- Theme changeable, but currently uses
clr.has_term.line
theme with style set to bright
9ce2d33 -> Fixed reference to stable
- Somehow it refers to
stable
instead ofcurrent
so updates were fucked, hopefully this fixes that
You know the drill
Installation
For cmd.zip, you will need to add the folder to %PATH%
For bash.zip, you will need to run chmod +x search.sh in the folder
Update
Just run search --update and type y
to confirm the update.
v1.0.2 | The Updater Update
Changes:
e692c8f -> Added ability to update within search itself
- Run search --update
188319e -> Changed how modules are checked
5ae986a -> Switched to argparse
- Much needed change as the previous method was super chaotic
a351330 -> Args change based on config
- So if your config has
"default.in_cwd"
set totrue
, using--recursive
disables searching in current directory
31a1a78 -> Changed references of write
to set
c07822b -> Setting a variable in a config is more stricter
- To ensure that boolean variables don't have strings in them
fa91134 & 91ff06a ->Updater asks to update or not
- I mostly needed this as I lost my changes once lol
Installation
For cmd.zip, you will need to add the folder to %PATH%
For bash.zip, you will need to run chmod +x search.sh in the folder
v1.0.1 | Some fixes
Changes:
2098b7a -> Switched to MIT License
from The Unlicense
- Not really sure why I chose The Unlicense, but switching back to MIT for the sake of it
176f8d2 -> Made sure Colorama is installed automatically
- Found out that it wasn't, so I added it to the modules needed to be checked
e572447 -> Made importing cleaner
- Yeah, imports are still a clump at the top, but it should be simpler.
Installation:
For cmd.zip, you will need to add the folder to %PATH%
For bash.zip, you will need to run chmod +x search.sh
in the folder
For scoop.zip, you will need to set up a shim manually. Just run scoop install search
when it comes out onto Extras
bucket.
v1.0.0 | First Release
First Release!
Nothing to take note of, other than to choose the respective terminal's zip archive.
For cmd.zip, you will need to add the folder to %PATH%
For bash.zip, you will need to run chmod +x search.sh
in the folder
For scoop.zip, you will need to set up a shim manually. Just run scoop install search
when it comes out onto Extras
bucket.
Full Changelog: https://github.com/NSPC911/search/commits/v1.0.0