Laravel v6.10 Out

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 verifying a request a request macro has been developed :

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

Request Validation Check .

Redis Connection Macromable

Matt Allan contributed to this report for Redis. Like other macro-macroifiable classes in Laravel, macro()Method you can call :

useIlluminate\Redis\Connections\Connection;Connection::macro('foo', function(){ return'foo';});

Several changes have been made to this release, so be sure to check out the full list of new features and updates below. On GitHub 6.9.0 and 6.10.0 Between Difference you can see the whole thing All release notes for Laravel 6.0 on GitHub v6 change you can find it in the log :

v6.10.0

Added

Updated

constant

  • constant Float database types Blueprint# 30891 )
  • code fixed getenv() # 30924 )
  • Pdo connections are prevented when reconnecting ( # 30998 )
  • dev-master nicknames 6.0-giantwith 6.x-dev d06cc79 ) between Update
  • Model connection used by default in database validators ( # 31037 )

optimization

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

  Quote

KARABAY A, 2020 . Laravel v6.10 Out,

https://www.karabayyazilim.com/blog/php/framework/laravel/laravel-v610-cikti-2020-01-08-151035

(Accessed January 08, 2020).


  Share this post

Comments (0)

Comment

Subscribe
Sign up for the email newsletter to be the first to know about my blog posts