1.0.0
Added
- Added
LocaleData
type for passing to method arguments by @andrey-helldar in #13 - Added check for existence of translation repository by @andrey-helldar in #29
- Added Laravel 10 compatibility by @andrey-helldar in #36
- Added Laravel Skeleton for tests by @andrey-helldar in #8
- Added Orchestra Workbench to fix unstable tests by @andrey-helldar in #10
- Added setting a trait in case of its absence by @andrey-helldar in #30
Changed
- Conditions in
TrimCast
have been simplified by @andrey-helldar in #18 - Improved work with the static data register by @andrey-helldar in #11
- Optimized imports by @andrey-helldar in #3
- Refactoring the
HasTranslations
trait by @andrey-helldar in #20 - Renamed the console command for generating helper files for the IDE to
lang:models-helper
by @andrey-helldar in #35 - Template for creating models switched to Laravel 11 style by @andrey-helldar in #22
- The console command for creating models has been renamed to
make:model-translation
by @andrey-helldar in #26 - The main trait
HasTranslations
has been unloaded from auxiliary methods by @andrey-helldar in #16 - The model search form has been changed to select it from the list by @andrey-helldar in #27
- Translation storage improvement by @andrey-helldar in #2
- Updated testing settings by @andrey-helldar in #14
- Validation methods are placed in separate classes by @andrey-helldar in #15
Removed
- Removed call to create parent model by @andrey-helldar in #25
- Removed unused trait by @andrey-helldar in #19
Fixed
- Added adjustment of model namespace when passing as an argument by @andrey-helldar in #34
- Added check for model existence during generation by @andrey-helldar in #28
- Fixed
locale
column name comparison by @andrey-helldar in #17 - Fixed an issue with creating a translation model for an existing parent model by @andrey-helldar in #24
- Fixed eager loading by @andrey-helldar in #12
- Fixed error: Call to undefined method
ClassMap::get()
by @andrey-helldar in #33 - Fixed error: Class "\App\Models\UserTranslation" not found by @andrey-helldar in #32
- Fixed test checking migration file by @andrey-helldar in #4
- Fixed the template for the
HasTranslations
trait added to the parent model by @andrey-helldar in #31 - Fixed unstable test by @andrey-helldar in #9
- Not enough arguments (missing: "model"). by @andrey-helldar in #23
- Reduced the number of queries to the database when deleting all translations by @andrey-helldar in #6