My Blog Posts

Laravel v5.8.29

Laravel v5.8.29


A remarkable feature in this release is a new feature for passing a series of columns to whereNull and whereNotNull. Here's how you should write these before.

$query->whereNull('id')->whereNull('expires_at');
$query->whereNotNull('id')->whereNotNull('expires_at');

This can be simplified:

$query->whereNull(['id', 'expires_at']);
$query->whereNotNull(['id', 'expires_at']);

See below for the full change journal at Laravel v5.8.29:

Added

  • WithFaker::makeFaker()Local app.faker_localeadded configuration usage ( # 29123 )
  • Added theme adjustment for mail notifications ( #29132 )
  • Added runtime for each transition to output ( #29149 )
  • Accept the array columns argument whereNullAnd whereNotNulladded opportunity to accept ( # 29154 )
  • Console\Scheduling\ManagesFrequencies::hourlyAt()integer array allowed to accept ( # 29173 )

Performance

  • Improved willing installation performance for morphto relationship ( #29129 )

Fixed

  • Fixed Builder::whereDay()And Builder::whereMonth()with raw expressions
  • Fixed DELETE queries with pseudonym in SQLite ( #29164 )
  • Losing the order passed in collections Fixed queue jobs using SerializesModels ( #29136 )
  • Fixed conditional binding for nested optional dependencies ( #29180 )
  • Fixed: The authenticator does not fail in the custom rule when the message is empty ( #29174 )
  • Fixed DELETE query connections ( #29165 )



Share this article


Comments (0)

Comment