DEV Community

Morcos Gad
Morcos Gad

Posted on • Edited on

Great Things Laravel 10.7 Released

In this release I found two new features and a lot of other fixes and additions, so I wanted to share with you guys

method for the Process layer. This method will run commands in sequence and pass the output of the previous command to the input of the next one,
This can be handy when you need to chain the result of a group of commands

$pipe = Process::pipe(function ($pipe) {
    $pipe->command('cat test.txt'),
    $pipe->command('grep -i "foo"'),
});

$pipe->run()->output(); // "foo"
Enter fullscreen mode Exit fullscreen mode

method in the Validator class to set the value of a given attribute. The author of the PR gave this description for the need for this method

// with this PR:
$this->validator->setValue($attribute, $value);

// previously: very slow!
Arr::set($this->data, $attribute, $value);
$this->validator->setData($this->data);
Enter fullscreen mode Exit fullscreen mode

I hope you enjoyed with me and to learn more about this release visit the sources and search more. I adore you who search for everything new.
Source :- https://laravel-news.com/laravel-10-7-0
Source :- https://www.youtube.com/watch?v=JP4xBO26eSQ

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay