Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Releases: laravel-ardent/ardent

Auto-discovery removal

09 Oct 02:58
ae8983f
Compare
Choose a tag to compare

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

05 Oct 18:30
756a605
Compare
Choose a tag to compare

Brings in changes from PRs #305 and #310, a new maintainer to try to help out and maybe some space for other fixes.

v3.4.2: Leaving glocal scopes to be applied by Eloquent

02 Feb 22:12
Compare
Choose a tag to compare
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

02 Feb 01:23
Compare
Choose a tag to compare
fixing dead reference to old `$externalValidator`

Unique rules can now be safely used outside of the model

07 Dec 17:08
Compare
Choose a tag to compare

You can now use $model->buildUniqueExclusionRules() in your FormRequest::rules() for additional validation awesomeness.

HasManyThrough::localKey and unique rules for new models fixed

30 Nov 20:12
Compare
Choose a tag to compare
  • [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

30 Nov 05:42
Compare
Choose a tag to compare

Save safely with unique rules

30 Nov 04:13
Compare
Choose a tag to compare

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

02 Nov 01:27
Compare
Choose a tag to compare
  • Finally pushing Laravel support up to 5.1 (#261 by @canfiax)

We are back! - relations, Laravel 4.2 and bugs

01 Nov 20:31
Compare
Choose a tag to compare

[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)