My Blog Posts

New Features Added to Laravel 6.0.4

New Features Added to Laravel 6.0.4

Let's highlight some new features in this release:

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

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

Belongs ToManyImport pivottable columns For Relationship added another access method :


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

The full list of the following fixes and all of them on GitHub 6.0.3 to 6.0.4 you can see the differences between Full version notes for Laravel 5.8 GitHub v6 changelog :

Share this article

Comments (0)