Releases: splunk/qbec
Releases · splunk/qbec
v0.15.2
v0.15.1
- Fix info in
qbec version
v0.15.0
apply
now waits forbatch/job
objects (thanks @kvaps)- Improved error message includes helpful hints on operations requiring exactly one qbec environment as input (thanks @kalhanreddy)
eval
now supports inline datasources without the need to specify a qbec environment- Kubernetes list operations now use a page size of
1000
by default.--k8s:list-page-size
can be used to adjust the size
Setting this value too low can impact performance when dealing with large lists - Update jsonnet library to
v0.18.0
, k8s client libs tov1.23.1
and golang version to1.17
- Misc. housekeeping improvements
Backward incompatibilities:
apply
now waits forbatch/job
objects. To disable waiting for all objects--wait-all=false
can be used.- Adjustments to the internal behaviour around listing Kubernetes objects. Use
--k8s:list-page-size
with appropriate values. - Any corner-case behavior from updating k8s client, jsonnet libraries or golang version
v0.14.8
- Expose data source creation in the VM implementation for public use
v0.14.7
v0.14.6
- Add a
renderYaml
native function to the qbec VM to generate YAML output compatible withqbec fmt
. If this native
function is passed an array, it will render multiple YAML docs with separators. Top-level nils are ignored for output.
If you want an array value to be serialized as a single document, wrap it in a single-element array.
v0.14.5
- Fix a bug where glob imports could not import relative files outside the qbec root/ current working dir
v0.14.4
fmt
andalpha lint
commands now accept exclusion patterns using which vendored files, intentionally bad test
data etc. can be filtered out. Pattern matching of exlcudes is done using the doublestar library.qbec.yaml
can now contain examples of data source outputs. These are returned by the mock linter implementation
when data source imports are found. This allows you to correctly lint files that use data source imports.
v0.14.3
fmt
is now a top-level qbec command. Thealpha fmt
version is deprecated and will be removed in a later release.fmt
has the following enhancements:- no longer requires a qbec.yaml to be present to function
- prints all errors in check mode as opposed to failing fast on the first error encountered
- prints the filenames of all files that were modified in write mode
- allows for explicit control on whether it should fail fast or not. The default behavior is to fail fast when
not in check mode and continue on errors otherwise.
- a new
alpha lint
command can now be used to lint jsonnet and libsonnet files using jsonnet-lint. This command is alpha quality in both interface and implementation although it should work just fine on most projects. Known issues are:- data sources are not correctly supported
- the linter can hang on complex jsonnet files
- the linter can panic under certain conditions
- Releases now contain ARM64 builds for Darwin and Linux
- Allows the QPS and Burst for the kubernetes client to be configured on the command line via the
k8s:client-qps
andk8s:client-burst
flags. Setting these values can be beneficial to large projects producing thousands of objects to improve the
performance ofdiff
andapply
.
v0.14.2
- Add ability to inherit the qbec shell environment when processing data sources.