Releases: leroy-merlin-br/mongolid-laravel
Upgrades MongoDB Version to 4.2
This release upgrades MongoDB Version to 4.2 and MongoDB Library to 1.8.0.
You will still continue to be able to use it with mongoDB 4.0 version or below.
Nothing really changed except the findOneAndUpdate
now returns an array instead of object.
Prevent mismatch class types on code styles checkers
As the second argument on create a instance of MongolidLaravel\MongolidUserProvider, expect a string class as a model to be initialized on createModel() method.
PSalm reclaim to be a instance of MongolidLaravel\MongoLidModel, cause this is declared on a __construct comment, this prevents a CI to complete the process due PSalm "think" be a implementation error.
Allow custom validation messages
v2.2.3 Merge pull request #128 from leroy-merlin-br/allow-custom-validation-…
Allow using output on migrations
Since the idea of Mongolid migrations is mainly to migrate data, now it is possible to interact with console output, using progress bars for example.
Migrations Support
Merge pull request #119 from leroy-merlin-br/migrations Migrations
Use singleton for Connection Pool
v2.0.3 Use singleton for Connection Pool
Implement second level in memory cache
Added:
#115 Second Level Cache
Avoid crashes if config is absent
If config is absent it will crashes in some Service Provider type hinting.
It become more evident in Laravel 5.5 auto discovery (#112), because Service Providers is loaded after composer require
and composer post scripts (like php artisan optimize
) crashes after all.