Skip to content

Commit

Permalink
Update changelog and deploy example for flux 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
squaremo committed Jun 5, 2018
1 parent a83ef89 commit cb91398
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
## 1.4.0 (2018-06-05)

This release includes a rewrite of the YAML updating code, removing
the restrictions on using List resources and files with multiple YAML
documents, as well as fixing various bugs (like being confused by the
indentation of `container` blocks).

See https://github.com/weaveworks/flux/blob/1.4.0/site/requirements.md
for remaining constraints.

The YAML parser preserves comments and literal quoting, but may
reindent blocks the first time it changes a file.

### Fixes

- Correct an issue the led to Flux incorrectly reporting resources as
read-only [weaveworks/flux#1119](https://github.com/weaveworks/flux/pull/1119)
- Some YAML update problems were fixed by the rewrite, the most egregious being:
- botched releases when a YAML has indented container blocks
[weaveworks/flux#1082](https://github.com/weaveworks/flux/issues/1082)
- mangled annotations when using multidoc YAML files
[weaveworks/flux#1044](https://github.com/weaveworks/flux/issues/1044)

### Improvements

- Rewrite the YAML update code to use a round-tripping parser, rather
than regular expressions
[weaveworks/flux#976](https://github.com/weaveworks/flux/pull/976). This
removes the restrictions on how YAMLs are formatted, though there
are still going to be corner cases in the parser
([verifying changes](https://github.com/weaveworks/flux/pull/1094)
will mitigate those by failing updates that would corrupt files).

## 1.3.1 (2018-05-29)

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion deploy/flux-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
# There are no ":latest" images for flux. Find the most recent
# release or image version at https://quay.io/weaveworks/flux
# and replace the tag here.
image: quay.io/weaveworks/flux:1.3.1
image: quay.io/weaveworks/flux:1.4.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3030 # informational
Expand Down

0 comments on commit cb91398

Please sign in to comment.