Commit Graph

5811 Commits

Author SHA1 Message Date
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
Jay Wu
8749907680 Merge branch 'release/12.0.0' into develop 2025-11-04 11:08:01 +00:00
Insomnia
62d56e3863 Bump app version to 12.0.0 2025-11-04 18:32:25 +08:00
Jack Kavanagh
830652f643 fix ndjson parser (#9318) 2025-11-03 11:59:52 +00:00
yaoweiprc
65dfb97c0e Change wording (#9340) 2025-11-03 11:32:16 +08:00
Ryan Willis
94aa05e763 feat: clear all credentials upon logout [INS-1630] (#9328)
* feat: clear all credentials upon logout

* also drop secret_id and repo_id, explain git repo drop

* add log out confirmation modal

* fix log out for critical scratchpad test

* empty git repo instead

* update db querying + hide empty error box on failures
2025-10-31 09:02:04 -07:00
James Gatz
af14650d3a Fix/git checkout offline error msg (#9335)
* fix: remove unnecessary console log in fetchRemoteBranches

* fix: checkoutGitBranchAction error handling when offline
2025-10-31 15:50:13 +01:00
Jack Kavanagh
fba5f13431 add docs gen docs (#9312) 2025-10-30 15:43:23 +00:00
Kent Wang
2062fda248 update doc links (#9333) 2025-10-30 09:05:00 +00:00
yaoweiprc
c3ca529b36 Fix new pricing issues before v12 launch (#9330)
* update link

* change wording

* add statistic

* fix bug
2025-10-30 16:16:32 +08:00
Bingbing
8a4defe3c0 fix: use string readyState to make mcp ux more accurate (#9323) 2025-10-30 12:01:07 +08:00
Jack Kavanagh
bad5d4c575 fix: autoupdate ux (#9295)
* add more descriptive toast content

* clean up duplicated timing logic

* use 3 second timer to prevent spam

* move url lookup to last moment

* add smoke test server

* improve backup test

* fix backup test

* merge files

* consistent imports
2025-10-29 19:35:24 +01:00
xdm
519014a709 feat: new pricing features (#9176)
* feat: new pricing

feat: invite check

fix: fixes based on comments

feat: invite_not_permitted event

fix: sync user info after trial

Popup for upgrade plan when creating a git project

change wording

fix theme color

feat: add segment events

feat: report user local git project count

fix theme issue

feat: INS-1582 new design for upgrade modal

Add pop-up for inviting members

feat: add the plan indicator

feat: new design of top-right corner

fix: fix quota

fix: fix top-right corner width

* fix: remove button

* Add upgrade plan banner in invite modal

* fix type issue

* fix smoke test

* Remove console.log

* fix: fix quota issue

* update useIsLightTheme

* fix type

* add annotation

* move doc link

* fix: fix source

---------

Co-authored-by: yaoweiprc <6896642+yaoweiprc@users.noreply.github.com>
2025-10-29 19:17:21 +08:00
James Gatz
94442896f0 fix: update onboarding link visibility condition to include trailing slash (#9317) 2025-10-29 09:11:28 +00:00
Curry Yang
e629d497ec fix: delete wrong tailwind class (#9266) 2025-10-29 08:04:26 +00:00
Curry Yang
2de83ffbb4 fix: redundant update toast (#9322) 2025-10-29 07:36:00 +00:00
Kent Wang
19ea58649d Fix: oauth redirection issue for MCP (#9316)
* fix oauth issue
* enhance model issue
2025-10-29 07:03:49 +00:00
Curry Yang
a51cb3cdd1 fix: mcp issues (#9321) 2025-10-29 06:27:36 +00:00
Ryan Willis
38588f6e55 feat: update commit generation area (#9319) 2025-10-28 11:25:26 -07:00
Ryan Willis
264d373cbf feat: sparkles badge for AI features (#9306)
* feat: sparkles badge for AI features

* inline styles

* inherit icon color
2025-10-28 09:13:54 -07:00
Shelby Moore
a5e6c8fafa fix: hide create mock server when creation not allowed (#9301)
* fix: hide create mock server when creation not allowed

* feat: allow mock server creation for non-enterprise
2025-10-24 15:26:53 +00:00
Ryan Willis
6b4bb88539 fix: type imports for contributors (#9310) 2025-10-24 08:05:49 -07:00
yaoweiprc
47daf60f2d Use codemirror merge addon to replace mis-merge [INS-1425] (#9268)
* Use codemirror merge addon to replace mis-merge

* update merge tip
2025-10-24 08:59:36 +00:00
Vivek Thuravupala
877fbfd630 Merge branch 'release/12.0.0-beta.0' into develop 2025-10-24 05:20:50 +00:00
Insomnia
f82818b3a8 Trigger release/12.0.0-beta.0 build core@12.0.0-beta.0 2025-10-24 03:59:31 +00:00
Insomnia
18352b3ea7 Bump app version to 12.0.0-beta.0 2025-10-24 03:59:15 +00:00
James Gatz
627ca2fab3 [INS-1598] Update onboarding view for v12 (#9305)
* feat: update onboarding version and add new features with corresponding images

* chore: remove outdated onboarding images

* fix: update icon types for features and adjust layout in onboarding
2025-10-23 18:11:40 +00:00
Jack Kavanagh
bf113c79cf bump electron 38 (#9282)
* bump electron 38

* bump 38.4

* bump node 22.20
2025-10-23 16:44:03 +00:00
Jack Kavanagh
e175f105d5 add unittest deprecation warning (#9097)
* add warning

* update copy

* update content with link
2025-10-23 10:43:02 -05:00
Jack Kavanagh
aeb12e03aa chore: remove unused renderMode (#9267)
* remove renderMode

* fix flakey test
2025-10-23 12:23:31 +00:00
Curry Yang
7bb6e46d45 feat: support mcp client (#9152)
* feat: mcp client creation-[INS-1328] (#9103)

* feat: mcp client creation

* fix:: type check

* feat: fix icon

* feat: mcp workspace card dropdown

* feat: mcp client support - SDK integration & Basic request pane (#9109)

* 1.initial check-in for mcp main

* add initial mcp request pane

* fix name

* fix type issues

* fix type issue

* fix issue

* feat: add custom mcp icon (#9112)

* feat: mcp workspace icon

* fix: mcp redirect route path

* feat: Support server capability list (#9117)

* support server capability list

* fix type issue

* feat: integrate rjsf (#9120)

* feat: custom rjsf theme (#9125)

* feat: Add basic response pane for MCP (#9131)

* New List page
* Add a common utility function
* Add response pane ui
* Support events and logs

* feat: support stdio transport (#9135)

* Chore: Move MCP request page into debug router path (#9140)

* refactor mcp page router path
* fix lint issue

* feat: support stdio events, console, and UI (#9142)

* feat: Enhance MCP response pane (#9144)

* support notification panel
* adjust code from rebase
* preview issue

* fix rebase issue of duplicate close

* feat: support resource&prompt calling (#9148)

* feat: support resource&prompt calling

* fix: hide editor for resource template

* change method detection logic

* remove unuse code

---------

Co-authored-by: Kent Wang <kent.wang@konghq.com>

* fix: classNames

* fix message issue

* feat: add access grant modal for stdio transport (#9149)

* feat: disable sync&export for mcp (#9155)

* feat: store params in mcp payload model (#9153)

* feat: store params in mcp payload model

* fix: useLatest

* fix: merge import statement

* update

* update

* add hint for server list update (#9160)

* fix: parse value (#9161)

* fix: base select placeholder

* feat: complete the existing auth for mcp client (#9159)

* feat: Change observer pattern for mcp events and enable auto selection (#9165)

* change polling method
* auto activate latest event for mcp
* support showing error details for mcp

* Feat: add MCP tab - [INS-1354] (#9166)

* feat: support mcp tab

* feat: mcp tab

* custom ui form mcp tab

* fix: mcp tab name

* support filter (#9169)

* fix: resource template

* feat: add roots support for mcp client (#9175)

* add mcp roots pane
* support filter and activate tabs automatically
* basic implement of roots in main

* fix: text color

* feat: support mcp auth flow (#9178)

* customize more template (#9177)

* customize more template

* fix

* delete unuse props

* make call tool button sticky to top

* feat: hide duplicate (#9187)

* fix: hide runner & hide send button & avoid multiple connect (#9186)

* fix: mcp multiple tab issue (#9185)

* fix multiple tab issue
* clear resource subscription when mcp connection closed.
* Do not allow subscription when not connected

* fix: mcp issues (#9196)

* add missing libs

* 1.fix type issue

* fix type issues

* fix: UX improvement for mcp client (#9229)

* fix call tool data issue
* add api key auth

* fix: params overview (#9233)

* update size issue

* update rebase issues

* feat: add mcp segment events (#9240)

* feat: revise the message in the MCP auth confirmation modal (#9241)

* Escape tabs and new lines for CodeMirror display (#9245)

* update sse main process issue

* Fix: MCP workspace creation issue in Git sync (#9263)

* add unique ids

* fix issues (#9270)

* fix: get valid mcp stdio PATH env (#9269)

* fix issues from comment

* fix: consistent the auth grant type naming style

* 1.fix issues from comment

* fix: support the encrypt auth flow for mcp auth (#9289)

* code clean

* fix: fix status indicator in the stdio response history (#9304)

* fix: mcp disconnection (#9303)

* fix from comments

* update package-lock

---------

Co-authored-by: Kent Wang <kent.wang@konghq.com>
Co-authored-by: Bingbing <ZxBing0066@gmail.com>
2025-10-23 17:49:28 +08:00
Ryan Willis
1b6c776214 feat: LLM integrations + preferences (#9296)
* feat: integrate AI plugin and configure LLMs in preferences (#9192)

* poc: LLM configuration

* fix formatting + tidy script

* fix openpath type send method

* exempt node_modules from vitest

* reset package-lock for inso build

* switch from send/on to invoke/handle

* switch to pluginData

* remove unnecessary animation

* remove extraneous external defs in frontend bundle config

* rebase fix

* feat: mock server gen (#9201)

* add ipc handler methods in front of llm config service (#9202)

* feat: gemini first class config support (#9209)

* feat: add gemini as a backend

* fix: save api key the first time

* chore: call plugin from utility process (#9210)

* feat: additional mock server event tracking (#9215)

* feat(Git Commit): Automatically generate commits (#9164)

* feat: add AI-generated commit message functionality in staging modal

* feat: enhance AI commit message generation with error handling and improved UI

* fix: update button icon and text for commit generation state in staging modal

* feat: add diff functionality to Git service and integrate with AI commit message generation

* feat: update isomorphic-git to version 1.33.1 and add stash functionality to Git VCS

* feat: implement multiple commit functionality for Git VCS and integrate with staging modal

* feat: add validation for staged changes before generating commit messages

* feat: implement generateCommitsFromDiff functionality for AI commit message generation

* Cleanup staging modal and use tree data for reordering and submitting multiple commits

* Revert "feat: update isomorphic-git to version 1.33.1 and add stash functionality to Git VCS"

This reverts commit b731372debdfb07ac118d84900c2cecb635a34b4.

* feat: update type definitions for diff changes in Git VCS

* refactor: remove console logs and commented code from staging modal and AI commit generation

* feat: implement git commit generation process using a separate utility process for improved error handling and performance

* fix: improve error handling messages in AI commit generation

* chore: update optional dependency for AI plugin to alpha version 1.0.3

* fix: ensure data dir exists prior to reading (#9220)

* fix: ensure data dir exists prior to reading

* rename handler

* feat: mock server gen ux improvements (#9221)

* fix: include mockgen script in build (#9222)

* feat: add git commit generation process to build script (#9226)

* fix: set min height for git folder selector (#9242)

* chore: ai plugin 1.0.4 (#9243)

* feat: toggle ai features (#9232)

* feat: track commit generation and saving events for analytics (#9293)

* feat: add analytics tracking for commit message generation events

* fix: update segment event names to camelCase for consistency

* Update package-lock with the plugin modules

* fix(build): add x64ArchFiles option back (#9297)

* fix: autoselect self hosted mock when cloud mock disabled (#9299)

* fix: hide ai settings from scratch pad user (#9300)

---------

Co-authored-by: Shelby Moore <13246465+shelby-moore@users.noreply.github.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2025-10-23 10:41:39 +02:00
Bingbing
bae945281b feat: enable id replacement when importing for all users (#9256) 2025-10-22 06:36:57 +00:00
Bingbing
47933c6ec0 fix: avoid modal events affect the outer menu (#9257) 2025-10-22 05:39:59 +00:00
yaoweiprc
5e2680145c INS-1263 Encrypt and decrypt oauth code when using system browser for authorization (#9089) 2025-10-22 12:05:27 +08:00
Vivek Thuravupala
d99c753c69 Reapply "feat: create collection from mock server routes (#9156)"
This reverts commit a9d1a4b425.
2025-10-21 18:05:58 -07:00
Vivek Thuravupala
2281556995 Revert "Reconcile secureReadFile changes with reverted mock response extractor changes"
This reverts commit f517bfccd8.
2025-10-21 18:05:58 -07:00
Vivek Thuravupala
a6eed96370 Reapply "fix(Navigation): Store/recover navigation history in the app (#9284)"
This reverts commit 39a18786a8.
2025-10-21 18:05:58 -07:00
Vivek Thuravupala
ef355583d8 Merge branch 'release/11.6.2' into develop 2025-10-21 21:13:00 +00:00
Insomnia
7223ab4121 Trigger release/11.6.2 build core@11.6.2 2025-10-21 19:49:19 +00:00
Insomnia
605f21111d Bump app version to 11.6.2 2025-10-21 19:49:00 +00:00
Vivek Thuravupala
39a18786a8 Revert "fix(Navigation): Store/recover navigation history in the app (#9284)"
This reverts commit 44d04cd56b.
2025-10-21 08:39:46 -07:00