Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ewilan-riviere authored and github-actions[bot] committed Jul 22, 2024
1 parent aef437d commit db56f2b
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,39 @@

All notable changes to `typescriptable-laravel` will be documented in this file.

## v3.0.0 - 2024-07-22

Refactoring with Artisan command `show:model`

- `typescriptable:models` command is now `typescriptable: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` or `parser`
- `artisan` will parse models with Artisan command `show:model`
- `parser` will parse models with internal engine


```php
'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**

- Change `models` entry into config to `eloquent`

```diff
- 'models => [
+ 'eloquent' => [
// ...
],

```
## v2.0.07 - 2024-06-14

- Fix `EloquentPhp::class` for `\` duplicates
Expand Down Expand Up @@ -50,6 +83,7 @@ composer require kiwilan/typescriptable-laravel:1.12.03




```
## v1.12.03 - 2024-03-16

Expand Down

0 comments on commit db56f2b

Please sign in to comment.