From 7c646cb54dc64be0fa0a4fc332570ef7112761d3 Mon Sep 17 00:00:00 2001 From: ytkimirti Date: Mon, 12 Oct 2026 13:51:24 +0300 Subject: [PATCH 1/4] qstash: document Client.fromEnv --- qstash/sdks/ts/gettingstarted.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qstash/sdks/ts/gettingstarted.mdx b/qstash/sdks/ts/gettingstarted.mdx index f0d4ffa1f..2da3bad49 100644 --- a/qstash/sdks/ts/gettingstarted.mdx +++ b/qstash/sdks/ts/gettingstarted.mdx @@ -24,6 +24,12 @@ const client = new Client({ }); ``` +Without a `token`, the client reads `QSTASH_TOKEN` and `QSTASH_URL` from the environment and only warns when they are missing. Use `Client.fromEnv()` to throw instead: + +```typescript +const client = Client.fromEnv(); +``` + #### RetryConfig You can configure the retry policy of the client by passing the configuration to the client constructor. From afef9073404721bfdc67bad07328f5ae7b274d28 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 12 Oct 2026 10:51:45 +0000 Subject: [PATCH 2/4] chore(llms): regenerate llms.txt and llms-full.txt --- llms-full.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/llms-full.txt b/llms-full.txt index a210426ee..3dac2d678 100644 --- a/llms-full.txt +++ b/llms-full.txt @@ -21965,6 +21965,12 @@ const client = new Client({ }); ``` +Without a `token`, the client reads `QSTASH_TOKEN` and `QSTASH_URL` from the environment and only warns when they are missing. Use `Client.fromEnv()` to throw instead: + +```typescript +const client = Client.fromEnv(); +``` + #### RetryConfig You can configure the retry policy of the client by passing the configuration to the client constructor. From 8918435a0f5fb85bd531b22122988ce376709282 Mon Sep 17 00:00:00 2001 From: ytkimirti Date: Tue, 20 Oct 2026 14:26:24 +0300 Subject: [PATCH 3/4] docs: drop the throw framing for Client.fromEnv --- llms-full.txt | 10 +++++----- qstash/sdks/ts/gettingstarted.mdx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/llms-full.txt b/llms-full.txt index 3dac2d678..14437e15e 100644 --- a/llms-full.txt +++ b/llms-full.txt @@ -16257,7 +16257,7 @@ To view a more detailed Next.js quick start guide for setting up QStash, refer t It's also possible to schedule a background job to run at a later time using [schedules](/docs/qstash/features/schedules). -If you'd like to invoke another endpoint when the background job is complete, you can use [callbacks](/docs/qstash/features/callbacks). +If you'd like to invoke another endpoint when the background job is complete, you can use [callbacks](/docs/qstash/features/callbacks). # Batching Source: https://upstash.com/docs/qstash/features/batch @@ -16556,7 +16556,7 @@ client.message.batch_json( "messageId": "msg_..." } ] -``` +``` # Callbacks Source: https://upstash.com/docs/qstash/features/callbacks @@ -17611,7 +17611,7 @@ from qstash import QStash client = QStash("") client.queue.get("my-queue") ``` - + # Retry Source: https://upstash.com/docs/qstash/features/retry @@ -18310,7 +18310,7 @@ via the [REST API](/docs/qstash/api-reference/dlq/retry-a-dlq-message). ## Retrying Early -A message that is waiting out its retry delay can be retried immediately from the console. See [Run a Delayed Message Now](/docs/qstash/howto/retry-now). +A message that is waiting out its retry delay can be retried immediately from the console. See [Run a Delayed Message Now](/docs/qstash/howto/retry-now). # Local Development Source: https://upstash.com/docs/qstash/howto/local-development @@ -21965,7 +21965,7 @@ const client = new Client({ }); ``` -Without a `token`, the client reads `QSTASH_TOKEN` and `QSTASH_URL` from the environment and only warns when they are missing. Use `Client.fromEnv()` to throw instead: +Without a `token`, the client reads `QSTASH_TOKEN` and `QSTASH_URL` from the environment. You can also create the client from the environment explicitly: ```typescript const client = Client.fromEnv(); diff --git a/qstash/sdks/ts/gettingstarted.mdx b/qstash/sdks/ts/gettingstarted.mdx index 2da3bad49..bd5ef7d2c 100644 --- a/qstash/sdks/ts/gettingstarted.mdx +++ b/qstash/sdks/ts/gettingstarted.mdx @@ -24,7 +24,7 @@ const client = new Client({ }); ``` -Without a `token`, the client reads `QSTASH_TOKEN` and `QSTASH_URL` from the environment and only warns when they are missing. Use `Client.fromEnv()` to throw instead: +Without a `token`, the client reads `QSTASH_TOKEN` and `QSTASH_URL` from the environment. You can also create the client from the environment explicitly: ```typescript const client = Client.fromEnv(); From 15896e324782a1a67588d2d34a56b005d1f679cf Mon Sep 17 00:00:00 2001 From: ytkimirti Date: Tue, 20 Oct 2026 14:26:38 +0300 Subject: [PATCH 4/4] docs: keep llms-full.txt line endings --- llms-full.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llms-full.txt b/llms-full.txt index 14437e15e..3c7945d39 100644 --- a/llms-full.txt +++ b/llms-full.txt @@ -16257,7 +16257,7 @@ To view a more detailed Next.js quick start guide for setting up QStash, refer t It's also possible to schedule a background job to run at a later time using [schedules](/docs/qstash/features/schedules). -If you'd like to invoke another endpoint when the background job is complete, you can use [callbacks](/docs/qstash/features/callbacks). +If you'd like to invoke another endpoint when the background job is complete, you can use [callbacks](/docs/qstash/features/callbacks). # Batching Source: https://upstash.com/docs/qstash/features/batch @@ -16556,7 +16556,7 @@ client.message.batch_json( "messageId": "msg_..." } ] -``` +``` # Callbacks Source: https://upstash.com/docs/qstash/features/callbacks @@ -17611,7 +17611,7 @@ from qstash import QStash client = QStash("") client.queue.get("my-queue") ``` - + # Retry Source: https://upstash.com/docs/qstash/features/retry @@ -18310,7 +18310,7 @@ via the [REST API](/docs/qstash/api-reference/dlq/retry-a-dlq-message). ## Retrying Early -A message that is waiting out its retry delay can be retried immediately from the console. See [Run a Delayed Message Now](/docs/qstash/howto/retry-now). +A message that is waiting out its retry delay can be retried immediately from the console. See [Run a Delayed Message Now](/docs/qstash/howto/retry-now). # Local Development Source: https://upstash.com/docs/qstash/howto/local-development