Releases: geofffranks/spruce
spruce-release Release v1.8.15
Bug Fixes
spruce
now allows you to reference environment variables with.
s in their
name.
Acknowledgements
This releas has been brought to you by @keymon. Thank you!
spruce-release Release v1.8.14
Improvements
- The
(( vault ))
operator now caches data it has
looked up, to improve performance on large-scale credential
retrieval
Bug Fixes
- Resolved issue #205 causing spruce to panic when merging
arrays via a common key, and that key was an array/map
Acknowledgements
Many thanks @thomasmmitchell for all the code in this release!
spruce-release Release v1.8.13
BugFixes
- Resolved an issue causing panics when mering arrays
whose first element was null (Issue #198)
spruce-release Release v1.8.12
Bug Fixes
-
The
(( static_ips ))
call now properly evaluates when
top levelnetworks
,jobs
, orinstance_groups
keys are
operators referencing other datastructures.Thanks @giner for reporting the issue!
spruce-release Release v1.8.11
New Features
- Thanks to @jszroberto there is now a
--no-eval
option
for spruce merging! This lets you merge things together, but
skip evaluation of all operators. Useful for using spruce
to build spruce templates that something else will later
evaluate.
Bug Fixes
- Fixed an issue where
spruce help
was broken due to the newdiff
command.
spruce-release Release v1.8.10
New Features
- Experimental support for a
spruce diff
command that generates
semantic differential reports highlighting the differences
between two YAML files. The differences are semantic, meaning
that they do not care about whitespace, flow-vs-block, or map
key ordering. The produced diffs are stable, so that if you run
spruce diff
twice, without changing input files, you get the
same output -- this is surprisingly helpful when trying to
reconcile to large YAML documents.
Improvements
spruce merge --cherry-pick
now no longer evaluates the entire
tree of operators before returning a subset. Instead, operators
that are not involved in the final tree are ignored.
Bug Fixes
-
Resolved an issue with the
(( static_ips ))
operator not always resolving
dependencies properly, in cases where there were networks without subnets,
or networks without static IPs, in conjunction with networks that had them.e.g. You defined an internal network with static IPs, and a VIP network, with
no subnets.
spruce-release Release v1.8.9
Improvements
-
spruce merge
can now read input from STDIN, if you are piping
another program's YAML output to it. You can make use of it anywhere
in the merge order using the-
filename. Additionally, if no
files are mentioned, and data is being piped in, spruce will
happily read the data from STDIN, process operators, and provide
the output.Examples:
echo my: value | spruce merge echo my: value | spruce merge - echo my: value | spruce merge first.yml - last.yml echo my: value | spruce merge first.yml last.yml -
spruce-release Release v1.8.8
Fixes
- Resolved an issue where the
(( calc ... ))
operator was confounded by certain
numeric data types, thinking that things likeint64
weren't numbers.
Acknowledgements
Thanks for the fix @HeavyWombat!
spruce-release Release v1.8.7
New Features
- Added a new
(( calc ... ))
operator for doing mathematic operations on
values in your YAML structures. See the calc section of the README for details.
Acknowledgements
This release has been brought to us by @HeavyWombat. Many thanks for another awesome feature!
spruce-release Release v1.8.6
Fixes
- Addresses an issue introduced in v1.8.4 where
VAULT_SKIP_VERIFY
was being
overridden by the~/.saferc
file. The new behavior is to skip verification
if it was requested in eitherVAULT_SKIP_VERIFY
, or the~/.saferc
file requested
it.