Skip to content

Commit 1f7a62a

Browse files
committed
updated notes for 0.8.0
1 parent 80feebd commit 1f7a62a

File tree

1 file changed

+2
-33
lines changed

1 file changed

+2
-33
lines changed

ci/release_notes.md

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,4 @@
1-
# New Features
2-
1. Added support for requiring values to be specified in a later template. This
3-
was something that you could do implicitly with `spiff`, via (( merge )), and getting
4-
failure if you didn't define the value. In `spruce`, this is now something that you can
5-
explicitly require from downstream templates:
6-
7-
```(( param "Your custom error message here" ))```
8-
9-
2. Added support for concatenating values together, either strings, references, or both:
10-
11-
``` (( concat properties.myjob.protocol properties.myjob.host ":" properties.myjob.port ```
12-
13-
Concatenation is done after dereferencing, in case any of the properties reference something like
14-
a static_ip from another node.
15-
16-
3. Made merging arrays the default behavior (previously, they replaced by default). Since
17-
everything else merged by default, and most cases want merging this just made sense. When
18-
merging arrays, `spruce` will try to do a key-based merge, on the `name` key, and failing that,
19-
does an index-based merge.
20-
211
# Bug Fixes
222

23-
1. Fixed issue resulting in a panic if specifying `static_ips(0)` - this should have been a 0-based
24-
index lookup for greater compatibility with spiff templates.
25-
2. Fixed an issue where you could not resolve a static IP defined with `static_ips()`, when
26-
targeting specific elements in the array - `(( jobs.myjob.networks.mynet.static_ips ))` worked,
27-
but `(( jobs.myjob.networks.mynet.static_ips.[0] ))` did not. It now does. Yay!
28-
3. Fixed an issue where a panic would occur during postprocessing of keys that had null (`~`) values). Oops!
29-
30-
# Acknowledgements
31-
32-
Thanks to [James Hunt](https://github.com/filefrog) for the hard work on param support, array-merge-by-default,
33-
value concatenation, and the nil-reference panic bugfix!
34-
35-
Thanks to [Long Nguyen](https://github.com/longnguyen11288) for all the bug reports + field testing!
3+
1. Fixed bad debugging related to (( concat ))
4+
2. Handle recursive cases for grab and concat

0 commit comments

Comments
 (0)