|
@@ -1,3 +1,36 @@
|
|
1
|
+## 1.4.0 (2018-06-05)
|
|
2
|
+
|
|
3
|
+This release includes a rewrite of the YAML updating code, removing
|
|
4
|
+the restrictions on using List resources and files with multiple YAML
|
|
5
|
+documents, as well as fixing various bugs (like being confused by the
|
|
6
|
+indentation of `container` blocks).
|
|
7
|
+
|
|
8
|
+See https://github.com/weaveworks/flux/blob/1.4.0/site/requirements.md
|
|
9
|
+for remaining constraints.
|
|
10
|
+
|
|
11
|
+The YAML parser preserves comments and literal quoting, but may
|
|
12
|
+reindent blocks the first time it changes a file.
|
|
13
|
+
|
|
14
|
+### Fixes
|
|
15
|
+
|
|
16
|
+- Correct an issue the led to Flux incorrectly reporting resources as
|
|
17
|
+ read-only [weaveworks/flux#1119](https://github.com/weaveworks/flux/pull/1119)
|
|
18
|
+- Some YAML update problems were fixed by the rewrite, the most egregious being:
|
|
19
|
+ - botched releases when a YAML has indented container blocks
|
|
20
|
+ [weaveworks/flux#1082](https://github.com/weaveworks/flux/issues/1082)
|
|
21
|
+ - mangled annotations when using multidoc YAML files
|
|
22
|
+ [weaveworks/flux#1044](https://github.com/weaveworks/flux/issues/1044)
|
|
23
|
+
|
|
24
|
+### Improvements
|
|
25
|
+
|
|
26
|
+- Rewrite the YAML update code to use a round-tripping parser, rather
|
|
27
|
+ than regular expressions
|
|
28
|
+ [weaveworks/flux#976](https://github.com/weaveworks/flux/pull/976). This
|
|
29
|
+ removes the restrictions on how YAMLs are formatted, though there
|
|
30
|
+ are still going to be corner cases in the parser
|
|
31
|
+ ([verifying changes](https://github.com/weaveworks/flux/pull/1094)
|
|
32
|
+ will mitigate those by failing updates that would corrupt files).
|
|
33
|
+
|
1
|
34
|
## 1.3.1 (2018-05-29)
|
2
|
35
|
|
3
|
36
|
### Fixes
|