Changes For Laravel 4.2.*

,
$php artisan changes

-> View and Pagination ‘Environment’ classes renamed to ‘Factory’.
-> Configurable encryption for Iron.io queue messages.
-> Make FrameGuard middleware opt-in.
-> Convert View ‘$errors’ shared variable into ViewErrorBag. Allows multiple bags per view. Should be backwards compatible.
-> Calling ‘create’ on a HasOne or HasMany relation will now use ‘fill’ method so mutators are executed on related model.
-> Use rawurldecode when decoding parameters in Route::parameters.
-> When date_format validation rule is used, before and after validation dates must match given format.
-> Added ability to register global Eloquent scopes using traits and addGlobalScope.
-> Soft deleting converted to use new global scope facilities.
-> Added ability to extend Eloquent Builder using ‘macro’ method.
-> Soft deleting models now use SoftDeletingTrait instead of softDelete property.
-> The queue:listen command will now write the names of the jobs it processes to the console.
-> Added Mailgun API transport for Mail::send. Depends on new ‘services’ configuration file.
-> Added Mandrill API transport for Mail::send. Depends on new ‘services’ configuration file.
-> Added ‘log’ mail transport for Mail::send. Writes raw MIME string to log files.
-> Added simplePaginate method to query and Eloquent builder.
-> Destructive migration operations now require confirmation or –force when being run in production.
-> Added Cache::pull method for retrieving a value and then deleting it.
-> Added Session::pull method for retrieving a value and then deleting it.
-> Added rel attribute to basic pagination links.
-> The ‘page’ query variable is now ignored when calling the paginator ‘appends’ method.
-> Empty arrays that are ‘required’ validate as false when empty.
-> Added –daemon option to the queue:work command.
-> Added convenient traits for authentication and password reminding.
-> Added ‘reject’ method to Collection.
-> Added ‘updateOrCreate’ method to Eloquent model.
-> Added ‘keyBy’ method to Collection.
-> Added ‘contains’ method to base Collection.
-> Allow ‘where’ route constraints to be passed in array definition of Route.
-> Properly support Route ‘where’ constraints on a Route group.
-> When ‘increment’ or ‘decrement’ is called on a single Model instance, the local attribute value is updated as well.
-> Automatically retry queries on database connections that have ‘gone away’.

B logbook : PHP | Javascript | Laravel | CodeIgniter | VueJs | ReactJs | WordPress

Translate »