From 51f853ad310fbc02e9376b05f75151ef033c0187 Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Fri, 9 Aug 2024 14:46:36 -0400 Subject: [PATCH 1/2] Issue template: Point to latest examples --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index a6f1ade505..d25dde3a6c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -34,7 +34,7 @@ body: - To create a shareable code example for web, you can use CodeSandbox (https://codesandbox.io/s/new) or Stackblitz (https://stackblitz.com/). - Please make sure the example is complete and runnable - e.g. avoid localhost URLs. - To stub out real api requests - Promise.resolve and Promise.reject are good options for easy reproduction - - Feel free to fork any of the official CodeSandbox examples to reproduce your issue: https://tanstack.com/query/v4/docs/examples/react/simple + - Feel free to fork any of the official examples to reproduce your issue: https://tanstack.com/query/latest/docs/framework/react/examples/simple - For React Native, you can use: https://snack.expo.dev/ - For TypeScript related issues only, a TypeScript Playground link might be sufficient: https://www.typescriptlang.org/play - Please read these tips for providing a minimal example: https://stackoverflow.com/help/mcve. From 15f8c78586082dc9a503ac82bd4f9bfda0bf016b Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Fri, 9 Aug 2024 14:47:34 -0400 Subject: [PATCH 2/2] Update a couple of example versions --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index d25dde3a6c..585b6f1c05 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -115,7 +115,7 @@ body: description: | Please let us know the exact version of TanStack Query you were using when the issue occurred. Please don't just put in "latest", as this is subject to change. placeholder: | - e.g. v3.30.1 + e.g. v5.51.9 validations: required: true - type: input @@ -125,7 +125,7 @@ body: description: | If you are using TypeScript, please let us know the exact version of TypeScript you were using when the issue occurred. placeholder: | - e.g. v4.5.4 + e.g. v5.5.4 - type: textarea id: additional attributes: