My Blog Posts

Laravel v6.10 Released

Laravel v6.10 Released


Laravel Mix Test Helpers

// Before $this->swap(\Illuminate\Foundation\Mix::class, function () { return ''; }); // After $this->withoutMix();

Verify with Request Request Macro

Paul-Henri Leobon validateWithBagallows error determination when valiproving a request developed a request macro :

$request-governordateWithBag'blog'
     'title'  => ['required',  'unique:posts',  'max:255'],
     'body'  => ['required']
]);

Request Validation Check .

Redis Connection Macrostrable

Matt Allan contributed macros to the Redis connection. Like other macroconfigurable classes in Laravel, macro()Method can call :

use Illuminate\Redis\Connections\Connection;

Connection::macro('foo', function () {
    return 'foo';
});

There have been several changes to this release, so be sure to check out the full list of new features and updates below. At GitHub 6.9.0 and 6.10.0 Between Difference you can see the whole All version notes for Laravel 6.0 on GitHub v6 change log :

v6.10.0

Added

Updated

Fixed

  • Fixed Float database types Blueprint# 30891 )
  • fixed code getenv() # 30924 )
  • Pdo connections are prevented from reconnecting ( # 30998 )
  • giant-master alias 6.0-giantWith 6.x-giant d06cc79 ) Between Update
  • The model connection used by default in database validators ( # 31037 )

Optimization

  • Service Provider record optimized ( # 30960 )
  • Optimizing runningInConsole method added ( # 30922 )
  • Translator and view delay ( # 31009 )



Share this article


Comments (0)

Comment