Skip to content

Commit

Permalink
Minor alignments of release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
olegbespalov committed Sep 12, 2024
1 parent a85e5a0 commit b42d1b1
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions release notes/v0.54.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ We’ve added a new experimental csv module to k6 for more efficient and conveni
#### What is it?

The csv module offers two key features:

* `csv.parse()` **Function**: Parses an entire CSV file at once into a [SharedArray](https://grafana.com/docs/k6/latest/javascript-api/k6-data/sharedarray/), using Go-based processing to using Go-based processing for faster parsing and lower memory usage compared to JavaScript alternatives.
* `csv.Parser` **Class**: Provides a streaming parser to read CSV files line-by-line, minimizing memory consumption and offering more control over parsing through a stream-like API. This is ideal for scenarios where memory optimization or fine-grained control of the parsing process is crucial.

Expand All @@ -36,7 +37,9 @@ The csv module offers two key features:

#### Example Usage

**Parsing a full CSV file into a [SharedArray](https://grafana.com/docs/k6/latest/javascript-api/k6-data/sharedarray/):**
<details>
<summary> Expand to see an example of Parsing a full CSV file into a SharedArray.</summary>

```javascript
import { open } from 'k6/experimental/fs'
import csv from 'k6/experimental/csv'
Expand Down Expand Up @@ -66,7 +69,11 @@ export default async function() {
}
```

**To stream a CSV file line-by-line:**
</details>

<details>
<summary> Expand to see an example of streaming a CSV file line-by-line.</summary>

```javascript
import { open } from 'k6/experimental/fs'
import csv from 'k6/experimental/csv'
Expand Down Expand Up @@ -99,6 +106,7 @@ export default async function() {
}
```

</details>

### `<big_feature_n>` `#pr`

Expand All @@ -111,12 +119,12 @@ _what, why, and what this means for the user_

## Bug fixes

- [browser#1406](https://github.com/grafana/xk6-browser/pull/1406) Fix panic on iframe attach when iframe didn't contain any UI elements.
- [browser#1406](https://github.com/grafana/xk6-browser/pull/1406) fixes panic on iframe attach when iframe didn't contain any UI elements.

## Maintenance and internal improvements

- [#3871](https://github.com/grafana/k6/pull/3871) allows missing file descriptors for gRPC reflection. Thank you, @Lordnibbler!
- [#3915](https://github.com/grafana/k6/pull/3915) switches to the go1.21, introduce toolchain to go.mod.
- [#3915](https://github.com/grafana/k6/pull/3915) switches `go.mod` to the go1.21, introduces toolchain.
- [#3938](https://github.com/grafana/k6/pull/3938) updates k6's CI workflows to go 1.23.
- [#3939](https://github.com/grafana/k6/pull/3939) updates Dockerfile to use go 1.23 and alpine 3.20.
- [#3909](https://github.com/grafana/k6/pull/3909) fixes `ExitCode` description typo. Thank you, @eltociear!
Expand Down

0 comments on commit b42d1b1

Please sign in to comment.