Note: This is release replaces broken v0.3.0. It fixed the issue with that version, but is otherwise equivalent.
BREAKING:
The format of jsonnetfile.json
has changed. While v0.3.0 can
handle the old v0.2 format, v0.2 can't and must not be used with a
jsonnetfile.json
created by v0.3.0
Changes:
- [FEATURE] Absolute imports (#63): Introduces a new style for importing the
packages installed byjb
. The<name>/<file>
style used before caused
issues, as it was neither unique nor clearly defined what to import.
To address this,jb
will now create a directory structure that allows to use
import paths similar to Go:host.tld/user/repo/subdir/file.libsonnet
.
The old stlye is still supported, this change is backwards compatible.
jb rewrite
can be used to automatically convert your imports. - [FEATURE]
jsonnetfile.json
versions (#85): Adds averison
key to
jsonnetfile.json
, so thatjb
can automatically recognize the schema
version and handle it properly, instead of panicking. - [FEATURE] Generic
git
https://
(#73): Previously thehost.tld/user/repo
slug
style was only supported for GitHub. All hosts work now. - [BUGFIX]
--jsonnetpkg-home
not working (#80)