Skip to content

Latest commit

 

History

History
685 lines (431 loc) · 24.5 KB

CHANGELOG.md

File metadata and controls

685 lines (431 loc) · 24.5 KB

Changelog

All notable changes to laravel-livewire-tables will be documented in this file

1.25.1 - 2022-03-29

Changed

  • Fixed $wireclick issue

1.25.0 - 2022-03-28

Added

1.24.0 - 2022-02-13

Added

Changed

1.23.0 - 2022-02-11

Added

  • Laravel 9 Support

1.22.0 - 2022-01-20

Added

Changed

1.21.0 - 2021-11-20

Added

Changed

  • Removed excess left padding on Bootstrap 5 form check on multiselect filters.
  • Patch bulk actions random wire:key - rappasoft#557

1.20.1 - 2021-11-01

Changed

1.20.0 - 2021-10-25

Added

Changed

  • Fixed bulk actions dropdown on Bootstrap - rappasoft#519
  • Fixed bulk row/select with pagination off - rappasoft#510
  • Conditionally show cursor-pointer class instead of inline style - rappasoft#529

1.19.3 - 2021-10-25

Changed

1.19.2 - 2021-10-15

Added

Changed

  • Extracts just the field name from primaryKey - rappasoft#506
  • Update BS4 pagination - rappasoft#507
  • Update minimum Livewire version to 2.6

1.19.1 - 2021-10-14

Changed

  • Fixed table target default

1.19.0 - 2021-10-14

Added

Changed

1.18.0 - 2021-10-13

Added

  • Secondary header (see documentation section Secondary Header Functionality on how to implement column search)

Changed

  • Add missing properties to reordering session

1.17.0 - 2021-10-12

Added

Changed

  • Fixed default version of livewire - rappasoft#486
  • Fix bulk select with search and add typed property to selected - rappasoft#439

1.16.0 - 2021-09-26

Added

Changed

1.15.0 - 2021-09-19

Added

  • Dark styles for Tailwind

Changed

  • Minimum Livewire version to 2.6.2 to avoid 2.6.1 bug.
  • Remove our custom pagination as Livewire 2.6 supports multiple pagination per page now.

1.14.0 - 2021-08-31

Added

1.13.0 - 2021-08-24

Added

Changed

1.12.0 - 2021-07-31

Added

1.11.0 - 2021-07-10

Added

Changed

1.10.4 - 2021-06-23

Added

  • Added $hideBulkActionsOnEmpty to hide the bulk actions dropdown until something is selected.

1.10.3 - 2021-06-22

Added

  • When reordering, the last known state of the table is now saved in the session so when you're done reordering you are back where you left off and no filters/sorts/search is lost.

Changed

  • Fixed query string getting wiped out on reload

1.10.2 - 2021-06-21

Changed

1.10.1 - 2021-06-20

Changed

  • Fixed Tailwind column popup on reorder

1.10.0 - 2021-06-20

This release requires re-publishing of assets.

Added

1.9.0 - 2021-06-15

This release requires re-publishing of assets.

Added

Changed

  • Replaced bootstrap dropdowns with Alpine on bootstrap themes which fixes them closing prematurely when selecting filters.
  • Added wrapping divs around needed if statements.
  • Fixed Bootstrap pagination DOM-diffing issues.

1.8.0 - 2021-06-06

Added

Changed

1.7.1 - 2021-05-30

Added

Changed

1.7.0 - 2021-05-18

Added

Changed

1.6.1 - 2021-05-13

Changed

1.6.0 - 2021-05-04

Added

  • Added Unselect All button on bulk row when selecting page.
  • Added disabled delay on select checkboxes.
  • Added disabled on bulk row button clicks.
  • Added missing showPagination conditional to views.
  • Added getFilters and getFiltersWithoutSearch methods and refactor views.
  • Added checkFilters method and refactor mountWithFilters
  • Added hasIntegerKeys method

Changed

  • When selecting a page, if there are the same selected as total rows, just show the amount of selected instead of showing "Selecting 1 row. Do you want to select all 1 rows.".
  • Move bulk select row to its own partial for all templates.
  • Moved updatedFilters from WithSearch to WithFilters
  • Refactor hasFilter to support numeric keys
  • Refactor getFilter to support numeric keys
  • Refactor getFilterOptions to support numeric keys

Removed

  • Removed updatingFilters from WithFilters

1.5.1 - 2021-05-02

Added

  • Added clear search method.

Changed

  • Changed resetAll method to include search and page and moved to parent component.
  • Refactored search method to use new resetSearch.
  • Use custom per page on first load

1.5.0 - 2021-05-02

Added

  • Added hideIf for columns to hide a column with a conditional, works out of the box for cells not using rowView, if using rowView you must wrap the cells you want to hide in the same conditional. See documentation.
  • Added selected row de-selector when not selecting full page or all.

1.4.0 - 2021-04-29

Added

  • Added option for single column sorting only.
  • Ability to change empty message per table.
  • Added en.json lang file.
  • Ability to add 'All' option to per-page.

Changed

  • Modified views to support localization better where necessary (republish views).
  • Alphabetize en.json
  • Fixed bulk actions using wrong key to select instead of $primaryKey
  • Make bulk select checkbox use primary key

1.3.1 - 2021-04-26

Added

  • Use the filter option name instead of the value on the filter pills. (rappasoft#238)

Changed

Removed

  • Removed old readme for the documentation link.

1.3.0 - 2021-04-25

Added

Changed

  • Fixed offline indicators to display block.
  • Tailwind cool-gray to just gray since it is included by default.

1.2.2 - 2021-04-23

Changed

  • Removed hard coded bulk text of users and changed to rows

1.2.1 - 2021-04-22

Changed

  • Remove padding from bootstrap container to keep it flush with sides like Tailwind

1.2.0 - 2021-04-22

Added

  • Ability to disable pagination (rappasoft#222)
  • Ability to define the sorting direction names for each column. i.e. A-Z, Z-A, Yes, No, Enabled, Disabled, etc.
  • Added ability to define primary key of rows for bulk select
  • Added selectedKeys property that returns an array of the ids of the selected rows

Changed

  • Clarified where rowView looks in read me
  • Null the search filter when it's empty
  • Fill per page options from $perPageAccepted in views
  • Make $perPageAccepted public

Removed

  • Removed text-secondary class from sorting title

1.1.0 - 2021-04-21

Added

  • Added callback to column's sortable() method to customize sorting functionality per column. (rappasoft#216)
  • Support for polling keep-alive and visible.
  • Start of a test suite (rappasoft#218)

Changed

  • Updated Tailwind search clear button (rappasoft#217).
  • Updated readme

1.0.4 - 2021-04-18

Added

  • $searchFilterDebounce, $searchFilterDefer, $searchFilterLazy, for defining the search input data binding property. rappasoft#211
  • Remove ability to need to define filters if not defining defaults. rappasoft#213

Changed

  • Rearrange wire:keys

1.0.3 - 2021-04-18

Added

  • Added Bootstrap 5 theme

Changed

  • Removed calls to custom primary color with indigo for tailwind
  • Updated search and row click sections of read me to be more clear.
  • Added resetPage to per page dropdown and filters.

1.0.2 - 2021-04-17

Changed

  • Fixed checkbox click with row click combination following URL and not checking checkbox.

1.0.1 - 2021-04-17

Changed

  • Fixed missing bootstrap components aliased to bs4.table.*
  • Updated readme
  • Added missing row click on bootstrap

1.0.0 - 2021-04-16

  • Ground up rebuild, see documentation for usage.

0.4.0 - 2021-04-14

Changed

0.3.3 - 2020-12-13

Added

  • PHP8 Support
  • Spanish translations
  • German translations
  • French translations

Changed

  • Updated Arabic translations

0.3.2 - 2020-09-25

Added

  • Added thead class to option array
  • Ability to export the list set to CSV/XLS/XLSX/PDF
  • Ability to mark a visible column as not to be exported
  • Ability to mark a column as export only, which hides it from UI
  • Ability to format a single column differently for export as it is for its UI
  • Added option to change the button class from the config

0.3.1 - 2020-09-18

Changed

  • Fixed non-sortable column headers not getting classes applied.
  • Updated documentation

[0.3] - 2020-09-16

  • Ground up rebuild

Added

  • Config file to choose frontend framework - currently limited to bootstrap
  • Render method to columns which returns whatever you put into it, you can return a view, html, an attribute, etc.
  • Pulled in and modified the HTML component library from laravelcollective so you can return html components from the render method. i.e.: $this->image(...);
  • Added new loading config on whether to keep displaying the current data while loading or collapse it
  • Added ability to set frontend framework specific options via a property on a per component basis.

Changed

  • Extracted the sorting icons out to their actual HTML, so you can use whatever you want, not limited to the 'i' tag.

Removed

  • Checkbox functionality for now
  • Component functionality pending debate
  • All class and styling based properties. It's better to publish the views to change something.

0.2.1 - 2020-09-10

Added

  • Arabic translations
  • Ability to add a link to make table rows clickable
  • Added the ability to change the sort icons
  • Ability to hide a column based on a condition or permanently

Updated

  • Livewire to 2.x

Removed

  • Removed 1 hard coded font awesome icon

Changed

  • Publish tags to service provider

0.2.0 - 2020-08-10

Added

  • Add pagination reset for perPage updates
  • Add second parameter to view method for the name of the model variable available in the view.
  • Allow publishing of views
  • Make docblocks work with psalm
  • Added searching method either debounce or lazy
  • Allow dot notation for customer attributes
  • Added loading message to table body if $loadingIndicator is true
  • Add clear button option to search box

Changed

  • Updated Livewire to 1.3
  • $disableSearchOnLoading default to false
  • Trim the search term when processing
  • Added language to publishable translation file

Removed

  • Existing loading subview for tbody message

0.1.6 - 2020-06-15

Changed

  • Add second parameter to view method for the name of the model variable available in the view.

0.1.5 - 2020-05-26

Changed

  • Use constructor instead of mount so that the child classes have access to a mount method that they can accept parameters in.

0.1.4 - 2020-05-24

Changed

  • Changed $models to $builder
  • Changed callback parameters for sorting to $builder, $direction. (Removed sortField because we know what it is, until someone gives me an example of why it would be beneficial to keep it).

0.1.3 - 2020-05-12

Changed

  • Ability to turn off per page option while keeping pagination on
  • Fix the search feature if pagination is on, and you're not searching from the first page using Livewire's native resetPage() method.

0.1.2 - 2020-04-28

Changed

  • Fixed pagination text when there are zero results

0.1.1 - 2020-04-04

Changed

  • Name of table blade view to avoid issues with other like named packages

0.1.0 - 2020-04-03

  • Initial release