@okam/directus-next 2.2.1 → 2.2.2
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/CHANGELOG.md +10 -0
- package/package.json +1 -1
- package/server.js +1 -1
- package/server.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 2.2.2 (2026-04-14)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- issue with setvar not correctly being applied preventing cache ([#480](https://github.com/OKAMca/stack/pull/480))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- Marie-Maxime Tanguay @marie-maxime
|
|
10
|
+
|
|
1
11
|
## 2.2.0 (2026-04-06)
|
|
2
12
|
|
|
3
13
|
### 🚀 Features
|
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -54,7 +54,7 @@ async function getPageSettings(props, itemKey) {
|
|
|
54
54
|
}
|
|
55
55
|
router.log("Caching new page settings", { path: currentPath });
|
|
56
56
|
setPageSettingsContext(currentItem);
|
|
57
|
-
setVariables(
|
|
57
|
+
setVariables(directusVariables);
|
|
58
58
|
return currentItem;
|
|
59
59
|
}
|
|
60
60
|
const usePageSettings = getPageSettings;
|
package/server.mjs
CHANGED
|
@@ -53,7 +53,7 @@ async function getPageSettings(props, itemKey) {
|
|
|
53
53
|
}
|
|
54
54
|
log("Caching new page settings", { path: currentPath });
|
|
55
55
|
setPageSettingsContext(currentItem);
|
|
56
|
-
setVariables(
|
|
56
|
+
setVariables(directusVariables);
|
|
57
57
|
return currentItem;
|
|
58
58
|
}
|
|
59
59
|
const usePageSettings = getPageSettings;
|