Releases: kiwilan/typescriptable-laravel
Releases · kiwilan/typescriptable-laravel
v3.1.05
- Fix for SchemaClass for #89, thanks to @PerryRylance
- Upgrade
mongodb/laravel-mongodb
to v5.x.x
v3.1.03
- Fix missing accessors with Eloquent
parser
engine
v3.1.02
- Fix
isModel()
detection, addIlluminate\Foundation\Auth\User
for models withAuthenticatable
trait. - Add
snakeCaseName
property to relations to getcount
with snake case name.
v3.1.01
- Fix
RouteListCommand
with JSON format - Fix
}
for Routes types
v3.1.0
- Remove options from
typescriptable:eloquent
,typescriptable:settings
andtypescriptable:routes
because all parameters can be set from config - Add
eloquent:list
to show all Eloquent models - Routes are now generated from
route:list
command - Add more tests for routes and settings
- Add config for routes
routes.print_list
to printroutes.ts
fileroutes.add_to_window
to add routes intowindow
to get it fromwindow.Routes
(SSR check),routes.print_list
must betrue
routes.use_path
to replace routes types names to routes paths
v3.0.0
Refactoring with Artisan command show:model
typescriptable:models
command is nowtypescriptable:eloquent
command (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
artisan
orparser
artisan
will parse models with Artisan commandshow:model
parser
will 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_prefix
from config, now database prefix use only nativeconfig/database.php
BREAKING CHANGES
- Change
models
entry into config toeloquent
- 'models => [
+ 'eloquent' => [
// ...
],
v2.0.07
- Fix
EloquentPhp::class
for\
duplicates - Fix
EloquentCast::class
withUnitEnum
and public constants into enum classes
v2.0.06
Fix window.Routes
from routes.ts
auto-generated file
v2.0.05
Fix version
v2.0.04
Add filter on items()
to keep only class with inheritance from Model
class