Releases: laravel/framework
Releases · laravel/framework
v5.5.24
v5.5.23
Added
- Added a
Collection::firstWhere()method (#22261, #22264) - Added several accessors to
BelongsToMany(f09ea98, cbe8123, 3bcf9d1)
Changed
- Pass test value to
Collection::when()callbacks (#22224) - Support worker sleep time of less than 1s (#22246, #22255)
- Detect persistent connection resets (#22277)
- Support chaining seeders (#22288)
Fixed
- Fixed negative comparison to objects in
Collection::where()(#22256) - Fixed comparing strings with objects that can be casted to string in
Collection::where()(#22295) - Fixed integer validation using
distinct:ignore_case(#22235) - Fixes building nested JSON accessors in
MySqlGrammar(#22254) - Remove
SELECTbindings from MySQL delete statements (#22285)
v5.5.22
Added
- Added
response()anddownload()methods to file system (#22089) - Added complete temporary table support (#22110)
- Added
Mode::newQueryForRestoration()method (#22119) - Added precision support for date/time columns (#22122)
- Added detection for MySQL Galera deadlocks (#22214)
Changed
- Updated depreciated
MailFake::queue()method signature (#22072) - Use
MEDIUMTEXTinstead ofTEXTfor database cache values (MySQL only) (#22091) - Include the name of the scheduled job in the output email subject (#22098)
- Support
Dblibversion config for SQL Server (#22102) - Set
Model::$existstofalsewhen force-deleting a model usingSoftDeletes(#22100) - Support empty strings in
HasAttributes::fromDateTime()(#22108) - Return condition from
throw_*helpers (#22149) - Make
Collection::where()independent of error reporting (#22172) - Show more meaningful message when json translation file contains errors (#22165, cf29b88)
- Improve
Model::getTable()performance (#22222) - Use transaction in migrations using SQL Server (#22187)
Fixed
- Fixed
HasManyThroughrelation with custom intermediate and local keys when used inwhereHas()(#22071, 3788cbd) - Fixed SQL Server handling of
DATETIMEcolumns (#22052) - Return default value from
old()when session isn't available (#22082) - Refactor
Arr::flatten()to prevent performance issue (#22103) - Wrap MySQL JSON keys in double quotes when updating JSON columns (#22118)
- Fixed custom URLs with prefix (
root) for AWS storage (#22130) - Prevent authentication if
passwordis the only specified field (#22167)
Removed
- Removed
betweenoperator from basic where clauses (#22182)
v5.5.21
v5.5.20
Added
- Added
TestResponse::assertJsonMissingExact()(#21881) - Added
assertValidationErrors()andassertJsonCount()toTestResponse(#21917) - Added
allOnQueue()andallOnConnection()for job chaining (#21765) - Support variadic arguments on fluent
Route::middleware()(#21930) - Added precision to
Blueprint::time()(#21936) - Added
Router::apiResources()method (#21956) - Support graceful handling of
SIGTERMin queue workers (#21964)
Changed
- Added "kin" as an uncountable word (#21843)
- Improved geo spatial support (#21919)
- Include job name in the
MaxAttemptsExcededException(#21941, #21943) - Support rendering multiple
@verbatimand@phpblocks (#21900) - Moved
InteractsWithRedistoIlluminate\Foundation\Testing(#21967) - Don't bind macro when it is not a
Closure(#21980) - Check for
before()method on policies classes (#21989) - Detect lost pgbouncer connections (#21988)
Fixed
- Fixed
BroadcastControllernamespace issue (#21844) - Fixed eager loading
HasManyThroughrelations with custom intermediate and local key (#21902) - Use table aliases when calling self-referencing
HasManyThroughrelation (#21883) - Fixed Vue component file name in React present (#21945)
- Reverted changes to
BadMethodExceptionin #20196 (#21929)
v5.5.19
Added
- Added
MakesHttpRequests::followingRedirects()method (#21771) - Added
MakesHttpRequests::from()method (#21788) - Added
notifyNow()method to notifiables (#21795) - Added
TestResponse::assertCookieExpired()method (#21793) - Added
TestResponse::assertCookieMissing()method (#21803)
Changed
- Allow the distinct validation rule to optionally ignore case (#21757)
Fixed
v5.5.18
Added
- Made
Redirectormacroable (#21714)
Changed
- Prevent reloading default relationships while lazy eager-loading (#21710)
- Don't reload pivot relationship on refresh (#21713)
- Unify Vue.js preset (#21711, #21724)
- Revert multibyte functions in
Str(#21722) - Remove hardcoded fields in DatabaseUserProvider (#21749)
Fixed
- Don't recreate the SQLite database file in
refreshDatabaseFile()(#21720)
v5.5.17
v5.5.16
v5.5.15
Added
- Added missing PostgreSQL network address operators (#21518)
- Added raw and same-site parameters to
cookie()helper (#21551) - Added option to create pivot model to
make:modelcommand (#21549) - Added support for a
failed()method to mailables and notifications (#21585) - Added
__toStringonViewErrorBag(#21605) - Support higher order call of
keyBy()(#21606) - Generate
@else*directives forBlade::if()(#21611) - Made
ResponseandJsonResponsemacroable (#21669)
Changed
- Escape HTML characters in
@jsondirective (#21574) - Only accept strings in
Session::flash()(#21576) - Use message from
AuthenticationExceptioninHandler::unauthenticated()(#21575) - Don't use global scope while touching parent timestamp (#21604)
- Accept multiple middleware when defining middleware fluently (#21621)
- Bind
trueas1while preparing an SQL statement (#21623) - Ensure config load order across multiple installations (#21634)
- Pass previous exception to
AccessDeniedHttpExceptionandHttpException(#21645) - Unify Bootstrap preset (#21686, #21685)