Added New Features to Laravel 6.0.4

Let's highlight some new features in this release:

first assertJsonPath()first, the TestResponse class appears to be really useful for specifying values in a JSON response by using a point representation for nested properties one claim added:

$this->getJson(route)'api.post.show', [$post->id])) ->assertJsonPath('tags', []) ->assertJsonPath('comments.0.user.username', 'ecrmnnn') ->assertJsonPath('comments.*.body', [ 'First!', 'This is my comment', ]);
Then, three new access methods were added to the Eloquent builder for the ease of claiming whether a constructor class has global/local macros:

$builder->hasMacro($name);$builder->getGlobalMacro($name);$builder->hasGlobalMacro($name);
BelongsToManyImport pivottable columns for Relationship added another access method :

$example->getPivotColumns();

These features work backwards and add only an alternative way to define arguments and options.

The following fixes include the full list and all 6.0.3 vs 6.0.4 you can see the differences between Full release notes for Laravel 5.8 on GitHub v6 is available on the changelog :

  Quote

KARABAY A, 2019 . New Features Added to Laravel 6.0.4,

https://www.karabayyazilim.com/blog/php/framework/laravel/laravel-604e-yeni-ozellikler-eklendi-2019-09-27-072441

(Accessed September 27, 2019).


  Share this post

Comments (0)

Comment

Subscribe
Sign up for the email newsletter to be the first to know about my blog posts