Categories
Security & Updates

Laravel Update 4.0.8 released

Laravel 4.0.8 fix issues that have been found in the last version. 

Laravel logo - Miami Hoster domains, hosting and websitesLaravel is a clean and classy framework for PHP web development. Freeing you from spaghetti code, Laravel helps you create wonderful applications using simple, expressive syntax.

Development should be a creative experience that you enjoy, not something that is painful. Enjoy the fresh air.

 

Changes Details

  • Added implode method to query builder and Collection class.
  • Fixed bug that caused Model->push method to fail.
  • Make session cookie HttpOnly by default.
  • Added mail.pretend configuration option.
  • Query elapsed time is now reported as float instead of string.
  • Added Model::query method for generating an empty query builder.
  • The @yield Blade directive now accepts a default value as the second argument.
  • Fixed bug causing null to be passed to auth.logout event.
  • Added polyfill for array_column forward compatibility.
  • Passing NULL to validator exists rule as extra condition will do where null check.
  • Auth::extend Closures should only return UserProviderInterface implementations.
  • Make it easier to extend the Request class.
  • Transparent support for APCu cache via ‘apc’ driver.
  • Add morphs short-cut for adding polymorphic schema columns.
  • Namespaces are now excluded from guessed model names.
  • Added new –command option to command:make Artisan command.
  • Added mediumText and longText to schema builder.
  • Added support for macros on the Response class.
  • Added support for view creators in addition to composers.
  • Allow App::down to be bypassed if the event returns null.
  • Added Request::format function to get human-readable expected Response format.
  • Allow array sizes to be checked by validator.
  • Added support for where conditions on unique validation rule.
  • Restore method on Eloquent models now fires restoring and restored events.
  • Fixed re-population of radio buttons and checkboxes in FormBuilder.
  • Postgres ENUMs are now more truly implemented using ‘check’ constraints.
  • Added selectMonth and selectYear to FormBuilder.
  • Fix container resolution of default values for non-scalar dependencies.
  • Allow optional path to be specified with calling _path helpers.
  • Emulate nested transactions in the database connection layer.
  • Added new appends property to Eloquent for adding to arrays and JSON.
  • Allow connection to be configurable when using Redis based sessions.
  • Allow passing DateTime objects to Queue::later.
  • Added Queue::bulk method for pushing several jobs out at once.
  • Added ‘dates’ property to Eloquent model for convenient setting of date columns.
  • Added ‘chunk’ method to query builder and Eloquent for doing work on large result sets.
  • Facades are now mockable without an application root.
  • Data may now be dynamically bound to views via magic methods.
  • Added support for XCache cache driver.
  • Added ‘env’ command to get current environment.
  • Added new –path and –name options to ‘routes’ Artisan command.
  • Implement JSONable and Arrayable interfaces on Paginator.
  • Foreign characters now supported in validation ‘alpha’ rules.
  • Added ‘prepend’ method to Filesystem.
  • Added ‘reduce’ collection to Collection, and ‘min’ and ‘max’ to Eloquent Collection.
  • Added ‘firstOrCreate’ and ‘firstOrNew’ methods to Eloquent model.
  • Added Redirect::away method to always redirect to external URL with no validation.
  • Added ‘double’ method to Schema builder.
  • Pass keys to ‘map’ method on Collection.
  • Added ‘orderByRaw’ method to query builder.
  • Added –bench option to controller:make Artisan command.
  • Moved newPivot method into model for custom Pivot model instances.
  • Added ‘shared’ method to View to pull a single shared item out.
  • Added assertHasOldInput test assertion.
  • Added slick new ‘sometimes’ method to Validator for conditionally adding rules.
  • Added new ‘–sleep’ option to queue:listen command to control time between jobs.


[otw_is sidebar=otw-sidebar-8]

More Information

  • Hosted Laravel
    Contact us if you don’t need a domain or hosting service, but you want to use Laravel anyway.
[otw_is sidebar=otw-sidebar-7]