- export-requests-modal no longer imports exportRequestsToFile from
import-export; the modal takes an onExport prop and all three render
sites (import-export, sidebar-workspace-dropdown, workspace-card-dropdown)
pass exportRequestsToFile in, cutting modal -> import-export.
- VaultKeyDisplayInput extracted from vault-key-panel into
settings/vault-key-display-input.tsx so input-vault-key-modal no longer
imports vault-key-panel.
- ArgConfigFormProps moved from tag-editor-arg-sub-form into
templating/arg-config-form-props.ts so external-vault-form no longer
imports tag-editor-arg-sub-form.
- ResponseViewerProps moved into viewers/response-viewer-props.ts and
ResponseMultipartViewer now receives the body viewer via a BodyViewer
prop (passed by response-viewer), cutting multipart -> viewer.
insomnia cycles 85 -> 81; no new cycles in any package.
Break the route<->component cycles without touching createFetcherSubmitHook or
use-request.ts, and without generated +types:
- The data-access hooks that descendants import are moved out of route entry files
into neutral modules that own both the interface and the hook, so route files are
no longer shared-hook modules:
* ui/hooks/use-project-loader-data.ts (ProjectLoaderData + useProjectLoaderData)
* ui/hooks/use-mock-route.ts (MockRouteLoaderData + useMockRouteLoaderData; patcher kept)
Each route's clientLoader conforms to the interface via 'satisfies', so the type
has a single source and cannot drift; consumers import the named hook.
- cycle route.update -> content-type-dropdown -> use-request -> route.update is cut
at the route->component edge by moving the pure updateMimeType/newBodyGraphQL
helpers to ui/utils/request-mime-type.ts (use-request/createFetcherSubmitHook untouched).
- grpc: GrpcMessage/GrpcRequestState moved to ui/utils/grpc.ts.
- useWorkspaceLoaderData is left in place (route.workspace is not in any cycle).
## Summary
- Replaces the madge-based `check-cycle-references` with a `dependency-cruiser`-based check, cruised once per npm workspace package.
- Keeps the checker, dependency-cruiser config, and known-cycle baseline together under `scripts/circular-references/`.
- Uses a committed baseline to grandfather existing cycles while failing on new cycles and stale baseline entries.
- Cleans the existing `insomnia-inso` type cycle by using `insomnia-data`'s `AllTypes` instead of importing the database container type.
- CI explicitly uses Bash for correct `tee`/pipeline failure propagation, safely handles skipped checks, and posts a PR report.
- Dropped `madge`/`.madgerc`, added `dependency-cruiser`.
The madge-based check-cycle-references never had a committed .madgerc,
so real CI silently resolved without tsconfig path aliases and only
ever saw 10 cycles instead of the ~200 that actually exist once `~/`
imports resolve correctly. Also replaces the base-branch-diff CI
mechanism (checkout base branch, compare cycle counts, never fails)
with a per-package dependency-cruiser cruise gated by a committed
baseline: existing cycles are grandfathered in, any genuinely new
cycle anywhere in the repo now fails CI.
* remove nunjucks usage from core themes
* adds package downloader script
* adds runtime validation for plugins still using nunjucks
* generateThemeCSS no longer needs to be async
* removes Nunjucks as valid type
* move some operations to main
* move more options to main
* move cookies and multipart
* remove cert legacy migration
* move auth and aws helper
* move certs options to main
* remove libcurl usage from renderer and tidy
* extract oauth2 flow back to renderer
* add parse headers tests
* minimally type req
* organise libcurl-promise by req properties
* minimally type used settings
* tidy up debug timeline
* fix cookie bug
* tasty little parsing function refactor
* doh! trim
* tidy up set cookie method/self review
* extracted functions from set-cookie logic
* refactoring with tests
* formatting after rebase
* clarification of duplicate header support
* tighten up parse headers
* simplify aws signing
* fix app version imports
* fixes#2552:
* updated version script to show more verbose errors in case of a mismatch node version
* added suggested changes
* No output is printed if the node version is aaccurate
* changed colours for the messages to make them more prominent
* Added import from URI ability
* Add protocol handlers
* Fix for keymap setting on read-only mode
* Refactored some main components out
* Protocols shoudl work now
* Some minor implementations
* Some more
* Lots more
* Removed 'backend' alias
* removed all promises
* Removed a bunch of module exports stuff
* Some morE'
* Fix
* custom DNS
* Tests for DNS
* bug fix
* Some small adjustments
* Small stuff