Divine

Results 89 comments of Divine

@Smolevich this is related to this PR https://github.com/jenssegers/laravel-mongodb/pull/1523

There are two important breaking changes, I will try to explain the reason why we've decided and what should be done.

Auto-casting of ObjectID to string (or anything else) will be dropped, for a long time relations are having issues when parent key is ObjectID but related key is string. We...

Embedding relations will be dropped as well. We need to drop this completely, it has unknown bugs and never worked as expected. However, if you need it just stick with...

After reviewing a lot of code, I have found a few more things which I will try to explain in the next messages. I know, I could have just written...

Remove `shouldUseCollections` function (see [here](https://github.com/jenssegers/laravel-mongodb/blob/master/src/Jenssegers/Mongodb/Query/Builder.php#L139) ) which checks Laravel version > 5.3, it was introduced to support version 5.3 in https://github.com/jenssegers/laravel-mongodb/pull/925. There is no reason why we're still keeping this.

Remove support for keys in dot notation, it's a lot of custom code, do we really need this in the new version? Dropping this as well will help to manage...

Auto-casting of **UTCDateTime** to **Carbon** (and vice-versa) might be dropped, this is also an issue, we need to get rid of this. There is no reason why we should force...

Just writing this again, **Laravel 7** support will be **ONLY** for the next major release. We don't have any plans to support **Laravel 7** on the version **3.X** and **this...

> @divine So you are going to delay Laravel 7 support just because there are tasks that are not done for the new version? I think that's not a good...