Laravel

https://github.com/laravel/laravel

Laravel 10 comes with a lot of changes to the base skeleton. Please consult the diff to see what's changed.

Changed

Changed

Changed

Added

Changed

Changed

Changed

Changed

Changed

Changed

Changed

Changed

Changed

Changed

Changed

Changed

Changed

Added

Changed

Changed

Added

Changed

Changed

Changed

Changed

Changed

Changed

Changed

Changed

Changed

Changed

Changed

Changed

Fixed

Changed

Changed

Fixed

Laravel 9 comes with a lot of changes to the base skeleton. Please consult the diff to see what's changed.

Changed

  • Fix alphabetical order (#5795)
  • Added missing full stop in required_array_keys validation rule (#5798)
  • Add validation language line (926c48e
  • Update the default Argon2 options (096638e)

Changed

  • Bump Laravel to v8.75 (#5750)
  • Simplify the maintenance file call (#5752)
  • Add enum translation (#5753)
  • Add mac_address validation message (#5754)

Removed

  • Delete web.config (#5744)

Changed

  • Improves generic types on the skeleton (#5740)
  • Add option to set sendmail path (#5741)

Fixed

  • Fix asset publishing if they were already published (#5734)

Changed

  • Order validation rules alphabetically (#5728)
  • Removes the Console\Kernel::$commands property (#5727)

Changed

  • Added declined and declined_if validation rules (#5723)
  • Should be identical with current sanctum config file (#5725)

Changed

  • Remove redundant tap() helper in index.php (#5719)
  • Add Js facade (399d435)

Changed

  • Guess database factory model by default (#5713)

Changed

  • Log deprecations instead of treating them as exceptions (#5711)

Changed

  • Add failover in supported mail configurations comment section (#5692)
  • Keeping access tokens migration id consistent (#5691)
  • Ensures downloaded version of Collision supports PHP 8.1 (#5697)

Fixed

  • Update lte and gte validation messages to have a grammatically parallel structure (#5699)

Changed

  • Dark mode auth links contrast (#5678)
  • Added prohibits validation message (#5681)

Changed

  • Add failover driver to default mail config file (#5672)

Added

Changed

  • Use new TrustProxies middleware (#5662)

Changed

  • Unified asset publishing (#5654)

Changed

  • Add RateLimiter facade alias (#5642)

Changed

  • Update validation language files (#5637, #5636)

Changed

  • Add translation for current_password rule (#5628)

Changed

  • Update skeleton for filesystem tweaks to make sail usage easier (c5d38d4)

Changed

Security

  • Bump framework version to include SQL server security fix (#5601)

Security

  • Target 1.16.15 of facade/ignition (#5544)
  • Bump framework version to include SQL server security fix (#5602)

Changed

  • Rename test methods (#5574)
  • Using faker method instead of properties (#5583)

Fixed

  • Ignore SQLite files generated on parallel testing (#5593)

Changed

  • Add prohibited validation rule (#5569)
  • Re-order composer.json (#5570)

Changed

  • Add language for prohibited_if and prohibited_unless validation rules (#5557)
  • Add date facade alias (#5556)

Fixed

  • Add log level config value to stderr channel (#5558)
  • Fix footer on mobile (#5561)

Changed

  • Use same default queue name for all drivers (#5549)
  • Standardise "must" and "may" language in validation (#5552)
  • Add missing 'after_commit' key to queue config (#5554)

Fixed

  • Added sans-serif as Fallback Font (#5543)
  • Don't trim current_password (#5546)

Fixed

  • Don't flash 'current_password' input (#5541)

Changed

  • Add "ably" in comment as a broadcast connection (#5531)
  • Add unverified state to UserFactory (#5533)
  • Update login wording (9a56a60)

Fixed

  • Fix dead link in web.config (#5528)

Removed

  • Delete docker-compose.yml (#5522)

Fixed

  • Update TrustProxies.php (#5514)

Changed

  • Update sail to the v1.0.1 (#5507)
  • Upgrade to Mix v6 (#5505)
  • Updated Axios (4de728e)

Added

Changed

  • Revert changes to env file (3b2ed46)

Changed

  • Gitignore docker-compose.override.yml (#5487
  • Update ENV vars to docker file (ddb26fb)

Changed

  • Disable TrustHosts middleware (b7cde8b)

Added

Changed

  • Revert change to QUEUE_CONNECTION (34368a4)

Added

Changed

  • Update env file for Sail (a895748)

Changed

  • Comment out Redis facade by default (612d166)
  • Uncomment TrustHosts middleware to enable it by default (#5477)

Removed

Added

Fixed

  • Add missing null cache driver in config/cache.php (#5472)

Changed

  • Add sanctum cookie endpoint to default cors paths (aa6d3660)
  • Modify the cache.php docblocks (#5468)
  • Add stub handler (4931af1)

Fixed

  • Closed @auth correctly (#5471)

Changed

Fixed

  • Lower Ignition constraint to allow PHP 7.2 installs (ff35597)

Changed

  • Bump several dependencies

Changed

  • Bumped some dependencies

Changed

  • Bumped several dependencies

Added

Changed

Fixed

  • Delete removed webpack flag (#5460)

Added

Changed

  • Bump minimum PHP version (#5452)
  • Update Faker (#5461)
  • Update minimum Laravel version (02ca853)

Fixed

  • Delete removed webpack flag (#5460)

Added

Changed

  • Bump minimum PHP version (#5452)
  • Update Faker (#5461)
  • Update minimum Laravel version (b8d5825)

Fixed

  • Delete removed webpack flag (#5460)
    

Added

  • Added 'LOG_LEVEL' env variable in .env.example (#5445)
  • Add 'multiple_of' translation (#5449)

Added

  • Added LOG_LEVEL env variable (#5442)

Changed

  • Type hint the middleware Request (#5438)

Changed

Changed

  • Fully qualified user model in seeder (#5406)
  • Update model path in AuthServiceProvider's policies (#5412)
  • Add commented code (69d0c50)

Fixed

  • Swap route order (292a5b2)
  • Fix route when uncomment $namespace (#5424)

Removed

  • Removed $namespace property (b33852e)

Changed

  • Re-add property to route service provider (9cbc381)

Laravel 8 comes with a lot of changes to the base skeleton. Please consult the diff to see what's changed.

Nothing specific.

Added

  • Add password reset migration (9e5ba57)

Changed

  • Bump fruitcake/laravel-cors (#5320)
  • Set framework version ^7.24 (#5370)

Changed

  • Set framework version to ^6.18.35 (#5369)
  • Bump lodash from 4.17.15 to 4.17.19 (f465c51)
  • Disable webpack-dev-server host check (#5288)

Added

  • Allow configuring the auth_mode for SMTP mail driver (#5293)
  • Add basic trust host middleware (5639581)

Fixed

  • Add both endpoint and url env variables (#5276)

Changed

  • Disable Telescope in PHPUnit (#5277)

Fixed

  • Add both endpoint and url env variables (#5276)

Added

  • Add serialize option to array cache config (#5244)
  • Add Mailgun and Postmark mailer (#5243)
  • Add new SQS queue suffix option (#5252)
  • Allow configuring the timeout for the smtp driver (#5262)

Changed

  • Cleanup session config (#5261)

Fixed

  • Ensure that app.debug is a bool (5ddbfb8)
  • Fix S3 endpoint url reference (#5267)
  • Update default CORS config (#5259)

Removed

  • Remove view.expires config entry (641fcfb)

Fixed

  • Ensure that app.debug is a bool (5ddbfb8)
  • Fix S3 endpoint url reference (#5267)

Added

Changed

Changed

  • Update cross-env and resolve-url-loader to the latest (#5210, #5216)
  • Bump fzaninotto/faker version to support PHP 7.4 (#5218)
  • Remove redundant default attributes from phpunit.xml (#5233)

Added

  • Allow configurable emergency logger (#5179)
  • Add MAIL_FROM_ADDRESS & MAIL_FROM_NAME to .env file (#5180)
  • Add missing full stop for some validation messages (#5205)

Changed

  • Use class name to be consistent with web middleware (140d4d9)
  • Use file session driver again (#5201)

Fixed

  • Correct exception handler doc (#5187)
  • Fix types consistency in Redis database config (#5191)

Security

  • Update laravel mix and sass loader (#5203)

Added

  • Add "none" to supported same site options in session config (#5174)

Changed

  • Rename encrypted to forceTLS for Pusher (#5159)
  • Use laravel/tinker v2 (#5161)
  • Use PHPUnit TestCase and in-memory DB (#5169)
  • DRY up path to /home (#5173)
  • Change some default settings (f48e2d5)

Fixed

  • Consistent alphabetical order (#5167)
  • Update redirectTo return type PHPDoc (#5175)

Changed

Changed

  • Add xml schema to phpunit (#5139)

Fixed

  • Fixes required version of the framework within composer.json (#5130)
  • Security fix: Waiting before retrying password reset (ace38c1, ba2f2ab, 953b488)

Added

Removed

  • Remove testing bootstrap extension (#5107)

Fixed

Changed

Fixed

  • Delete cached config file before running tests (#5091)
  • Update Argon memory (#5097)

Added

  • Add DYNAMODB_ENDPOINT to the cache config (#5034)
  • Added support for new redis URL property (#5037)
  • Add .env.backup to gitignore (#5046)
  • Using environment variable to set redis prefix (#5062)

Changed

  • Update axios package (#5038)
  • Use generic default db config (6f3d68f)
  • Update deprecated pusher option (#5058)
  • Move TrustProxies to highest priority (#5055)

Fixed

  • Fixed lodash version (#5060)

Removed

  • Remove Stripe config settings (#5075, bb43372)
  • Remove unnecessary X-CSRF-TOKEN header from our Axios instance (#5083)

Added

Added

  • Add ThrottleRequests to the priority array (#5057)
  • Add PHPUnit bootstrap file to allow execution of console commands before a test run (#5050, 8f2a278)
  • Add failed jobs table (b7d2b48, #5082)
  • Add new failed driver option (e6becd2)

Changed

  • Require PHP 7.2 (25cf4c4)
  • Encourage to use PHPUnit 8 (0582a20)
  • Use phpredis as default Redis client (#5085)

Removed

  • Remove services deleted from core (#5019)
  • Remove dumpserver (f053116)
  • Remove UI scaffolding (fc39b07)
  • Remove deprecated language line (#5074)

Added

  • Add ends_with validation message (#5020)

Fixed

  • Fix type hint for case of trusting all proxies (string) (#5025)

Added

  • Add IDE type-hint to UserFactory (#4990)
  • Update database config relating to Url addition (#5018, b0e0bdc)

Changed

  • Upgrade the collision dependency from v2 to v3 (#4963)
  • Ignore SQLite journals (#4971)
  • Prefix redis database connection by default (#4982, #4986, #4987)

Removed

  • Remove .navbar-laravel CSS class (65f8271)

Added

  • Add AWS S3 Bucket to .env.example (f84a69e)

Changed

Fixed

  • Comment out non-existing model class and policy example (f4ff4f4)
  • Only apply MySQL PDO options when extension exists (3001f3c)

Added

  • Added DynamoDB configuration (1be5e29)
  • Add env variable for mysql ssl cert (9180f64)
  • Add beanstalk queue block_for config key (#4913)
  • Add hash config param to api auth driver (d201c69)
  • Add postmark token (4574265)
  • Add Arr and Str aliases by default (#4951)

Changed

  • Change password min length to 8 (#4794)
  • Update UserFactory password (#4797)
  • Update AWS env variables (87667b2)
  • Update minimum PHPUnit version to 7.5 (7546842)
  • Replace string helper (fae44ee)
  • Use $_SERVER instead of $_ENV for PHPUnit (#4943)
  • Add REDIS_CLIENT env variable (ea7fc0b)
  • Use bigIncrements by default (#4946)

Fixed

  • Fix unterminated statements (#4952)

Removed

Added

  • Hint for lenient log stacks (#4918)
  • Attribute casting for email_verified_at on User model stub (#4930)

Changed

  • Remove unused Bootstrap class (#4917)
  • Change order of boot and register methods in service providers (#4921)
  • web.config comment to help debug issues (#4924)
  • Use Str::random() instead of str_random() (#4926)
  • Remove unnecessary link type on "welcome" view (#4935)

Added

  • Add language entry for starts_with rule (#4866)
  • Add env variable (e1b8847)

Changed

Fixed

  • Fixed mixed up comment order (#4867)

Added

  • Add asset url configuration option (63a4039)
  • Add log_channel configuration option (#4855)
  • Add env variable for compiled view path (5ea6fe1)
  • Use env superglobal (071a05b)
  • Add date_equals validation message (#4863)

Changed

  • Remove lodash dependency when auto registering Vue components (#4853)
  • Clean up auto register Vue components (#4854)
  • Normalize composer.json (#4856)
  • Update Kernel.php (#4861)
  • Change variable name (03ac80b)

Added

  • Adding papertrail log channel option (#4749)
  • Add missing Mailgun 'endpoint' option (#4752)
  • Add new Stripe webhook config values (#4803)
  • Add message for UUID validation rule (#4834)
  • Introduce sqlite foreign_key_constraints config option (#4838)
  • Auto register Vue components (#4843)

Changed

  • Updated QUEUE_DRIVER env var to QUEUE_CONNECTION in phpunit.xml (#4746)
  • Update VerificationController (#4756)
  • Seeded users should be verified by default (#4761)
  • Preserve colors (#4763)
  • Set logs to daily by default (#4767)
  • Change default days to 14 for daily channel (cd8dd76)
  • Check if register route is enabled (#4775)
  • Update lang attribute (#4781)
  • Changes the translation for "required_with_all" validation rule (#4782)
  • Update database config (#4783)
  • Removing double arrow alignments (#4830)
  • Update vue version to 2.5.17 (#4831)
  • Use env value for redis queue name (#4837)

Fixed

  • Update HttpKernel to use Authenticate middleware under App namespace (#4757)
  • Persist the /storage/framework/cache/data directory (#4760)
  • Make app path stream safe (#4777)
  • Use correct facade (#4780)
  • Revert #4744 (#4791)
  • Don't redirect for api calls (#4805)
  • Fix bad font size render on link (#4822)
  • Changed syntax for validation (#4820)
  • Fix running mix tasks error (#4832)

Removed

  • Remove X-UA-Compatible meta tag (#4748)

Added

  • Added email verification functionality (#4689)
  • Added customizable redirect on auth failure (a14e623)
  • Added possibility to make httpOnly CSRF cookie optional (#4692)
  • Added beyondcode/laravel-dump-server : ^1.0 to composer.json (ff99e2f, #4736)
  • Added argon2id support in hashing.php (28908d8)
  • Added SESSION_CONNECTION and SESSION_STORE env. variable (#4735)

Changed

  • Changed QUEUE_DRIVER env variable name to QUEUE_CONNECTION (c30adc8)
  • Use separate cache database for Redis (#4665)
  • Upgrade Lodash to ^4.17.5 (#4730)
  • Changed font to Nunito from Raleway (#4727)
  • Defined mix as const in webpack.mix.js (#4741)
  • Make Asset Directory Flattened (ff38d4e)

Fixed

  • Fixed pagination translation (#4744)

Added

  • Added Http/Middleware/CheckForMaintenanceMode.php (#4703)

Changed

  • Update font and colors in scss (6646ad7)
  • Changed message for alpha_dash validation rule (#4661)

Added

  • Added hashing configuration (#4613)
  • Added stderr example into config/logging.php (66f5757)
  • Added SES_REGION to local environment file (#4629)
  • Added messages for gt/lt/gte/lte validation rules (#4654)

Changed

  • Set bcrypt rounds using the hashing config (#4643)

Added

  • Added message for not_regex validation rule (#4602)
  • Added signed middleware alias for ValidateSignature (4369e91)
  • Added stderr example to config/logging.php (66f5757)

Changed

  • Set MAIL_DRIVER in phpunit.xml (#4607)

Removed

  • Removed "thanks" package (#4593)

Changed

  • Use Hash::make() in RegisterController (#4570)
  • Update Collision to 2.0 (#4581)

Removed

  • Removed Bootstrap 3 variables (#4572)

Added

  • Added filesystems.disks.s3.url config parameter (#4483)
  • Added queue.connections.redis.block_for config parameter (d6d0013)
  • Added Collision package (#4514)
  • Added SetCacheHeaders middleware to Kernel::$routeMiddleware (#4515)
  • Added hashing configuration file (bac7595)

Changed

Added

Changed

Added

  • Added -Indexes option in .htaccess (#4422)

Changed

  • Load session lifetime from env file (#4444)
  • Update mockery to 1.0 (#4458)
  • Generate cache prefix from APP_NAME (#4409)
  • Match AWS environment variable name with AWS defaults (#4470)
  • Don't show progress for production command (#4467)

Fixed

  • Fixed directive order in .htaccess (#4433)

Added

Changed

  • Refactored exception handler (too many commits)
  • Renamed ModelFactory.php to UserFactory.php to encourage separate files (67a8a11)
  • Use RefreshDatabase trait (a536402, #4373)
  • Use Composer's @php directive (#4278)
  • Use post-autoload-dump (2f4d726)
  • Try to build session cookie name from app name (#4305)

Fixed

  • Fixed Apache trailing slash redirect for subdirectory installs (#4344)

Removed

  • Dropped bootstrap/autoload.php (#4226, #4227, 100f71e)
  • Emptied $dontReport array on exception handler (758392c)
  • Removed TinkerServiceProvider (6db0f35)
  • Removed migrations from autoload classmap (#4340)

Changed

  • Simplified mix require (#4283)
  • Upgraded Laravel Mix to ^1.0 (#4294)
  • Upgraded axios and cross-env package (#4299)
  • Ignore Yarn error log (#4322)

Fixed

  • Use app()->getLocale() (#4282)
  • Use quotes in app.scss (#4287)

Added

Changed

  • Switch to using meta
  • Use CSRF token from meta tag, instead of window.Laravel object (#4260)
  • Log console error if CSRF token cannot be found (1155245)

Fixed

  • Added missing ipv4 and ipv6 validation messages (#4261)

Added

  • Added FILESYSTEM_DRIVER and FILESYSTEM_CLOUD environment variables (#4236)

Changed

  • Use lowercase doctype (#4241)

Added

  • Added optimize-autoloader to config in composer.json (#4189)
  • Added .vagrant directory to .gitignore (#4191)
  • Added npm run development and npm run prod commands (#4190, #4193)
  • Added APP_NAME environment variable (#4204)

Changed

  • Changed Laravel Mix version to 0.* (#4188)
  • Add to axios defaults instead of overwriting them (#4208)
  • Added string validation rule to RegisterController (#4212)
  • Moved Vue inclusion from bootstrap.js to app.js (17ec5c5)
  • Only load libraries if present (d905b2e)
  • Ignore the NPM debug log (#4232)
  • Use fluent middleware definition in LoginController (#4229)

Added

  • Added unix_socket to mysql in config/database.php ()#4179)
  • Added Pusher example code to bootstrap.js (31c2623)

Changed

  • Use smtp.mailtrap.io as default MAIL_HOST (#4182)
  • Use resource_path() in config/view.php (#4165)
  • Use cross-env binary (#4167)

Removed

  • Remove index from password reset token column (#4180)