Releases: thunderclient/thunder-client-support
Releases · thunderclient/thunder-client-support
v2.24.0
Features Moving to Paid Version
The following features will be moved to the paid version starting on 3rd June, 2024
.
- Request Chaining
- Response Visualization
- Import Node Modules
- Script Assertions
- Requests in Scripts
- Import JS Files
Non-Subscription plan for Individuals
- We are soon launching a Non-Subscription plan for individuals, which will include a subset of the features available in our subscription plans.
- The
Individual
plan can be purchased with a one-time payment. - Please see Individual plan features on our pricing page.
Questions
- If you have any questions, please contact us using this form.
v2.23.0
New Features
- New
Database design
to reduce merge conflicts #1507 - The new DB design is currently opt-in only, Please test and let us know your feedback.
- Update CLI to
v1.15.1
New Database Design
Collection in UI
Database Design v3 (Current)
- One file per collection
NEW Database Design v4
- One file per request
How to upgrade to v4
- From command palette select ->
Upgrade Database to v4
Downgrade to v3
- If you like downgrade back to v3 format, Please copy collection files from
_db-backupv3
back tocollections
folder
Feedback
- Please test and let us know your feedback here
v2.21.15
v2.21.0
Documentation Site
- We're excited to launch our new documentation site - https://docs.thunderclient.com
Load Modules from Path
- We are launching a new API for loading modules from a path.
- This functionality is useful for loading
private
modules or modules hosted on registries other than npm. - The module path can be relative to the project root or an absolute path.
var moment = tc.loadFromPath("thunder-tests/packages/node_modules/moment");
VS Code Floating window
- Support for VS Code floating window feature #1509
Bug Fixes
- Fix - Enter key is added space in env #1515
v2.20.0
Improved Loading of Node Modules
- We have improved the
loading of Node Modules
from scripts #1434, #1442, #1429, #1405 - Now you can load any node module like
mongodb
,oracledb
,node-postgres
,@azure/identity
etc.. - Update CLI to
v1.13.0
Load Module syntax
const oracledb = await tc.loadModule("oracledb");
console.log(oracledb);
Database Improvements
- We are planning to
split
collection into multiple request files to reduce merge conflicts - Please let us know your feedback #1507
v2.19.5
New Features
- Show
unsaved
indicator #1493 - New API that allows
setting the body
in the Pre-Request script. JSON File Indent Size
vscode setting added- Update CLI to
v1.12.13
Set Body From Script
- We are introducing a new API that allows setting the body in the Pre-Request script.
- Please see examples of how to use - docs
tc.request.setBody({
color:"red"
});
JSON File Indent Size vscode setting
v2.19.4
v2.19.0
v2.18.0
New Features
Autocomplete
Environment variables #151, #1194- Allow
Skip Folder
Option in Run Collection #1476 Skip Collection
option in CLI for Run ALL Collections- Save
Active Environment
selection changes tolocal memory
#1250, #448 - Set a
field Content Type
in a Multi-Part Form Request #1482 - Enable Resource field for OAuth Password grant type #1479
- Clear URL Autocomplete History #1484
- Update CLI to
v1.12.0
Bug Fixes
- Error when sending request: ENOENT: no such file or directory #1483
Autocomplete Environment Variables
- The extension will automatically complete the environment variables as you start typing
{{
.
Skip Folder in Run Collection
- Now, you can use the
Skip Folder
option to skip multiple requests in the Run Collection view.
Skip Collections in Run All
- Now, you can skip collections when running all collections from the CLI.
- e.g
tc --col all --skip "ColA,ColB"
Active Environment Selection
- Set
Active Environment
selection changes tolocal memory
using the setting. This helps to avoid creating unnecessary Source Control activity.
Set Field Content-Type
- Set a field Content Type in a Multi-Part Form Request by appending
content-type
to the field names
Clear URL Autocomplete History
- You can clear the URL autocomplete history from the
Request URL
field.
v2.17.5
New Features
- New
await tc.retryRequest()
function added totc
API - New
DNS Test
command added to Command Palette. - DNS resolve issues fixed for localhost
- Update CLI to
v1.11.6
Bug Fixes
- Special characters get converted incorrectly in cURL import functionality #1472
- JSON Schema for Schemavalidation gets Error in CI #1471
Retry Request Function:
- New
await tc.retryRequest()
function added suitable for retrying same request when failed - Use example code below for retry request in
Post Request script
let incrementCount = parseInt(tc.getVar('incrementCount') || "0");
let code = tc.response.status;
if(incrementCount <= 3 && code !== 200)
{
incrementCount = incrementCount + 1
tc.setVar('incrementCount', incrementCount)
console.log("retrying request", incrementCount);
await tc.delay(incrementCount * 1000); // exponential delay of 1 secs
await tc.retryRequest();
}
else
{
tc.setVar('incrementCount', 0);
console.log("reset incrementCount = 0");
}
DNS Test command
- use
DNS Test
command for localhost connection issues