Releases: yourbase/yb
Releases · yourbase/yb
0.7.1
0.7.0
Version 0.7 simplifies installation by making Docker optional in most cases and improves the build output. Version 0.7 also fixes a long-standing issue where indirect target dependencies were ignored.
Added
- A new
--modeoption forbuild,exec, andrunallows specifying whether commands should be run inside or outside Docker. yb buildcan now build multiple targets in one invocation.- Environment variables in
.yourbase.ymlfiles may now be specified as a map (e.g.FOO: BAR) instead of a list (e.g.- FOO=BAR). - Build environments will now pick up credentials from
$HOME/.netrcafter any credentials from$XDG_CONFIG_HOME/yb/netrc. This can be overridden with theNETRCenvironment variable. To revert to the previous behavior, setNETRC=/dev/null. - yb now obeys the
DOCKER_HOSTenvironment variable. yb checkconfigand other commands that read.yourbase.ymlwill display an error if the targets have a dependency cycle.- yb attempts to detect some common Docker configuration issues and inform the user about them.
- yb now obeys the
NO_COLORenvironment variable and propagates it to the build environment. execbuild packs can now be specified underexec.dependencies.runtimein.yourbase.yml.
Changed
- Commands run as part of
build,exec, orrunnow run without Docker by default. You can get the old behavior by running with--mode=container. - Tool output has been changed to be more compact, to be easier to trace command output, and to include more timing information.
yb platformis now an alias foryb version.
Fixed
yb initno longer crashes when not given a--langflag if there was a problem connecting to the Docker daemon.yb buildandyb runnow build indirect dependencies, not just direct dependencies.- yb no longer assumes that Docker build environments are
linux/amd64.
Deprecated
- The
host_onlyproperty in.yourbase.ymlis now ignored. It may be removed in a future version. - The
--no-containeroption inbuildandrunis now equivalent to--mode=no-container. It is still recognized, but no longer shown in documentation and may be removed in a future version.
0.7.0 Beta 2
This is the second beta of the 0.7 release. Compared to the first beta, the following changes have been made:
Fixed
- An issue with the detection of the Docker CPU architecture has been resolved, allowing buildpacks to be correctly installed.
0.7.0 Beta 1
This is the first beta of the 0.7 release. Compared to the second alpha, the following changes have been made:
Fixed
- Targets that depend on side containers will automatically run in a container if the docker0 network is not available (for environments like macOS and WSL2) and the
YB_CONTAINER_*_IPenvironment variables are not given. This makes more builds work out-of-the-box without specifying an execution mode.
0.7.0-alpha2
This is the second alpha of the 0.7 release. Compared to the first alpha, the following changes have been made:
Added
- Environment variables in
.yourbase.ymlfiles may now be specified as a map (e.g.FOO: BAR) instead of a list (e.g.- FOO=BAR). execbuild packs can now be specified underexec.dependencies.runtimein.yourbase.yml.
Fixed
- yb now uses Docker properly by default when if side containers are requested
- yb no longer assumes that Docker build environments are
linux/amd64 - Clean up
yb runoutput
0.7.0-alpha1
Added
- A new
--modeoption forbuild,exec, andrunallows specifying whether commands should be run inside or outside Docker. yb buildcan now build multiple targets in one invocation.- Build environments will now pick up credentials from
$HOME/.netrcafter any credentials from$XDG_CONFIG_HOME/yb/netrc. This can be overridden with theNETRCenvironment variable. To revert to the previous behavior, setNETRC=/dev/null. - yb now obeys the
DOCKER_HOSTenvironment variable. yb checkconfigand other commands that read.yourbase.ymlwill display an error if the targets have a dependency cycle.- yb attempts to detect some common Docker configuration issues and inform the user about them.
- yb now obeys the
NO_COLORenvironment variable and propagates it to the build environment.
Changed
- Commands run as part of
build,exec, orrunnow run without Docker by default. You can get the old behavior by running with--mode=container. - Tool output has been changed to be more compact, to be easier to trace command output, and to include more timing information.
yb platformis now an alias foryb version.
Fixed
yb initno longer crashes when not given a--langflag if there was a problem connecting to the Docker daemon.yb buildandyb runnow build indirect dependencies, not just direct dependencies.
Deprecated
- The
host_onlyproperty in.yourbase.ymlis now ignored. It may be removed in a future version. - The
--no-containeroption inbuildandrunis now equivalent to--mode=no-container. It is still recognized, but no longer shown in documentation and may be removed in a future version.
0.6.3
0.5.8
0.6.2
Version 0.6.2 fixes a locale environment variable issue and improves the output for builds with containers that don't start up.
Changed
- The build environment now sets
LANGand other locale environment variables toC.UTF-8or the closest approximation thereof. Previously, these variables were unset, which caused problems with programs that required a UTF-8 character set to function properly, like those written in Ruby or Python.
Fixed
- If a container dependency exits while waiting for it to become healthy, yb will now display a container's logs rather than waiting for the full timeout and giving an unhelpful error message.
- The
TZenvironment variable is now set toUTC0by default. Previously, it was set toUTC, which is not a POSIX-conforming value.
0.5.7
Version 0.5.7 backports a fix for a locale environment variable issue.
Changed
- The build environment now sets
LANGand other locale environment variables toC.UTF-8or the closest approximation thereof. Previously, these variables were unset, which caused problems with programs that required a UTF-8 character set to function properly, like those written in Ruby or Python.
Fixed
- The
TZenvironment variable is now set toUTC0by default. Previously, it was set toUTC, which is not a POSIX-conforming value.