Releases: RonasIT/laravel-entity-generator
Releases · RonasIT/laravel-entity-generator
Upgrade dependencies release
What's Changed
- #54:- delete
without
keys by @pirs1337 in #15 - #16:- feat: update templates; by @pirs1337 in #18
- feat: generate resource class by @pirs1337 in #21
- feat: update templates by @pirs1337 in #23
- feat: generate a separate factory by @pirs1337 in #24
- feat: generate nova resource by @pirs1337 in #25
- #22: Update templates. Removed empty line generation from delete request by @NikitaYakovlev in #26
- #20: Fixed bug with non-existent dir when creating new entity, renamed stub configs, added namespace for DatabaseSeeder by @vitgrams in #27
- style: remove leading slash in entity routes. by @KonstantinLapkovsky in #29
- style: reorder classes imports in stubs. by @KonstantinLapkovsky in #28
- chore: rewrite tests stub response status assertion. by @KonstantinLapkovsky in #30
- #17 added resource collection for geneartion by @Adil9994 in #31
- fix: renamed stubs by @Adil9994 in #35
- #20 fixed additional bugs by @Adil9994 in #37
- #19 added required setting for nova fields by @Adil9994 in #34
- #19 added class exists exception by @Adil9994 in #38
- #17 added todo comment by @Adil9994 in #41
- #39: test data generated only when factory exists by @Adil9994 in #40
- docs: update ReadMe.md by @DenTray in #44
- Generate new entity when User model not uses ModelTrait cause error by @Goodmain in #46
- #32: Remove JSON field serialization from repository stub. by @KonstantinLapkovsky in #47
- Fix controller template by @yogyrton in #53
- #43: Add logic to generate anonymous-type migrations for projects wit… by @KonstantinLapkovsky in #48
- #33 Remove required rule for search request with required boolean field by @yogyrton in #54
- fix: fix model mock for tests. by @KonstantinLapkovsky in #58
- fix: fixed typos by @DenTray in #62
- fix: modify model name to studly case by default. by @KonstantinLapkovsky in #59
- feat: add loading nova resource columns from database. by @KonstantinLapkovsky in #61
- feat: add classes namespace generation from path by @KonstantinLapkovsky in #60
- Add nova tests generation by @KonstantinLapkovsky in #57
- Correct logic for Nova resource creation by @KonstantinLapkovsky in #63
- Correct nova test generator. by @KonstantinLapkovsky in #66
- chore: add composer.lock file to VSC index. by @KonstantinLapkovsky in #71
- Add composer lock file to VCS by @KonstantinLapkovsky in #72
- chore: change dependency location from
require
torequire-dev
. by @KonstantinLapkovsky in #78 - fix: generate nova test cases by @AZabolotnikov in #83
- Fix template for generarte nova tests by @AZabolotnikov in #84
- Fix nova template test filter user by @AZabolotnikov in #86
- Update dependencies by @aizlee in #88
New Contributors
- @pirs1337 made their first contribution in #15
- @NikitaYakovlev made their first contribution in #26
- @vitgrams made their first contribution in #27
- @Adil9994 made their first contribution in #31
- @Goodmain made their first contribution in #46
- @yogyrton made their first contribution in #53
- @AZabolotnikov made their first contribution in #83
- @aizlee made their first contribution in #88
Full Changelog: 2.0.4-beta...3.0.0-beta
Laravel >=8 compatibility
Merge pull request #14 from RonasIT/dpankratov/legacy-factories-install fix: move lagacy factories package to require instead of require-dev;
fix: circular relations check
Merge pull request #11 from RonasIT/dpankratov/circular-relations-fix Dpankratov/circular relations fix
fix: circular relations check
1.3.12 Merge pull request #12 from RonasIT/dpankratov/circular-relatons-majo…
Requirements update
- removed jwt from the requirements list;
- imcreased laravel-heleprs version requirements;
Laravel-helpers update
- updated required Laravel-Helpers package version up to 2.0.0-beta;
- updated stubs to use new Laravel-Helpers syntax;
- small refactoring;
CRUD update
- new options of the
make:entity
command available:--only-api
and--only-entity
. Theonly-entity
will generate classes that allows to work with entity inside the application: migration, model, service, repository, factory and seeder. In orderonly-api
option will generate classes that provided external access: routes, controller, requests and test cases. - new
--methods
option provide an ability to generate only required APIs methods and classes.
php artisan make:entity Document --methods=R
e.g. R
value will generate only read actions (Get/Search routes, requests, methods of controller and test cases).
You can combine different methods to generate only required code
php artisan make:entity Document --methods=CD
php artisan make:entity Document --methods=DC
note that order of methods words is not important.
- entity-generator configs now will be automatically updated according to the default package configs, you will be noticed about with the console message;
- search request now has
nullable
rule in thequery
field; - updated readme;
1.3.9: Merge pull request #6 from RonasIT/dpankratov/version-update
- removed minime/annotations package from composer.json cause it already requires by Laravel-Helpers package
Compatibility update
- increased minime/annotations min version to make compatibility with the Laravel-Swagger package
Templates update
Merge pull request #4 from RonasIT/dpankratov/version-update Dpankratov/version update