Έκδοση του Laravel: 5.7.0
Κατάσταση:
Δεν λαμβάνει διορθώσεις σφαλμάτων ή ασφάλειας
Σύσταση:
Αναβαθμιστείτε σε μία έκδοση που υποστηρίζει τουλάχιστον ενημερώσεις ασφάλειας όσο το δυνατόν συντομότερα!
Η μικρότερη έκδοση που εξακολουθεί να λαμβάνει επιδιορθώσεις ασφάλειας είναι η: 10
Για αναβάθμιση, ακολουθήστε τις οδηγίες της τεκμηρίωσης ή χρησιμοποιήστε το Laravel Shift για αυτόματη αναβάθμιση.
Τελευταία Patch Έκδοση:
Κύρια έκδοση | Ημ/νία κυκλοφορίας | Διορθ. σφαλμάτων έως | Διορθ. Ασφάλειας Εώς | PHP Versions | Κατάσταση |
---|---|---|---|---|---|
5.7 | 4 Σεπτεμβρίου 2018 | 4 Μαρτίου 2019 | 4 Σεπτεμβρίου 2019 | 7.1, 7.2, 7.3, 7.4? |
EOL
|
Releases
No changelog available.
v5.7.28 (2019-02-26)
Added
Changed
- Update vue preset to exclude
@babel/preset-react
(#27645) - Reflash the session for the broadcasting auth call (#27647)
- Improving readability in
AuthenticateWithBasicAuth
Middleware (#27661) - Use safe container getter on
Pipeline
(#27648)
Fixed
v5.7.26 (2019-02-12)
Added
- Added
Illuminate\Pipeline\Pipeline::thenReturn()
(#27429) - Added
Illuminate\Cache\TaggedCache::getTags()
(#27445) - Added
Illuminate\Http\ResponseTrait::getCallback()
(#27464) - Added license file to each component (9e57e8b)
- Added
Model::withoutEvents()
method (#27419, 5c5d6b2)
Reverted
- Revert of "Fixed wrong class being used when eager loading nullable
MorphTo
withwithDefault()
(#27411)"(9bbf644)
Changed
v5.7.25 (2019-02-05)
Added
- Allowed specifying custom translation for date relative messages (#27341)
- Add computed support to SQL Server schema grammar (#27346, 1c74d7f)
- Allowed
ENV
to control paths ofcache files
forservices
,packages
androutes
(#27389)
Fixed
- Fixed
BelongsToMany
pivot relationship child with loaded relations wakeup (#27358) - Fixed wrong class being used when eager loading nullable
MorphTo
withwithDefault()
(#27411)
Changed
- Removed
php_network_getaddresses: getaddrinfo failed: Name or service not known
inDetectsLostConnections
trait (#27418)
v5.7.23 (2019-01-29)
Added
- Added
AbstractPaginator::getOptions()
method (#27273) - Added
Communication link failure
toDetectsLostConnections
trait (#27307) - Added
orWhere()
proxy
forscopes
toEloquentBuilder
(#27281, 2e6fe85) - Allow the
app path
to be configured (#27332, d73e672) - Added config for using
WhatFailureGroupHandler
whenStackDriver
created for Logger (#27308 ,6a92651)
Fixed
- Fixed
QueueableCollection
serialization of Eloquent Models when usingBinary IDs
(#27271) - Replaced
newModelQuery()
withnewQueryWithoutRelationships()
forUPDATE
/DELETE
queries (#27277)
Changed
v5.7.22 (2019-01-22)
Fixed
- Fixed
TestResponse::assertJsonValidationErrors()
when there are no errors (#27190)
Changed
v5.7.21 (2019-01-15)
Fixed
- Fixed
Blueprint::removeColumn()
(#27115, #27122) - Fixed allowing of null broadcast connection driver (#27135)
- Fixed
ModelMakeCommand::handle()
should always returnbool
value (#27156) - Fixed
TestResponse::assertSessionDoesntHaveErrors()
when there is no errors (#27145) - Fixed default message is localization twice in
403.blade.php
error page (4a08120)
Changed
v5.7.20 (2019-01-08)
Added
- Added
chunkById
support in relations (#26919) - Added
Collection::whereNotBetween
method (#27028) - Allowed predefined log channels to change formatter from config (#26895)
- Allowed storage assertions (
FilesystemAdapter::assertExists
/FilesystemAdapter::assertMissing
) to handle multiple files at once (#26975) - Added
Adaptive Server connection failed
toDetectsLostConnections
trait (#27055) - Added
Route::originalParameters()
(#27056) - Added
QueueFake::pushedJobs()
(#27089, 695ffa1)
Fixed
- Prevents unnecessary queries when lazy loading empty relationships (#26992)
- Fixed broken
Command::setHidden
method (#27005) - Fixed
Str::slug
method (#27002) - Ignore
--seed
option forartisan migrate --pretend
(#27015) - Fixed
previousUrl
in the session if the call isprefetch
(#27017) - Fixed nullable
MorphTo
touching (#27031) - Fixed
Collection::loadMissing()
with duplicate relation names (#27040) - Fixed some commands (#27020)
- Ensured the command
context
is forwarded to calls (#27012, #27065) - Fixed
Collection::loadMorph()
issue relations loading issue (#27081)
Changed
- Removed
HasOneOrMany::update()
sinceBuilder::update()
already adds theUPDATED_AT
timestamp. (#27026) - Changed
Name or service not known
tophp_network_getaddresses: getaddrinfo failed: Name or service not known
inDetectsLostConnections
trait (#27054, 5459ac1) - Changed Eloquent
ApiResource merge()
methods to acceptJsonResource
object (#27068) - Stop email re-verification with same link (#27070)
v5.7.19 (2018-12-18)
Added
- Added
Illuminate\Support\Collection::whereBetween
method (#26888)
Fixed
- Reverted changes related to
app()->call()
(fefaf46) - Reset doctrineConnection property on Database/Connection when reconnecting (#26890)
v5.7.18 (2018-12-17)
Added
- Added missing
starts_with
validation message (#26822) - Added
Facade::resolved()
method to register pending callback until the service is available. (#26824) - Added env var
APP_CONFIG_CACHE
to control cache config path (578bc83)
Changed
- Changed
TransportManager::createMailDriver
(#26846)
Fixed
- Fixed of using
illuminate/mail
outside of Laravel with driver log (#26842) - Fixed some bugs for
app()->call()
(#26852) - Added workaround for PHP-bug related to incorrect variable values when Opcache enabled in PHP v 7.3.0 (36d3436)
v5.7.17 (2018-12-12)
Added
- Added
Database\Query\Builder::insertUsing
method (#26732, 8216b46) - Added
Database\Query\Builder::havingBetween
method (#26758) - Added
Packets out of order. Expected
string toDetectsLostConnections
trait (#26760) - Added
NOT VALID
option for skipping validation when adding postgres foreign keys (#26775)
Fixed
v5.7.16 (2018-12-05)
Added
- Added localization for
403.blade.php
and503.blade.php
(#26751) - Changing the Migrator to accept not only migration directory paths, but migration file paths too (#26642, c4b13bf)
Fixed
- Fixed self-referencing HasManyThrough existence queries (#26662)
- Fixed HasManyThrough existence queries with same parent and through parent table (#26676)
- Fixed breaking eager loading with "incrementing" string keys (#26688)
- Remove the Register
<li>
when the route doesn't exist inapp.stub
(#26708) - Fixed
Collection::some
method (#26696) - Revert breaking change in
TestResponse::decodeResponseJson
method (#26713) - Fixed
PhpRedisConnection::mget
(#26716) - Fixed
Eloquent\Collection::loadCount
attribute syncing (#26714) - Fixed
Illuminate\Foundation\Testing\Concerns\InteractsWithDatabase::seed
for array accepting (#26734) - Fixed
FormRequest
validation triggering twice (#26731)
Changed
- Changed markdown on auth stub view (
Auth/Console/stubs/make/views/auth/login.stub
) (#26648) - Moved Slack and Nexmo notification channels to the own packages
laravel/nexmo-notification-channel
,laravel/slack-notification-channel
(#26689, #26727)
Deprecated
$cachedSchema
property inUrlGenerator
is deprecated. Will be renamed to the$cachedScheme
in 5.8 (#26640)
v5.7.15 (2018-11-26)
Added
- Added
date_equals
validation message (#26584) - Added
starts_with
validation rule (#26612) - Added relationship getters
BelongsToMany::getParentKeyName
,BelongsToMany::getRelatedKeyName
,HasManyThrough::getFirstKeyName
,HasManyThrough::getForeignKeyName
,HasManyThrough::getSecondLocalKeyName
,HasOneOrMany::getLocalKeyName
,MorphToMany::getInverse
(#26607) - Make
ResourceCollection
countable (#26595)
Fixed
v5.7.14 (2018-11-21)
Added
- Added
Macroable
trait toIlluminate\Cookie\CookieJar
(#26445) - Added ability to disable password reset route (#26459)
- Added ability to publish error views (#26460)
- Added ability to set notifcation tries and timeout (#26493)
- Added
mail.log_channel
config for makelog
for mail driver configurable (#26510) - Allowed
asset
root urls to be configurable viaapp.asset_url
(9172a67) - Added
Error while sending QUERY packet
string toDetectsLostConnections
trait (#26233) - Added env override for running in console (a36906a, 19f2245)
Fixed
- Fixed
UNION
aggregate queries with columns (#26466) - Allowed migration table name to be guessed without
_table
suffix (#26429) - Fixed
TestResponse::assertExactJson
for empty JSON objects (#26353, e6ebc8d, 621d91d, #26508) - Fixed cache repository for PHP from 7.2.12v (#26495)
- Fixed user authorization check for Email Verification (#26528)
- Fixed nested JOINs on SQLite (#26567)
Changed
- Improved eager loading performance (#26434, #26453, 3992140, #26471, a3738cf, #26531)
- Adjusted
mix
missing asset exceptions (#26431) - Used
asset
helper to generate full path urls in exception views (#26411) - Changed
Illuminate\Foundation\Testing\Concerns\MocksApplicationServices::withoutJobs
method (#26437) - Cached
distinct
validation rule data (#26509) - Improved DNS Prefetching in view files (#26552)
v5.7.13 (2018-11-07)
Added
- Added ability to return an array of messages in a custom validation rule (#26327)
- Added
whenEmpty
/whenNotEmpty
/unlessEmpty
/unlessNotEmpty
methods toCollection
(#26345) - Added
Illuminate\Support\Collection::some
method (#26376, 8f7e647) - Added
Illuminate\Cache\Repository::missing
method (#26351) - Added
Macroable
trait toIlluminate\View\Factory
(#26361) - Added support for UNION aggregate queries (#26365)
Changed
- Updated
AbstractPaginator::appends
to handle null (#26326) - Added "guzzlehttp/guzzle": "^6.3", to
composer.json
(#26328) - Showed exception message on 403 error page when message is available (#26356)
- Don't run TransformsRequest twice on ?query= parameters (#26366)
- Added missing logging options to slack log driver (#26360)
- Use cascade when truncating table in PostgreSQL (#26389)
- Allowed pass absolute parameter in has valid signature request macro (#26397)
Changed realization
- Used
Request::validate
macro in Auth traits (#26314)
v5.7.12 (2018-10-30)
Added
- Added
CacheManager::forgetDriver
method (#26264, fd9ef49) - Added
Illuminate\Foundation\Http\Kernel::getMiddlewareGroups
method (#26268) - Added an sqlite config option (
foreign_key_constraints
) to enable / disable foreign key constraints (#26298, 674f8be, #26306)
Fixed
- Checked
$absolute
parameter inUrlGenerator::signedRoute
(#26265) - Fixed error in resource building after running
php artisan preset none
command (41becda, #26244) - Fixed
whereDoesntHave()
anddoesntHave()
with nested relationships (#26228) - Fixed filesystem locking hangs in
PackageManifest::build()
(#26254)
Changed
- Made expectation closure optional for
InteractsWithContainer::mock
andInteractsWithContainer::spy
(#26242) - Allowed multiple
createPayloadCallback
on queues (#26250, 6e3d568) - Changed wording on default 403 view (#26258)
- Bump
vue.js
to^2.5.17
inartisan preset vue
command (89f56bf, #26244) - Allowed adding additional
$manyMethods
when extending the model class (#26307)
v5.7.11 (2018-10-24)
Added
- Added
decimal:<num>
cast to Model (#26173) - Allowed updateExistingPivot to receive an arrayable item (#26167)
- Added
setIntendedUrl
method toRouting/Redirector.php
(#26227) - Added
ORA-03114
string toDetectsLostConnections
trait (#26233)
Fixed
- Fixed an issue where the worker process would not be killed by the listener when the timeout is exceeded (#25981)
Changed
v5.7.10 (2018-10-23)
Added
- Added loadCount method to eloquent collections (#25997)
- Added support for identity columns in PostgreSQL 10+ (#26096)
- Allowed passing a model instance directly to
assertSoftDeleted
method inFoundation/Testing/Concerns/InteractsWithDatabase.php
(#26133 , #26148) - Added possibility to define exclude methods on registered
apiResource
(#26149) - Added
filp/whoops
tosuggest
incomposer.json
(#26180) - Added
mock
andspy
methods toFoundation/Testing/Concerns/InteractsWithContainer.php
(#26171, b50f9f3) - Added
uuid
validation rule to validator (#26135) - NotificationFake can assert preferred locale (#26205)
Fixed
- Fixed
whereHas
and$withCount
bindings frompolymorphic relationships
(#26145) - Fixed
getTable
method in Model (#26085) - Fixed filesystem locking hangs in
PackageManifest::build()
(#26010, 98b8256) - Fixed
Illuminate/Http/Testing/File.php
for Symfony 4.1 components (#26080) - Fixed URL in
Notifications/resources/views/email.blade.php
(22ca105) - Fixed
hasValidSignature
method when someone send anull
signature inUrlGenerator.php
(#26132) - Fixed autocomplete for container in ServiceProvider for cases when someone developed packages (#26063)
- Fixed
ColumnDefinition::default
typehint (#26041)
Changed
- Define mix as const in
react-stubs/webpack.mix.js
andvue-stubs/webpack.mix.js
presets (#26119) - Make
assertSessionHasNoErrors
inTestResponse.php
print the unexpected errors (#26039, e6bdf8a) - Replaced the remaining occurrences of
newQuery()
tonewModelQuery()
in UPDATE/DELETE queries. (#26158) - Improved
findOrFail()
exceptions inBelongsToMany.php
andHasManyThrough.php
relations (#26182)
Changed realization
- Reversed ternary condition in
Arr::wrap
to make it clearer (#26150) - Simplified
formatAction
inUrlGenerator.php
(#26121) - Simplified
isChainOfObjects
method inSupport/Testing/Fakes/QueueFake.php
(#26151) - Deleted unneeded code (#26053, #26162, #26160, #26159, #26152)
- Prefer stricter comparison (#26139, #26157)
- Removed duplicated code from
Router::updateGroupStack
method (#26206, 6debff6)
v5.7.9 (2018-10-09)
Added
- Support custom user provider names in generator commands (#25681)
- Added 401 Exception view (#26002)
- Added
Categorical imperative
quote toInspiring.php
(#25968) - Mailable
render
method respectsMailable@locale
property (#25990) - Added some meta data to the notification mails (477273c)
- Added
Macroable
trait toPendingResourceRegistration
(#25947) - Added
assertSessionDoesntHaveErrors
method toTestResponse.php
(#25949, 3005706) - Enable passing options to custom presets (#25930)
Fixed
Changed
- Improved PSR-11 implementation (#25870)
- Changed the sentence of error 403 view from unauthorised to forbidden (#26002)
- Revert email lang template changes (#25963)
- Added model checking in
assertViewHas
(#26012)
Changed realization
- Inline
Arr::pluck()
indata_get()
(#25938)
v5.7.8 (2018-10-04)
Added
- Add
--step
tomigrate:fresh
command (#25897) - Allow
destroy
method inModel
to accept a collection of ids (#25878) - Add AsPivot trait (#25851)
Fixed
- Fixed wrap table for sql server (#25896)
Changed
- Use "optimize:clear" in "app:name" command (#25922)
- Revert of "html string support in translator" (e626ab32a4afec90f80641fbcd00e6b79d15cd3a)
Changed (only realization)
- Simplify code for contextual binding (e2476c1cdfeffd1c4432ec8dc1f733815f70c000)
v5.7.7 (2018-10-02)
Added
- Allow array callables to be passed to Gate::before() (#25817)
- Mail recipient and notifiable can set preferred locale (#25752)
- Always show seeder info (#25872)
- Support JSON UPDATE queries on PostgreSQL (#25797)
- Makes sure changing a database field to JSON does not include a collation (#25741)
- Added Queued Closures (#25777)
- Add the ability to skip algorithm checking (#25468, 5fd4b899cc42d266fab34ee2d5f92fb47ca34fd0)
- Add queue create payload hook (3f68cbe3df82990c69e34309901fcefefdb65c95)
- Authorize Middleware Accept String Parameters (#25763)
Fixed
- Fix
each
method on BelongsToMany relationships (#25832) - Fix prefixed table indexes (#25867)
- Fix
be
method inInteractsWithAuthentication
trait (#25873) - Fixes the error when $resource is null (#25838)
- Attach all disk attachments and not only first one in the
Mail/Mailable.php
(#25793) - Fixed: in case if one job throw exception, than we will proceed to next one (#25820)
Changed
- Trim model class name when passing in
Authorize.php
middleware (#25849) - Improve JSON UPDATE queries on MySQL (#25794)
- Don't print the generated application key (#25802)
- Improve "exists" validation with array values (#25819)
- Only escape trans parameters (98046cb0c81b418fb4046ade034f3d33a4172239)
- Added type check for assertExitCode(0) (#25847)
Changed (only realization)
- Simplify
save
methodMorphOneOrMany
relation (#25864)
v5.7.6 (2018-09-25)
Added
- Support MorphTo eager loading with selected columns (#25662)
- Added possibility to define a complex condition (overwrite
shouldAddXsrfTokenCookie
method) for add cookie to response inMiddleware/VerifyCsrfToken.php
Fixed
- Fixed tag cache clearing when using Redis (#25744)
- Fixed broken email subcopy template escaping (#25723)
- Fixed MethodNotAllowedHTTPException on Intended Redirect (#25739)
Changed
- Use url() function instead of plain url in
views/illustrated-layout.blade.php
(25725)
v5.7.5 (2018-09-20)
Added
- Add callback hook for building mailable data in
\Illuminate\Mail\Mailable
(7dc3d8d35ad8bcd3b18334a44320e3162b9f6dc1)
Fixed
- Make any column searchable with
like
in PostgreSQL (#25698) - Remove trailing newline from hot url in
mix
helper (#25699)
Changed
- Revert of "Remove
Hash::check()
for password verification" (2e78bf472832cd68ef7d80c73dbb722a62ee1429)
No changelog available.
No changelog available.
No changelog available.
No changelog available.
No changelog available.