All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
- fix:
fav daemon
uses data cached in memory instead of reading again, leading to repeated pullings withfav pull
called manually during daemon.
- enhance:
fav -d /path
to set working directory. - enhance:
fav auth reuse
can receive path both containing or not containing.fav
. - enhance: add a systemd service example in README.
- bump dependencies
- fav status will show name of resource creator.
- enhance: Owner trait for resource.
- fix:
fav pull <res_id>
will now forcely pull the resource.
- improve:
pull
will check ffmpeg before running.
- fix: wrong hint of
fav status -h
- fix: status won't be saved after each epoch of fav daemon
- achives(合集) support. Use
fav status -a
to show the achives.
- improve: annotation of
fav_derive
- fix daemon: double SIGINT handlers when pulling
- improve follow this
- yanked
- yanked
- fix: batch pull SIGINT hint missed
- core: refactored, more reliable
- fix: SIGINT handle
- tracing: use stdout as tracing output while stderr as processbar
- improve progress bar
- skip and contine if error happens while pulling chunks
- terminate if network disconnected
- improve error message if resource inaccessible
- improve error message during daemon
- core: fix a doc test which will create temp dir
- better documente for
fav_core
- fix bugs in batch ops
- fix ctrl-c not handled: handle
SIGINT
infav_core
's Ext methods - auth: auto fetch after login
- (un)track: show hint after (un)track
- pull: id not found hint improve
- cli version: remove git timestamp
- fix:
batch_pull
andpull
handle SIGINT together, leading multi info log. - refactor all commands
- fix: cache not clear if failed or cancelled
- yanked
- optimize: lto set to
fat
to reduce binary size. - init: add confirming if '.fav' already exists.
- improve: show more infos(timestamp) in
fav -V
. - fix: meaningless version message when building without a git tree.
- optimize: speed up
fav fetch
- improve: show expired status in
fav status bvid
. - improve: show more infos(git commit hash and rustc info) in
fav -V
.
- utils: remove duplicated status change.
- fix:
fav fetch
will mark all resources asexpired
if no network. This command fetches sets before resources, so the bug only happens when network disconnected after fetching sets successfully, it's rare.
- core: FavCoreError will show a message.
- pull: Sometimes, users may collect paid videos, but have no permission to watch full videos. This lead to a
SerdePointerError
. Fix: a message ask users to untrack the video has been added. - development:
fav_utils_old
will no longer be included into workspace.
- bump dependencies
- core: improve log
- bump dependencies.
- daemon: show error.
- daemon: performance improvement.
- bump dependencies.
- improvement: quit while running
daemon
in a dir which is not initialized.
- bump dependencies
- fix: modify src/ while building. This does not influence users.
- Auth reuse: use hard link instead of copying file
- Stop publish utils and cli to crates.io, because
Cargo
only allow modifyOutDir
during building now. - Sync the version of cli and bin.
- improve error hint of IoErr
- Untrack: When untrack a set, it will clear its content now, or
fav status
would keep showing its resources after untracking.
- Improvement: the help info of
pull
. - Auth: Add
reuse
tofav auth reuse
to reuse the old cookies.
- Fix: media count not refresh after fetching.
- TryFix: panic when
base_url
not exist.
- Fix: overwriting the same file when pulling resources with the same name.
- Improvement: the help info of
pull
.
- Handle Expired.
- Pull: If
pull bvid
,fav
will force to pull it, as long as it's tracked and not expired.
- Broken upgrade: the new
fav
is not compatible with the oldfav
. You need to delete.fav
dir and re-init
yourfav
after upgrading to0.2.0
. - Refactor:
fav
is completely rewritten in rusty style, and is now more generic and more maintainable. - Simplify: Only
fetch
pull
status
track
init
auth
daemon
completion
commands are supported now. Themodify
command is removed, since it's too tedious to modify status through a CLI tool. - Status: Now
status
only show id, title and few status.What's more, use --sets instead of --list, --res instead of --video - Track: Now
track
does not support resource not in remote favorite sets. (In other words, there's no data only in local, but not in remote.) - Pull: Now
pull
will callfetch
first, and resources not tracked and fetched will never able to be pulled. - Init: Only support bilibili now, so no args needed after
init
. - Daemon: Now iterval less that 15min will only show a warning, and won't exit.
- Fix:
fav completion
generate the wrong script.
- Fix: args parsing error when using
fav modify
fav init
command.
- Fix:
Ctrl-C
only cancels current batch(10) of jobs, instead of exiting the whole program. - See discussions in #5 for more information about the next developping trends.
- add
fav completion
command to support auto completion forbash
,elvish
,fish
,powershell
,zsh
shell; Runfav completion -h
for more information. (e.g. runfav completion fish > ~/.config/fish/completions/fav.fish
to register the auto completion script forfish
; You can googlewhere to put completions for xxshell
to find the right place to put the completion script for your shell.)
- auto complete support for
zsh
andfish
; Runfav complete -h
for more information. (e.g. runfav complete --shell fish --register ~/.config/fish/completions
to register the auto completion script forfish
) - I'll also upload some other auto completion scripts for
bash
andpowershell
and so on.
- increased version to 0.1.8
- narrow unsafe closure
- upgrade git action