add CHANGELOG, bump version

This commit is contained in:
yosh 2023-09-06 22:42:17 -04:00
parent e7b16d76e5
commit ab75a05046
2 changed files with 62 additions and 1 deletions

61
CHANGELOG.md Normal file
View File

@ -0,0 +1,61 @@
# Changelog
## v1.4.5
- consistency and shell-best-practices changes
- move to git.unix.dog
## v1.4.4
- use raw ascii codes instead of `tput`, since `tput` isn't portable
- setting `$tagnames` would cause duplicates if there was a multi-value tag but separated by at least 1 tag. use `sort | uniq` to fix
- replace long slow and cursed grep + awk call for opus comment chaining with pure shell
## v1.4.3
- added more color :D
- tiny code cleaning
- `find -iname` is not posix, replace with abusing `[aA][Bb]`
## v1.4.2
- `find` is now case insensitive
- `/dev/stdout` is not strictly POSIX, but `dd` defaults to stdout anyway, so just remove it from the `dd` call
## v1.4.1
- change the color commands to use `setaf` as a fallback if `setf` doesn't work. also move outside the `set -e` since it doesn't really matter if they fail
- I noticed that tmux was being weird with this hence why I moved it out
- make `checkupdate()` use latest release instead of latest commit
## v1.4.0
- Update README a bit to add `mktemp -u` as a dependency, as well as fix an example
- Add `-e` option to remove the `ENCODING` and `ENCODING_OPTIONS` tags from opus files
- I wanted to do this for a while, but opustags couldn't modify files that still had the cover art. It was updated to do so recently, so yippee!
- Remove fail on specifying `-k` and `-r` at the same time, since there's no real downside to doing so (it's just weird)
- Change command pipeline to get number of threads to hopefully be more portable (based on stefanct's answer [here](https://stackoverflow.com/questions/45181115/portable-way-to-find-the-number-of-processors-cpus-in-a-shell-script))
## v1.3.2
- Fix double newlines in tags causing cutoff
- Fix defined but empty tags causing files to not be encoded; empty tags are now dropped completely
## v1.3.1
- I confused two versions I had and the NO_COLOR var was being flagged incorrectly, this fixes it
## v1.3.0
- added color to output for hopefully easier brain parsing
- you can set the env var [`NO_COLOR`](https://no-color.org/) to disable this
- flacconv now supports a tag having multiple values, i.e. being set twice
- no longer uses a "throwaway" control character for building the command chain, rather posix positional parameters now
## v1.2.2
- Tags with no value will not be added to the opus comment chain.
- This handles the edge case where a tag contains a newline and `=` on line 2+ of the tag.
- Removed a testing function.
## v1.2.1
- use a script-stopping warning for invalid id3 header in flac files
## v1.2.0
changes from 1.0.0 from the top of my head:
- added update checking
- newlines in comments support
- verbose and very verbose output
- remove automatic id3 cleaning from input flacs (outside scope of this script)
- some bugfixes & freezes fixed

View File

@ -1,6 +1,6 @@
#!/bin/sh
VERSION=1.4.4
VERSION=1.4.5
RED="$(printf '\033[38;5;9m')"
GREEN="$(printf '\033[38;5;10m')"
YELLOW="$(printf '\033[38;5;11m')"