Repository navigation
v1.7.1
Improvements
file://targets accept filepath globs and[[.YYYY]]/[[.MM]]/[[.DD]]/[[.YYYYMMDD]]date templates, pick the newest match and reportpathandmatch_count#57 @umputun- shared
parseTargetforprogram://,file://andcert://targets #57 @umputun ProgramProvider.WithShellremoved; shell features go through an explicit interpreter, e.g.path: /bin/sh, args: ["-c", "..."]#57 @umputun
Bug Fixes
?cron=no longer becomes part of the target forprogram://,file://andcert://#57 @umputun- file provider no longer panics and deadlocks
/statuswhen a missing file reappears #57 @umputun ?args=a&args=bnow yields separate argv entries instead of one joined string #57 @umputun- zero-byte files and directories no longer return an empty 500 #57 @umputun
- a bad mongo
counttemplate no longer panics the process #57 @umputun - fixed data race on the mongo provider clock shared across services #57 @umputun
- config marshalling no longer drops
count_query, quotesargs, or emits&where?belongs #57 @umputun
Upgrade impact
Provider targets are parsed with net/url now, so encoding rules apply where they did not before:
- a bare
%in a path is invalid —file:///backups/50%_done.tarworked before and errors now %20decodes to a space instead of staying literal- a decoded
*,?or[in afile://target is glob syntax, so a filename containing one is no longer an exact path - a raw
?starts the query and a raw#is rejected; encode them as%3Fand%23 - a relative
-starget whose first segment contains@needs a./prefix
YAML path: values are escaped automatically; the rules apply to the -s URL form.