# Detailed Changelog

All notable changes to the @erpsquad/common library are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

---

## [1.9.x] - February 2026

### [1.9.22] - 2026-02-18

#### Fixed
- **Material Editable Table**: Fixed MRET (Material React Editable Table) on create functionality
- **Row Generation**: Quick fixes for table row generation issues

---

### [1.9.8] - 2026-02-16

#### Changed
- **Package Management**: Updated package versions across all modules
  - api-client package updated
  - constants package updated
  - contexts package updated
  - hooks package updated
  - redux package updated
  - types package updated
- **Publishing**: Updated publishing documentation

#### Added
- **Header Component**: Improved header functionality and styling
- **Dynamic API Types**: Merged dynamic API types feature

---

### [1.9.6] - 2026-02-16

#### Changed
- **API Configuration**: Enhanced API configurations
- **Authentication**: Updated AuthContext with improved API handling
- **Utilities**: Enhanced API utility functions

---

### [1.9.5] - 2026-02-12

#### Added
- **Export Functionality**: Added PDF export logic to action bar
- **Common Utilities**: Enhanced export utilities

#### Fixed
- **Material Editable Table**: Fixed MRET issues

---

### [1.9.3] - 2026-02-11

#### Changed
- **Material Editable Table**: Updated MRT functionality
- **Authentication Provider**: Enhanced auth provider
- **Provider**: Fixed ERPUIProvider configuration

---

### [1.9.2] - 2026-02-11

#### Changed
- **Material Editable Table**: Updated MRT and auth provider integration
- **Inline Edit Fields**: Enhanced inline edit fields component
- **ERPUIProvider**: Updated provider configuration
- **AuthContext**: Enhanced authentication context

---

### [1.9.1] - 2026-02-09

#### Added
- **Active Tabs**: Added active tabs feature with keep-alive functionality
- **Tab Management**: Added active tab bar component
- **Redux**: Added active tabs Redux state management
- **Route Metadata**: Added route metadata constants

#### Changed
- **Activity Area**: Updated activity area component
- **Sidebar Layout**: Updated sidebar screen layout
- **Page Context**: Enhanced page context functionality
- **Redux Store**: Updated Redux store configuration

---

## [1.8.x] - November 2025 - February 2026

### [1.8.202] - 2026-02-11

#### Fixed
- **UI Components**: Various UI fixes for material table and sidebar
- **Material Editable Table**: Fixed material editable table issues
- **Material Table**: Fixed material table styling
- **Sidebar**: Fixed sidebar component issues

---

### [1.8.199] - 2026-02-10

#### Fixed
- **Bug Fixes**: Fixed bugs in dynamic select and fixed asset modal
- **AuthContext**: Updated authentication context
- **Form Builder**: Fixed form builder element issues

---

### [1.8.197] - 2026-02-05

#### Changed
- **Version Bump**: Updated package version

---

### [1.8.196] - 2026-02-06

#### Fixed
- **Dynamic Select**: Fixed dynamic select issues
- **Inventory Reports**: Fixed inventory reports title bar

---

### [1.8.193] - 2026-02-09

#### Added
- **Active Tabs**: Added active tabs feature
- **Tab Bar**: Added active tab bar component
- **Keep Alive**: Added keep-alive wrapper component
- **Redux**: Added active tabs Redux state management

---

### [1.8.192] - 2026-02-02

#### Changed
- **Package Update**: Updated package dependencies

---

### [1.8.191] - 2026-01-30

#### Added
- **Sales API**: Updated sales API client with new types
- **Time Component**: Added time component to material editable table
- **Action Bar**: Enhanced action bar functionality

#### Fixed
- **Filter Issues**: Fixed filter-related issues
- **Material Editable Table**: Fixed inline edit fields

---

### [1.8.190] - 2026-01-30

#### Added
- **Fixed Asset Modal**: Added fixed asset item add modal
- **Designation Modal**: Added designation add modal component
- **Inventory API**: Updated inventory API client

#### Changed
- **Dynamic Select**: Enhanced dynamic select component
- **Select Configuration**: Updated select configuration
- **Common Utilities**: Enhanced common utility functions

---

### [1.8.185] - 2026-01-28

#### Changed
- **Version**: Updated version in package.json

---

### [1.8.184] - 2026-01-28

#### Changed
- **Version Bump**: Updated package version
- **Package Lock**: Updated package-lock.json

---

### [1.8.178] - 2026-01-22

#### Added
- **Smooth Area Chart**: Added smooth area chart component
- **Charts**: Enhanced line chart exports

---

### [1.8.177] - 2026-01-22

#### Changed
- **Version**: Updated package version

---

### [1.8.176] - 2026-01-22

#### Added
- **HRMS API**: Added HRMS API client with types
- **Team Modal**: Added team add modal component
- **Hooks**: Added useSetDefaultConfig hook

#### Changed
- **Dynamic Select**: Enhanced dynamic select component
- **Select Configuration**: Updated select configuration
- **Listing Component**: Updated listing component

---

### [1.8.172] - 2026-01-21

#### Fixed
- **Bug Fixes**: Fixed bugs in dynamic select and form builder
- **Form Builder**: Fixed text component in form builder
- **Page Context**: Fixed page context issues
- **Account Settings**: Fixed useAccountSetting hook

---

### [1.8.170] - 2026-01-20

#### Fixed
- **Page Provider**: Fixed page provider issues
- **Consoles**: Removed console statements
- **Permission Context**: Fixed permission context issues
- **Data Fetcher**: Fixed useDataFetcher hook
- **Sidebar Layout**: Fixed sidebar screen layout

---

### [1.8.167] - 2026-01-19

#### Added
- **Arrow Up Icon**: Added arrow up icon component
- **Text Measurement**: Added text measurement utility

#### Changed
- **Dynamic Select**: Enhanced dynamic select component
- **Select Configuration**: Updated select configuration
- **Table Component**: Updated table component in form builder
- **Parties Modal**: Updated parties modal component
- **Dynamic Report**: Enhanced dynamic report functionality
- **Redux**: Updated action creators

---

### [1.8.165] - 2026-01-16

#### Changed
- **UOM Field Wrapper**: Location-wise UOM changes
- **UOM Field Updater**: Enhanced useUomFieldUpdater hook
- **API Utilities**: Updated API utility functions

---

### [1.8.160] - 2026-01-16

#### Changed
- **Permission Context**: Updated permission context
- **Account Settings**: Enhanced useAccountSetting hook
- **API Utilities**: Updated API utility functions

---

### [1.8.152] - 2026-01-12

#### Changed
- **Version**: Updated to 1.8.152
- **Package Versions**: Updated all module package versions

---

### [1.8.151] - 2026-01-12

#### Changed
- **Listing**: Updated listing component
- **Page Context**: Enhanced page context
- **Account Settings**: Updated useAccountSetting hook

---

### [1.8.149] - 2026-01-08

#### Fixed
- **Translations**: Fixed translation issues
- **RBAC API**: Updated RBAC API client
- **Custom Snackbar**: Fixed custom snackbar component
- **Material Editable Table**: Fixed material editable table
- **Hooks**: Fixed use-translations hook
- **API Config**: Updated API configuration
- **i18n**: Fixed i18n utility

---

### [1.8.147] - 2026-01-08

#### Fixed
- **UI Issues**: Fixed various UI issues
- **Default Columns**: Fixed default columns configuration
- **Data Fetcher**: Fixed useDataFetcher hook
- **Constants**: Updated constant values

---

### [1.8.141] - 2026-01-07

#### Added
- **Account Settings Hook**: Added useAccountSetting hook

#### Changed
- **Accounting API**: Updated accounting API client
- **Components**: Updated component exports
- **Default Columns**: Updated default columns
- **Hooks**: Updated hook exports
- **API Utilities**: Enhanced API utilities
- **Common Utilities**: Enhanced common utilities

---

### [1.8.140-tenant] - 2026-01-07

#### Changed
- **Multi-tenant**: Multi-tenant version update

---

### [1.8.135] - 2026-01-08

#### Changed
- **Version**: Updated to new version
- **Package Versions**: Updated all module package versions

---

### [1.8.130] - 2026-01-03

#### Added
- **Recharts**: Added recharts library support

#### Changed
- **Version Bump**: Updated package version

---

### [1.8.129] - 2026-01-02

#### Changed
- **Version**: Updated package version
- **Package Versions**: Updated all module package versions

---

### [1.8.126] - 2026-01-02

#### Added
- **Permission Fetch**: Permission fetch from auth context immediately after login

#### Changed
- **Auth Constants**: Updated auth constants
- **AuthContext**: Enhanced authentication context
- **Package Versions**: Updated all module package versions

---

### [1.8.125] - 2026-01-02

#### Fixed
- **Bug Fixes**: Fixed bugs in data fetcher and API utilities
- **Data Fetcher**: Fixed useDataFetcher hook
- **API Utilities**: Fixed API utility functions

---

### [1.8.124] - 2026-01-02

#### Changed
- **Versions**: Fixed version inconsistencies across all modules
- **Package Versions**: Updated all module package versions

---

### [1.8.122] - 2026-01-01

#### Fixed
- **Bug Fixes**: Fixed bugs in form parser and API utilities
- **Form Parser**: Fixed form parser component
- **API Utilities**: Fixed API utility functions
- **Constants**: Updated constant values
- **Form Builder**: Fixed form builder deconversion

---

### [1.8.119] - 2026-01-01

#### Added
- **UOM Field Wrapper**: Added rate key in UOM field wrapper

#### Changed
- **UOM Field Updater**: Enhanced useUomFieldUpdater hook

---

### [1.8.113] - 2025-12-31

#### Fixed
- **Bug Fixes**: Fixed activity log styling
- **Activity Log**: Fixed activity log SCSS

---

### [1.8.112] - 2025-12-30

#### Fixed
- **Form Parser**: Fixed form parser dropdown issues
- **API Utilities**: Fixed API utility functions

---

### [1.8.111] - 2025-12-30

#### Fixed
- **NPM Fixes**: Fixed NPM package issues
- **Charts**: Fixed area liner chart
- **Form Parser**: Fixed form section component
- **Provider**: Fixed ERPUIProvider
- **Page Context**: Fixed page context
- **API Helper**: Fixed API helper
- **Redux**: Fixed action creators

---

### [1.8.109] - 2025-12-30

#### Fixed
- **Material Table**: Fixed material table issues
- **Material Editable Table**: Fixed material editable table

---

### [1.8.107] - 2025-12-23

#### Changed
- **Version**: Updated to 1.8.107
- **Material Editable Table**: Customized material editable table functionality

---

### [1.8.105] - 2025-12-23

#### Changed
- **Material Editable Table**: Customized material editable table

---

### [1.8.104] - 2025-12-22

#### Added
- **Data Fetcher Hook**: Added useDataFetcher hook

---

### [1.8.103] - 2025-12-19

#### Fixed
- **Environment**: Fixed environment issues
- **Translations**: Fixed use-translations hook
- **Data Fetcher**: Removed useDataFetcher hook temporarily

---

### [1.8.101] - 2025-12-19

#### Fixed
- **Environment**: Fixed environment configuration
- **Action Bar**: Fixed action bar component
- **Filter**: Fixed filter component
- **Form Builder**: Fixed dynamic select in form builder
- **Header Redux**: Fixed header action creators
- **Inventory Reports**: Fixed inventory reports action creators
- **Reports**: Fixed reports action creators
- **Share Modal**: Fixed share modal action creators
- **Language Context**: Fixed language context
- **API Config**: Updated API configuration
- **API Utilities**: Updated API utilities
- **Form Builder Views**: Fixed form builder action creators
- **Template Editor**: Fixed template editor components

---

### [1.8.98] - 2025-12-18

#### Fixed
- **Quantity and Amount**: Fixed toFixed for quantity and amount
- **Inventory API**: Updated inventory API client
- **Default Columns**: Updated default columns
- **API Utilities**: Updated API utilities
- **Common Utilities**: Enhanced common utilities

---

### [1.8.92] - 2025-12-18

#### Fixed
- **Dynamic Select**: Fixed dynamic select issues
- **Form Builder**: Fixed dynamic select in form builder

---

### [1.8.90] - 2025-12-17

#### Added
- **UOM Field Wrapper**: Added UOM field wrapper component
- **UOM Field Updater Hook**: Added useUomFieldUpdater hook

#### Fixed
- **Dynamic Select**: Fixed dynamic select issues
- **Provider**: Fixed ERPUIProvider

---

### [1.8.83] - 2025-12-17

#### Added
- **API Config**: Added API configuration utility

#### Fixed
- **Environment**: Fixed environment to take local URL
- **Provider**: Fixed ERPUIProvider
- **API Utilities**: Updated API utilities
- **Common Utilities**: Updated common utilities
- **Vite Config**: Updated vite configuration

---

### [1.8.81] - 2025-12-15

#### Fixed
- **Styling**: Fixed styling issues
- **Package Versions**: Updated all module package versions

---

### [1.8.80] - 2025-12-15

#### Fixed
- **API Changes**: Fixed API-related changes
- **Hooks**: Renamed useApi.ts to useApi.tsx

---

### [1.8.75] - 2025-12-15

#### Added
- **HRMS API**: Added HRMS API client
- **Workflow Automation API**: Added workflow automation API client
- **useApi Hook**: Added useApi hook

#### Changed
- **RBAC API**: Updated RBAC API client
- **Action Bar**: Updated action bar component
- **Filter**: Updated filter component
- **Form Builder**: Updated dynamic select in form builder
- **Components**: Updated component exports
- **Listing**: Updated listing component and types
- **Searchable Select**: Updated searchable select component
- **Hooks**: Updated hook exports
- **Data Fetcher**: Updated useDataFetcher hook
- **API Utilities**: Updated API utilities
- **Common Utilities**: Updated common utilities

---

### [1.8.56] - 2025-12-08

#### Added
- **Documentation**: Added comprehensive documentation files
  - CHECKLIST.md
  - EXPORT_FIX_SUMMARY.md
  - EXPORT_GENERATION_SUMMARY.md
  - EXPORT_PATTERN_GUIDE.md
  - EXPORT_USAGE_EXAMPLES.md
  - FINAL_EXPORT_STATUS.md
  - QUICK_REFERENCE.md
- **Scripts**: Added export generation and analysis scripts
  - add-named-exports.js
  - analyze-exports.js
  - fix-all-exports.js
  - generate-exports.js
- **Type Definitions**: Added comprehensive index.d.ts files across all modules
- **Exports**: Added proper index.ts exports for all components

#### Changed
- **Publishing**: Updated publishing documentation
- **Package Versions**: Updated all module package versions
- **Declaration Files**: Enhanced fix-declaration-files script

---

### [1.8.55] - 2025-12-04

#### Changed
- **NPM Update**: Updated NPM package

---

### [1.8.37] - 2025-12-01

#### Fixed
- **Environment**: Fixed environment issues

---

### [1.8.36] - 2025-11-28

#### Changed
- **NPM Changes**: Updated NPM package configurations

---

### [1.8.29] - 2025-11-26

#### Added
- **Material Editable Table**: Added material editable table component

---

### [1.8.19] - 2025-11-21

#### Changed
- **ERP Common**: Updated ERP common changes

---

### [1.8.7] - 2025-11-20

#### Changed
- **ERP Common**: Updated ERP common changes

---

### [1.8.6] - 2025-11-20

#### Changed
- **Version**: Updated to 1.8.6

---

### [1.8.2] - 2025-11-20

#### Fixed
- **Exports**: Fixed missing exports

---

### [1.8.0] - 2025-11-18

#### Fixed
- **Imports**: Fixed import issues
- **Styling**: Fixed styling issues

---

## [1.7.x] - November 2025

### [1.7.3] - 2025-11-20

#### Changed
- **ERP Common**: Updated ERP common changes

---

### [1.7.0] - 2025-11-17

#### Fixed
- **Exports**: Fixed export related issues

---

## [1.6.x] - November 2025

### [1.6.0] - 2025-11-16

#### Changed
- **Minor Updates**: Various minor updates and improvements

---

## [1.5.x] - November 2025

### [1.5.4] - 2025-11-14

#### Fixed
- **Exports**: Fixed missing exports

---

## [1.4.x] - November 2025

### [1.4.0] - 2025-11-13

#### Changed
- **Minor Updates**: Various minor updates and improvements

---

## [1.3.x] - November 2025

### [1.3.4] - 2025-11-12

#### Added
- **Initial Commit**: Initial commit of the library

---

## [1.2.x] - November 2025

### [1.2.0] - 2025-11-12

#### Changed
- **Initial Setup**: Initial setup and configuration

---

## [1.1.x] - November 2025

### [1.1.0] - 2025-11-12

#### Changed
- **Initial Setup**: Initial setup and configuration

---

## [1.0.x] - November 2025

### [1.0.1] - 2025-11-12

#### Added
- **Initial Release**: Initial release of @erpsquad/common library
- **Core Components**: Basic component library structure
- **API Clients**: Initial API client setup
- **Theme System**: Basic theme system
- **TypeScript**: TypeScript support

---

## Summary by Major Features

### Active Tabs Feature (1.9.1, 1.8.193)
- Added active tabs with keep-alive functionality
- Redux state management for tabs
- Route metadata support
- Tab bar component

### Material Editable Table Enhancements (1.9.x, 1.8.x)
- Multiple fixes and improvements throughout versions
- Enhanced validation (1.9.11)
- Time component support
- Inline edit fields enhancements
- Row generation fixes
- Customization options

### API Clients Evolution
- **1.9.11**: Added PMS (Project Management System) API client
- **1.8.176**: Added HRMS API client
- **1.8.75**: Added Workflow Automation API client
- **1.8.141**: Updated Accounting API client
- **1.8.130**: Added Recharts support
- **1.8.98**: Updated Inventory API client
- **1.8.191**: Updated Sales API client

### Form Builder Enhancements
- **1.8.190**: Added Fixed Asset Modal
- **1.8.90**: Added UOM Field Wrapper
- **1.8.75**: Enhanced Dynamic Select
- Multiple bug fixes across versions

### Hooks Added
- **1.8.176**: useSetDefaultConfig
- **1.8.141**: useAccountSetting
- **1.8.104**: useDataFetcher
- **1.8.90**: useUomFieldUpdater
- **1.8.75**: useApi
- **1.8.167**: Text measurement utilities

### Export and Documentation (1.8.56)
- Comprehensive export system
- Documentation files
- Export generation scripts
- Type definition improvements

### Multi-tenant Support (1.8.140-tenant, 1.8.141)
- Multi-tenant header changes
- Authentication enhancements
- API configuration updates

### Environment and Configuration
- **1.8.103, 1.8.101**: Environment configuration fixes
- **1.8.83**: API config utility added
- **1.8.81**: Styling fixes
- **1.8.37**: Environment issue fixes

---

## Contributors

- [Vivek Kansara](https://github.com/vivek-kansara060)
- [Karan Sojitra](https://github.com/karansojitra-trootech)
- [Rahul Nimje](https://github.com/rahulnimaje-source)
- [Mikin Prajapati](https://github.com/mikinprajapati)
- Nitin Patel
- Ankit Patel (ankitpatelweforce)
- Vatsal Patel (Dev-Vatsal-Patel)
- Agaaz Aslam
- Shikhil K S (SHIKHIL9447)
- Gopal (gopal-itidol)

---

## Version Ranges Summary

### 1.9.1 - 1.9.22 (February 2026)
Focus: Material Editable Table improvements, Active Tabs feature, Export functionality, Sales module enhancements

### 1.8.0 - 1.8.202 (November 2025 - February 2026)
Focus: Core feature development, API clients, Form builder enhancements, Bug fixes, Export system, Multi-tenant support

### 1.7.0 - 1.7.3 (November 2025)
Focus: Export fixes, Initial stabilization

### 1.5.4 - 1.6.0 (November 2025)
Focus: Export fixes, Minor improvements

### 1.3.4 - 1.4.0 (November 2025)
Focus: Initial setup and configuration

### 1.0.1 - 1.2.0 (November 2025)
Focus: Initial release and setup

---

## Support

- **Repository**: [GitHub](https://github.com/erpforce)
- **Issues**: [GitHub Issues](https://github.com/erpforce/issues)
- **NPM**: [@erpsquad/common](https://www.npmjs.com/package/@erpsquad/common)

---

## License

MIT License - See [LICENSE](LICENSE) file for details
