Skip to content

Releases: rougin/credo

v0.6.0

21 Oct 16:08
Compare
Choose a tag to compare

Added

  • $pagee for customizing pagination in PaginateTrait
  • Methods in Repository related to CRUD operations
  • Repository::dropdown for getting results as dropdowns
  • Usage of timestamps (e.g., CREATED_AT, UPDATED_AT)
  • Support the latest version of doctrine/orm (~3.0)

Changed

  • CredoTrait::credo returns Credo instance
  • Model::delete returns a boolean
  • Code coverage to Codecov
  • Code documentation by php-cs-fixer
  • Improved code quality by phpstan
  • Simplified code structure
  • Workflow to Github Actions

Fixed

  • Getting offset value in PaginateTrait

Removed

  • __call magic method in Repository

v0.5.0

08 Dec 04:55
Compare
Choose a tag to compare

NOTE: This release will introduce a backward compatability break if upgrading from v0.4.0 release.

Added

  • CredoTrait

Changed

  • EntityRepository (renamed as Repository)

Removed

  • CodeigniterModel
  • EntityRepository
  • InstanceHelper
  • MagicMethodHelper
  • MethodHelper
  • Model::all

v0.4.0

24 Sep 16:08
Compare
Choose a tag to compare

Added

  • CodeigniterModel::get
  • CodeigniterModel::metadata
  • CodeigniterModel::primary
  • CodeigniterModel::table
  • CodeigniterModel::where
  • MethodHelper
  • Model
  • ValidateTrait::errors

Changed

  • Credo
  • EntityRepository
  • InstanceHelper
  • Loader::repository
  • PaginateTrait
  • README.md

Deprecated

  • ValidateTrait::validationErrors
  • ValidateTrait::validation_rules (renamed as ValidateTrait::rules)
  • CodeigniterModel::findBy
  • CodeigniterModel (renamed as Model)
  • MagicMethodHelper (renamed as MethodHelper)

Removed

  • CodeigniterModel::getTableNameAndPrimaryKey

v0.3.0

28 Oct 19:44
Compare
Choose a tag to compare

Added

  • PaginateTrait for creating pagination links using CodeIgniter's Pagination class

v0.2.0

27 Oct 04:39
Compare
Choose a tag to compare

Added

  • CodeigniterModel that extends to CI_Model
  • ValidateTrait for validating data using CodeIgniter's Form_validation class

v0.1.3

01 Sep 10:31
Compare
Choose a tag to compare

Changed

  • Documentation
  • Versions of rougin/spark-plug and rougin/codeigniter

v0.1.2

26 Mar 22:22
Compare
Choose a tag to compare

Changed

  • Version of rougin/codeigniter to ^3.0.0

v0.1.1

24 Mar 15:33
Compare
Choose a tag to compare

Changed

  • Package dependencies in composer.json

Fixed

  • Undefined variable: ci issue

v0.1.0

20 Mar 09:47
Compare
Choose a tag to compare

Added

  • Credo library