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

Releases: laravel-ardent/ardent

Validation is observable now and 'manager' is not reserved anymore

25 Feb 20:51
Compare
Choose a tag to compare
  • The word "manager" was found reserved and not available in models. (#120 by @MrNomNom)
  • Added "validating" and "validated" observable events to the list of events from Eloquent (#153 by @unstoppablecarl)

Fixing hasSession from Laravel

10 Feb 01:51
Compare
Choose a tag to compare

validateUniques + global DB Capsule

26 Dec 03:07
Compare
Choose a tag to compare

Fixing support for Laravel on 4.1+

26 Dec 03:13
Compare
Choose a tag to compare

Since 2.3.0 Ardent only supports Laravel 4.1 and above, and thus the composer file needed to be updated to reflect that.
If you need 4.0 support, go to 2.1.

Override Validator + final fix to updateUniques + 4.1 + more

26 Dec 03:17
Compare
Choose a tag to compare

• Improvements to work with Laravel 4.1 (#133 by @bexarcreative-daniel, #136 by @MrNomNom)
• Finally fixing the logic of updateUniques, that got broken because of a failed command-line merge (#114 by @andrew13)
• Ability to override makeValidator() to be able to customize the Validator object used (#122 by @claar)
• CSRF token is now purged in basicPurgeFilters() (#117 by @vanadium23)
• Doc fixes (#115 by @stAMy, #126 by @hisorange)

Improves to unique handling

15 Oct 23:07
Compare
Choose a tag to compare

Based on the awesome contributions of @nightowl77 and other developers in PR #86, this release introduces improvements to the handling of rules for unique fields.

This release also ships with a small bugfix by @vasayxtx (#97) and @borfast (#103).

Improved hydration

02 Aug 02:42
Compare
Choose a tag to compare
  • Using Eloquent::fill() to hydrate model instead of relying on validation rules. Read f400245
  • Documentation upgrades

New hooks, exceptions and relationsData array

24 Jul 01:44
Compare
Choose a tag to compare
  • addition of before/afterSave, Update, Delete and Validate hooks, that are called by the model when the given events happen, with no arguments (changed from the RC)
  • addition of Ardent::throwOnFind boolean property to forcefully throw exceptions when models are not found (forcing usage of findOrFail)
  • addition of InvalidModelException, enabled by Ardent::throwOnValidate
  • addition of Ardent::relationsData static attribute that makes it much easier to define relations, cleaning the clutter in models with many relationships
  • cleaner code, following code style rules (almost PSR-2, except for braces)

Out of Laravel

24 Jul 01:40
Compare
Choose a tag to compare
Out of Laravel Pre-release
Pre-release

Enables Ardent to be used outside of the main Laravel framework. Use Ardent::configureAsExternal() with the connection array as argument for that.

New hooks, exceptions and relationsData array

24 Jul 01:42
Compare
Choose a tag to compare
  • addition of before/afterSave, Update, Delete, Validate hooks, that are called statically with the model being received as only argument
  • addition of Ardent::throwOnFind boolean property to forcefully throw exceptions when models are not found (forcing usage of findOrFail)
  • addition of InvalidModelException, enabled by Ardent::throwOnValidate
  • addition of Ardent::relationsData static attribute that makes it much easier to define relations, cleaning the clutter in models with many relationships
  • cleaner code, following code style rules (almost PSR-2, except for braces)