From 37b6538da591240cbe395ef7f5ff300e8eb419ec Mon Sep 17 00:00:00 2001 From: Melvin Chia Date: Wed, 31 Dec 2025 06:46:06 +0800 Subject: [PATCH] feat(docs): update changelog with recent enhancements and fixes --- .../contents/04.progress/versions/2025/52.mdx | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/docs/src/contents/04.progress/versions/2025/52.mdx b/docs/src/contents/04.progress/versions/2025/52.mdx index 418e92ac4..bd9c47980 100644 --- a/docs/src/contents/04.progress/versions/2025/52.mdx +++ b/docs/src/contents/04.progress/versions/2025/52.mdx @@ -89,6 +89,21 @@ import {Alert} from "lifeforge-ui"; - , , , : Enhanced server initialization process, user defined route and schema files are now stored as templates and copied to the appropriate directories during server setup to prevent pushing user files to the repository. Added root name check during server initialization to make sure the project folder name is 'lifeforge'. - : Added language support for Turkish (`tr`). Thanks for the contribution! +- : The `disabled` field in the module manifest now supports dynamic definition of disabled state using a promise function that resolves to a boolean value. This allows for more complex logic to determine whether a module should be disabled or not. + + ```ts + export const manifest: ModuleManifest = { + ... + disabled: async () => { + const isSomeConditionMet = await checkSomeCondition(); + return isSomeConditionMet; + }, + ... + }; + ``` + +- : Session id is removed from the response of the `verifySessionToken` API endpoint to reduce unnecessary data exposure. +- : Moved `EncryptionProvider` to `shared` package for better reusability across different codebases. ### 🎨 UI Components & Design System @@ -115,6 +130,8 @@ import {Alert} from "lifeforge-ui"; - : Added ability to show suggestions / search results in the `SearchInput` component. You can now provide the `children` prop to render custom suggestion items below the input field. See [the storybook](https://ui.lifeforge.dev/?path=/story/components-inputs-searchinput--with-search-suggestions) for more details. Credit to for the suggestion! ![](https://raw.githubusercontent.com/LifeForge-app/lifeforge-docs-media/main/25w52-6.webp) + +- , : Removed `WithOTP` and related components from `lifeforge-ui` package since email-based OTP authentication is no longer supported in LifeForge. Better implementation of OTP authentication will be added in the future. ### 🐛 Bug Fixes & Chores @@ -144,4 +161,5 @@ import {Alert} from "lifeforge-ui"; - : Added PR component for displaying pull request links. - : Reworked changelog page due to the rapid growth of changelog entries. Each version is now displayed in a collapsible card for better readability. - , : Updated documentation for installation and configuration process to suit the latest changes in the codebase architecture. Closed . -- : Added `Issue` component for linking to GitHub issues in changelog. \ No newline at end of file +- : Added `Issue` component for linking to GitHub issues in changelog. +- : Sunset the old localization manager (basically just completely removed it from the codebase) since it doesn't suit the new dynamic language pack loading engine. \ No newline at end of file