Skip to content

Releases: esensi/model

JugglingModelTrait Release

17 Jul 15:11
Compare
Choose a tag to compare
  • Added JugglingModelTrait which type casts to internal and custom types.
  • Fixed method scopes on EncryptingModelTrait and HashingModelTrait.
  • Improved unit testing: 112 tests, 297 assertions.
  • Improved documentation.

Note: The new JugglingModelTrait has been added to the base Model class and juggling is enabled by default. For a leaner experience, use a custom base model that includes only the traits that are actually needed.

Updated Dependencies

09 Jul 21:33
Compare
Choose a tag to compare
  • Cleaned up interfaces so there are not protected method requirements.
  • Updated Illuminate dependencies to ~4.2.6 which means dropping bootTraits() overloading.
  • Updated Watson/Validating dependency to include 0.9.* changes.

Updated Dependencies

27 Jun 05:23
Compare
Choose a tag to compare
  • Improved documentation
  • Updated watson/validating dependency to require 0.8.* compatibility
    • Renamed ValidatingModelTrait::$errors to $validationErrors
    • Renamed ValidatingModelTrait::$messages to $validationMessages
    • Added ValidatingModelTrait::saveOrFail()
    • Added validating namespaced events

Initial Open Source Release

26 Jun 20:05
Compare
Choose a tag to compare
v0.3.0

Updated package for watson/validating dependency. Added badges to rea…