- Remove usage of ArrayHelper class - switch to Illuminate\Support\Arr class
-
Namespace change - Check all implementation of your repositories, and change namespaces:
PacerIT\LaravelCore\Repositories* -> PacerIT\LaravelRepository\Repositories*
-
Delete firstOrNull() function - check usage of this functions. We recommed to replace it to firstOrNew().
-
Configuration file - rename laravel-core.php config file to laravel-repository.php
This affects to Repositories, Criteria and Exceptions. Other than mentioned repository functions are not changed.
Check uses of getCreatedAtDate() and getUpdatedAtDate() functions in implementations of CoreEntity class.
This functions return now Illuminate\Support\Carbon instance instead of string.
These steps are only required if you use datatable() method in CoreRepository class implementation. Otherwise, nothing will change.
1. Install suggested "yajra/laravel-datatables-oracle" in version compatibile with your framework
2. Add "WithDatatable" trait in CoreRepository implementation that you want to user this method