Skip to content

Releases: rougin/wildfire

v0.6.0

21 Oct 16:09
Compare
Choose a tag to compare

Added

  • $pagee for customizing pagination in PaginateTrait
  • WritableTrait for handling CRUD operations
  • Usage of timestamps (e.g., CREATED_AT, UPDATED_AT)

Changed

  • WildfireTrait::wildfire returns Wildfire instance
  • 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

v0.5.0

23 Sep 15:14
Compare
Choose a tag to compare

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

Added

  • Model class
  • Traits\PaginateTrait::paginate($page, $total, $config = array())
  • Traits\ValidateTrait::errors
  • Traits\WildfireTrait
  • Wildfire::__construct($data)
  • Wildfire::dropdown($column)
  • Wildfire::find($table, $id)
  • Wildfire::get($table = '', $limit = null, $offset = null)
  • Wildfire::result($model = '')

Removed

  • CodeigniterModel class
  • Helpers directory
  • Traits\DatabaseTrait trait
  • Traits\ModelTrait trait
  • Traits\PaginateTrait::paginate($perPage, $config = array())
  • Traits\ResultTrait trait
  • Traits\ValidateTrait::validation_errors
  • Wildfire::__construct($database = null, $query = null)
  • Wildfire::asDropdown($description = 'description')
  • Wildfire::find($table, $delimiters = array())
  • Wildfire::get($table = '')
  • Wildfire::result
  • Wildfire::setDatabase($database)
  • Wildfire::setQuery($query)
  • Wildfire extended to CI_Model

v0.4.0

07 Jan 21:21
Compare
Choose a tag to compare

Added

  • CodeigniterModel that extends to CI_Model
  • $belongs_to for one-to-one relationships
  • $hidden for hiding columns
  • ValidateTrait for validating data using CodeIgniter's Form_validation class
  • PaginateTrait for creating pagination links using CodeIgniter's Pagination class

Changed

  • Version of rougin/describe to ~1.5

v0.3.1

01 Sep 10:43
Compare
Choose a tag to compare

Added

  • Wildfire as CI_Model
  • StyleCI for conforming code to PSR standards

v0.3.0

05 Jun 07:19
Compare
Choose a tag to compare

Added

  • Traits
  • table for manually specifying the table associated with the Model
  • columns for manually specifying the columns to be displayed

Fixed

  • Issue in getting foreign tables

Removed

  • Inflector class

v0.2.1

26 Mar 22:22
Compare
Choose a tag to compare

Changed

  • Version of rougin/codeigniter to ^3.0.0

v0.2.0

24 Mar 17:57
Compare
Choose a tag to compare

Changed

  • Tests
  • Enabled empty parameters in Wildfire::__construct

v0.1.0

06 Mar 09:23
Compare
Choose a tag to compare

Added

  • Wildfire library