Skip to content

v3.0.0-rc2

Pre-release
Pre-release
Compare
Choose a tag to compare
@fho fho released this 24 Nov 11:30

Release Notes

This is a pre-release of version 3.0.0.

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
  • 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
    version
  • baur 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 with git_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
  • 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

Changes since 3.0.0-rc1

Bug fixes:

  • input files: fix: git_tracked_only did not work for ignored and files in dirs
  • baur version printed 3.0.0 as version, the rc suffix was missing

Full changelog: v2.2.0...v3.0.0-rc2