Changelog: v0.0.124 to v0.0.129
Overviewโ
This changelog documents all changes between version 0.0.124 and version 0.0.129 of @sinequa/atomic, covering releases from December 3, 2025 to December 17, 2025.
Total Changes:
- 26 files changed
- 1,164 insertions(+)
- 516 deletions(-)
[v0.0.129] - 2025-12-17โ
Addedโ
- New
selectedVisuallyfield toAggregationItemtype for enhanced visual selection tracking
[v0.0.128] - 2025-12-12โ
Addedโ
- New
getMetadataWithValuesfunction to return display-value pairs for metadata processing - Support for parsing comma-separated strings in metadata values
- Comprehensive JSDoc examples for metadata functions
Changedโ
- Enhanced metadata parsing with improved type safety and better filtering of undefined values
- Improved error response handling to include fallback
messagefield - Enhanced error handling with proper error type instantiation in
handleResponse - Code formatting improvements across multiple files
Removedโ
- Redundant test assertion for
userOverrideActivestate
Files Modifiedโ
src/helpers/metadata.ts- Enhanced metadata parsing capabilitiessrc/web-api/helpers/handle-response.ts- Improved error handlingsrc/types/principal/Principal.ts- Type updates- Test files for metadata functionality
[v0.0.127] - 2025-12-10โ
Addedโ
useCredentialsbypass logic to app initializer- New
fetch-app.test.tswith app initializer functionality tests - Dedicated error response processing helper function in web API
- Enhanced error logging for different HTTP status codes
- Support for credential-based authentication flow
- Improved error message extraction from response body
Changedโ
- Extracted
useCredentialsfromglobalConfigwith logic to skip pre-login fetch when credentials are used - Sets appropriate flags (
useSSO: false) and clears auto provider/token settings whenuseCredentialsis enabled - Improved error handling consistency with explicit return statements
- Enhanced error response processing with proper error type instantiation
- Better code formatting for function parameters and switch cases
- Replace wildcard logger import with specific error/warn functions
Fixedโ
- Security: Prevent user impersonation during credential login - Temporarily disable user override during credential-based authentication to ensure JWT tokens contain the actual user identity rather than impersonated user data
- Redundant
userOverrideActivereset in error handler removed
Removedโ
- localStorage redirect URL assertions for OAuth and SAML in authentication tests
- OAuth redirect scenario test from
login.test.ts
Files Modifiedโ
src/authentication/session/login.ts- Added credential authentication logicsrc/authentication/session/tests/login.test.ts- Updated testssrc/authentication/providers/tests/oauth-authentication.test.ts- Removed assertionssrc/authentication/providers/tests/saml-authentication.test.ts- Removed assertionssrc/web-api/helpers/handle-response.ts- Major refactoringsrc/web-api/helpers/index.ts- Function organizationsrc/web-api/helpers/methods/post.ts- Enhanced error handlingsrc/web-api/v1/fetch-app.ts- Updated app initializationsrc/web-api/helpers/tests/fetch-app.test.ts- New test file
[v0.0.126] - 2025-12-10โ
Addedโ
- Support for expired password handling
- Forgotten password functionality
- New
fetch-forgot-password.tsAPI endpoint - Enhanced change password functionality
Changedโ
- Updated
fetch-change-password.tswith improved error handling and validation - Enhanced password management flow
Files Modifiedโ
src/web-api/v2/fetch-change-password.ts- Enhanced password change flowsrc/web-api/v2/fetch-forgot-password.ts- New forgot password endpointsrc/utils/notification.ts- Updated notification handling
[v0.0.125] - 2025-12-03โ
Addedโ
- New
columns.tshelper with type conversion utilities forEngineTypeandEngineTypeModifier - New
makeColumnfunction for generating column configurations with engine-specific types extraColumnsrecord with predefined column definitions for data processing- Support for configurable included/excluded filters in filters bar
- New test files with better organization:
src/helpers/tests/column-resolver.test.tssrc/helpers/tests/metadata.test.tssrc/web-api/helpers/tests/date-utils.test.tssrc/web-api/helpers/tests/handle-response.test.ts
- New
date-utils.tsutility file
Changedโ
- Reorganized test files into dedicated
tests/subdirectories for better project structure - Moved
src/helpers/utils.test.tstosrc/helpers/tests/utils.test.ts - Disabled biome's
useImportTyperule to allow mixed import styles - Improved test coverage with 177 new test cases for handle-response
- Enhanced date utility functions
Removedโ
- Old test files from root helper directories (moved to tests subdirectories):
src/helpers/column-resolver.test.tssrc/helpers/metadata.test.ts
Files Modifiedโ
biome.json- Updated linting rulessrc/helpers/columns.ts- New columns helper functionalitysrc/helpers/index.ts- Export new columns helpersrc/web-api/helpers/utils/date-utils.ts- New date utilities- Multiple test files reorganized and enhanced
package.json&package-lock.json- Version bump
Migration Notesโ
Breaking Changesโ
None identified in this release cycle.
Deprecationsโ
None identified in this release cycle.
Security Updatesโ
- v0.0.127: Fixed user impersonation vulnerability during credential-based authentication. JWT tokens now correctly reflect the actual user identity instead of impersonated user data.
Testing Updatesโ
New Test Filesโ
src/helpers/tests/column-resolver.test.ts- 79 test casessrc/helpers/tests/metadata.test.ts- 144 test casessrc/web-api/helpers/tests/date-utils.test.ts- 36 test casessrc/web-api/helpers/tests/fetch-app.test.ts- 124 test casessrc/web-api/helpers/tests/handle-response.test.ts- 177 test cases
Test Organizationโ
- All test files moved into dedicated
tests/subdirectories for improved project structure - Enhanced test coverage for metadata parsing and error handling
- Removed redundant localStorage and OAuth redirect tests
API Changesโ
New Functionsโ
getMetadataWithValues()- Returns metadata display-value pairs (v0.0.128)makeColumn()- Generates column configurations (v0.0.125)- Date utility functions in
date-utils.ts(v0.0.125)
New API Endpointsโ
fetch-forgot-password.ts- Forgotten password functionality (v0.0.126)
Modified Functionsโ
handleResponse()- Enhanced error handling with fallback message field (v0.0.128)fetch-change-password.ts- Improved password change flow (v0.0.126)login.ts- Added credential authentication support (v0.0.127)
Type Updatesโ
New Fieldsโ
AggregationItem.selectedVisually- Boolean field for visual selection tracking (v0.0.129)Principaltype updates for improved type safety (v0.0.128)
New Typesโ
- Column configuration types for
EngineTypeandEngineTypeModifier(v0.0.125)
Documentation Updatesโ
- Added comprehensive JSDoc examples for metadata functions (v0.0.128)
- Enhanced code documentation for error handling flows (v0.0.127)
Dependenciesโ
- Package version updates reflected in
package.jsonandpackage-lock.json - No major dependency changes
Summary by Categoryโ
๐ Featuresโ
- Credential-based authentication with useCredentials bypass logic
- Expired and forgotten password functionality
- Enhanced metadata parsing with comma-separated string support
- Configurable included/excluded filters for filters bar
- Visual selection tracking for aggregation items
๐ Bug Fixesโ
- User impersonation vulnerability during credential login
- Error handling improvements with fallback message field
- Redundant code removal across authentication tests
๐ง Refactoringโ
- Test file organization into dedicated subdirectories
- Enhanced error response processing with dedicated helper functions
- Improved code formatting and type safety throughout
- Logger import optimization (specific functions vs wildcard imports)
๐ Documentationโ
- Added comprehensive JSDoc examples
- Enhanced inline code documentation
๐งช Testingโ
- Added 560+ new test cases across multiple modules
- Improved test organization and structure
- Enhanced test coverage for critical authentication and API flows
For detailed commit history, please refer to the git log between tags v0.0.124 and HEAD.