Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Upgrade @tanstack/query to v5 #33898

Merged
merged 34 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
de80ffb
bump: tanstack query
hugocostadev Nov 6, 2024
b0b8ca9
fixing v4 to v5 errors
hugocostadev Nov 11, 2024
242cf12
chore: patching react-query v5 to work with react 17
hugocostadev Nov 19, 2024
09ae60b
fix: react-query v5 breaking changes
hugocostadev Nov 19, 2024
6a70682
fix: null check
hugocostadev Nov 19, 2024
741275b
Merge remote-tracking branch 'origin/develop' into chore/tanstack-bump
hugocostadev Nov 19, 2024
40c5c9d
fix: lint
hugocostadev Nov 19, 2024
03e49fa
lint
hugocostadev Nov 21, 2024
d62b8ba
Merge remote-tracking branch 'origin/develop' into chore/tanstack-bump
hugocostadev Nov 21, 2024
b3fff98
lint
hugocostadev Nov 21, 2024
57228a3
fix: avatar cache time
hugocostadev Nov 21, 2024
6965ed1
fix: invite token redirect
hugocostadev Nov 21, 2024
7c239a9
fix: invite route navigation
hugocostadev Nov 27, 2024
5be3196
Merge remote-tracking branch 'origin/develop' into chore/tanstack-bump
hugocostadev Nov 27, 2024
8750e6d
fix: lint
hugocostadev Nov 27, 2024
dd4f52e
Merge branch 'develop' into chore/tanstack-bump
hugocostadev Nov 27, 2024
b10dad0
Merge branch 'develop' of github.com:RocketChat/Rocket.Chat into chor…
tassoevan Dec 27, 2024
62493dc
Merge branch 'develop' of github.com:RocketChat/Rocket.Chat into chor…
tassoevan Dec 30, 2024
7214825
Merge branch 'develop' of github.com:RocketChat/Rocket.Chat into chor…
tassoevan Dec 31, 2024
e4e3aa7
Merge branch 'develop' of github.com:RocketChat/Rocket.Chat into chor…
tassoevan Dec 31, 2024
f01fda3
Fix hook
tassoevan Dec 28, 2024
0a12ee1
Revert invite handling
tassoevan Dec 30, 2024
41ba1d4
Prefer `isLoading` over `isPending`
tassoevan Dec 30, 2024
006c13d
Revert server-side change
tassoevan Dec 31, 2024
b67a9e3
Handle previous data on `useSearchItems`
tassoevan Dec 31, 2024
bf52cc6
Remove debugging logs
tassoevan Dec 31, 2024
9cceb83
Remove excessive spacing
tassoevan Dec 31, 2024
e1e8154
Revert spacing
tassoevan Dec 31, 2024
4870e57
Revert weird lint issues
tassoevan Dec 31, 2024
7e0fb34
Move effect
tassoevan Dec 31, 2024
7f03d39
Use `useQueryClient` instead of the global singleton
tassoevan Dec 31, 2024
270839f
Handle previous data on `SearchList`
tassoevan Dec 31, 2024
3893c33
Revert lint
tassoevan Dec 31, 2024
6d0dd97
Fix `ShareLocationModal`
tassoevan Dec 31, 2024
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
  •  
  •  
  •  
Prev Previous commit
Next Next commit
Merge branch 'develop' of github.com:RocketChat/Rocket.Chat into chor…
…e/tanstack-bump
  • Loading branch information
tassoevan committed Dec 27, 2024
commit b10dad0431d5366ca40ee065441f91b4b0b574dc
7 changes: 7 additions & 0 deletions .changeset/beige-kiwis-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@rocket.chat/meteor": minor
"@rocket.chat/livechat": minor
"@rocket.chat/model-typings": minor
---

Added `departmentsAllowedToForward` property to departments returned in the `livechat/config` endpoint
6 changes: 6 additions & 0 deletions .changeset/big-timers-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@rocket.chat/rest-typings': minor
'@rocket.chat/meteor': minor
---

Adds a new `contacts.checkExistence` endpoint, which allows identifying whether there's already a registered contact using a given email, phone, id or visitor to source association.
22 changes: 22 additions & 0 deletions .changeset/blue-items-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
'@rocket.chat/fuselage-ui-kit': patch
'@rocket.chat/instance-status': patch
'@rocket.chat/ui-theming': patch
'@rocket.chat/model-typings': patch
'@rocket.chat/ui-video-conf': patch
'@rocket.chat/uikit-playground': patch
'@rocket.chat/core-typings': patch
'@rocket.chat/rest-typings': patch
'@rocket.chat/apps-engine': patch
'@rocket.chat/ui-composer': patch
'@rocket.chat/ui-contexts': patch
'@rocket.chat/gazzodown': patch
'@rocket.chat/ui-avatar': patch
'@rocket.chat/ui-client': patch
'@rocket.chat/livechat': patch
'@rocket.chat/ui-voip': patch
'@rocket.chat/i18n': patch
'@rocket.chat/meteor': patch
---

Fixes an error where the engine would not retry a subprocess restart if the last attempt failed
6 changes: 6 additions & 0 deletions .changeset/blue-rats-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@rocket.chat/meteor": patch
"@rocket.chat/model-typings": patch
---

Fixes Unit's `numDepartments` property not being updated after a department is removed
5 changes: 5 additions & 0 deletions .changeset/chilled-seas-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/apps-engine': patch
---

Fixes the subprocess restarting routine failing to correctly restart apps in some cases
5 changes: 5 additions & 0 deletions .changeset/chilly-pants-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Removes a validation that allowed only the room creator to propagate E2EE room keys. This was causing issues when the rooms were created via apps or some other integration, as the creator may not be online or able to create E2EE keys
5 changes: 0 additions & 5 deletions .changeset/clean-flies-collect.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/cold-mangos-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/meteor': patch
---

Fixed an issue that caused clients to not properly receive certain server notifications right after login
5 changes: 0 additions & 5 deletions .changeset/curvy-flies-greet.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changeset/empty-pans-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@rocket.chat/meteor": patch
"@rocket.chat/i18n": patch
---

Fixes the incorrect registration status shown on admin users page for federated remote users.
6 changes: 6 additions & 0 deletions .changeset/fair-carrots-trade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@rocket.chat/meteor": patch
"@rocket.chat/model-typings": patch
---

Fixes "Average first response time" and "Best first response time" metrics being associated with the last agent who served the room (instead of the first one)
13 changes: 0 additions & 13 deletions .changeset/fair-colts-remain.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/fifty-parrots-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/meteor': patch
---

Fixes an issue preventing the creation of normal direct message rooms due to an invalid federation configuration, allowing proper room creation under standard settings.
5 changes: 5 additions & 0 deletions .changeset/five-peaches-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Adds support for `Use Full Name Initials to Generate Default Avatar` setting for the generated avatar preview button when editing an User's avatar
6 changes: 0 additions & 6 deletions .changeset/forty-gorillas-kneel.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/four-cows-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/meteor': patch
---

Fixes an issue where room members menu doesn't display properly without enough space
5 changes: 0 additions & 5 deletions .changeset/friendly-ravens-teach.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/fuzzy-coins-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/meteor': patch
---

Fixes missing images in Twitter article links to ensure proper display by relying on meta tags.
5 changes: 5 additions & 0 deletions .changeset/giant-nails-trade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/apps-engine': patch
---

Adds simple app subprocess metrics report
22 changes: 22 additions & 0 deletions .changeset/gold-comics-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
'@rocket.chat/fuselage-ui-kit': patch
'@rocket.chat/instance-status': patch
'@rocket.chat/ui-theming': patch
'@rocket.chat/model-typings': patch
'@rocket.chat/ui-video-conf': patch
'@rocket.chat/uikit-playground': patch
'@rocket.chat/core-typings': patch
'@rocket.chat/rest-typings': patch
'@rocket.chat/apps-engine': patch
'@rocket.chat/ui-composer': patch
'@rocket.chat/ui-contexts': patch
'@rocket.chat/gazzodown': patch
'@rocket.chat/ui-avatar': patch
'@rocket.chat/ui-client': patch
'@rocket.chat/livechat': patch
'@rocket.chat/ui-voip': patch
'@rocket.chat/i18n': patch
'@rocket.chat/meteor': patch
---

Fixes error propagation when trying to get the status of apps in some cases
7 changes: 0 additions & 7 deletions .changeset/green-papayas-thank.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/green-queens-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Fixes an issue with Federation startup where the bridge would intermittently fail to start causing error being shown "Matrix Bridge isn't running yet".
5 changes: 5 additions & 0 deletions .changeset/green-shirts-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Fixes condition causing Omnichannel queue to start more than once.
5 changes: 0 additions & 5 deletions .changeset/happy-stingrays-provide.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/healthy-coins-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/meteor': patch
---

Fixes an issue where changing user role in a room displays the wrong message
5 changes: 5 additions & 0 deletions .changeset/honest-kings-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/apps-engine': patch
---

Attempts to restart an app subprocess if the spawn command fails
5 changes: 0 additions & 5 deletions .changeset/honest-pumpkins-joke.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changeset/kind-crabs-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@rocket.chat/meteor": patch
"@rocket.chat/i18n": patch
---

fixes "Change to language" button in login page not displaying the target language
6 changes: 0 additions & 6 deletions .changeset/lazy-avocados-whisper.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/lemon-foxes-carry.md

This file was deleted.

13 changes: 13 additions & 0 deletions .changeset/lemon-singers-exercise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@rocket.chat/i18n": patch
---

Changes the wording for voice call permissions, improving consistency and clarity.

- `Manage Voip Extension` -> `Manage Voice Calls`
> Permission to manage voice calls and assign extensions to users
- `View VoIP extension details` -> `View Voice Call Extensions`
> Permission to view which user is calling and their extension info
- `View User VoIP extension` -> `Allow Voice Calls`
> Permission to allow users to use the voice call feature

9 changes: 9 additions & 0 deletions .changeset/lemon-stingrays-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@rocket.chat/model-typings': minor
'@rocket.chat/core-typings': minor
'@rocket.chat/freeswitch': minor
'@rocket.chat/models': minor
'@rocket.chat/meteor': minor
---

Allows Rocket.Chat to store call events.
5 changes: 0 additions & 5 deletions .changeset/light-terms-ring.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/lovely-beers-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Fixes messages not being processed for all slack servers
5 changes: 5 additions & 0 deletions .changeset/lucky-wolves-turn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Fixes a UI issue that showed the incorrect migration number on the `Information` page. This was caused by a function calculating the stats before the server had migrated the database and updated the control.
6 changes: 0 additions & 6 deletions .changeset/mean-cobras-sneeze.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/metal-avocados-serve.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/metal-wolves-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/ui-voip": patch
---

Fixes an issue preventing VoIP permission updates from being properly reflected in the UI.
5 changes: 0 additions & 5 deletions .changeset/neat-flies-drive.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/nervous-fireants-wash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Allows default avatars to be generated with more than one inital (limited to first 3) when setting `Use Full Name Initials to Generate Default Avatar` is true.
6 changes: 0 additions & 6 deletions .changeset/nervous-rivers-fry.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/new-mails-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/livechat": patch
---

Fixes issue that caused different sessions when opening a livechat popover in cross domain
5 changes: 5 additions & 0 deletions .changeset/ninety-bulldogs-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Fixes an issue where removing the only message of a thread would keep the unread thread messages badge
5 changes: 0 additions & 5 deletions .changeset/old-coins-bow.md

This file was deleted.

21 changes: 21 additions & 0 deletions .changeset/perfect-ties-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
"@rocket.chat/meteor": minor
"@rocket.chat/core-typings": minor
"@rocket.chat/model-typings": minor
---

Adds statistics related to the new **Contact Identification** feature:
- `totalContacts`: Total number of contacts;
- `totalUnknownContacts`: Total number of unknown contacts;
- `totalMergedContacts`: Total number of merged contacts;
- `totalConflicts`: Total number of merge conflicts;
- `totalResolvedConflicts`: Total number of resolved conflicts;
- `totalBlockedContacts`: Total number of blocked contacts;
- `totalPartiallyBlockedContacts`: Total number of partially blocked contacts;
- `totalFullyBlockedContacts`: Total number of fully blocked contacts;
- `totalVerifiedContacts`: Total number of verified contacts;
- `avgChannelsPerContact`: Average number of channels per contact;
- `totalContactsWithoutChannels`: Number of contacts without channels;
- `totalImportedContacts`: Total number of imported contacts;
- `totalUpsellViews`: Total number of "Advanced Contact Management" Upsell CTA views;
- `totalUpsellClicks`: Total number of "Advanced Contact Management" Upsell CTA clicks;
5 changes: 0 additions & 5 deletions .changeset/pink-dodos-greet.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/plenty-snakes-dream.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changeset/popular-cameras-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@rocket.chat/meteor": patch
"@rocket.chat/model-typings": patch
---

Fixes livechat conversations not being assigned to the contact manager even when the "Assign new conversations to the contact manager" setting is enabled
17 changes: 0 additions & 17 deletions .changeset/popular-queens-brake.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/pretty-islands-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/meteor': minor
---

Disables OTR messages selection when exporting messages
Loading
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.