@egovernments/digit-ui-libraries 1.9.3 → 1.9.5

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 CHANGED
@@ -1,5 +1,42 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.9.5] [14-May-2026]
4
+
5
+ ### 🚀 New Features & Enhancements:
6
+
7
+ #### 📋 Modified Files:
8
+ - `packages/libraries/src/index.js`:
9
+ - Imported and registered `UserPreferencesService`
10
+ - `packages/libraries/src/hooks/hrms/useHRMSCount.js`:
11
+ - Added `filters` and `searchparams` arguments and included them in the query key
12
+ - `packages/libraries/src/services/elements/HRMS.js`:
13
+ - `count` method now accepts `filters` and `searchParams` and spreads them into request params
14
+
15
+ ### Impact:
16
+ - Enables user preference management across DIGIT-UI modules through a shared service
17
+ - More accurate HRMS count queries with filter/search-aware caching
18
+
19
+ ## [1.9.4] [10-March-2026]
20
+
21
+ ### 🔧 Multi-Root Tenant Support Enhancement:
22
+
23
+ #### 🏢 ULB Service Improvements:
24
+ - **Enhanced `getCurrentTenantId()` Method**: Added sandbox-ui multi-root tenant support
25
+ - Added `MULTI_ROOT_TENANT` global config check
26
+ - When multi-root tenant is enabled, directly returns `user.info.tenantId`
27
+ - Provides better tenant isolation for sandbox environments
28
+ - Falls back to existing logic when multi-root tenant is disabled
29
+
30
+ #### 📋 Modified Files:
31
+ - `packages/libraries/src/services/molecules/Ulb/index.js`:
32
+ - Added `MULTI_ROOT_TENANT` config check in `getCurrentTenantId()`
33
+ - Enhanced tenant ID resolution logic for multi-tenant deployments
34
+
35
+ ### Impact:
36
+ - Better support for sandbox multi-root tenant configurations
37
+ - Improved tenant context handling for multi-tenant deployments
38
+ - Ensures correct tenant ID is used when multi-root tenant is enabled
39
+
3
40
  ## [1.9.3] [15-December-2025]
4
41
 
5
42
  ### 🔧 Validation Pattern Enhancements: