1.1.9

@romaninsh romaninsh released this Feb 22, 2017 · 1 commit to develop since this release

add support for Field::getCaption()

Downloads

1.1.7

@romaninsh romaninsh released this Jan 10, 2017 · 13 commits to develop since this release

Added support for Read-Only models (used by UnionModel extension).
Minor updates and bugfixes.

  • Impred support for ID-less and read-only models (#211)
  • Improved compatibility with "UnionModel" extension
  • Made source code more friendly with PhpStorm and IDEs
  • Upadated README.md fixing some problems with examples
  • Expanded documentation by including some missed methods
  • Added "SQL Extensions" documentation section

Downloads

1.1.5

@romaninsh romaninsh released this Nov 3, 2016 · 53 commits to develop since this release

  • Added documentation for TypeCasting (#189)
  • Added 'typecast' and 'serialise' properties for fields (#184)
  • Renamed 'struct' into 'object' and added 'array' to avoid confusion
  • ID fields for SQL are no longer 'integer'. They can be anything now. (#191)
  • General typecasting is now moved into generic Persistence
  • Improved normalisaton, so that fields don't become dirty for no reason (#187, #195)
  • Added persist_timezone and persist_format (#193)
  • Added date_time_class so that you can use Carbon if you want
  • Many new tests added
  • Minor fixes (#177, #188)

Downloads

1.1.0 - Adding Strong Type support

@romaninsh romaninsh released this Sep 27, 2016 · 158 commits to develop since this release

The main feature of this release is introduction of strong types. See Type Converting.

  • Added support for load_normalization (off by default) and typecasting #94, #109, #125, #129, #131, #140, #144, #160, #161, #162, #167, #168, #169,
  • Improved support for field flags (read_only, never_persist etc) #105, #106, #123, #166, #170
  • Refactored join implementation #98, #99, #107
  • Improved integration with Agile Toolkit UI #95
  • Added support for strict_field_check (on by default)
  • Refactoring load() and save() code.
  • Added methods: duplicate, saveAs, saveAndUnload, asModel, newInstance, withPersistence, #111, #112
  • Refactored references. Reference addField will inherit type. #157, #163,
  • Implemented $model->atomic(). CRUD operations are now atomic. #116
  • Improved ref('link_id') for loaded models. added hasRef() method. #124, #164
  • Huge number of new unit-tests (278->369), and added some advanced tests.
  • Added documentation for Fields link #117
  • Expanded Persistence section link (from insert records with specific id, down to actions)
  • Removed use of 'relations'. We use 'References' everywhere now. #120, #127, #134, #135, #139
  • Added documentation on Title field importing link #122, #137
  • Other documentation (typos)
  • Dependencies updated (dsql, core) #121
  • PRs: #79, #82, #83, #85, #88, #90, #94, #95, #97, #130, #151, #156, #171

Downloads