From 78b2a9ae4ce1353d783d4a00691a68502c768309 Mon Sep 17 00:00:00 2001 From: Nate Bosch Date: Tue, 30 Apr 2024 15:50:47 -0700 Subject: [PATCH] Fix runWithClient link in README (#1184) Use `[]` to treat the content as a link reference label instead of `()` to treat it as a URL. --- pkgs/http/CHANGELOG.md | 2 ++ pkgs/http/README.md | 2 +- pkgs/http/pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/http/CHANGELOG.md b/pkgs/http/CHANGELOG.md index 86bc67821f..33811fdcb5 100644 --- a/pkgs/http/CHANGELOG.md +++ b/pkgs/http/CHANGELOG.md @@ -1,3 +1,5 @@ +## 1.2.2-wip + ## 1.2.1 * Require Dart `^3.3` diff --git a/pkgs/http/README.md b/pkgs/http/README.md index 85ec2911df..743805bdf8 100644 --- a/pkgs/http/README.md +++ b/pkgs/http/README.md @@ -254,7 +254,7 @@ In Flutter, you can use a one of many If you depend on code that uses top-level functions (e.g. `http.post`) or calls the [`Client()`][clientconstructor] constructor, then you can use -[`runWithClient`](runwithclient) to ensure that the correct +[`runWithClient`][runwithclient] to ensure that the correct `Client` is used. When an [Isolate][isolate] is spawned, it does not inherit any variables from the calling Zone, so `runWithClient` needs to be used in each Isolate that uses `package:http`. diff --git a/pkgs/http/pubspec.yaml b/pkgs/http/pubspec.yaml index 1874d5cc08..887a92570f 100644 --- a/pkgs/http/pubspec.yaml +++ b/pkgs/http/pubspec.yaml @@ -1,5 +1,5 @@ name: http -version: 1.2.1 +version: 1.2.2-wip description: A composable, multi-platform, Future-based API for HTTP requests. repository: https://github.com/dart-lang/http/tree/master/pkgs/http