Releases: icehouse-ventures/laravel-chartjs
Livewire Support
This release adds Livewire support for dynamically updating chart data in response to user input.
What's Changed
- Add a Livewire version of the chart by @jasonlbeggs in #9
New Contributors
- @ian-patel made their first contribution to master
- @jasonlbeggs made their first contribution in #9
Full Changelog: v1.0.7...v1.1.0
Laravel 11 Support
What's Changed
- Added Laravel 11 Support
- Update index.md by @harry-fakir in #5
New Contributors
- @harry-fakir made their first contribution in #5
Full Changelog: v1.0.6...v1.0.7
Multiple date formatting plugins
Moment.js has been depreciated so there are now several date formatting libraries supported by Chartjs. This release allows you to toggle between them for easier testing and adoption (using the CDN delivery method for all Chartjs versions). Also, Luxon is now bundled with the binary / publish delivery method for version 4.
Nullable options and config files
Updated the blade and builder to allow options and optionsRaw to both be null (which worked in Chartjs version 2 but broke in Chartjs version 3). Also corrected some references to the config file.
Testing and code quality
This release adopts Laravel Pint for testing and includes package appropriate tests based on Orchestra Testbench for the base application, package provider and package builder. It also adopts Laravel Pint for code styling with the Laravel code style preset (with some flexilibity to ease adoption).
Custom view
This release allows developers to publish the view used by the package into their application using an artisan command and to then customise the blade view template as needed (for example to tweak the CSS). The recommended standardisation approach is to use a blade component and embed the render call inside the component but publishing the blade template allows for deeper customisation when needed.
Binary distribution and asset publish more versions
This release includes binary distribution options for version 2, 3 and 4 as well as more version options for the asset publish delivery method.
Publish configuration
This release adds the ability to publish a configuration file for the package. It also adopts more consistent file naming conventions.
Initial setup
Initial setup of configuration files for increased control of the Chartjs version to be used and setup of the content delivery network installation option.