Skip to content

Releases: geofffranks/spruce

spruce-release Release v1.8.15

12 Apr 22:40
Compare
Choose a tag to compare

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

03 Apr 20:01
Compare
Choose a tag to compare

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

03 Mar 15:23
Compare
Choose a tag to compare

BugFixes

  • Resolved an issue causing panics when mering arrays
    whose first element was null (Issue #198)

spruce-release Release v1.8.12

21 Feb 19:22
Compare
Choose a tag to compare

Bug Fixes

  • The (( static_ips )) call now properly evaluates when
    top level networks, jobs, or instance_groups keys are
    operators referencing other datastructures.

    Thanks @giner for reporting the issue!

spruce-release Release v1.8.11

21 Feb 18:55
Compare
Choose a tag to compare

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 new diff
    command.

spruce-release Release v1.8.10

20 Feb 14:04
Compare
Choose a tag to compare

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

24 Jan 16:15
Compare
Choose a tag to compare

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

17 Jan 13:49
Compare
Choose a tag to compare

Fixes

  • Resolved an issue where the (( calc ... )) operator was confounded by certain
    numeric data types, thinking that things like int64 weren't numbers.

Acknowledgements

Thanks for the fix @HeavyWombat!

spruce-release Release v1.8.7

22 Dec 16:44
Compare
Choose a tag to compare

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

28 Nov 14:56
Compare
Choose a tag to compare

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 either VAULT_SKIP_VERIFY, or the ~/.saferc file requested
    it.