Commit graph

130 commits

Author SHA1 Message Date
James George
55c1cb8290 chore: bump CLI version 2026-02-23 17:47:58 +05:30
Mir Arif Hasan
4fe0e376bb
chore: security patch for the dependency chain v2026.2.0 (#5887)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2026-02-19 12:48:50 +05:30
James George
20bfac04fe chore: bump CLI version 2026-02-05 12:56:11 +05:30
James George
5310b9fb40
fix(cli): strip module prefix before script execution (#5835) 2026-02-05 10:39:04 +05:30
James George
913863bd09 chore: bump CLI version 2026-01-23 21:20:36 +05:30
James George
a998d6c493
feat(js-sandbox): add extensive Web Crypto API support (#5791) 2026-01-22 17:30:06 +05:30
Mir Arif Hasan
4f13549ed2
chore: security patch for the dependency chain v2026.1.0 (#5786)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2026-01-21 23:25:40 +05:30
James George
dfe3d05c5a
fix(cli): inherit collection variables in folders without own variables (#5771) 2026-01-14 19:54:36 +05:30
James George
d3144f99fb
fix: strip comments from JSON request bodies in CLI (#5769)
Fixes collections with JSON comments failing in the CLI with `SerializationException` while working fine in the app, where comments are stripped before sending requests, but the CLI was sending them as-is, breaking APIs like AWS Cognito that expect valid JSON.
2026-01-14 17:06:30 +05:30
Mir Arif Hasan
442242c8ca
chore: security patch for the quic-go vulnerability (#5710)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
Co-authored-by: Nahid Hasan <52489202+nahidhasan94@users.noreply.github.com>
2025-12-19 21:00:22 +05:30
Mir Arif Hasan
05927f3d4d
chore: security patch for the dependency chain v2025.12.0 (#5678)
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-12-12 16:58:35 +05:30
James George
f88c81fccc test(cli): prevent flaky CLI E2E tests by detecting generic REQUEST_ERROR patterns 2025-12-04 12:57:47 +05:30
Nima Akbarzadeh
1e8edd2c9c
docs(cli): add workspace dependency build requirements to README (#5440) 2025-11-26 20:22:40 +05:30
James George
c6c86e8db2 fix(cli): prevent false test skips for intentional error scenarios
Refined network retry logic to distinguish between transient infrastructure
failures and intentional test errors, preventing incorrect test skips in
JUnit validation scenarios.

1. Network Error Detection (utils.ts)
   - Renamed `hasNetworkError` → `hasLowLevelNetworkError` for clarity
   - Removed REQUEST_ERROR from retry patterns (too generic, matches intentional bad URLs)
   - Now only retries on unambiguous TCP/DNS errors: ECONNRESET, EAI_AGAIN,
     ENOTFOUND, ETIMEDOUT, ECONNREFUSED
   - Preserved TEST_SCRIPT_ERROR detection when concurrent with REQUEST_ERROR
     (the actual CI failure mode from undefined response objects)
   - Added comprehensive JSDoc explaining when to use vs plain runCLI

2. JUnit XML Validation (test.spec.ts, 4 locations)
   - Removed REQUEST_ERROR and TEST_SCRIPT_ERROR from XML retry patterns
   - Only retry when low-level errors corrupt XML structure
   - Prevents skipping tests with intentional errors in collections
     (test-junit-report-export-coll.json has intentional invalid-url and
     script reference errors for validation)

3. Test Corrections
   - Fixed: "Fails to display console logs..." test now uses plain runCLI
     (test expects errors from legacy sandbox, shouldn't use retry)
   - Added: Environment version tests (v0, v1, v2) now use runCLIWithNetworkRetry
     (use echo.hoppscotch.io, expect success, benefit from retry)
   - Removed: Obsolete SKIP_EXTERNAL_TESTS env var check (retry logic handles this)
2025-11-26 19:39:38 +05:30
James George
c50076ef2e chore: bump dependencies
Follow up to #5590.
2025-11-26 11:06:57 +05:30
James George
62aa4440c6 chore: bump CLI version 2025-11-26 10:39:54 +05:30
James George
f2f015c1c8
feat(scripting-revamp): add support for sending requests in scripting context (#5596) 2025-11-26 09:52:00 +05:30
Nivedin
e63bfe3723
feat: API Documentation (#5499)
Co-authored-by: mirarifhasan <arif.ishan05@gmail.com>
Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-11-25 11:26:57 +05:30
Mir Arif Hasan
904a1b0405
chore: security patch for the dependency chain v2025.11.0 (#5590)
Bump dependencies and account for breaking changes.

---------

Co-authored-by: James George <25279263+jamesgeorge007@users.noreply.github.com>
2025-11-24 14:21:29 +05:30
jamesgeorge007
98f07f8a4c test(js-sandbox): expand unsupported API coverage and sync error messages
Add comprehensive test coverage for unsupported Postman APIs and ensure
consistent error messages across pre-request and post-request contexts.

Test improvements:
- Expand coverage from 13 to 25 unsupported APIs (50 tests total)
- Add missing APIs: collectionVariables.set/unset/has/clear/toObject,
  vault.set/unset, iterationData.set/unset/has/toJSON
- Fix assertions to match actual error format with prefix
- Add pre-request context test for pm.execution.location

Implementation fixes:
- Add missing pm.iterationData.toJSON() in pre-request.js
- Sync post-request.js collectionVariables error messages to match
  pre-request.js ("use environment or request variables instead")
2025-11-12 14:35:16 +05:30
jamesgeorge007
8f7146bd57 chore: bump CLI version 2025-10-27 23:06:27 +05:30
James George
9cd6c7d6cf
feat(scripting-revamp): chai powered assertions and postman compatibility layer (#5417)
Co-authored-by: nivedin <nivedinp@gmail.com>
2025-10-27 17:49:58 +05:30
Mir Arif Hasan
53e8b28459
chore: security patch for the dependency chain (#5487)
v2025.10.0

---------

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-10-22 18:48:20 +05:30
Prit Rojivadiya
c31f74829d
refactor: cleanup sync logic and imports (#5428) 2025-10-08 13:31:29 +05:30
jamesgeorge007
5eb9fec21c docs: document CLI versioning scheme 2025-09-26 14:19:08 +05:30
jamesgeorge007
58b0736c5b chore: bump non-major dependencies 2025-09-26 13:26:42 +05:30
jamesgeorge007
220c9abe43 chore: bump CLI version 2025-09-24 19:48:30 +05:30
James George
b62b50c1e2
feat(scripting-revamp): introduce hopp namespace (#5388) 2025-09-24 17:09:55 +05:30
Mir Arif Hasan
37060638df
chore: security patch for the dependency chain (#5400)
Bump non-major dependencies

---------

Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-09-24 16:22:31 +05:30
jamesgeorge007
430d6d3b02 chore: bump CLI version 2025-08-25 12:11:03 +05:30
Nivedin
2d2e65369f
feat: collection variables (#5325)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-08-22 14:39:42 +05:30
James George
42089fbb55
chore: bump dependencies and account for breaking changes (#5329)
Co-authored-by: mirarifhasan <arif.ishan05@gmail.com>
2025-08-20 23:04:14 +05:30
jamesgeorge007
7864baef11 chore: bump CLI version to 0.23.3 2025-07-29 12:10:21 +05:30
Anwarul Islam
b07212cb05
feat(common): add advanced configuration for auth and token request parameters (#5253)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-07-28 23:43:08 +05:30
jamesgeorge007
4302a45477 chore: bump CLI version 2025-06-13 11:26:22 +05:30
James George
5ac2ac40de
feat: add support for version bounded parsing and migration (#5127)
- CLI Collection runner enhancements:

  - Support mixed versions - child collections based on different versions compared to the parent collection.
  - Better support for incoming data via IDs conforming to older formats.

- Bump `verzod` across packages.
- Relevant updates to test suite.
- Bump `zod` under `selfhost-desktop`.
2025-06-05 14:51:19 +05:30
jamesgeorge007
07c79170f6 chore: bump CLI version 2025-06-02 17:33:28 +05:30
Nivedin
a325f2945d
fix: fill current value to existing value (#5109) 2025-05-29 18:36:58 +05:30
jamesgeorge007
052dc1708c test: update CLI test suite
- Flexible assertions avoiding flakiness.
- Update test fixtures conforming to the schema.
2025-05-28 16:43:12 +05:30
Anwarul Islam
82d9367843
feat: add JWT authentication support (#5079)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-05-28 15:41:47 +05:30
James George
aab2924139
feat: extend platform API support for experimental scripting sandbox (#5097) 2025-05-26 20:39:51 +05:30
James George
656a15a983
feat: migrate to a unified scripting system based on faraday-cage (#5090)
Co-authored-by: curiouscorrelation <curiouscorrelation@gmail.com>
2025-05-23 22:54:27 +05:30
Nivedin
01d96fa577
feat: initial and current value for environment variables (#5055) 2025-05-23 22:38:36 +05:30
Anwarul Islam
130facb440
fix: include request body to AWS V4 signer in effective request functions (#5084) 2025-05-21 21:02:07 +05:30
jamesgeorge007
63135a0633 chore: bump CLI version 2025-04-29 15:12:57 +05:30
Anwarul Islam
ccf3c6f834
feat: add support for HAWK authentication (#4694)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
2025-04-29 14:51:16 +05:30
jamesgeorge007
2b591b9536 test: resolve flaky CLI tests
Move to the in-house echo service for reliability.
2025-04-25 20:45:32 +05:30
Andrew Bastin
ba64fea681
chore: bump vulnerable dependencies (#4943) 2025-03-27 22:45:29 +05:30
luzpaz
a8bf6c0611
fix: resolve typos across packages (#4867) 2025-03-12 13:53:08 +05:30
jamesgeorge007
d8875043cd chore: bump version to 2025.2.0 2025-02-24 12:36:00 +05:30