@salesforce/webapp-template-app-react-template-b2x-experimental 1.68.1 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.69.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.68.1...v1.69.0) (2026-03-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.68.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.68.0...v1.68.1) (2026-03-04)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@salesforce/sdk-data": "^1.
|
|
19
|
-
"@salesforce/webapp-experimental": "^1.
|
|
18
|
+
"@salesforce/sdk-data": "^1.69.0",
|
|
19
|
+
"@salesforce/webapp-experimental": "^1.69.0",
|
|
20
20
|
"@tailwindcss/vite": "^4.1.17",
|
|
21
21
|
"@tanstack/react-form": "^1.28.4",
|
|
22
22
|
"class-variance-authority": "^0.7.1",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
41
41
|
"@graphql-tools/utils": "^11.0.0",
|
|
42
42
|
"@playwright/test": "^1.49.0",
|
|
43
|
-
"@salesforce/vite-plugin-webapp-experimental": "^1.
|
|
43
|
+
"@salesforce/vite-plugin-webapp-experimental": "^1.69.0",
|
|
44
44
|
"@testing-library/jest-dom": "^6.6.3",
|
|
45
45
|
"@testing-library/react": "^16.1.0",
|
|
46
46
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -320,6 +320,21 @@ export function useObjectSearchResults(
|
|
|
320
320
|
return;
|
|
321
321
|
}
|
|
322
322
|
setError((prev) => ({ ...prev, [objectApiName]: "Unable to load search results" }));
|
|
323
|
+
// Cache empty result so we skip refetch on remount (avoid infinite loop on API error)
|
|
324
|
+
setResultsCache((prev) => ({
|
|
325
|
+
...prev,
|
|
326
|
+
[objectApiName]: {
|
|
327
|
+
results: [],
|
|
328
|
+
query: searchQuery,
|
|
329
|
+
pageToken: searchPageToken,
|
|
330
|
+
pageSize: searchPageSize,
|
|
331
|
+
filtersKey: filtersKey,
|
|
332
|
+
sortBy,
|
|
333
|
+
nextPageToken: null,
|
|
334
|
+
previousPageToken: null,
|
|
335
|
+
currentPageToken: searchPageToken,
|
|
336
|
+
},
|
|
337
|
+
}));
|
|
323
338
|
} finally {
|
|
324
339
|
if (!isCancelled) {
|
|
325
340
|
setLoading((prev) => ({ ...prev, [objectApiName]: false }));
|
package/dist/package.json
CHANGED