Skip to content

Commit

Permalink
Merge pull request #1427 from StackVista/stac-20148
Browse files Browse the repository at this point in the history
STAC-20148 Update release notes for 5.1
  • Loading branch information
rb3ckers authored Sep 28, 2023
2 parents 690f621 + 70e65a3 commit 99640b6
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 2 deletions.
7 changes: 7 additions & 0 deletions develop/reference/scripting/script-apis/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Submit HTTP get request.
* `.timeout(time: Duration)` - make the request timeout after [time](time.md) has elapsed.
* `.param(name: String, value: String)` - specify the query.
* `.header(name: String, value: String)` - specify the header.
* `.noProxy()` - even when a proxy is configured don't use it for this request.

### Return type

Expand Down Expand Up @@ -50,6 +51,7 @@ Submit HTTP put request.
* `.timeout(time: Duration)` - make the request timeout after [time](time.md) has elapsed.
* `.param(name: String, value: String)` - specify the query.
* `.header(name: String, value: String)` - specify the header.
* `.noProxy()` - even when a proxy is configured don't use it for this request.
* `.contentType(contentType: String)` - specify the content type, for example "application/text".
* `.textRequest(text: String)` - specify the text of the request.
* `.jsonRequest(json: Goovy.lang.Closures)` - specify the JSON of the request. This will wrap the given closure with a [JsonBuilder](http://docs.groovy-lang.org/latest/html/documentation/core-domain-specific-languages.html#_jsonbuilder).
Expand All @@ -67,6 +69,7 @@ Http.put("http://http_server:8080/api")
.timeout("30s")
.param("name", "value")
.header("name", "value")
.noProxy()
.contentType("application/text")
.textRequest("{'property', 'value'}")
.jsonResponse()
Expand All @@ -85,6 +88,7 @@ Submit HTTP post request.
* `.timeout(time: Duration)` - make the request timeout after [time](time.md) has elapsed.
* `.param(name: String, value: String)` - specify the query.
* `.header(name: String, value: String)` - specify the header.
* `.noProxy()` - even when a proxy is configured don't use it for this request.
* `.contentType(contentType: String)` - specify the content type, for example "application/text".
* `.textRequest(text: String)` - specify the text of the request.
* `.jsonRequest(json: Goovy.lang.Closures)` - specify the JSON of the request. This will wrap the given closure with a [JsonBuilder](http://docs.groovy-lang.org/latest/html/documentation/core-domain-specific-languages.html#_jsonbuilder).
Expand Down Expand Up @@ -124,6 +128,7 @@ Submit HTTP delete request.
* `.timeout(time: Duration)` - make the request timeout after [time](time.md) has elapsed.
* `.param(name: String, value: String)` - specify the query.
* `.header(name: String, value: String)` - specify the header.
* `.noProxy()` - even when a proxy is configured don't use it for this request.

### Return type

Expand Down Expand Up @@ -168,6 +173,7 @@ Submit HTTP patch request.
* `.timeout(time: Duration)` - make the request timeout after [time](time.md) has elapsed.
* `.param(name: String, value: String)` - specify the query.
* `.header(name: String, value: String)` - specify the header.
* `.noProxy()` - even when a proxy is configured don't use it for this request.
* `.contentType(contentType: String)` - specify the content type, for example "application/text".
* `.textRequest(text: String)` - specify the text of the request.
* `.jsonRequest(json: Goovy.lang.Closures)` - specify the JSON of the request. This will wrap the given closure with a [JsonBuilder](http://docs.groovy-lang.org/latest/html/documentation/core-domain-specific-languages.html#_jsonbuilder).
Expand Down Expand Up @@ -200,6 +206,7 @@ Submit HTTP head request.

* `.timeout(time: Duration)` - make the request timeout after [time](time.md) has elapsed.
* `.param(name: String, value: String)` - specify the query.
* `.noProxy()` - even when a proxy is configured don't use it for this request.
* `.header(name: String, value: String)` - specify the header.

### Return type
Expand Down
83 changes: 81 additions & 2 deletions setup/upgrade-stackstate/sts-release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,53 @@ This page includes release notes for the StackState self-hosted product.

## StackState v5.1.x

# 5.1.10


## Improvements

- Made security updates to the os-components in the helm-chart containers. STAC-20160


## Bug fixes

- Improve sandboxing of Groovy scripts by disallowing specific AST transformations. STAC-20140

# 5.1.9


## Improvements

- Adds support for `noProxy()` option on the script HTTP API. STAC-20143

# 5.1.8


## Bug fixes

- Fix data migration in StackState 5.1.7 that would fail due to a time out in certain cases. STAC-20063

# 5.1.7


## Improvements

- Updated sandbox security configuration to allow using java.net.URLEncoder on async scripts. STAC-20032


## Bug fixes

- Fix data migration in StackState 5.1.6 that would fail due to a time out in certain cases. STAC-20026


### v5.1.6

**Improvements**

- The chart supports Kubernetes up to 1.27
## Improvements

- Support K8s up to 1.27. STAC-19825
- the Kafka chart has been upgraded from 14.8.1 to 15.5.1. STAC-19825
- the Zookepeer chart has been upgraded from 5.16.0 to 8.1.2

**Breaking changes**

Expand All @@ -29,6 +71,43 @@ kubectl delete statefulset -l app.kubernetes.io/component=zookeeper -n stackstat

*Note: the command deletes Statefulset only, pods and pvc-s aren't affected. `helm upgrade` command creates a new Statefulset for Zookeeper and rolls out the Zookeeper pods.*


## Bug fixes

- Setting a "dummy" region for the AWS S3 CDK to prevent the backup scripts from querying the metadata endpoint. STAC-19577
- Avoid premature loading components with a health state requested on a query before applying all other filters. STAC-19406
- Fixed issue that prevented saving changes to synchronisation settings in specific situations. STAC-17916

# 5.1.5

Skipped, use 5.1.6 instead.

# 5.1.4


## Bug fixes

- Incremental initialization for the synchronization and state propagation processes in order to avoid time outs. STAC-19700

# 5.1.3


## Improvements

- The StackState Helm Chart supports providing a bootstrap service token. STAC-17014


## Bug fixes

- Fixed issue where StackState would not start up when specifying a bootstrap Service token in the configuration. STAC-18843
- Top metrics of a component now correctly display the unit of measurement. STAC-18670


## Security improvements

- Fixed security issue in StackState Helm chart the ingress configuration did not mark session cookies as secured. STAC-18751
- Upgraded glob-parent to 5.1.2 patching the CVE-2020-28469 vulnerability. STAC-17101

### v5.1.2

**Improvements**
Expand Down
10 changes: 10 additions & 0 deletions setup/upgrade-stackstate/version-specific-upgrade-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ This page provides specific instructions and details of any required manual step
{% tabs %}
{% tab title="Kubernetes" %}

#### v5.1.6

The Zookeeper dependency of StackState has been upgraded. Before running `helm upgrade` the Zookeeper Statefulset has to be deleted.

```sh
kubectl delete statefulset -l app.kubernetes.io/component=zookeeper -n stackstate --cascade=orphan
```

*Note: the command deletes Statefulset only, pods and pvc-s aren't affected. The `helm upgrade` command creates a new Statefulset for Zookeeper and rolls out the Zookeeper pods.*

#### v5.1.0
* The node sizing requirements for deploying the StackState platform have changed slightly. Check the [requirements to deploy StackState on Kubernetes or OpenShift](/setup/install-stackstate/requirements.md#node-sizing).
* A new `stackstate/stackstate-agent` helm chart is available to deploy the StackState Agent, Checks Agent, Node Agent and kube_state_metrics on Kubernetes and OpenShift clusters. Some values have been renamed in the new chart.
Expand Down

0 comments on commit 99640b6

Please sign in to comment.