Releases: kiwilan/typescriptable-laravel
Releases · kiwilan/typescriptable-laravel
v3.1.06
Support Laravel 12 by @erikwibowo #96
v3.1.05
- Fix for SchemaClass for #89, thanks to @PerryRylance
- Upgrade
mongodb/laravel-mongodbto v5.x.x
v3.1.03
- Fix missing accessors with Eloquent
parserengine
v3.1.02
- Fix
isModel()detection, addIlluminate\Foundation\Auth\Userfor models withAuthenticatabletrait. - Add
snakeCaseNameproperty to relations to getcountwith snake case name.
v3.1.01
- Fix
RouteListCommandwith JSON format - Fix
}for Routes types
v3.1.0
- Remove options from
typescriptable:eloquent,typescriptable:settingsandtypescriptable:routesbecause all parameters can be set from config - Add
eloquent:listto show all Eloquent models - Routes are now generated from
route:listcommand - Add more tests for routes and settings
- Add config for routes
routes.print_listto printroutes.tsfileroutes.add_to_windowto add routes intowindowto get it fromwindow.Routes(SSR check),routes.print_listmust betrueroutes.use_pathto replace routes types names to routes paths
v3.0.0
Refactoring with Artisan command show:model
typescriptable:modelscommand is nowtypescriptable:eloquentcommand (old command still works)- Add more tests to valid Eloquent parsing
- Add mongodb support
- Add new option into config to handle engine with two options
artisanorparserartisanwill parse models with Artisan commandshow:modelparserwill parse models with internal engine
'engine' => [
/**
* `artisan` will use the `php artisan model:show` command to parse the models.
* `parser` will use internal engine to parse the models.
*/
'eloquent' => 'artisan', // artisan / parser
],BREAKING CHANGES
- Remove
database_prefixfrom config, now database prefix use only nativeconfig/database.php
BREAKING CHANGES
- Change
modelsentry into config toeloquent
- 'models => [
+ 'eloquent' => [
// ...
],v2.0.07
- Fix
EloquentPhp::classfor\duplicates - Fix
EloquentCast::classwithUnitEnumand public constants into enum classes
v2.0.06
Fix window.Routes from routes.ts auto-generated file
v2.0.05
Fix version