github mongodb/laravel-mongodb 4.1.0

latest releases: 5.1.0, 5.0.2, 5.0.1...
11 months ago

The PHP team is happy to announce that version 4.1.0 of the MongoDB integration for Laravel is now available.

Release Highlights

  • The Laravel version requirement is increased to 10.30.0 to remove some backward compatibility code (#2665) with the help from @Treggats
  • Support for MorphToMany relationships is added (#2670) and polished so that it works with both MongoDB and hybrid models (#2688 and #2690) by @hans-thomas
  • Casting of various types is improved (#2658, #2653) by @hans-thomas
  • A new method Connection::ping() is added to check the connection to the server (#2677) by @hans-thomas
  • Pagination for groupBy queries is supported (#2672) by @GromNaN
  • Fields can be renamed in migrations (#2682) by @hans-thomas

A complete list of resolved issues in this release may be found in the changelog.

Documentation

Documentation for this library may be found in the Readme.

Installation

This library may be installed or upgraded with:

composer require mongodb/laravel-mongodb:4.1.0

Installation instructions for the mongodb extension may be found in the PHP.net documentation.

New Contributors

Full Changelog: 4.0.2...4.1.0

Don't miss a new laravel-mongodb release

NewReleases is sending notifications on new releases.