Skip to content

Releases: Canop/bacon

bacon v3.3.0

16 Nov 13:29
Compare
Choose a tag to compare
  • bacon can now be launched without Cargo.toml file
  • eslint analyzer (set analyzer = "eslint" in your job definition)
  • Python Unittest analyzer (set analyzer = "python_unittest" in your job definition)
  • fix Miri output seen as wrong when there's only warnings
  • allow defining environment vars for all jobs - Thanks @joshka
  • set env.CARGO_TERM_COLOR = "always" in default conf, thus making "--color", "always" useless in all cargo based job definitions - Thanks @joshka
  • new ignore job parameter, accepts a list of glob patterns
  • more lenient detection of warnings and errors due to 'miri run' not supporting --color - Fix #251

I'm following this roadmap. If you're interested in having bacon usable for other languages than Rust, come have a chat.

bacon v3.2.0

04 Nov 17:54
Compare
Choose a tag to compare
  • allow defining default_watch and watch at global level, so that they apply to all jobs unless overridden - thanks @nolanderc

bacon v3.1.1

18 Oct 15:22
Compare
Choose a tag to compare

Major feature: hot reload of config files

When a configuration file is modified, bacon automatically reloads its config. So you don't need to quit/relaunch when you add a new job, add a key-binding, change the allowed lints of clippy, etc. - Fix #29

bacon v3.0.0

09 Oct 06:20
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

bacon v2.18.2

31 May 17:51
Compare
Choose a tag to compare
  • fix failure to recognize location in test compilation output - Fix #190

bacon v2.18.1

21 May 19:04
Compare
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
Compare
Choose a tag to compare
  • new {context} possible part for exported locations, originally designed for bacon-ls but available for other purposes - Thanks @crisidev