api-client/packages
shaezard 1824990980
fix: add teamID/userUid filter to updateMany queries, Fixed Row level locking to prevent deadlocks and achieve ~100x performance improvement (#5647)
* fix: add teamID/userUid filter to updateMany queries

Prevents cross-user/cross-team orderIndex corruption

* fix: fix orderIndex of existing collections

* feat(backend): add cascade delete for collections

- Add onDelete: Cascade to TeamCollection parent relationship
- Add onDelete: Cascade to UserRequest → UserCollection relationship
- Remove manual recursive deleteCollectionData methods
- Simplify deleteUserCollection and deleteTeamCollection services
- Add Prisma migration for cascade delete foreign keys

Resolves #5654

* refactor(team-collection): remove manual deleteCollectionData method

Resolves #5654

* fix(backend): fixed locking mechanisms for collections and requests

- User/Team Collection/Requests

Resolves #5666

---------

Co-authored-by: Abdur Rahman Daanish <abdurrahman_daanish@intuit.com>
2026-01-23 00:32:48 +06:00
..
codemirror-lang-graphql chore: security patch for the dependency chain v2026.1.0 (#5786) 2026-01-21 23:25:40 +05:30
hoppscotch-agent chore: security patch for the dependency chain v2026.1.0 (#5786) 2026-01-21 23:25:40 +05:30
hoppscotch-backend fix: add teamID/userUid filter to updateMany queries, Fixed Row level locking to prevent deadlocks and achieve ~100x performance improvement (#5647) 2026-01-23 00:32:48 +06:00
hoppscotch-cli feat(js-sandbox): add extensive Web Crypto API support (#5791) 2026-01-22 17:30:06 +05:30
hoppscotch-common chore(common): complete missing Spanish translations (#5761) 2026-01-22 17:07:12 +05:30
hoppscotch-data chore: security patch for the dependency chain v2026.1.0 (#5786) 2026-01-21 23:25:40 +05:30
hoppscotch-desktop chore: security patch for the dependency chain v2026.1.0 (#5786) 2026-01-21 23:25:40 +05:30
hoppscotch-js-sandbox feat(js-sandbox): add extensive Web Crypto API support (#5791) 2026-01-22 17:30:06 +05:30
hoppscotch-kernel chore: security patch for the dependency chain v2026.1.0 (#5786) 2026-01-21 23:25:40 +05:30
hoppscotch-relay feat: platform independent core and the new desktop app (#4684) 2025-02-28 00:01:25 +05:30
hoppscotch-selfhost-web chore: security patch for the dependency chain v2026.1.0 (#5786) 2026-01-21 23:25:40 +05:30
hoppscotch-sh-admin chore: security patch for the dependency chain v2026.1.0 (#5786) 2026-01-21 23:25:40 +05:30