Skip to content

Releases: thunderclient/thunder-client-support

v2.24.0

23 May 16:17
158826c
Compare
Choose a tag to compare

Features Moving to Paid Version

The following features will be moved to the paid version starting on 3rd June, 2024.

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

12 May 09:49
845f53e
Compare
Choose a tag to compare

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

Screenshot 2024-05-11 at 19 50 55

Database Design v3 (Current)

  • One file per collection
Screenshot 2024-05-11 at 19 36 52

NEW Database Design v4

  • One file per request
Screenshot 2024-05-11 at 19 46 01

How to upgrade to v4

  • From command palette select -> Upgrade Database to v4
Screenshot 2024-05-11 at 19 47 44

Downgrade to v3

  • If you like downgrade back to v3 format, Please copy collection files from _db-backupv3 back to collections folder

Feedback

  • Please test and let us know your feedback here

v2.21.15

25 Apr 06:05
f98a332
Compare
Choose a tag to compare

New Features

  • Restore previous open tabs on vscode reload #1462
  • Enable Right click and Run on the collections view #1528

Bug Fixes

  • Fix - Collection requests don't run in a defined order #1425

Run Request

  • Now you can right-click on a request and execute it
Screenshot 2024-04-25 at 06 50 12

v2.21.0

09 Apr 17:56
Compare
Choose a tag to compare

Documentation Site

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

Bug Fixes

  • Fix - Enter key is added space in env #1515

v2.20.0

22 Mar 10:33
eef1676
Compare
Choose a tag to compare

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

12 Mar 17:24
cb22a76
Compare
Choose a tag to compare

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

Screenshot 2024-03-12 at 16 52 23

v2.19.4

08 Mar 14:23
ab427c9
Compare
Choose a tag to compare

New Features

  • Open scripting tab when click on request>tests if tests>tests tab is empty #1494
  • To save only failed request responses in an HTML report, utilize the htmlReportResponseLimit setting.

Bug Fixes

  • Unable to copy text from Chart visualization #1463
  • Authorization tokens not recognized #1496

v2.19.0

04 Mar 14:31
bdb1a26
Compare
Choose a tag to compare

New Features

  • Better Server Sent Events (SSE) support #705, #319
  • Add Web Socket support #3, #336, #857
  • Ignore skipped flag on CLI run for --reqlist cmd #1489
  • Add a confirmation box when deleting requests #1487
  • Update CLI to v1.12.1

Bug Fixes

  • File Not Found (CLI v1.12.0, and UI v2.18.0) #1488
  • Fix Run Col Slow in CLI #1486

Web Socket & SSE Support

Screenshot 2024-03-06 at 09 55 02

v2.18.0

26 Feb 13:38
bdb1a26
Compare
Choose a tag to compare

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 to local 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 {{.
Screenshot 2024-02-26 at 12 36 56

Skip Folder in Run Collection

  • Now, you can use the Skip Folder option to skip multiple requests in the Run Collection view.
Screenshot 2024-02-26 at 12 47 41

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 to local memory using the setting. This helps to avoid creating unnecessary Source Control activity.
Screenshot 2024-02-26 at 13 20 40

Set Field Content-Type

  • Set a field Content Type in a Multi-Part Form Request by appending content-type to the field names
Screenshot 2024-02-24 at 17 39 52

Clear URL Autocomplete History

  • You can clear the URL autocomplete history from the Request URL field.
Screenshot 2024-02-26 at 12 56 28

v2.17.5

03 Feb 13:48
7e14f3d
Compare
Choose a tag to compare

New Features

  • New await tc.retryRequest() function added to tc 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
Screenshot 2024-02-03 at 13 22 32