Skip to content

Commit

Permalink
feat: encrypted environment and bulk export (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganesan-Chandran authored Aug 25, 2024
1 parent 0bc464a commit cd9c2f7
Show file tree
Hide file tree
Showing 220 changed files with 21,145 additions and 20,080 deletions.
28 changes: 28 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
root = true

[*]
end_of_line = lf
indent_size = 2
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true

[*.{yml,yaml,yml.tpl}]
indent_size = 2
indent_style = space

[*.md]
indent_style = space
indent_size = 2

[*.json]
indent_size = 2
indent_style = space

[.husky/_/husky.sh]
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset
indent_size = unset
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
"*.config.js",
"**/*.js"
]
}
}
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. Windows]
- Fetch Client Version [e.g. 1.0.0]
- VS Code Version [e.g. 1.65.0]
- OS: [e.g. Windows]
- Fetch Client Version [e.g. 1.0.0]
- VS Code Version [e.g. 1.65.0]
- Node Version [e.g. 18.0.0]

**Additional context**
Add any other context about the problem here.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ Please include a summary of the changes and context. List any dependencies that
- [ ] I have made corresponding changes to the documentation


**Linked Issue** : [#Issue_Number](Issue_Link)
**Linked Issue** : [#Issue_Number](Issue_Link)
27 changes: 27 additions & 0 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy Extension

on:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Use Node
uses: actions/setup-node@v4
with:
node-version: 18.x

- name: Install the Dependencies
run: npm install

- name: Install vsce
run: npm install -g @vscode/vsce

- name: Package the Extension
run: vsce package
27 changes: 27 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy Extension

on:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Use Node
uses: actions/setup-node@v4
with:
node-version: 18.x

- name: Install the Dependencies
run: npm install

- name: Install vsce
run: npm install -g @vscode/vsce

- name: Publish the Extension
run: vsce publish -p ${{ secrets.VSCE_TOKEN }}
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
${USER_NAME}:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}
26 changes: 23 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

All notable changes to the "Fetch Client" extension will be documented in this file.

## v1.7.0 - September, 2024
### 🎉 New Features
- `Encrypted` environment variables. Variables are stored in the encrypted format.
- New settings are added for the encrypted environment and encryption in exporting the variables.
- Bulk export option added in the collections and variables.
- Bulk import for the collections and variables.
- Variables are hided in the variable screen.

### 🐛 Bug Fixes
- Cookie name is not parsed correctly.
- "Manage Cookie" button is added in the cookie section in Response panel.

### 🔗 Miscellaneous
- Added menu options for raise the requests/issues and write a review about `Fetch Client`
- GitHub action added for build vsix package and publish the extension.

### Requirements
- Minimum required version of **VSCode** is `v1.75.0`
- Minimum **Node** version is `18.20.3`

## v1.6.0 - August, 2024
### 🎉 New Features
- Added menu for directly run the requests
Expand Down Expand Up @@ -117,7 +137,7 @@ All notable changes to the "Fetch Client" extension will be documented in this f
- Folder added to the Collection.
- Set environment variable from json response, headers and cookies.
- Support AWS Signature auth type.
- Support Cookies and Manage cookies feature ([#1](https://github.com/Ganesan-Chandran/vscode-fetch-client/issues/1)) added.
- Support Cookies and Manage cookies feature ([#1](https://github.com/Ganesan-Chandran/vscode-fetch-client/issues/1)) added.
- Support Copy and Paste the item between Collection/Folder.
- Support Variables highlight ([#3](https://github.com/Ganesan-Chandran/vscode-fetch-client/issues/3)).
- New test case options (Length and Type) are added.
Expand Down Expand Up @@ -146,8 +166,8 @@ All notable changes to the "Fetch Client" extension will be documented in this f
- Generate code snippet for various languages.
- Save response and test results as File.
- Export/Import the Fetch Client's collections and environment variables.
- Add documentation/feedback for each request.
- Add documentation/feedback for each request.

### 🐛 Bug Fixes

\-
\-
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ Fetch Client is Visual Studio Code extension which is used to test the Rest API.
* Various post body which are Form, Form-Encoded, Raw (Json, Plain Text, XML), Binary File and GraphQL.
* Syntax highlight for Response data.
* Tree view for JSON and XML responses and HTML preview for HTML responses.
* History, Collection, Environment Variable is supported.
* History, Collection, `Encrypted` Environment Variable is supported.
* Test the API request and response data without any scripts/code.
* Generate code snippet for various languages.
* Save response and test results as File.
* Export/Import the Fetch Client/Postman/Thunder Client's collections and environment variables.
* Bulk Export/Import the Fetch Client/Postman/Thunder Client's collections and environment variables.
* Add documentation/feedback for each request.
* Set the environment variable data from the response.
* Manage the Cookies.
Expand Down Expand Up @@ -390,7 +390,7 @@ Fetch client provides the quick access of History, collection and Environment va
<div align="center">
<br/>
<img src="https://github.com/Ganesan-Chandran/vscode-fetch-client/blob/main/images/import-curl-menu.png?raw=true" alt="Import Curl Menu"/>
<br/>
<br/>
<img src="https://github.com/Ganesan-Chandran/vscode-fetch-client/blob/main/images/import-curl.png?raw=true" alt="Import Curl"/>
<br/>
<sup><b>Import Curl Request</b></sup>
Expand Down Expand Up @@ -498,7 +498,7 @@ DO NOT ENTER/EDIT MANUALLY in the below settings. Configuration will be done aut

<div align="center">
<br/>
<img src="https://github.com/Ganesan-Chandran/vscode-fetch-client/blob/main/images/fetch-client-setting.png?raw=true" alt="Fetch Client settings"/>
<img src="https://github.com/Ganesan-Chandran/vscode-fetch-client/blob/main/images/fetch-client-setting.png?raw=true" alt="Fetch Client settings"/>
</div>

## 🚀 Tech Stack
Expand Down
1 change: 1 addition & 0 deletions dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ UI
url
VSCode
vscode-fetch-client
vsix
32 changes: 30 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cd9c2f7

Please sign in to comment.