- Update dependency laravel/framework to v11.31.0 [SECURITY] #393
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
11.27.2
->11.31.0
GitHub Vulnerability Alerts
CVE-2024-52301
Description
When the
register_argc_argv php
directive is set toon
, and users call any URL with a special crafted query string, they are able to change the environment used by the framework when handling the request.Resolution
The framework now ignores argv values for environment detection on non-cli SAPIs.
Release Notes
laravel/framework (laravel/framework)
v11.31.0
Compare Source
useCascadeTruncate
method forPostgresGrammar
by @korkoshko in https://github.com/laravel/framework/pull/53343URL::forceHttps()
to enforce HTTPS scheme for URLs by @dasundev in https://github.com/laravel/framework/pull/53381whereFullText
case consistency by @parth391 in https://github.com/laravel/framework/pull/53395HasFactory
trait tomake:model
generation command using--all
options by @adel007gh in https://github.com/laravel/framework/pull/53391Mail::build
by @stevebauman in https://github.com/laravel/framework/pull/53411AddLinkHeadersForPreloadedAssets
middleware by @jnoordsij in https://github.com/laravel/framework/pull/53463DB::build
method by @stevebauman in https://github.com/laravel/framework/pull/53464Cache::build
by @stevebauman in https://github.com/laravel/framework/pull/53454v11.30.0
Compare Source
$bind
parameter toBlade::directive
by @hossein-zare in https://github.com/laravel/framework/pull/53279trans_choice()
when translation replacement include|
separator by @crynobone in https://github.com/laravel/framework/pull/53331exists()
instead ofcount()
by @browner12 in https://github.com/laravel/framework/pull/53328vector
Column Type by @akr4m in https://github.com/laravel/framework/pull/53316dropColumnsIfExists
,dropColumnIfExists
anddropForeignIfExists
by @eusonlito in https://github.com/laravel/framework/pull/53305dropColumnsIfExists
,dropColumnIfExists
anddropForeignIfExists
" by @taylorotwell in https://github.com/laravel/framework/pull/53338HasUniqueStringIds
by @cosmastech in https://github.com/laravel/framework/pull/53280v11.29.0
Compare Source
Js::from(collect());
by @crynobone in https://github.com/laravel/framework/pull/53206castAsJson()
on non default db connection during test by @crynobone in https://github.com/laravel/framework/pull/53256waitUntil
method toProcess
by @xurshudyan in https://github.com/laravel/framework/pull/53236$previousLCurrency
to$previousCurrency
for clarity and consistency by @mdariftiens in https://github.com/laravel/framework/pull/53261v11.28.1
Compare Source
ViewMakeCommand
by @GrahamCampbell in https://github.com/laravel/framework/pull/53174PHP_CLI_SERVER_WORKERS
on Windows environment by @crynobone in https://github.com/laravel/framework/pull/53178enum_value()
function instead of only empty string by @crynobone in https://github.com/laravel/framework/pull/53181v11.28.0
Compare Source
null
as default cursor value for PHP Redis by @jayan-blutui in https://github.com/laravel/framework/pull/53095Illuminate\Support\enum_value
to resolveBackedEnum
orUnitEnum
to scalar by @crynobone in https://github.com/laravel/framework/pull/53096throw_if
andthrow_unless
to reflect actual behavior with "falsey" values by @crishoj in https://github.com/laravel/framework/pull/53154where
with array respects boolean by @timacdonald in https://github.com/laravel/framework/pull/53147throw_*
helpers by @crishoj in https://github.com/laravel/framework/pull/53164ProcessPoolResults
by @Riley19280 in https://github.com/laravel/framework/pull/53160Configuration
📅 Schedule: Branch creation - "" in timezone Europe/Warsaw, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.