Releases: Power-Components/livewire-powergrid
Releases · Power-Components/livewire-powergrid
v1.5.1
🛠️ Fixes
- RecordCount display by @Augen2203 in #170
- Filter translation + Badge for tests + PhpStorm by @dansysanalyst in #158
🔥 Translations
- 🌐 CA|ES|DE by @dansysanalyst in #158
- IT translations by @masterix21 in #167
- Indonesian lang by @NathanaelGT in #157
Added
- More tests by @luanfreitasdev in #160
New Contributors
- @Augen2203 made their first contribution in #170
Full Changelog: v1.5.0...v1.5.1
v1.5.0
🛠️ Fixes
- Larastan php74 by @dansysanalyst in #124
- Larastan by @dansysanalyst in #126
- [tests] Fix wrong column type in migrations by @dansysanalyst in #134
- Larastan by @luanfreitasdev in #125
- Tests with supported DBs + Input filter null/blank/empty by @dansysanalyst in #147
- add disabled input text by @luanfreitasdev in #148
- Prevent xss attack by @NathanaelGT in #146
- New parameter for sortBy Method by @throwExceptions in #151
- feature: support for all databases supported by laravel to the functionality for sorting alphanumeric values by @vs0uz4 in #149
- Stubs passing static analysis by @dansysanalyst in #153
- feature: [wip] implementation of the rescue functionality of the database server version used by @vs0uz4 in #155
- SqlSupport refactoring by @dansysanalyst in #156
- Dev - 1.5 by @luanfreitasdev in #152
New Contributors
- @NathanaelGT made their first contribution in #146
- @throwExceptions made their first contribution in #151
Full Changelog: v1.4.7...v1.5.0
Notes:
- With Sort String Number (SortField with +0) - By default it is disabled, but you can enable it by changing the property:
$withSortStringNumber
- #111 - Update message is disabled by default: bool
$showUpdateMessages
- Prefix in sorting with join is ignored by default. bool
$ignoreTablePrefix = true
avoiding problems with table names with joins when you need to remove them - Table prefix has been removed:
sortable(string $tableWithColumn = '')
. Now issortable()
Before:
Column::add()
->title('Category')
->field('category_name')
->sortable('categories.name'),
After:
Column::add()
->title('Category')
->field('category_name')
->sortable(),
- Table prefix has been removed:
searchable(string $tableWithColumn = '')
. Now issearchable()
Before:
Column::add()
->title('Category')
->field('category_name')
->searchable('categories.name'),
After:
Column::add()
->title('ID')
->field('id')
->searchable(),
- Add dataField extra parameters do field method.
Column::add()
->title('Category')
->field('category_name', 'categories.name')
->searchable(),
v1.4.7
🛠️ Fixes
issues:
- search problem when joining multiple tables #129
- more issues with ambiguous columns when using join #111
- fix action method on action #128
- exporting with join sortable.
good practices with join
- SortField and primaryKey values:
public string $sortField = 'dishes.id';
public string $primaryKey = 'dishes.id';
- Method addColumns:
->addColumn('dishes.name', function (Dish $dish) {
return $dish->name;
})
- Method columns;
Column::add()
->title(__('Name'))
->field('dishes.name')
v1.4.6
🛠️ Fixes
- sortby string number "+0" is now conditional on the variable
public bool $withSortStringNumber = false
, as it did not have PostgreSQL support and there are no conflicts with join query. - bootstrap 5 theme don't have a export option #120 - fixed
🔥 New Translation
- Add ms_MY (Bahasa Melayu - Malaysia) translation. #119
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
⚡️ PowerGrid 1.4 Released! ⚡️
📺 Laravel daily Quick Datatable Package
🔥 New Features
- Export with queues - https://livewire-powergrid.docsforge.com/main/queue-export/
- 🇹🇷 Turkish translation - #92
🛠️ Fixes
- table sortBy - #99
- Fix Spanish translation - #97
- orderBy string numbers - #86
- Removed ‘outside’ filter temporarily from boostrap5 - #96
- editOnClick - update without refresh - #93
- Friendly alert on Tailwind Forms - #101