Skip to content

Releases: Canop/bacon

bacon v3.0.0

09 Oct 06:20

Choose a tag to compare

Major feature: nextest support

Hit n to launch the nextest job.

It's a default job, but you may define your own one by specifying analyzer = "nextest" in the job entry.

Internally, this is supported by a new analyzer framework which will allow easier analysis updates or addition of analysis for other tools (or languages).

Fix #196

Major feature: scope test job to failure

If you're running a test or nextest job and you want only the failing test to be retried, hit f.

If you want all tests to be executed again, hit esc.

Fix #214

Other features:

  • grace period (by default 5ms) after a file event before the real launch of the command and during which other file events may be disregarded. Helps when saving a file changes several ones (eg backup then rename).
  • new exports structure in configuration. New analysis export bound by default to ctrl-e. The old syntax defining locations export is still supported but won't appear in documentations anymore.
  • recognize panic location in test - Fix #208
  • lines to ignore can be specified as a set of regular expressions in a ignored_lines field either in the job or at the top of the prefs or bacon.toml - Fix #223
  • toggle-backtrace accepts an optional level: toggle-backtrace(1) or toggle-backtrace(full) - Experimental - Fix #210
  • configuration paths can be passed in BACON_PREFS and BACON_CONFIG env vars - Fix #76

Fixes:

  • fix changing wrapping mode not always working in raw output mode - Fix #234

bacon v2.21.0

14 Sep 06:13

Choose a tag to compare

With show_changes_count=true, you can see the number of file changes that occurred since last job start.

Major change: the on_change_strategy setting and a new default strategy

  • With on_change_strategy = "kill_then_restart", the current job is immediately killed and a new job restarted. This is the behavior that bacon had before this PR. It has the downside of never allowing any job to complete if you're always changing files and the job is just a little too long to finish between changes.
  • With on_change_strategy = "wait_then_restart" (which is the new default, so you can omit it), bacon waits for the job to finish before restarting it. This is probably much better when the jobs aren't instant and you want to continue changing files while it's computing.

The on_change_strategy can be defined in the global prefs, in the project settings, and even for a specific job.

bacon v2.20.0

13 Aug 05:14

Choose a tag to compare

  • until now, when there was no bacon.toml file, the default one was applied, overriding the settings of prefs.toml. This is no longer the case: this default file is now applied before prefs.toml (which overrides it) - Fix #157
  • kill job parameter - Thanks @pcapriotti

bacon v2.19.0

07 Aug 07:21

Choose a tag to compare

bacon v2.18.2

31 May 17:51

Choose a tag to compare

  • fix failure to recognize location in test compilation output - Fix #190

bacon v2.18.1

21 May 19:04

Choose a tag to compare

  • update dependencies (especially locked ones) to fix compilation on nightly - Fix #189

bacon v2.18.0

20 May 08:31

Choose a tag to compare

  • new {context} possible part for exported locations, originally designed for bacon-ls but available for other purposes - Thanks @crisidev

bacon v2.17.0

04 May 19:30

Choose a tag to compare

  • default binding for 'c' in bacon.toml is now the new 'clippy-all' job which does what the old 'clippy' job was doing. 'clippy' job changed to not run on all targets. Default bacon.toml explain how to bind 'c' to clippy instead of 'clippy-all' - Fix #167
  • expand env vars in job command unless the job specifies expand_env_vars = false - Fix #181
  • some file events filtered out from watch (feedback welcome, especially if you notice some failures to recompute)
  • parse test results even when tests are run with -q/--quiet - Thanks @narpfel

bacon v2.16.0

30 Mar 20:59

Choose a tag to compare

  • on_success triggered with warning or errors depending on allow_warnings and allow_failures - Fix #179
  • --no-help-line option. This is experimental and may be removed depending on feedback and future additions to this line - Thanks @danielwolbach

bacon v2.15.0

05 Mar 16:40

Choose a tag to compare

  • insert features related arguments before the -- when there's some - Fix #171
  • fix offset in Windows terminal - Fix #175
  • better --help with examples and main shortcuts
  • rewriten execution engine (this one is big, may lead to bugs, I didn't found any tester unfortunately, so let's discover bugs in prod)