grafana / k6-docs

The k6 documentation website.
https://grafana.com/docs/k6/latest/
87 stars 220 forks source link

More granular versioning for JavaScript API #1697

Open codebien opened 2 months ago

codebien commented 2 months ago

Explicit when a JavaScript API has been added. It helps users to know what is the minimum k6 version they have to use.

It's a practice already used for other APIs' documentations, some examples:

  1. Go Screenshot 2024-08-20 at 17-12-56 http package - net_http - Go Packages

  2. MDN Screenshot 2024-08-20 at 17-13-44 Streams API - Web APIs MDN

oleiade commented 2 months ago

For your information @heitortsergent, this is something we would aim to establish as a documentation item and practice for k6 v1.