diff --git a/docs/sources/v0.47.x/javascript-api/k6-experimental/grpc/_index.md b/docs/sources/v0.47.x/javascript-api/k6-experimental/grpc/_index.md index b969365eac..dc96d7c523 100644 --- a/docs/sources/v0.47.x/javascript-api/k6-experimental/grpc/_index.md +++ b/docs/sources/v0.47.x/javascript-api/k6-experimental/grpc/_index.md @@ -7,7 +7,7 @@ weight: 02 # grpc -{{< docs/shared source="k6" lookup="experimental-module.md" version="" >}} +{{< docs/shared source="k6" lookup="experimental-grpc-module.md" version="" >}} The `k6/experimental/grpc` module is an extension of the [`k6/net/grpc`](https://grafana.com/docs/k6//javascript-api/k6-net-grpc). It provides a [gRPC](https://grpc.io/) client for Remote Procedure Calls (RPC) over HTTP/2. diff --git a/docs/sources/v0.47.x/shared/experimental-grpc-module.md b/docs/sources/v0.47.x/shared/experimental-grpc-module.md new file mode 100644 index 0000000000..91baf5bbfa --- /dev/null +++ b/docs/sources/v0.47.x/shared/experimental-grpc-module.md @@ -0,0 +1,11 @@ +--- +title: Experimental grpc module admonition +--- + +{{% admonition type="caution" %}} + +Starting on k6 `v0.49`, the experimental module `k6/experimental/grpc` has been graduated, and its functionality is now available in the [`k6/net/grpc` module](https://grafana.com/docs/k6//javascript-api/k6-net-grpc/). The `k6/experimental/grpc` is deprecated and will be removed in `v0.51.0`. + +To migrate your scripts, replace all `k6/experimental/grpc` imports with `k6/net/grpc`. + +{{% /admonition %}} diff --git a/docs/sources/v0.48.x/javascript-api/k6-experimental/grpc/_index.md b/docs/sources/v0.48.x/javascript-api/k6-experimental/grpc/_index.md index b969365eac..dc96d7c523 100644 --- a/docs/sources/v0.48.x/javascript-api/k6-experimental/grpc/_index.md +++ b/docs/sources/v0.48.x/javascript-api/k6-experimental/grpc/_index.md @@ -7,7 +7,7 @@ weight: 02 # grpc -{{< docs/shared source="k6" lookup="experimental-module.md" version="" >}} +{{< docs/shared source="k6" lookup="experimental-grpc-module.md" version="" >}} The `k6/experimental/grpc` module is an extension of the [`k6/net/grpc`](https://grafana.com/docs/k6//javascript-api/k6-net-grpc). It provides a [gRPC](https://grpc.io/) client for Remote Procedure Calls (RPC) over HTTP/2. diff --git a/docs/sources/v0.48.x/shared/experimental-grpc-module.md b/docs/sources/v0.48.x/shared/experimental-grpc-module.md new file mode 100644 index 0000000000..91baf5bbfa --- /dev/null +++ b/docs/sources/v0.48.x/shared/experimental-grpc-module.md @@ -0,0 +1,11 @@ +--- +title: Experimental grpc module admonition +--- + +{{% admonition type="caution" %}} + +Starting on k6 `v0.49`, the experimental module `k6/experimental/grpc` has been graduated, and its functionality is now available in the [`k6/net/grpc` module](https://grafana.com/docs/k6//javascript-api/k6-net-grpc/). The `k6/experimental/grpc` is deprecated and will be removed in `v0.51.0`. + +To migrate your scripts, replace all `k6/experimental/grpc` imports with `k6/net/grpc`. + +{{% /admonition %}}