Releases: laravel-ardent/ardent
Auto-discovery removal
Given #312, auto-discovery was actually proved useless, and thus it was removed, together with the files it had shown as useless.
morphTo() fix and auto-discovery
v3.4.2: Leaving glocal scopes to be applied by Eloquent
Closes #245 and finally fixes #281 newQuery() is used to both create a Builder and apply scopes. This was being overridden so we could use our own Builder, but it brings more tasks inside the same overridden method. Thus, we now override newQueryWithoutScopes() that is indeed the main builder-instantiator, and leave scopes for Eloquent.
v3.4.1
fixing dead reference to old `$externalValidator`
Unique rules can now be safely used outside of the model
You can now use $model->buildUniqueExclusionRules()
in your FormRequest::rules()
for additional validation awesomeness.
HasManyThrough::localKey and unique rules for new models fixed
- [enh] added support for
HasManyThrough::localKey
- [bug] unique rules were being built with an empty ID clause when used for new models
Fixes memory issue (infinite loop) on plain find() calls
The issue is explained in #283. Thanks @paul-crashley :)
Save safely with unique rules
From this version on, the save()
method will always fix the unique rules (include the model ID on them) before validating.
Marking this version as stable since I'm using it for some weeks on Laravel 5 and found no upgrade issue.
We are back (again)! Laravel 5.1 support is here
- Finally pushing Laravel support up to 5.1 (#261 by @canfiax)
We are back! - relations, Laravel 4.2 and bugs
[new] Added support for multiple languages on standalone usage (#234, @Edilton)
[enh] Relationships were improved (untested, tho 😞)
- hasManyThrough
, morphToMany
and morphedByMany
were added (#232, @mklenk and @khaeransori)
- belongsTo
had 'relation' argument included, and 'localKey' renamed to 'otherKey', as Eloquent's original
- belongsTo
, morphOne
and morphMany
had 'localKey' argument included (#204, @gg4you and @MrAtiebatie)
[bug] custom rules using 'unique' now work (#231, #251 by @araines and @brandonocasey)
[bug] implicit table name won't break unique rules (#235, @lfbittencourt)
[bug] no object for validation messages won't cause errors (#225, @wemersonrv)
[bug] $relation
is not ignored anymore on belongsTo()
(#258, @samuel-cloete)
[bug] Fixed code that conflicted with new stuff on Laravel 4.2 (#211, #226, #221; @chriskonnertz, @mspivak, @thinksaydo)