News

Laravel Elixir Version 3 is released

Published

Laravel Elixir version 3 is now released and available for everyone. This release features some exciting new features included true sequential tasks, more explicit logging, and easier configuration.

Sequential tasks

With version 2 this code:

mix.sass('one.scss').coffee('module.coffee').sass('two.scss');

Would trigger both sass calls before moving on to the coffee task. Now with version three these would processed in order.

More explicit logging

The Terminal will now detail the exact source and output files/directories that the current task is referencing (based upon your Gulpfile).

[![New Elixir Logging](https://i2.wp.com/wp.laravel-news.com/media/2015/07/elixir-logging-1024x576.png?resize=525%2C295&ssl=1)](https://i0.wp.com/wp.laravel-news.com/media/2015/07/elixir-logging.png?ssl=1)
New Elixir Logging
Better File Validation ----------------------
[![File Not Found in Elixir](https://i2.wp.com/wp.laravel-news.com/media/2015/07/elixir-notfound.png?resize=384%2C180&ssl=1)](https://i2.wp.com/wp.laravel-news.com/media/2015/07/elixir-notfound.png?ssl=1)
File Not Found in Elixir
Simpler Extensions ------------------
Elixir.extend('speak', function(message) {
 
new Task('speak', function() {
return gulp.src('').pipe(shell('say ' + message));
})
.watch('./app/**');
 
});
 
// mix.speak('Hello World');

More Information

For more information on Elixir v3, check out the official release announcement which outlines all the changes. Also, Laracasts has added new videos to the Painless builds with Elixir series covering these.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article