<commit_before>---
title: "Sensu Go release notes"
linkTitle: "Release Notes"
description: "Release notes for Sensu Go"
product: "Sensu Go"
version: "5.1"
menu: "sensu-go-5.1"
---

- [5.1.0 Release Notes](#5-1-0-release-notes)
- [5.0.1 Release Notes](#5-0-1-release-notes)
- [5.0.0 Release Notes](#5-0-0-release-notes)

### Versioning
Sensu Go adheres to [semantic versioning](https://semver.org/spec/v2.0.0.html) using MAJOR.MINOR.PATCH release numbers, starting at 5.0.0. MAJOR version changes indicate incompatible API changes; MINOR versions add backwards-compatible functionality; PATCH versions include backwards-compatible bug fixes.

### Upgrading

To upgrade to the latest version of Sensu Go from version 5.0.0 or later, first [install the latest packages][8].

Then restart the services.

_NOTE: For systems using `systemd`, run `sudo systemctl daemon-reload` before restarting the services._

{{< highlight shell >}}
# Restart the Sensu agent
sudo service sensu-agent restart

# Restart the Sensu backend
sudo service sensu-backend restart
{{< /highlight >}}

You can use the `version` command to determine the installed version using the `sensu-agent`, `sensu-backend`, and `sensuctl` tools. For example: `sensu-backend version`.

---

## 5.1.0 Release Notes

**December 19, 2018** &mdash; We’re excited to announce the latest version of Sensu Go! Please read on for the detailed release goodness and peruse the changelog [here][changelog].

### Upgrading Instructions:

For 5.1.0, we made necessary breaking changes that will require upgrade instructions in some cases:

- For Sensu backend binaries, the default `state-dir` in 5.1.0 is now `/var/lib/sensu/sensu-backend` instead of `/var/lib/sensu`.
  To upgrade your Sensu backend binary to 5.1.0, first [download the latest version][23], then make sure the `/etc/sensu/backend.yml` configuration file specifies a `state-dir`.
  To continue using `/var/lib/sensu` as the `state-dir`, add the following configuration to `/etc/sensu/backend.yml`.

_NOTE: This only affects users who are not using the provided RPM or DEB packages, or who do not have an existing `state-dir` setting in their `/etc/sensu/backend.yml`."_

See the [upgrade guide][10] for more information.

### Upgrading Sensu backend binaries to 5.1.0

_NOTE: This applies only to Sensu backend binaries downloaded from `s3-us-west-2.amazonaws.com/sensu.io/sensu-go`, not to Sensu RPM or DEB packages._

For Sensu backend binaries, the default `state-dir` in 5.1.0 is now `/var/lib/sensu/sensu-backend` instead of `/var/lib/sensu`.
To upgrade your Sensu backend binary to 5.1.0, first [download the latest version][23], then make sure the `/etc/sensu/backend.yml` configuration file specifies a `state-dir`.
To continue using `/var/lib/sensu` as the `state-dir`, add the following configuration to `/etc/sensu/backend.yml`.

{{< highlight yml >}}
# /etc/sensu/backend.yml configuration to store backend data at /var/lib/sensu
state-dir: "/var/lib/sensu"
{{< /highlight >}}

Then restart the backend.

See the [upgrade guide][10] for more information.

### CHANGES {#5.1.0-changes}

**IMPROVEMENTS:**

  - Added support for Ubuntu 14.04
  - Agents have been updated to include configuration flags to give you greater flexibility with certificates when connecting to the backend over TLS. 

**FIXES:**

  - The Sensu backend now successfully connects to an external etcd cluster without creating a panic.
  - SysVinit scripts for the Sensu agent and backend now include correct run and log paths.<commit_msg>Update release-notes.md (#1051)<commit_after>---
title: "Sensu Go release notes"
linkTitle: "Release Notes"
description: "Release notes for Sensu Go"
product: "Sensu Go"
version: "5.1"
menu: "sensu-go-5.1"
---

- [5.1.0 Release Notes](#5-1-0-release-notes)
- [5.0.1 Release Notes](#5-0-1-release-notes)
- [5.0.0 Release Notes](#5-0-0-release-notes)

### Versioning
Sensu Go adheres to [semantic versioning](https://semver.org/spec/v2.0.0.html) using MAJOR.MINOR.PATCH release numbers, starting at 5.0.0. MAJOR version changes indicate incompatible API changes; MINOR versions add backwards-compatible functionality; PATCH versions include backwards-compatible bug fixes.

### Upgrading

To upgrade to the latest version of Sensu Go from version 5.0.0 or later, first [install the latest packages][8].

Then restart the services.

_NOTE: For systems using `systemd`, run `sudo systemctl daemon-reload` before restarting the services._

{{< highlight shell >}}
# Restart the Sensu agent
sudo service sensu-agent restart

# Restart the Sensu backend
sudo service sensu-backend restart
{{< /highlight >}}

You can use the `version` command to determine the installed version using the `sensu-agent`, `sensu-backend`, and `sensuctl` tools. For example: `sensu-backend version`.

---

## 5.1.0 Release Notes

**December 19, 2018** &mdash; We’re excited to announce the latest version of Sensu Go! Please read on for the detailed release goodness and peruse the changelog [here][changelog].

### Upgrading Instructions:

For 5.1.0, we made necessary breaking changes that will require upgrade instructions in some cases:

- For Sensu backend binaries, the default `state-dir` in 5.1.0 is now `/var/lib/sensu/sensu-backend` instead of `/var/lib/sensu`.
  To upgrade your Sensu backend binary to 5.1.0, first [download the latest version][23], then make sure the `/etc/sensu/backend.yml` configuration file specifies a `state-dir`.
  To continue using `/var/lib/sensu` as the `state-dir`, add the following configuration to `/etc/sensu/backend.yml`.

_NOTE: This only affects users who are not using the provided RPM or DEB packages, or who do not have an existing `state-dir` setting in their `/etc/sensu/backend.yml`."_

See the [upgrade guide][10] for more information.

### CHANGES {#5.1.0-changes}

**IMPROVEMENTS:**

  - Added support for Ubuntu 14.04
  - Agents have been updated to include configuration flags to give you greater flexibility with certificates when connecting to the backend over TLS. 

**FIXES:**

  - The Sensu backend now successfully connects to an external etcd cluster without creating a panic.
  - SysVinit scripts for the Sensu agent and backend now include correct run and log paths.
{'fraction_non_alphanumeric': 0.10653636654918296, 'fraction_numerical': 0.022588913809676387, 'mean_word_length': 4.277261200338123, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '805726', 'n_tokens_mistral': 2034, 'n_tokens_neox': 1881, 'n_words': 768}