mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #3457] [MERGED] refactor: versioning and migration mechanism for public data structures #4390
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4390
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/3457
Author: @AndrewBastin
Created: 10/16/2023
Status: ✅ Merged
Merged: 11/2/2023
Merged by: @AndrewBastin
Base:
release/2023.8.3← Head:refactor/hopp-data-migrations📝 Commits (10+)
a2a15fdchore: add verzod and zod as deps and bump typescript6db2e2arefactor: update rest to use verzod2bfcd26refactor: update graphql to use verzod1f6bdf4refactor: update environment to use verzodd1c5502fix: contentType discriminated union failing80177f2chore: address CR comments3350118test: fix failing tests39ab9bcrefactor: move sentry to platform (#3451)9c873b8refactor: use zod for getVersion checks28847fffix: broken lockfile📊 Changes
16 files changed (+757 additions, -489 deletions)
View changed files
📝
packages/hoppscotch-data/package.json(+7 -3)📝
packages/hoppscotch-data/src/environment/index.ts(+17 -9)➕
packages/hoppscotch-data/src/environment/v/0.ts(+18 -0)➖
packages/hoppscotch-data/src/graphql/HoppGQLAuth.ts(+0 -43)📝
packages/hoppscotch-data/src/graphql/index.ts(+59 -35)➕
packages/hoppscotch-data/src/graphql/v/1.ts(+24 -0)➕
packages/hoppscotch-data/src/graphql/v/2.ts(+91 -0)➖
packages/hoppscotch-data/src/rest/HoppRESTAuth.ts(+0 -43)📝
packages/hoppscotch-data/src/rest/content-types.ts(+2 -0)📝
packages/hoppscotch-data/src/rest/index.ts(+123 -164)➕
packages/hoppscotch-data/src/rest/v/0.ts(+39 -0)➕
packages/hoppscotch-data/src/rest/v/1.ts(+209 -0)📝
packages/hoppscotch-data/tsconfig.decl.json(+1 -1)📝
packages/hoppscotch-data/tsconfig.json(+2 -2)📝
packages/hoppscotch-js-sandbox/jest.config.js(+1 -1)📝
pnpm-lock.yaml(+164 -188)📄 Description
Closes HFE-276
This PR intends to introduce Zod schemas and Verzod into
@hoppscotch/datato power updated migrations.Description
verzodandzodas dependenciesValidContentTypesListtocontentTypesmodule in@hoppscotch/data@hoppscotch/data.Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.