Repository navigation
task-manager v0.9.0
Hooks move out of config files and into packages, taskmgr guide is reorganised
into jobs, and sdk/tasks sheds several forwarding APIs. SDK consumers must move
to sdk/v0.9.0.
⚠️ Breaking changes
sdk/tasks API
- Removed
Config.Hooks,GlobalConfig.HooksandHookID. Hooks now live in packages (#72). - Removed
Store.Query,Store.Find,Store.FindPageandFindOptions. Each forwarded toList/ListPagewith no caller outside the tests (#73). - Replaced
Store.SetNowwith theWithClockconstruction option.SetNowwas an unsynchronised field write on a type documented as safe for concurrent use (#73). Store.HookChainno longer returns a package's load error. It returns the hooks that did load, asPackagesandGuideTopicsalready do (#77).- Added
PackageRef,PackageInfo,HookInfo,ErrPackageMissing,Store.Packages,Store.HookChain,Store.InspectPackageandInspectGlobalPackage(#72), andGuideTopic(#74).
Configuration
- An absolute
path:entry in ause:list is refused. Install the package under the taskmgr home and name it withname:(#77). - A config file still carrying the withdrawn
hooks:key now fails every mutation with a message naming the key, instead of being ignored (#77). - Two
use:entries resolving to one package name no longer error. The later one is reportedshadowed(#77).
taskmgr guide
- The guide is organised into jobs.
taskmgr guidewith no argument prints the job list and nothing else (#79). - The topic ids
intro,conventionsandmore(#74), andmodel,loop,body,queryandoutput(#79), no longer resolve. An unknown topic now suggests the job that holds it, and--listremains the complete roster. - A package's
guide:entry gains an optionalinto:, which places a fragment inside a built-in job (#79).
Features
- Move hooks from config files into packages (#72)
- An addressable guide, and prose contributed by packages (#74)
- A guide in jobs, and packages that add to one (#79)
Fixes
Docs
- Bind the six body rules with a completion criterion (#75)
Install
go install github.com/hk9890/task-manager/cmd/taskmgr@v0.9.0
Or download an archive below. To verify (needs cosign 3.x):
sha256sum -c checksums.txt
cosign verify-blob checksums.txt \
--bundle checksums.txt.bundle \
--certificate-identity-regexp '^https://github\.com/hk9890/task-manager/' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
Full changelog: v0.8.0...v0.9.0