Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 13 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Hoppscotch (support@hoppscotch.io)",
"private": true,
"license": "MIT",
"packageManager": "pnpm@10.34.2",
"packageManager": "pnpm@10.34.5",
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepare": "husky",
Expand Down Expand Up @@ -35,25 +35,31 @@
},
"pnpm": {
"overrides": {
"@protobufjs/utf8@<=1.1.0": "1.1.2",
"@xmldom/xmldom": "0.8.13",
"apiconnect-wsdl": "2.0.36",
"body-parser": "2.2.1",
"brace-expansion@<=5.0.7": "5.0.8",
"body-parser": "2.3.0",
"brace-expansion@<5.0.9": "5.0.9",
"cross-spawn": "7.0.6",
"deepmerge-ts@<8.0.0": "8.0.1",
"execa@<2.0.0": "2.0.0",
"fast-uri@3.1.2": "3.1.4",
"fast-uri@>=3.0.0 <3.1.5": "3.1.5",
"find-my-way@9.6.0": "9.7.0",
"form-data@>=4.0.0 <4.0.6": "4.0.6",
"js-yaml@>=4.0.0 <4.3.0": "4.3.0",
"js-yaml@>=4.0.0 <4.3.1": "4.3.1",
"js-yaml@>=5.0.0 <=5.2.1": "5.2.2",
"linkify-it@<=5.0.1": "5.0.2",
"liquidjs@<10.27.0": "10.27.1",
"minimatch@>=4.0.0 <4.2.5": "4.2.5",
"mjml@<5.0.0-alpha.9": "5.4.0",
"nodemailer@<=9.0.0": "9.0.1",
"postcss@<=8.5.17": "8.5.18",
"postcss@<=8.5.22": "8.5.26",
"qs@>=6.11.1 <6.15.2": "6.15.3",
"serialize-javascript@<7.0.7": "7.0.7",
"svgo@>=4.0.0 <4.0.2": "4.0.2",
"vue": "3.5.40",
"uuid@9.0.1": "11.1.1",
"valibot@<=1.4.1": "1.4.2",
"vue": "3.5.41",
"ws": "8.21.0"
},
"onlyBuiltDependencies": [
Expand Down
2 changes: 1 addition & 1 deletion packages/codemirror-lang-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"devDependencies": {
"@lezer/generator": "1.8.0",
"@rollup/plugin-typescript": "12.1.4",
"mocha": "11.7.6",
"mocha": "11.8.0",
"rollup": "4.59.0",
"typescript": "5.9.3"
}
Expand Down
12 changes: 6 additions & 6 deletions packages/hoppscotch-agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
"@hoppscotch/ui": "0.2.6",
"@tauri-apps/api": "2.1.1",
"@tauri-apps/plugin-shell": "2.3.3",
"@vueuse/core": "14.3.0",
"axios": "1.18.1",
"@vueuse/core": "14.4.0",
"axios": "1.19.0",
"fp-ts": "2.16.11",
"lodash-es": "4.18.1",
"vue": "3.5.38"
"vue": "3.5.41"
},
"devDependencies": {
"@iconify-json/lucide": "1.2.118",
"@iconify-json/lucide": "1.2.125",
"@tauri-apps/cli": "2.9.3",
"@types/lodash-es": "4.17.12",
"@types/node": "24.10.1",
Expand All @@ -39,9 +39,9 @@
"cross-env": "10.1.0",
"eslint": "9.39.2",
"eslint-plugin-prettier": "5.5.6",
"eslint-plugin-vue": "10.9.2",
"eslint-plugin-vue": "10.10.0",
"globals": "16.5.0",
"postcss": "8.5.20",
"postcss": "8.5.26",
"tailwindcss": "3.4.16",
"typescript": "5.9.3",
"unplugin-icons": "22.5.0",
Expand Down
38 changes: 19 additions & 19 deletions packages/hoppscotch-backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hoppscotch-backend",
"version": "2026.7.0",
"version": "2026.8.0",
"description": "",
"author": "",
"private": true,
Expand Down Expand Up @@ -34,21 +34,21 @@
"@apollo/server": "5.5.1",
"@as-integrations/express5": "1.1.2",
"@nestjs-modules/mailer": "2.3.7",
"@nestjs/apollo": "13.4.2",
"@nestjs/common": "11.1.28",
"@nestjs/apollo": "13.4.5",
"@nestjs/common": "11.2.1",
"@nestjs/config": "4.0.4",
"@nestjs/core": "11.1.28",
"@nestjs/graphql": "13.4.2",
"@nestjs/core": "11.2.1",
"@nestjs/graphql": "13.4.5",
"@nestjs/jwt": "11.0.2",
"@nestjs/passport": "11.0.0",
"@nestjs/platform-express": "11.1.28",
"@nestjs/platform-express": "11.2.1",
"@nestjs/schedule": "6.1.3",
"@nestjs/swagger": "11.4.6",
"@nestjs/swagger": "11.4.7",
"@nestjs/terminus": "11.1.1",
"@nestjs/throttler": "6.5.0",
"@prisma/adapter-pg": "7.9.0",
"@prisma/client": "7.9.0",
"argon2": "0.44.0",
"@prisma/adapter-pg": "7.9.1",
"@prisma/client": "7.9.1",
"argon2": "0.45.1",
"bcrypt": "6.0.0",
"class-transformer": "0.5.1",
"class-validator": "0.15.1",
Expand All @@ -64,16 +64,16 @@
"handlebars": "4.7.9",
"io-ts": "2.2.22",
"morgan": "1.11.0",
"nodemailer": "9.0.3",
"nodemailer": "9.0.5",
"passport": "0.7.0",
"passport-github2": "0.1.12",
"passport-google-oauth20": "2.0.0",
"passport-jwt": "4.0.1",
"passport-local": "1.0.0",
"passport-microsoft": "2.1.0",
"pg": "8.22.0",
"posthog-node": "5.46.1",
"prisma": "7.9.0",
"pg": "8.23.0",
"posthog-node": "5.50.0",
"prisma": "7.9.1",
"reflect-metadata": "0.2.2",
"rimraf": "6.1.3",
"rxjs": "7.8.2"
Expand All @@ -83,7 +83,7 @@
"@eslint/js": "10.0.1",
"@nestjs/cli": "11.0.24",
"@nestjs/schematics": "11.1.0",
"@nestjs/testing": "11.1.28",
"@nestjs/testing": "11.2.1",
"@relmify/jest-fp-ts": "2.1.1",
"@types/bcrypt": "6.0.0",
"@types/cookie-parser": "1.4.10",
Expand All @@ -96,13 +96,13 @@
"@types/passport-jwt": "4.0.1",
"@types/passport-microsoft": "2.1.1",
"@types/supertest": "7.2.1",
"@typescript-eslint/eslint-plugin": "8.65.0",
"@typescript-eslint/parser": "8.65.0",
"@typescript-eslint/eslint-plugin": "8.67.0",
"@typescript-eslint/parser": "8.67.0",
"cross-env": "10.1.0",
"eslint": "10.7.0",
"eslint": "10.8.1",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-prettier": "5.5.6",
"globals": "17.7.0",
"globals": "17.11.0",
"jest": "30.4.2",
"jest-mock-extended": "4.0.1",
"prettier": "3.9.6",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
-- Extend sync_mock_examples() to project the GraphQL operation identity of
-- saved example responses (operationName / operationType, stamped by the app
-- when a GraphQL run is saved as an example). The mock server's GraphQL
-- matcher selects examples by these, the way REST examples match by
-- method + path. REST examples project both fields as NULL.
CREATE OR REPLACE FUNCTION sync_mock_examples()
RETURNS TRIGGER AS $$
BEGIN
NEW."mockExamples" := jsonb_build_object(
'examples',
COALESCE(
(
SELECT jsonb_agg(
jsonb_build_object(
'key', key,
'name', value->>'name',
'endpoint', value->'originalRequest'->>'endpoint',
'method', value->'originalRequest'->>'method',
'headers', COALESCE(value->'originalRequest'->'headers', '[]'::jsonb),
'statusCode', (value->>'code')::int,
'statusText', value->>'status',
'responseBody', value->>'body',
'responseHeaders', COALESCE(value->'headers', '[]'::jsonb),
'operationName', value->>'operationName',
'operationType', value->>'operationType'
)
)
FROM jsonb_each(NEW.request->'responses') AS responses(key, value)
WHERE jsonb_typeof(NEW.request->'responses') = 'object'
),
'[]'::jsonb
)
);

RETURN NEW;
END;
$$ LANGUAGE plpgsql;

-- Backfill: re-fire the trigger so existing rows pick up the new projection.
--
-- Scoped to rows that actually carry saved example responses. `request` is
-- NOT NULL on both tables, so an `IS NOT NULL` guard would filter nothing and
-- rewrite every request row in the database — a full-table rewrite (plus bloat
-- and a long lock hold on large self-hosted instances) to recompute a value
-- that is unchanged for those rows: with no `responses` object the projection
-- COALESCEs to the same `{"examples": []}` the previous trigger produced.
UPDATE "UserRequest"
SET request = request
WHERE jsonb_typeof(request -> 'responses') = 'object'
AND request -> 'responses' <> '{}'::jsonb;

UPDATE "TeamRequest"
SET request = request
WHERE jsonb_typeof(request -> 'responses') = 'object'
AND request -> 'responses' <> '{}'::jsonb;
Loading
Loading