Download Download Now!

OpenAvanti ChangeLog

View the development todo list to see planned upcoming releases and features and/or bug fixes planned for those releases.

Version 0.6.4-alpha

Unreleased

  • Added Debug class
  • Added Model class
  • Implemented Pagination class
  • Added Throwable Interface
    • Added FileNotFoundException class
    • Added ExtensioNotException class
    • Added QueryFailedException class
    • Added DatabaseConnectionException class
    • Modified all classes that throw Exceptions to implement Throwable interface
  • Modified Controller Class
    • Added RedirectTo() method, which by default performs a permanent redirect.
    • Added Is404Error() method
    • Added SetView() method. The view file is no longer stored in the _SESSION, but in the controller class using this method.
    • Added SetData() method
    • Added Set404() method
  • Added Cache class
  • Modified CRUD Class
    • Rewrote, finalized and tested Load() method to finalize loading data into the CRUD object via the second argument of the constructor.
    • Removed DestroyAll() method
    • Implemented the Destroy() method
    • Removed code in __construct() that controlled schema caching
    • CRUD now instantiates Model objects for related data, instead of CRUD objects to make events available when saving
  • Modified Database Class
    • Added GetDatabases() abstract method
    • Added GetTables() abstract method
  • Modified Dispatcher Class
    • Added RequireViewFiles() method
    • Added CleanUp() method
    • Added Set404Handler() method
    • Added Set404View() method
    • Added SetFooterView() method
    • Added SetHeaderView() method
    • Added AddRoute() method
    • Modified Connect() to utilize custom routes added by AddRoute()
    • Connect() now returns Request object
  • Modified FileFunctions Library
    • Added HumanReadableSize() method
  • Modified Form Class
    • Added LoadObject() method
  • Modified PostgresDatabase Class
    • Added GetDatabases() method implementation of Database::GetDatabases()
    • Added GetTables() method implementation of Database::GetTables()
    • Modified GetTableForeignKeys() method to track relationship dependencies to help the SaveAll() method.
    • Added IsPrimaryKeyReference() method to determine if a primary key is also a foreign key that references other tables.
    • Modified caching code to use the new Cache class
  • Added Request class, which is now returned by Dispatcher::Connect()
  • Modified StringFunctions Library
    • Added AfterLastOccurrenceOf() method
  • Modified Validation Class
    • Rewrote validation class
  • Fixed bugs in CRUD class
    • Fixed issue with Load() not ignoring invalid argument data types.
    • Fixed __get() and __set() to load empty relationships when non exists for data population.
    • Fixed bugs in SaveAll(), Save(), Insert() and Update()
  • Fixed bugs in FileFunctions library
    • FileInfo seems to, in some cases, return a charset after the mime type. Modified GetMimeType() to strip off the charset.
  • Fixed bugs in PostgresDatabase class
    • All database transactions now properly use the specified database connection, rather than the last database connection.
    • Fixed FormatData() bug caused by new way of loading table column data types

Version 0.5.3-alpha

12 December 2006

  • Bug Fixes
    • Dispatcher no longer generates a 404 when $_SESSION[view] is empty
    • Fixed bug in PostgresDatabase that occurred when using a database password
    • Modified Dispatcher to create $aData before loading header.php
  • Added JSONObject Class
  • Added XMLFunctions Library
    • Added PrettyPrint() method
  • Modified CRUD Class
    • Added GetTableName() method
    • Added __toString() method
    • Added AsXML() method
    • Added AsXMLString() method
    • Added AsJSON() method
    • Modified for new singleton database architecture
    • Cleaned up Find() and FindCount()
  • Modified FileFunctions Library
    • Added GetFileBaseName() method
  • Modified StringFunctions Library
    • Added FormatPHPCode() method
  • Modified Database Class to support create singleton connections.
    • Now an abstract class instead of interface
    • __construct() is now private
    • Added AddProfile() method
    • Added SetDefaultProfile() method
    • Renamed GetConnection() to GetResource()
    • Added GetConnection() method

Version 0.5-alpha

2 December 2007

  • Alpha Release