Releases: Laravel-Lang/models
Releases · Laravel-Lang/models
1.2.2
Fixed
- Fixed an error in set and deleting unprotected localizations by @andrey-helldar in #42
1.2.1
1.2.0
Changed
- The
translationModelName
method has been made public by @andrey-helldar in #39
1.1.0
Added
- Added filtering of models loaded in relation when using eager loading by @andrey-helldar in #38
1.0.1
Fixed
- Removed unused migration registration method by @andrey-helldar in #37
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
v1.0-RC1
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
v1.0-BETA5
Added
- Added check for existence of translation repository by @andrey-helldar in #29
- Added setting a trait in case of its absence by @andrey-helldar in #30
Changed
- Renamed the console command for generating helper files for the IDE to
lang:models-helper
by @andrey-helldar in #35 - The console command for creating models has been renamed to
make:model-translation
by @andrey-helldar in #26 - The model search form has been changed to select it from the list by @andrey-helldar in #27
Removed
- Removed call to create parent model by @andrey-helldar in #25
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 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 the template for the
HasTranslations
trait added to the parent model by @andrey-helldar in #31
v1.0-BETA4
Fixed
- Fixed an issue with creating a translation model for an existing parent model by @andrey-helldar in #24
- Not enough arguments (missing: "model"). by @andrey-helldar in #23
v1.0-BETA3
Added
- Added
LocaleData
type for passing to method arguments by @andrey-helldar in #13
Changed
- Conditions in
TrimCast
have been simplified by @andrey-helldar in #18 - Refactoring the
HasTranslations
trait by @andrey-helldar in #20 - Template for creating models switched to Laravel 11 style by @andrey-helldar in #22
- The main trait
HasTranslations
has been unloaded from auxiliary methods by @andrey-helldar in #16 - Updated testing settings by @andrey-helldar in #14
- Validation methods are placed in separate classes by @andrey-helldar in #15
Removed
- Removed unused trait by @andrey-helldar in #19
Fixed
- Fixed
locale
column name comparison by @andrey-helldar in #17