[PR #5124] [MERGED] fix: schema error and test updation flow #5064

Closed
opened 2026-03-17 02:32:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/5124
Author: @nivedin
Created: 6/3/2025
Status: Merged
Merged: 6/13/2025
Merged by: @jamesgeorge007

Base: patchHead: fix/secret-env-snippet-bug


📝 Commits (10+)

  • b2dbcad fix: schema error and test updation flow
  • 0075d44 feat: add request response versioning
  • ce00d11 chore: bump request version with new response verioning
  • 26df86c fix: update broken rest tab data
  • 2e7fe45 chore: update optional value
  • eafd36f fix: handle broken environment version
  • b4a2857 fix: lint update
  • a2fe905 chore: minor update
  • 489f953 chore: code refactor
  • e8ef25f chore: add request rsponse schemas and segregate common auth and body

📊 Changes

55 files changed (+1010 additions, -915 deletions)

View changed files

📝 packages/hoppscotch-common/src/components/http/Response.vue (+13 -13)
📝 packages/hoppscotch-common/src/components/http/TestResultEnv.vue (+2 -2)
📝 packages/hoppscotch-common/src/helpers/RequestRunner.ts (+11 -28)
packages/hoppscotch-common/src/helpers/fixBrokenEnvironmentVersion.ts (+27 -0)
packages/hoppscotch-common/src/helpers/fixBrokenRequestVersion.ts (+54 -0)
📝 packages/hoppscotch-common/src/helpers/import-export/import/openapi.ts (+22 -19)
📝 packages/hoppscotch-common/src/helpers/import-export/import/postman.ts (+4 -5)
📝 packages/hoppscotch-common/src/helpers/teams/TeamEnvironmentAdapter.ts (+8 -9)
📝 packages/hoppscotch-common/src/helpers/utils/statusCodes.ts (+1 -1)
📝 packages/hoppscotch-common/src/kernel/store.ts (+7 -2)
📝 packages/hoppscotch-common/src/platform/std/kernel-interceptors/agent/store.ts (+7 -10)
📝 packages/hoppscotch-common/src/platform/std/kernel-interceptors/extension/store.ts (+5 -8)
📝 packages/hoppscotch-common/src/platform/std/kernel-interceptors/native/store.ts (+5 -8)
📝 packages/hoppscotch-common/src/platform/std/kernel-interceptors/proxy/store.ts (+5 -8)
📝 packages/hoppscotch-common/src/services/persistence/__tests__/index.spec.ts (+1 -1)
📝 packages/hoppscotch-common/src/services/persistence/index.ts (+15 -2)
📝 packages/hoppscotch-common/src/services/persistence/validation-schemas/index.ts (+7 -13)
📝 packages/hoppscotch-data/src/collection/v/4.ts (+1 -1)
📝 packages/hoppscotch-data/src/collection/v/6.ts (+1 -1)
📝 packages/hoppscotch-data/src/collection/v/7.ts (+1 -1)

...and 35 more files

📄 Description

This PR fixes the issue with schema mismatch and test updation flow which leads to schema mismatch.

Notes to reviewers

  • Check if any schema mismatch occurring with REST-tab, Environments
  • Any data loss with any properties.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/5124 **Author:** [@nivedin](https://github.com/nivedin) **Created:** 6/3/2025 **Status:** ✅ Merged **Merged:** 6/13/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `patch` ← **Head:** `fix/secret-env-snippet-bug` --- ### 📝 Commits (10+) - [`b2dbcad`](https://github.com/hoppscotch/hoppscotch/commit/b2dbcad5bfd20624671e68708afacb5b358c0519) fix: schema error and test updation flow - [`0075d44`](https://github.com/hoppscotch/hoppscotch/commit/0075d4440438db3aa0759e50ae34b97f219c45e7) feat: add request response versioning - [`ce00d11`](https://github.com/hoppscotch/hoppscotch/commit/ce00d11387af6c486d531c35e877c0667d175282) chore: bump request version with new response verioning - [`26df86c`](https://github.com/hoppscotch/hoppscotch/commit/26df86c2b6bc96d53f75bff6899da79093e30753) fix: update broken rest tab data - [`2e7fe45`](https://github.com/hoppscotch/hoppscotch/commit/2e7fe45e579a239d5223b6baca44f6cb62cb95b0) chore: update optional value - [`eafd36f`](https://github.com/hoppscotch/hoppscotch/commit/eafd36f3e21d9ef80a7d899079ac0196877c7fdf) fix: handle broken environment version - [`b4a2857`](https://github.com/hoppscotch/hoppscotch/commit/b4a285784bfd81ee462ba41c5ef9b43ad48c5cb4) fix: lint update - [`a2fe905`](https://github.com/hoppscotch/hoppscotch/commit/a2fe9055f34665b8ad421c40e537b65cf5d88ed2) chore: minor update - [`489f953`](https://github.com/hoppscotch/hoppscotch/commit/489f953a88a59436ad4454ecdef0321b25d01db0) chore: code refactor - [`e8ef25f`](https://github.com/hoppscotch/hoppscotch/commit/e8ef25f2c8a9f5df9c1912e4390ba08a64244d91) chore: add request rsponse schemas and segregate common auth and body ### 📊 Changes **55 files changed** (+1010 additions, -915 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/components/http/Response.vue` (+13 -13) 📝 `packages/hoppscotch-common/src/components/http/TestResultEnv.vue` (+2 -2) 📝 `packages/hoppscotch-common/src/helpers/RequestRunner.ts` (+11 -28) ➕ `packages/hoppscotch-common/src/helpers/fixBrokenEnvironmentVersion.ts` (+27 -0) ➕ `packages/hoppscotch-common/src/helpers/fixBrokenRequestVersion.ts` (+54 -0) 📝 `packages/hoppscotch-common/src/helpers/import-export/import/openapi.ts` (+22 -19) 📝 `packages/hoppscotch-common/src/helpers/import-export/import/postman.ts` (+4 -5) 📝 `packages/hoppscotch-common/src/helpers/teams/TeamEnvironmentAdapter.ts` (+8 -9) 📝 `packages/hoppscotch-common/src/helpers/utils/statusCodes.ts` (+1 -1) 📝 `packages/hoppscotch-common/src/kernel/store.ts` (+7 -2) 📝 `packages/hoppscotch-common/src/platform/std/kernel-interceptors/agent/store.ts` (+7 -10) 📝 `packages/hoppscotch-common/src/platform/std/kernel-interceptors/extension/store.ts` (+5 -8) 📝 `packages/hoppscotch-common/src/platform/std/kernel-interceptors/native/store.ts` (+5 -8) 📝 `packages/hoppscotch-common/src/platform/std/kernel-interceptors/proxy/store.ts` (+5 -8) 📝 `packages/hoppscotch-common/src/services/persistence/__tests__/index.spec.ts` (+1 -1) 📝 `packages/hoppscotch-common/src/services/persistence/index.ts` (+15 -2) 📝 `packages/hoppscotch-common/src/services/persistence/validation-schemas/index.ts` (+7 -13) 📝 `packages/hoppscotch-data/src/collection/v/4.ts` (+1 -1) 📝 `packages/hoppscotch-data/src/collection/v/6.ts` (+1 -1) 📝 `packages/hoppscotch-data/src/collection/v/7.ts` (+1 -1) _...and 35 more files_ </details> ### 📄 Description This PR fixes the issue with schema mismatch and test updation flow which leads to schema mismatch. ### Notes to reviewers - Check if any schema mismatch occurring with REST-tab, Environments - Any data loss with any properties. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:32:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#5064
No description provided.