From 09be1016df55668a8bedc4821c73eb2b99127224 Mon Sep 17 00:00:00 2001
From: noramullen1 <42354779+noramullen1@users.noreply.github.com>
Date: Tue, 8 Dec 2020 11:36:41 -0800
Subject: [PATCH 1/7] Create changelog
---
.../v2.0/reference/release-notes/influxdb.md | 35 +++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/content/influxdb/v2.0/reference/release-notes/influxdb.md b/content/influxdb/v2.0/reference/release-notes/influxdb.md
index f814520882..7daccd083b 100644
--- a/content/influxdb/v2.0/reference/release-notes/influxdb.md
+++ b/content/influxdb/v2.0/reference/release-notes/influxdb.md
@@ -8,6 +8,41 @@ menu:
weight: 101
---
+## v2.0.3 General Availability [2020-12-08]
+
+### Breaking Changes
+
+Previously, `influxd upgrade` would attempt to write upgraded `config.toml` files into the same directory as the source
+`influxdb.conf` file. If this failed, a warning would be logged and `config.toml` would be written into the `HOME` directory.
+
+This release breaks this behavior in two ways:
+1. By default, `config.toml` is now written into the same directory as the Bolt DB and engine files (`~/.influxdbv2/`)
+2. If writing upgraded config fails, the `upgrade` process exits with an error instead of falling back to the `HOME` directory
+
+Users can use the new `--v2-config-path` option to override the output path for upgraded config if they can't or don't
+want to use the default.
+
+### Features
+
+- Allow password to be specified as a CLI option in `influx v1 auth create`.
+- Allow password to be specified as a CLI option in `influx v1 auth set-password`.
+- Allow for users to specify where V2 config should be written in `influxd upgrade`.
+- Implement delete with predicate.
+- Improve ID-related error messages for `influx v1 dbrp` commands.
+
+### Bug Fixes
+
+- Use V2 directory for default V2 config path in `influxd upgrade`.
+- Don't log bodies of V1 write requests.
+- Fix panic when writing a point with 100 tags. Thanks @foobar!
+- Ensure KV index walks only select exactly-matched keys.
+- Enforce max value of 2147483647 on query concurrency to avoid startup panic.
+- Enforce max value of 2147483647 on query queue size to avoid startup panic.
+- Auto-migrate existing DBRP mappings from old schema to avoid panic.
+- Optimize shard lookup in groups containing only one shard. Thanks @StoneYunZhao!
+- Respect the `--name` option in `influx setup` whether configs already exist or not.
+- Allow for 0 (infinite) values for `--retention` in `influx setup`.
+
## v2.0.2 General Availability [2020-11-19]
### Breaking changes
From 0971ca97ff4faeec2f415002b980fad3dee1adb2 Mon Sep 17 00:00:00 2001
From: noramullen1 <42354779+noramullen1@users.noreply.github.com>
Date: Mon, 14 Dec 2020 10:32:21 -0800
Subject: [PATCH 2/7] Add changelog
---
.../v2.0/reference/release-notes/influxdb.md | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/content/influxdb/v2.0/reference/release-notes/influxdb.md b/content/influxdb/v2.0/reference/release-notes/influxdb.md
index 7daccd083b..7ddcdac374 100644
--- a/content/influxdb/v2.0/reference/release-notes/influxdb.md
+++ b/content/influxdb/v2.0/reference/release-notes/influxdb.md
@@ -13,13 +13,13 @@ weight: 101
### Breaking Changes
Previously, `influxd upgrade` would attempt to write upgraded `config.toml` files into the same directory as the source
-`influxdb.conf` file. If this failed, a warning would be logged and `config.toml` would be written into the `HOME` directory.
+`influxdb.conf` file. If this failed, a warning would be logged and `config.toml` would write into the `HOME` directory.
This release breaks this behavior in two ways:
-1. By default, `config.toml` is now written into the same directory as the Bolt DB and engine files (`~/.influxdbv2/`)
-2. If writing upgraded config fails, the `upgrade` process exits with an error instead of falling back to the `HOME` directory
+- By default, `config.toml` writes into the same directory as the Bolt DB and engine files (`~/.influxdbv2/`)
+- If writing upgraded config fails, the `upgrade` process exits with an error instead of falling back to the `HOME` directory
-Users can use the new `--v2-config-path` option to override the output path for upgraded config if they can't or don't
+Use the new `--v2-config-path` option to override the output path for upgraded config if they can't or don't
want to use the default.
### Features
@@ -34,13 +34,12 @@ want to use the default.
- Use V2 directory for default V2 config path in `influxd upgrade`.
- Don't log bodies of V1 write requests.
-- Fix panic when writing a point with 100 tags. Thanks @foobar!
+- Fix panic when writing a point with 100 tags.
- Ensure KV index walks only select exactly-matched keys.
- Enforce max value of 2147483647 on query concurrency to avoid startup panic.
-- Enforce max value of 2147483647 on query queue size to avoid startup panic.
-- Auto-migrate existing DBRP mappings from old schema to avoid panic.
-- Optimize shard lookup in groups containing only one shard. Thanks @StoneYunZhao!
-- Respect the `--name` option in `influx setup` whether configs already exist or not.
+- Automatically migrate existing DBRP mappings from old schema to avoid panic.
+- Optimize shard lookup in groups containing only one shard.
+- Always respect the `--name` option in `influx setup`.
- Allow for 0 (infinite) values for `--retention` in `influx setup`.
## v2.0.2 General Availability [2020-11-19]
From d2c069546bca0efc2cab195ddb9d5c4f449a71b3 Mon Sep 17 00:00:00 2001
From: noramullen1 <42354779+noramullen1@users.noreply.github.com>
Date: Mon, 14 Dec 2020 16:05:10 -0800
Subject: [PATCH 3/7] Add packaging change
---
.../v2.0/reference/release-notes/influxdb.md | 34 ++++++++++++-------
1 file changed, 22 insertions(+), 12 deletions(-)
diff --git a/content/influxdb/v2.0/reference/release-notes/influxdb.md b/content/influxdb/v2.0/reference/release-notes/influxdb.md
index 7ddcdac374..7bbf97c60d 100644
--- a/content/influxdb/v2.0/reference/release-notes/influxdb.md
+++ b/content/influxdb/v2.0/reference/release-notes/influxdb.md
@@ -8,39 +8,49 @@ menu:
weight: 101
---
-## v2.0.3 General Availability [2020-12-08]
+## v2.0.3 General Availability [2020-12-14]
### Breaking Changes
+#### `influxd upgrade`
+
Previously, `influxd upgrade` would attempt to write upgraded `config.toml` files into the same directory as the source
-`influxdb.conf` file. If this failed, a warning would be logged and `config.toml` would write into the `HOME` directory.
+`influxdb.conf` file. If this failed, a warning would be logged and `config.toml` would write into the `home` directory of the user who launched the upgrade.
This release breaks this behavior in two ways:
- By default, `config.toml` writes into the same directory as the Bolt DB and engine files (`~/.influxdbv2/`)
- If writing upgraded config fails, the `upgrade` process exits with an error instead of falling back to the `HOME` directory
-Use the new `--v2-config-path` option to override the output path for upgraded config if they can't or don't
-want to use the default.
+To override the default configuration path (`~/.influxdbv2/`), use the new `--v2-config-path` option to specify the output path to the v2 configuration file (`config.toml`). For details, see [Upgrade from InfluxDB 1.x to InfluxDB 2.0](/influxdb/v2.0/upgrade/v1-to-v2/).
+
+#### InfluxDB v2 packaging
+
+We've renamed the InfluxDB v2 DEB and RPM packages to clarify versions. The package name is now `influxdb2` and conflicts with any previous `influxdb` package (including initial 2.0.0, 2.0.1, and 2.0.2 packages).
+
+This release also defines v2-specific path defaults and provides helper scripts for `influxd upgrade` and cleanup cases.
### Features
-- Allow password to be specified as a CLI option in `influx v1 auth create`.
-- Allow password to be specified as a CLI option in `influx v1 auth set-password`.
-- Allow for users to specify where V2 config should be written in `influxd upgrade`.
-- Implement delete with predicate.
+- Allow password to be specified as a CLI option in [`influx v1 auth create`](/influxdb/cloud/reference/cli/influx/auth/create/).
+- Allow password to be specified as a CLI option in [`influx v1 auth set-password`](/influxdb/cloud/reference/cli/influx/auth/).
+- Implement [delete with predicate](/influxdb/v2.0/write-data/delete-data/).
- Improve ID-related error messages for `influx v1 dbrp` commands.
+- Update Flux to v0.98.0.
+- Update `flux-lsp-browser` to v0.5.25.
+- Support for ARM64 preview build.
+
### Bug Fixes
-- Use V2 directory for default V2 config path in `influxd upgrade`.
-- Don't log bodies of V1 write requests.
-- Fix panic when writing a point with 100 tags.
-- Ensure KV index walks only select exactly-matched keys.
+- Don't log bodies of v1 write requests.
+- Fix panic when writing a point with 100 or more tags.
+- Fix validation of existing DB names when creating DBRP mappings.
- Enforce max value of 2147483647 on query concurrency to avoid startup panic.
- Automatically migrate existing DBRP mappings from old schema to avoid panic.
- Optimize shard lookup in groups containing only one shard.
- Always respect the `--name` option in `influx setup`.
- Allow for 0 (infinite) values for `--retention` in `influx setup`.
+- Fix panic when using a `null` value as a record or array in a Flux query.
## v2.0.2 General Availability [2020-11-19]
From 9a4d3d53104f49c85bfb147692b1cfb4f6ef9b6f Mon Sep 17 00:00:00 2001
From: noramullen1 <42354779+noramullen1@users.noreply.github.com>
Date: Mon, 14 Dec 2020 16:21:53 -0800
Subject: [PATCH 4/7] address PR feedback
---
content/influxdb/v2.0/reference/release-notes/influxdb.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/influxdb/v2.0/reference/release-notes/influxdb.md b/content/influxdb/v2.0/reference/release-notes/influxdb.md
index 7bbf97c60d..bfba4f880f 100644
--- a/content/influxdb/v2.0/reference/release-notes/influxdb.md
+++ b/content/influxdb/v2.0/reference/release-notes/influxdb.md
@@ -25,7 +25,7 @@ To override the default configuration path (`~/.influxdbv2/`), use the new `--v2
#### InfluxDB v2 packaging
-We've renamed the InfluxDB v2 DEB and RPM packages to clarify versions. The package name is now `influxdb2` and conflicts with any previous `influxdb` package (including initial 2.0.0, 2.0.1, and 2.0.2 packages).
+We've renamed the InfluxDB v2 DEB and RPM packages to clarify versions. The package name is now `influxdb2` and conflicts with any previous `influxdb` package (including initial 2.0.0, 2.0.1, and 2.0.2 packages).
This release also defines v2-specific path defaults and provides helper scripts for `influxd upgrade` and cleanup cases.
@@ -42,7 +42,7 @@ This release also defines v2-specific path defaults and provides helper scripts
### Bug Fixes
-- Don't log bodies of v1 write requests.
+- Don't log bodies of v1 write request bodies.
- Fix panic when writing a point with 100 or more tags.
- Fix validation of existing DB names when creating DBRP mappings.
- Enforce max value of 2147483647 on query concurrency to avoid startup panic.
From 25f9aa6aacb637740a1077e8e54ce062b855d71a Mon Sep 17 00:00:00 2001
From: noramullen1 <42354779+noramullen1@users.noreply.github.com>
Date: Mon, 14 Dec 2020 16:36:37 -0800
Subject: [PATCH 5/7] Address PR feedback
---
content/influxdb/v2.0/reference/release-notes/influxdb.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/influxdb/v2.0/reference/release-notes/influxdb.md b/content/influxdb/v2.0/reference/release-notes/influxdb.md
index bfba4f880f..c64d3d8bf5 100644
--- a/content/influxdb/v2.0/reference/release-notes/influxdb.md
+++ b/content/influxdb/v2.0/reference/release-notes/influxdb.md
@@ -18,6 +18,7 @@ Previously, `influxd upgrade` would attempt to write upgraded `config.toml` file
`influxdb.conf` file. If this failed, a warning would be logged and `config.toml` would write into the `home` directory of the user who launched the upgrade.
This release breaks this behavior in two ways:
+
- By default, `config.toml` writes into the same directory as the Bolt DB and engine files (`~/.influxdbv2/`)
- If writing upgraded config fails, the `upgrade` process exits with an error instead of falling back to the `HOME` directory
@@ -35,11 +36,10 @@ This release also defines v2-specific path defaults and provides helper scripts
- Allow password to be specified as a CLI option in [`influx v1 auth set-password`](/influxdb/cloud/reference/cli/influx/auth/).
- Implement [delete with predicate](/influxdb/v2.0/write-data/delete-data/).
- Improve ID-related error messages for `influx v1 dbrp` commands.
-- Update Flux to v0.98.0.
+- Update Flux to [v0.98.0](/influxdb/v2.0/reference/release-notes/flux/#v0-98-0-2020-12-07).
- Update `flux-lsp-browser` to v0.5.25.
- Support for ARM64 preview build.
-
### Bug Fixes
- Don't log bodies of v1 write request bodies.
From be86cb20005554b10499a77e61a2d4fba63e1f3b Mon Sep 17 00:00:00 2001
From: noramullen1 <42354779+noramullen1@users.noreply.github.com>
Date: Mon, 14 Dec 2020 17:47:13 -0800
Subject: [PATCH 6/7] Update name of deb and rpm packages
---
content/influxdb/cloud/get-started.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/content/influxdb/cloud/get-started.md b/content/influxdb/cloud/get-started.md
index 410da3af63..883528c429 100644
--- a/content/influxdb/cloud/get-started.md
+++ b/content/influxdb/cloud/get-started.md
@@ -90,7 +90,7 @@ To use the `influx` CLI to manage and interact with your InfluxDB Cloud instance
Click the following button to download and install `influx` CLI for macOS.
-influx CLI (macOS)
+influx CLI (macOS)
#### Step 2: Unpackage the influx binary
@@ -102,7 +102,7 @@ or run the following command in a macOS command prompt application such
```sh
# Unpackage contents to the current working directory
-tar zxvf ~/Downloads/influxdb_client_2.0.3_darwin_amd64.tar.gz
+tar zxvf ~/Downloads/influxdb2_client_2.0.3_darwin_amd64.tar.gz
```
#### Step 3: (Optional) Place the binary in your $PATH
@@ -114,7 +114,7 @@ prefix the executable with `./` to run in place. If the binary is on your $PATH,
```sh
# Copy the influx binary to your $PATH
-sudo cp influxdb_client_2.0.3_darwin_amd64/influx /usr/local/bin/
+sudo cp influxdb2_client_2.0.3_darwin_amd64/influx /usr/local/bin/
```
{{% note %}}
From db28b4847c032cb7b22529ee15e699250d2b43ca Mon Sep 17 00:00:00 2001
From: noramullen1 <42354779+noramullen1@users.noreply.github.com>
Date: Mon, 14 Dec 2020 17:50:41 -0800
Subject: [PATCH 7/7] Link to helper scripts
---
content/influxdb/v2.0/reference/release-notes/influxdb.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/influxdb/v2.0/reference/release-notes/influxdb.md b/content/influxdb/v2.0/reference/release-notes/influxdb.md
index c64d3d8bf5..f4ca888a4f 100644
--- a/content/influxdb/v2.0/reference/release-notes/influxdb.md
+++ b/content/influxdb/v2.0/reference/release-notes/influxdb.md
@@ -28,7 +28,7 @@ To override the default configuration path (`~/.influxdbv2/`), use the new `--v2
We've renamed the InfluxDB v2 DEB and RPM packages to clarify versions. The package name is now `influxdb2` and conflicts with any previous `influxdb` package (including initial 2.0.0, 2.0.1, and 2.0.2 packages).
-This release also defines v2-specific path defaults and provides helper scripts for `influxd upgrade` and cleanup cases.
+This release also defines v2-specific path defaults and provides [helper scripts](https://github.com/influxdata/influxdb/blob/master/scripts/influxdb2-upgrade.sh) for `influxd upgrade` and cleanup cases.
### Features