diff --git a/content/v2.0/reference/flux/language/expressions.md b/content/v2.0/reference/flux/language/expressions.md index ea43d4e7c..af76fbafd 100644 --- a/content/v2.0/reference/flux/language/expressions.md +++ b/content/v2.0/reference/flux/language/expressions.md @@ -40,10 +40,20 @@ Literal = int_lit Object literals construct a value with the object type. ```js -ObjectLiteral = "{" PropertyList "}" . -PropertyList = [ Property { "," Property } ] . -Property = identifier [ ":" Expression ] - | string_lit ":" Expression . +ObjectLiteral = "{" ObjectBody "}" . +ObjectBody = WithProperties | PropertyList . +WithProperties = identifier "with" PropertyList . +PropertyList = [ Property { "," Property } ] . +Property = identifier [ ":" Expression ] + | string_lit ":" Expression . +``` + +**Examples** +```js +{a: 1, b: 2, c: 3} +{a, b, c} +{o with x: 5, y: 5} +{o with a, b} ``` ### Array literals diff --git a/content/v2.0/reference/flux/release-notes.md b/content/v2.0/reference/flux/release-notes.md index f05ba9450..258cbc48f 100644 --- a/content/v2.0/reference/flux/release-notes.md +++ b/content/v2.0/reference/flux/release-notes.md @@ -9,11 +9,18 @@ menu: --- {{% note %}} -_The latest release of InfluxDB v2.0 alpha includes **Flux v0.33.0**. +_The latest release of InfluxDB v2.0 alpha includes **Flux v0.33.1**. Though newer versions of Flux may be available, they will not be included with InfluxDB until the next InfluxDB v2.0 release._ {{% /note %}} +## v0.33.1 [2019-06-20] + +### Bug fixes +- Copy table will report if it is empty correctly. + +--- + ## v0.33.0 [2019-06-18] ### Breaking changes