We attempt to document every possible breaking change. Moreover, you can find more details about each release in the CHANGELOG.
Features
Few core breaking changes from v1.x to v2.x, we'll try to list down every change as much as we can.
Remove unused Vue Components
With the new version, we have replaced the old UI with a new one using TailwindCSS which cause few incompatibility issues.
The components that have been deleted are:
- LarecipeInput.vue
- LarecipeAlert.vue
- LarecipeCheckbox.vue
- LarecipeCloseButton.vue
- LarecipeIcon.vue
- LarecipeNav.vue
- LarecipeNavbarToggleButton.vue
- LarecipeSwitch.vue
In addition to that, we simplified the Vue components' props for most of the remaining components so that the core bundle of the LaRecipe will be smaller and useful for most use cases.
Config
Few changes have been made to v2.0
- The UI section has been reduced and the old useful configs replaced with publishing few views so that you can edit them directly.
return [
'ui' => [
'code_theme' => 'dark', // or: light
'fav' => '', // eg: fav.png
'colors' => [
'primary' => '#787AF6',
'secondary' => '#2b9cf2'
],
],
];- The old
auth_linkssection has been removed since the entire navbar will be avaiable under yourresources/vendor/larecipe/partials/navbarand you can edit it from there.
return [
'settings' => [
'auth' => false,
'ga_id' => ''
],
];You can add them manually or you can run this command:
php artisan vendor:publish --tag=larecipe_config --forceUI
There are some new enhancements and fixes added to v2.0. In order to apply them you can run:
php artisan vendor:publish --tag=larecipe_assets --forceView
To publish the new views partials, please run this command
php artisan vendor:publish --tag=larecipe_views