Skip to content

Releases: leroy-merlin-br/mongolid

Mongolid v3.7

23 Oct 12:57
b6ddd93
Compare
Choose a tag to compare
  • Add support for DateTime casts
  • Add fresh() method to reload instances from database

Mongolid v3.6

28 Aug 20:25
cd3cbce
Compare
Choose a tag to compare

Add soft delete feature.

Mongolid v3.5

11 Aug 20:15
47b77c2
Compare
Choose a tag to compare

Add support to PHP 8.0, Illuminate 9.x and 10.x and MongoDB 5.0. Drop support to PHP 7.x, Illuminate 5.x, 6.x, 7.x and 8.x, and MongoDB 3.6.

Mongolid v3.4

21 Dec 12:21
d0ede8b
Compare
Choose a tag to compare

Adds support to PHP 8.1.

Mongolid v3.3-beta2

17 Oct 14:57
ef24af9
Compare
Choose a tag to compare

Attempts to get the document from cache on the referenced objects only if the cacheable parameter is true.

Mongolid v3.2.0

20 Sep 18:19
09f282f
Compare
Choose a tag to compare

Adds support to PHP versions: 7.3, 7.4, 8.0 and 8.1.

What's Changed

  • chore(ci): add php versions 8.0 and 8.1 #179

Mongolid v3.1.1 - fix

14 Sep 20:49
6d00304
Compare
Choose a tag to compare

This release fixes a bug on setup configuration Connection/Manager.

What's Changed

Full Changelog: v3.1.0...v3.1.1

Mongolid v3.1.0

13 Jul 18:31
5b19969
Compare
Choose a tag to compare

About the new release

In this release we've made some upgrades in order to provide some improvements such as better usability, better implementation and a clearer and better documentation of this ODM.

Please find below a brief summary of the main change in this release

In case you have doubts or you just want to know more details, check the documentation


Fill method

Now you can mass assign attributes using the fill static method:

$post = new Post();
$post = $post->fill(['title' => 'Bacon'], $post);
// or
$post = Post::fill(['title' => 'Bacon'], $post);

Mongolid V4

18 Feb 12:23
40a59e1
Compare
Choose a tag to compare
Mongolid V4 Pre-release
Pre-release

A long time ago, we decided that we want to create a new version for Mongolid. With a better and updated documentation, removing some misconceptions and adding new features that was nice to see on Laravel's Eloquent.

We managed to create a version 3, but we could not document it, and we could not test on our scenario (in Leroy Merlin) and the fear of a breaking change stopped us to use it.

So, we decided that we want to use new (v3) Mongolid features, but in baby steps.

That's why we are "jumping" one version to use on production right away.

Upgrades MongoDB Version to 4.2

15 Feb 14:37
50c637d
Compare
Choose a tag to compare

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.