5902 Commits

Author SHA1 Message Date
Shelby Moore
66aad51525 chore: remove insomnia-api-client package dep (#9432) 2025-11-27 13:37:27 +00:00
Jack Kavanagh
c62a114d28 Chore: eslint-autofixes (#9421)
* sort and remove a few

* autofix 1

* remove useless undefined

* fix types

* number seperators

* native coercion

* utf8

* explicit number

* dom node dataset

* explicit unused catch

* array find

* fix types

* prefer negative index

* from code point

* fix error layout

* prefer ternary

* explicit length

* useless case

* named functions

* utf8

* import style

* default parameters

* no instance of

* clone

* use regex test

* single call

* prettier

* fix types

* Revert "use regex test"

This reverts commit 8fb9e991ff.
2025-11-27 09:36:52 +00:00
Curry Yang
4fb51a1281 fix: tailwind v4 border issue (#9433) 2025-11-27 14:35:50 +08:00
Bingbing
2cff33f88c chore: enable react-hooks/purity rule (#9430) 2025-11-27 02:54:52 +00:00
Jack Kavanagh
2f4e3a8e65 run prettier (#9431) 2025-11-26 11:19:07 +00:00
Curry Yang
e43bd82620 feat: base components - [INS-1570] (#9344)
* feat: form component

* feat: use twMerge to support class overide

* Spike: Add markdown format doc support for base-components (#9368)

* initial check-in

* add things

* update select.mdx

* use react live things

* add package-json

* Revert "add package-json"

This reverts commit c57abf6178.

* update comment

* update docs

* type fix

* tailwind v4 upgrade

* upgrade tailwind v4 in docusaurus

* feat: add more components (#9426)

* update

* update

---------

Co-authored-by: Kent Wang <kent.wang@konghq.com>
2025-11-26 18:37:21 +08:00
Jack Kavanagh
14e44f98a3 Chore/bump-linting-pkgs (#9409)
* bump linting pkgs

* add temporary ignores

* fix test

* autofix
2025-11-25 16:49:03 +00:00
Jack Kavanagh
9598d828d6 Fix/proxy-config-INS-1532 (#9416)
* improve logs

* use request derived proxy protocol

* clarify logs

* fix tests
2025-11-25 16:30:32 +00:00
Bingbing
b938a81b89 feat: refactor mcp code with context to support safe abort at any time (#9397) 2025-11-25 02:53:45 +00:00
Curry Yang
8f1e3bf22b Chore/tailwind v4 upgrade - [INS-1653] (#9350)
* chore: Tailwind v4 upgrade

* fix: ui issues

* feat: new feature update

* fix: remove debug code

* fix: order

* fix: conflict

* fix: issues
2025-11-24 10:06:51 +00:00
Bingbing
11c852d66c feat: mcp support disable ssl validation (#9382) 2025-11-24 09:29:57 +00:00
Bingbing
9cefe89215 fix: inso test result category always be unknown (#9405) 2025-11-24 09:08:52 +00:00
Curry Yang
14a8797d67 fix: wrong tailwind usage (#9336)
* fix: wrong tailwind usage

* fix
2025-11-24 08:49:06 +00:00
Bingbing
bc1f94384f fix: handle invalid url in oauth modal (#9413) 2025-11-24 15:10:56 +08:00
Vivek Thuravupala
cb41d4b125 Merge branch 'release/12.1.0' into develop 2025-11-21 17:39:21 +00:00
Insomnia
7c4de0f904 Trigger release/12.1.0 build core@12.1.0 2025-11-21 06:48:09 +00:00
Insomnia
5d4f750b31 Bump app version to 12.1.0 2025-11-21 06:47:53 +00:00
yaoweiprc
d73c6bbae8 Fix issues in merge modal (#9404)
Fix the bug that the resolving conflicts modal does not show when merging a branch. It's introduced by recent changes in git sync.
2025-11-21 14:30:14 +08:00
James Gatz
85e0704f8c Merge branch 'release/12.1.0-beta.1' into develop 2025-11-20 11:59:50 +00:00
Insomnia
7dc1a07a2f Trigger release/12.1.0-beta.1 build core@12.1.0-beta.1 2025-11-20 09:59:02 +00:00
Insomnia
0c640f58c1 Bump app version to 12.1.0-beta.1 2025-11-20 09:58:45 +00:00
James Gatz
c97feb571d [INS-1736] fix(schema): allow nullable authentication and path parameters in collection schema (#9402)
* fix(schema): allow nullable authentication and path parameters in request schemas

* fix: handle undefined, null, and empty string values in deep equality check

* fix: handle optional yamlContent parameter in migrateToLatestYaml function
2025-11-20 09:52:48 +00:00
Jack Kavanagh
2d64f5b0a1 chore: normalise filenames (#9399)
* add rule

* kebab case

* kebab case

* kebab case

* fix import path

* fix snapshot
2025-11-19 11:00:54 +00:00
Ryan Willis
d798be87dc feat(inso): support request timeouts (#9363)
* feat: support request timeouts in inso

---------

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
2025-11-18 10:50:19 -07:00
Ryan Willis
a2ad777837 fix(inso): include transient variables during interpolation (#9396) 2025-11-18 10:13:23 -07:00
Jay Wu
3bce64df34 Merge branch 'release/12.1.0-beta.0' into develop 2025-11-14 09:30:17 +00:00
Insomnia
8cffe9f22e Trigger release/12.1.0-beta.0 build 2025-11-14 08:29:31 +00:00
Insomnia
1cec82cc26 Bump app version to 12.1.0-beta.0 2025-11-14 08:29:15 +00:00
Curry Yang
24b4251ad1 fix: nuget version 2025-11-14 16:25:04 +08:00
Kent Wang
63531b24dd fix list roo request (#9384) 2025-11-14 08:17:15 +00:00
Bingbing
87be1b36aa fix: pick missing stdio env fix caused by merge (#9383) 2025-11-14 06:36:38 +00:00
Curry Yang
0990a46f6a feat: add squirrel windows sign check - [INS-1338] (#9361)
* feat: add windows sign check

* fix: dir

* feat: sign check in CI

* add comment

* fix
2025-11-14 11:38:08 +08:00
Kent Wang
2459b4bdf4 update sign up tip text (#9380) 2025-11-14 11:20:24 +08:00
Shelby Moore
5702140c8d chore: bump ai plugin to 1.0.6 (#9379) 2025-11-13 16:19:30 -08:00
Bingbing
81e4da2380 feat: support ca cert config for mcp (#9376) 2025-11-13 18:04:53 +08:00
Bingbing
b97234b3bb feat: add mcp error details to the events and the UI (#9377) 2025-11-13 08:26:30 +00:00
Kent Wang
da0fb75e83 Only set selected primitive for mcp when exists (#9375) 2025-11-13 16:03:07 +08:00
Kent Wang
440bbaa9a4 Making MCP Client visible in scratchpad (#9374) 2025-11-13 05:22:21 +00:00
Bingbing
e48be61aac fix: record failed mcp auth fetch events (#9372) 2025-11-13 04:20:29 +00:00
Insomnia
2459790050 Bump plugin version to 0.1.3 (#9373) 2025-11-13 11:45:06 +08:00
Shelby Moore
2ba33df3dc chore: bump insomnia-plugin-ai to 1.0.5 (#9370) 2025-11-12 09:44:27 -08:00
Bingbing
90265ffb51 feat: support saving run collection result report (#9360) 2025-11-12 11:04:18 +08:00
Kent Wang
511e052dcd fix panel issue (#9365) 2025-11-11 03:53:20 +00:00
Shelby Moore
452d497452 feat: add model config to segment even for mock creation (#9357) 2025-11-10 17:23:39 +00:00
Pavlos Koutoglou
9044a77e91 fix: Insomnia V5 Schema changes [INS-847] (#9275)
* Clarify comment on network-related errors

Updated comment for clarity on error checking.

* fix: Migration System & Intelligent Diff Detection [INS-847] (#9278)

* feat: add significant diff detection functionality

* feat: add Insomnia schema version constant

* feat: add migration functions for Insomnia schema version 5.1

* feat: implement migration functions and property normalization for Insomnia schema

* feat: add comprehensive Insomnia schema migration guide

* feat: optimize property order normalization for arrays in normalizePropertyOrder function

* Update packages/insomnia/src/common/insomnia-schema-migrations/index.ts

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

* Update packages/insomnia/src/common/insomnia-schema-migrations/migration.md

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

* Update packages/insomnia/src/common/insomnia-schema-migrations/index.ts

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

---------

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

* fix: Git VCS Intelligence Layer [INS-847] (#9276)

* refactor: enhance NeDBClient and project routing logic with improved documentation and handling

* test: enhance NeDBClient tests with additional scenarios and improved structure

* docs: enhance Git service documentation with detailed module overview and function descriptions

* feat: enhance GitVCS with intelligent diff analysis and improved status reporting

* feat: enhance checkout action to support forced branch switching when no uncommitted changes exist

* refactor: simplify getGitChanges calls in multipleCommitToGitRepoAction

* fix: Core V5 Schema Foundation & Parser Implementation [INS-847] (#9281)

* feat: add Zod schemas for Insomnia v5 import parsing and validation

* feat: enhance Insomnia v5 import/export utilities with comprehensive mapping functions and error handling

* feat: enhance Request model with comprehensive documentation and additional authentication configurations

* feat: make QueryParam value optional for improved flexibility

* feat: improve data handling in removeEmptyFields and getCollection functions

* refactor: simplify removeEmptyFields and update terminology in getCollection function

* fix: UI Components, Routes [INS-847] (#9277)

* fix: enhance User-Agent header structure in clientAction functions

* fix: add hideValueType prop to KeyValueEditor for conditional rendering

* fix: add hideValueType prop to MockResponseHeadersEditor, RequestHeadersEditor, and GrpcRequestPane for consistent rendering

* fix: update onChange handler in RequestParametersEditor for type safety

* fix: remove organizationId from dependency array in GitBranchesModal, GitProjectBranchesModal, and GitStagingModal for improved effect handling

* fix: remove callback from db.init in export workspaces test for cleaner initialization

* fix: remove organizationId and workspaceId from useParams in GitProjectStagingModal for cleaner code

* fix: improve merge result validation by applying schema migration and handling errors more effectively

* fix: remove hideValueType prop from multiple editors for cleaner code

* Import React alongside FC and useCallback

* Import React alongside FC and useCallback

* Import React alongside other hooks in grpc-request-pane

* Update packages/insomnia/src/ui/components/key-value-editor/key-value-editor.tsx

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

* fix: import useState in KeyValueEditor for state management

---------

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

* chore: Update schema version to 5.1 in various YAML files [INS-847] (#9280)

* Clarify comment on network-related errors

Updated comment for clarity on error checking.

* chore: update schema version to 5.1 in various YAML files

- Updated schema_version to "5.1" in example-spec.yaml, with-tests.yaml, after-response-collection.yaml, chained-responses.yaml, client-certs.yaml, collection-for-global-environments.yaml, environments.yaml, global-environment.yaml, graphql.yaml, grpc-mtls.yaml, grpc.yaml, header-templates.yaml, import-from-url.yaml, multiple-workspaces.yaml, insomnia4-update.yaml, insomnia4.yaml, mock-server.yaml, oauth.yaml, openapi3.yaml, pre-request-collection.yaml, runner-collection.yaml, script-global-environment.yaml, simple.yaml, smoke-test-collection.yaml, socket-io.yaml, swagger2.yaml, template-tag-collection.yaml, unit-test.yaml, vault-collection.yaml, and websockets.yaml.
- Cleaned up unnecessary parameters and headers in multiple files.
- Adjusted formatting for better readability in several scripts and body texts.

* fix: Enhance discardChanges to support unstaged and staged options [INS-1099] (#9279)

* fix: enhance discardChanges to support unstaged and staged options

* fix: simplify discardChanges function by removing unused options

* fix: enhance discardChanges to handle unstaged changes more effectively

* fix: update import path for InsomniaFile type in schema migrations

* fix: simplify useParams destructuring in GitProjectStagingModal

* fix: Preserve OpenAPI spec contents during v5.1 schema migration (#9314)

* fix: remove unnecessary comment in AskModal component

* fix: remove unnecessary comment in AskModal component

* fix: preserve OpenAPI $ref entries and specific properties in cleanHeadersAndParameters function

* fix: skip OpenAPI spec contents in cleanHeadersAndParameters function

* test: add comprehensive tests for Insomnia Schema Migrations v5.1

* Grpc metadata

* Ignore metadata

* Fix migration

* Include all inside try

* Fix test

---------

Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2025-11-10 11:59:56 +02:00
Bingbing
7f58168d95 feat: add a error type for mcp response and optimize the ui when encounter an mcp auth error (#9349) 2025-11-10 06:19:05 +00:00
Kent Wang
55382133bb feat: Support to cancel separate MCP message (#9341)
* support cancel messages
* refine the way to get mcp loading messages
2025-11-10 13:00:09 +08:00
Kent Wang
3040436e8b Fix: Show oauth related error only when discover authorization server and dynamic register client success (#9348)
* Show oauth related error only when discover authorization server and dynamic register client success
2025-11-06 06:56:56 +00:00
Jack Kavanagh
741adaddfa esmascript 11 (#9347) 2025-11-05 17:17:43 +01:00
Kent Wang
f876078dfa feat: MCP message loading status refinement and elicitation support (#9288)
* MCP message loading status refinement and elicitation support
2025-11-05 07:03:12 +00:00