github batect/batect 0.16.0

latest releases: 0.85.0, 0.84.0, 0.83.9...
5 years ago

What's new

  • batect will now rewrite proxy variables such as http_proxy that refer to localhost so that they work correctly from within a container. (Inside a container, localhost refers to the container, not the host machine.) This makes using batect with tools such as Cntlm much easier.

    The documentation has been updated with further details.

    Note that this is currently only supported on Mac-based hosts running Docker 17.06 or later, support for Linux hosts will be added in a future release. Check #10 for more details.

    Thanks to @pameck for the original suggestion.

  • ⚠️ Breaking change: using start on a task, which has been deprecated since v0.13, has been removed. Use dependencies instead, which behaves in exactly the same way.

  • Once SchemaStore/schemastore#486 is merged, editors that support schemastore.org for YAML files will automatically provide code completion for batect.yml files. In particular:

    • Visual Studio Code supports schemastore.org for YAML files with the YAML Support by Red Hat extension

    • JetBrains IDEs (such as IntelliJ, PyCharm and RubyMine) support schemastore.org for YAML files starting with the 2018.2 release

What's been fixed

  • Loading a configuration file with the containers or tasks field defined but no containers or tasks provided no longer results in a cryptic error message. (Thanks to @pameck for reporting and then fixing this issue.)

Getting started

First time using batect? Take a look at the getting started guide, or the Java or Ruby sample projects.

How to upgrade from previous versions

  • If you're using batect 0.12 or newer, run ./batect --upgrade to upgrade automatically.
  • If you're using an older version of batect, replace the batect script in your project with the one attached to this release. (Don't forget to make it executable with chmod +x batect if need be.)

Don't miss a new batect release

NewReleases is sending notifications on new releases.