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

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay