diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md deleted file mode 100644 index e93bca168..000000000 --- a/.github/ISSUE_TEMPLATE/bug.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -name: 🐛 Bug report -about: Create a report to help us improve -labels: ["Category: Bug"] ---- - -It's not uncommon that somebody already opened an issue or in the best case it's already fixed but not merged. That's the reason why you should [search](https://github.com/elastic/elasticsearch-js/issues) at first before submitting a new one. - -**Please read this entire template before posting any issue. If you ignore these instructions -and post an issue here that does not follow the instructions, your issue might be closed, -locked, and assigned the `Category: Not an issue` label.** - -## 🐛 Bug Report - -A clear and concise description of what the bug is. - -## To Reproduce - -Steps to reproduce the behavior: - -Paste your code here: - -```js - -``` - - - -## Expected behavior - -A clear and concise description of what you expected to happen. - -Paste the results here: - -```js - -``` - -## Your Environment - -- *node version*: 6,8,10 -- `@elastic/elasticsearch` *version*: >=7.0.0 -- *os*: Mac, Windows, Linux -- *any other relevant information* diff --git a/.github/ISSUE_TEMPLATE/bug.yaml b/.github/ISSUE_TEMPLATE/bug.yaml new file mode 100644 index 000000000..d4e41efbf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yaml @@ -0,0 +1,66 @@ +--- +name: 🐛 Bug report +description: Create a report to help us improve +labels: ["Category: Bug"] +body: + - type: markdown + attributes: + value: | + It's not uncommon that somebody already opened an issue or in the best case it's already fixed but not merged. That's the reason why you should [search](https://github.com/elastic/elasticsearch-js/issues) at first before submitting a new one. + + **Please read this entire template before posting any issue. If you ignore these instructions + and post an issue here that does not follow the instructions, your issue might be closed, + locked, and assigned the `Category: Not an issue` label.** + + - type: textarea + id: bug-report + attributes: + label: 🐛 Bug report + description: A clear and concise description of what the bug is. + validations: + required: true + + - type: textarea + id: reproduction + attributes: + label: To reproduce + description: Steps to reproduce the behavior + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + validations: + required: true + + - type: input + id: node-js-version + attributes: + label: Node.js version + placeholder: 18.x, 20.x, etc. + validations: + required: true + + - type: input + id: client-version + attributes: + label: "@elastic/elasticsearch version" + placeholder: 7.17.0, 8.14.1, etc. + validations: + required: true + + - type: input + id: os + attributes: + label: Operating system + placeholder: Ubuntu 22.04, macOS, etc. + validations: + required: true + + - type: input + id: env-info + attributes: + label: Any other relevant environment information diff --git a/.github/ISSUE_TEMPLATE/feature.md b/.github/ISSUE_TEMPLATE/feature.md deleted file mode 100644 index 4b5f8d648..000000000 --- a/.github/ISSUE_TEMPLATE/feature.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: 🚀 Feature Proposal -about: Submit a proposal for a new feature -labels: ["Category: Feature"] ---- - -It's not uncommon that somebody already opened an issue or in the best case it's already fixed but not merged. That's the reason why you should [search](https://github.com/elastic/elasticsearch-js/issues) at first before submitting a new one. - -**Please read this entire template before posting any issue. If you ignore these instructions -and post an issue here that does not follow the instructions, your issue might be closed, -locked, and assigned the `Category: Not an issue` label.** - -## 🚀 Feature Proposal - -A clear and concise description of what the feature is. - -## Motivation - -Please outline the motivation for the proposal. - -## Example - -Please provide an example for how this feature would be used. diff --git a/.github/ISSUE_TEMPLATE/feature.yaml b/.github/ISSUE_TEMPLATE/feature.yaml new file mode 100644 index 000000000..4a35cf6eb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yaml @@ -0,0 +1,33 @@ +--- +name: 🚀 Feature Proposal +description: Submit a proposal for a new feature +labels: ["Category: Feature"] +body: + - type: markdown + attributes: + value: | + It's not uncommon that somebody already opened an issue or in the best case it's already fixed but not merged. That's the reason why you should [search](https://github.com/elastic/elasticsearch-js/issues) at first before submitting a new one. + + **Please read this entire template before posting any issue. If you ignore these instructions + and post an issue here that does not follow the instructions, your issue might be closed, + locked, and assigned the `Category: Not an issue` label.** + + - type: textarea + id: feature-proposal + attributes: + label: 🚀 Feature Proposal + description: A clear and concise description of what the feature is. + validations: + required: true + + - type: textarea + id: motivation + attributes: + label: Motivation + description: Please outline the motivation for the proposal. + + - type: textarea + id: example + attributes: + label: Example + description: Please provide an example for how this feature would be used. diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md deleted file mode 100644 index fc7ab1490..000000000 --- a/.github/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -name: 💬 Questions / Help -about: If you have questions, please check our Gitter or Help repo -labels: ["Category: Question"] ---- - -## 💬 Questions and Help - -### Please note that this issue tracker is not a help forum and this issue may be closed. - -It's not uncommon that somebody already opened an issue or in the best case it's already fixed but not merged. That's the reason why you should [search](https://github.com/elastic/elasticsearch-js/issues) at first before submitting a new one. diff --git a/.github/ISSUE_TEMPLATE/question.yaml b/.github/ISSUE_TEMPLATE/question.yaml new file mode 100644 index 000000000..083cb7f2d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yaml @@ -0,0 +1,21 @@ +--- +name: 💬 Questions / Help +description: If you have questions, please check our community forum or support +labels: ["Category: Question"] +body: + - type: markdown + attributes: + value: | + ### Please note that this issue tracker is not a help forum and this issue may be closed. + + Please check our [community forum](https://discuss.elastic.co/) or [contact Elastic support](https://www.elastic.co/support) if your issue is not specifically related to the documented functionality of this client library. + + It's not uncommon that somebody already opened an issue or in the best case it's already fixed but not merged. That's the reason why you should [search](https://github.com/elastic/elasticsearch-js/issues) at first before submitting a new one. + + - type: textarea + id: question + attributes: + label: Question + description: Your question or comment + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/security.md b/.github/ISSUE_TEMPLATE/security.md deleted file mode 100644 index 0529296fc..000000000 --- a/.github/ISSUE_TEMPLATE/security.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -name: 👮 Security Issue -about: Responsible Disclosure ---- - -If you want to report a security issue, please take a look at [elastic/security](https://www.elastic.co/community/security). diff --git a/.github/ISSUE_TEMPLATE/security.yaml b/.github/ISSUE_TEMPLATE/security.yaml new file mode 100644 index 000000000..e003a1e6b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/security.yaml @@ -0,0 +1,8 @@ +--- +name: 👮 Security Issue +description: Responsible disclosure +body: + - type: markdown + attributes: + value: | + If you want to report a security issue, please take a look at [elastic/security](https://www.elastic.co/community/security).