v3.0.0
Release Notes
The version brings support for environment variable inputs, excluding files from
inputs by glob patterns, better shell completion support and major performance
improvements when resolving input files.
The configuration files and the database schema is not compatible with
version 2. Upgrade instructions and documentation can be found in the Wiki.
Changes
New Features
Input Resolvers
- Environment variables can be tracked as inputs of tasks in the new
Input.EnvironmentVariables
config section - Files can be excluded from inputs by specifying glob patterns in a
Input.ExcludedFiles
config file section
Command Line
- support to generate shell completion scripts for
- fish via
baur init fishcomp
, - zsh via:
baur init zshcomp
, - powershell via:
baur init powershellcomp
- fish via
- shell completion completes arguments to app-names, task-names, task-ids and
application directories, when the completion is done inside a baur repository.
Arguments are not completed anymore to files or directories if those are not
supported by the command. baur upgrade db
: is a new command to upgrade the database schema to the current
versionbaur init bashcomp
got a--stdout
parameter to write the completion script
to stdout
Enhancements
-
Inputs:
- the performance penalty of enabling
git_tracked_only
for file inputs is
gone, resolving inputs withgit_tracked_only
enabled is now similar fast
then without - performance of resolving and hashing input files was improved,
- multiple
**
patterns in an input file path can now be specified, instead
of only 1 occurrence
- the performance penalty of enabling
-
Misc:
baur init bashcomp
now prints how to load the written shell completion script- build with go 1.19.3
- third party package updates
- windows binaries are now provided in .zip instead of .tar.xz archives
- windows/arm64 release binaries are created
- a signed file containing release file checksum is provided
Bug fixes
- input file paths are correctly calculated when
baur
is invoked in path were
the repository root directory is a symlink
Full changelog: v2.2.0...v3.0.0