Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: aryelgois/Medools

v5.1.2

08 Jul 13:55

Choose a tag to compare

Changed

  • ModelIterator now implements Countable

v5.1.1

07 Jul 03:11

Choose a tag to compare

Changed

  • getTypedColumns() returns an associative array

Fixed

  • When adding changes in a different order from COLUMNS, data was being saved
    in wrong columns in the database
  • Column types are only used when fetching data, and must be avoided when
    sending data to the database

v5.1.0

28 May 18:21

Choose a tag to compare

Added

  • Repository title
  • Note about foreign classes
  • getColumns()
  • getTypedColumns()
  • addColumnTypeKeys()

Changed

  • COLUMNS may define prefered data type

Fixed

  • getRequiredColumns() was returning a non sequential index
  • Comparison operator
  • Typos

v5.0.0

29 Mar 14:50

Choose a tag to compare

Added

  • getStampColumns()
  • isDeleted()

Changed

  • Update dependencies
  • Rewrite MedooConnection
  • Update config file example
  • save() and update() always reload from Database to ensure data integrity
    and have better return values
  • delete() only resets the model and removes it from from ModelManager if
    successful
  • All STAMP_COLUMNS are implicitly optional

Removed

  • dataCleanup()

Fixed

  • Indentation
  • updateStampColumns() subset filtering
  • save()

v4.3.0

08 Mar 03:10

Choose a tag to compare

Changed

v4.2.0

25 Feb 14:21

Choose a tag to compare

Added

  • Links in README
  • Model methods:
    • getData()

Changed

Fixed

  • jsonSerialize() DocBlock and description

v4.1.1

22 Feb 21:50

Choose a tag to compare

Changed

  • Rename getFormatedDocument() to getFormattedDocument()

Fixed

  • Rename formated to formatted

v4.1.0

17 Feb 18:14

Choose a tag to compare

Added

  • Model methods:
    • getDocumentType()
    • getFormatedDocument()

v4.0.0

17 Feb 15:36

Choose a tag to compare

Added

  • Model fill() example
  • Model methods:
    • checkUnknownColumn()
    • checkReadOnly()
    • getIterator()
    • getRequiredColumns()
    • isFresh()
    • onColumnChange()
    • undo()

Changed

  • Update aryelgois/utils
  • Forbid assigning a fresh foreign model
  • validateHook() only receives the data to be validated
  • Person methods
  • Rename Hook to Event
  • Improve exceptions

Removed

  • setMultiple()

Fixed

  • ModelIterator and ModelManager __construct(): Ensure a model class is used,
    and not a model instance
  • Delete fresh soft model

v3.1.1

10 Feb 01:53

Choose a tag to compare

Fixed

  • Warning for array_flip() in aryelgois/utils Utils::arrayBlacklist() when AUTO_INCREMENT is null
Morty Proxy This is a proxified and sanitized view of the page, visit original site.