Changelog
Recent changes in Beartropy packages.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[2.5.0] - 2026-01-02
Added
- Comprehensive test suite using PestPHP:
- Unit Tests:
Columnlogic (instantiation, unique keys, modifiers) andOptionslogic. - Feature Tests: Table rendering, pagination (per page, navigation), global search, and column sorting.
- Unit Tests:
- Test infrastructure:
TestCasesetup with SQLite in-memory database andPestconfiguration. - Structural improvements in
yat-table.blade.php:- Better handling of row expansion and mobile layout.
- Improved empty search results display.
- Enhanced data-attribute handling for accessibility and styling.
Changed
- Improved project documentation structure and meta-information.
- Refactored
yat-table.blade.phpfor better readability and performance. - Updated
YATableComponent.stubwith improved code styling and type hints.
[2.4.4] - 2025-12-31
Fixed
- Added docs
[2.4.3] - 2025-12-30
Fixed
- Fixed column alignment when using
pushLeft()andpushRight()by adding flex utilities to header wrappers.
Changed
- Improved code styling in
Columnclass (parameter type hints and return types).
[2.4.1] - 2025-12-19
Fixed
- Fixed inline editing:
- Fixed display showing ID instead of label after save.
- Fixed initial value mismatch (display vs ID) for relationship fields.
- Fixed empty state defaulting to first option (added placeholder).
- Fixed
Undefined array keyerror whenupdateFieldis not in columns. - Fixed data persistence issues on pagination (added
wire:keyand cache invalidation).
- Added
setUpdateField()method toColumnto support updating relationship IDs while displaying names. - Added translations for "Select an option" placeholder.
[2.4.2] - 2025-12-24
Changed
- Changed columns to be Sortable and Searchable by default.
- Added
sortable(bool)andsearchable(bool)modifiers toColumnclass to explicitly enable/disable these features.
[2.4.0] - 2025-12-19
Changed
- Enhanced Inline Editing UI:
- Added success/error visual feedback with icons (Check/Exclamation).
- Added loading state spinner during save.
- Improved hover effects with specific card styling (inner div with
hover:bg-amber-200type effect). - Made
updateFieldreturn a boolean status for UI feedback.
- Updated documentation with comprehensive examples for inline editing.
[2.3.11] - 2025-12-18
Changed
- Updated default
inputThemeOverridetobeartropyinViewtrait.
[2.3.10] - 2025-12-18
Changed
- Updated defaults in
Viewtrait to fallback tograytheme. - Updated pagination components to respect
buttonThemeOverride.
Added
- Added
getThemeConfighelper method toViewtrait.
[2.3.9] - 2025-12-18
Changed
- Removed
.agentfolder from repository and added it to.gitignore.
[2.3.8] - 2025-12-18
Added
- Added
setButtonThemeOverride(?string $theme)andsetInputThemeOverride(?string $theme)toViewtrait to allow overriding themes for specific components.
[2.3.7] - 2025-12-18
Added
- Added
useGlobalSearch(bool)method toSearchtrait to toggle global search input visibility. - Added
showOnlyTable(bool)method toYATBaseTableto quickly disable global search, pagination, and column toggle. - Added
pushLeft()andpushRight()methods toColumnclass for easy content and header alignment using Tailwind CSS.
Fixed
- Fixed table header alignment (
text-left,pl-2) for the row counter column inyat-table.blade.php.