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
--mode
option forbuild
,exec
, andrun
allows specifying whether commands should be run inside or outside Docker. yb build
can now build multiple targets in one invocation.- Environment variables in
.yourbase.yml
files 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/.netrc
after any credentials from$XDG_CONFIG_HOME/yb/netrc
. This can be overridden with theNETRC
environment variable. To revert to the previous behavior, setNETRC=/dev/null
. - yb now obeys the
DOCKER_HOST
environment variable. yb checkconfig
and other commands that read.yourbase.yml
will 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_COLOR
environment variable and propagates it to the build environment. exec
build packs can now be specified underexec.dependencies.runtime
in.yourbase.yml
.
Changed
- Commands run as part of
build
,exec
, orrun
now 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 platform
is now an alias foryb version
.
Fixed
yb init
no longer crashes when not given a--lang
flag if there was a problem connecting to the Docker daemon.yb build
andyb run
now build indirect dependencies, not just direct dependencies.- yb no longer assumes that Docker build environments are
linux/amd64
.
Deprecated
- The
host_only
property in.yourbase.yml
is now ignored. It may be removed in a future version. - The
--no-container
option inbuild
andrun
is 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_*_IP
environment 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.yml
files may now be specified as a map (e.g.FOO: BAR
) instead of a list (e.g.- FOO=BAR
). exec
build packs can now be specified underexec.dependencies.runtime
in.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 run
output
0.7.0-alpha1
Added
- A new
--mode
option forbuild
,exec
, andrun
allows specifying whether commands should be run inside or outside Docker. yb build
can now build multiple targets in one invocation.- Build environments will now pick up credentials from
$HOME/.netrc
after any credentials from$XDG_CONFIG_HOME/yb/netrc
. This can be overridden with theNETRC
environment variable. To revert to the previous behavior, setNETRC=/dev/null
. - yb now obeys the
DOCKER_HOST
environment variable. yb checkconfig
and other commands that read.yourbase.yml
will 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_COLOR
environment variable and propagates it to the build environment.
Changed
- Commands run as part of
build
,exec
, orrun
now 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 platform
is now an alias foryb version
.
Fixed
yb init
no longer crashes when not given a--lang
flag if there was a problem connecting to the Docker daemon.yb build
andyb run
now build indirect dependencies, not just direct dependencies.
Deprecated
- The
host_only
property in.yourbase.yml
is now ignored. It may be removed in a future version. - The
--no-container
option inbuild
andrun
is 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
LANG
and other locale environment variables toC.UTF-8
or 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
TZ
environment variable is now set toUTC0
by 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
LANG
and other locale environment variables toC.UTF-8
or 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
TZ
environment variable is now set toUTC0
by default. Previously, it was set toUTC
, which is not a POSIX-conforming value.