Skip to content

Commit

Permalink
Document v0.36 open()'s breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
olegbespalov committed Jan 24, 2022
1 parent 124bf49 commit c8f6159
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ By restricting it to the init context, we can easily determine what local files

See the example further down on this page. For a more in-depth description, see [Running k6](/getting-started/running-k6).

#### Breaking change in v0.36.0

Since k6 v0.36.0 we also restricted usage of the `open(...)` under the `__VU` condition. A code like `if (__VU >0) { const arr = open("./arr.json"); }` should cause an error.

</blockquote>

| Parameter | Type | Description |
Expand Down

0 comments on commit c8f6159

Please sign in to comment.