diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index 7fa8bc1d..00000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,33 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: "[BUG]"
-labels: ''
-assignees: ''
-
----
-
-**Describe the bug**
-A clear and concise description of what the bug is.
-
-**To Reproduce**
-Steps to reproduce the behavior:
- - Python code to reproduce the error
-
-**Expected behavior**
-A clear and concise description of what you expected to happen.
-
-**Error Message**
-Paste the error message.
-
-**Desktop (please complete the following information):**
- - OS: [e.g. Linux]
- - Version [e.g. Ubuntu-18.04]
-
-**Python Information (please complete the following information):**
- - Python Version [e.g. Python=3.6]
- - Library Version [e.g. spectree=0.1]
- - Other dependencies [e.g. flask=1.0]
-
-**Additional context**
-Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml
new file mode 100644
index 00000000..ad964ddb
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yaml
@@ -0,0 +1,43 @@
+name: Bug Report
+description: Bug report for spectree
+labels: ["bug"]
+title: "bug:
"
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for taking the time to fill out this bug report!
+ - type: textarea
+ attributes:
+ label: Describe the bug
+ description: A clear and concise description of what the bug is.
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: To Reproduce
+ description: Steps to reproduce the behavior.
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Expected behavior
+ description: A clear and concise description of what you expected to happen.
+ validations:
+ required: false
+ - type: textarea
+ attributes:
+ label: The spectree version
+ description: The output of `pip show spectree`, `uname -a`, `python --version` commands.
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Additional context
+ description: Add any other context about the problem here.
+ validations:
+ required: false
+ - type: markdown
+ attributes:
+ value: |
+ Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 00000000..0c96580f
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,9 @@
+blank_issues_enabled: false
+
+contact_links:
+ - name: Have you read the docs?
+ url: https://0b01001001.github.io/spectree/
+ about: Much help can be found in the docs
+ - name: Ask a question
+ url: https://github.com/0b01001001/spectree/discussions
+ about: Ask a question or start a discussion
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml
new file mode 100644
index 00000000..2a92dfe6
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.yaml
@@ -0,0 +1,25 @@
+name: Feature Request
+description: Feature request for spectree
+labels: ["enhancement"]
+title: "feat: "
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for taking the time to fill out this feature request!
+ - type: textarea
+ attributes:
+ label: Describe the feature
+ description: A clear and concise description of what the feature is.
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Additional context
+ description: Add any other context about the problem here.
+ validations:
+ required: false
+ - type: markdown
+ attributes:
+ value: |
+ Love this enhancement proposal? Give it a 👍. We prioritize the proposals with the most 👍.
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml
index 4da0b88a..2c8736c3 100644
--- a/.github/workflows/pythonpackage.yml
+++ b/.github/workflows/pythonpackage.yml
@@ -6,6 +6,7 @@ on:
branches:
- master
- dev
+ merge_group:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
diff --git a/pyproject.toml b/pyproject.toml
index 055ada47..0af85af6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "spectree"
-version = "1.1.1"
+version = "1.1.2"
dynamic = []
description = "generate OpenAPI document and validate request&response with Python annotations."
readme = "README.md"