Skip to content

Latest commit

 

History

History
375 lines (227 loc) · 10.3 KB

CHANGELOG.md

File metadata and controls

375 lines (227 loc) · 10.3 KB

WPExpress a WordPress Framework - Change Log

December 12th - Version 2.0.7

  • Added null safe operators to resources/templates/settings-page.php
  • Documentation changes

2020

Version 2.0.5 - May 21st 2020

  • Refactored class names for PSR-4 compliance

Version 2.0.4

  • Upgraded WPExpress/Query dependency to 1.0.1
  • Fixed issued: License "GPL3" is not a valid SPDX license identifier

Version 2.0.3

  • Fixed the labels not showing on the defaults settings page

Version 2.0.2

  • Fixed the BaseRenderEngine default template path
  • Added method BaseSettingsPage getCustomTemplatePath method
  • Refactored BaseSettingsPage class
  • Changed the BaseRenderEngine class filter wpx_render_template_paths to wpx_{$filename}_render_paths

Version 2.0.1

  • Fixed the BaseModel postType setting

Version 2.0.0

  • Moved to version 2.0.0 because the changes on the API are not backwards compatible
  • Deleted releases 0.3.2, 0.4, 0.5, 0.5.1, , 0.5.2, , 0.5.3, , 0.5.4
  • Deleted releases 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8 from repository
  • Updated TODO.md
  • Refactored FieldCollection class method addField
  • Refactored BaseModel class methods saveFieldValues and loadFieldValues
  • Implemented BaseModel class method useSerializedDataStorage
  • Implemented FieldCollection method getTableLisFields on BaseModel class
  • Added FieldCollection methods showOnGrid and getTableLisFields
  • Refactored FieldCollection class
  • Removed the OldRenderEngine class
  • Made BadeModel getFirst and getLast methods static
  • Refactored RenderEngine class
  • Added BaseRenderEngine methods setContext, getMaybePaths and getTemplateNotFoundMessage
  • Refactored BaseRenderEngine class

Version 1.4.8

  • Added styles to improve the custom fields presentation

Version 1.4.7

  • Issue Fixed #5 - add_rewrite_tag() on a non-object
  • Issue Fixed #7 - Post and Page classes

Version 1.4.6

  • Added method HTMLFieldParser/getCheckedProperties

Version 1.4.5

  • Added BaseModel wex_save_field_{$fieldID}_value filter

Version 1.4.4

  • Refactored BaseModel class to implement the new Renderengine
  • Refactored RenderEngine class to accommodate for context on render
  • Added default metabox-content.php template

Version 1.4.3

  • Refactored the BaseModel class.

Version 1.4.2

  • Fixed Empty postTypeSlug property

Version 1.4.1

  • Added default resouces/templates/settings-page.php file

Version 1.4.0

  • Added TODO.md file
  • Released new version of WPExpress without WPExpress/UI dependency
  • Assimilation of WPExpress/UI into core

Version 1.3.8 - Untagged

  • Implemented support for Settings Pages on Custom Post Type menus

Version 1.3.7 - BaseSettingsPage Autoload Values

  • Implemented option value autoload
  • Added method BaseSettingsPage/loadFieldValues

Version 1.3.6 - Method BaseModel/getAllInList

  • Updated Road Map
  • Added method BaseModel/getAllInList

Version 1.3.5 - Method BaseMode/setCapabilityType

  • Added method BaseModel/setCapabilityType

Version 1.3.4 - BaseModel static bindings

  • Fixed a array_map static binding bug

Version 1.3.3 - BaseModel/enableArchive

  • Added empty metabox-validation.js file
  • Added filter wpx_model_[PostType]_slug
  • Added methods BaseModel/enableArchive and disableArchive

Version 1.3.2 - Fixed BaseModel saveFieldValues bug

  • Fixed an error to verify the existence of a function before execution

Version 1.3.1 - BaseModel refactoring

  • Fixed BaseModel/instance method bug with reflection
  • Added several traversing methods to BaseModel
  • Added method toStaticList
  • Added static property and method instance to BaseModel

Version 1.3.0 - BaseModel MetaBoxes and Fields

  • Added methods BaseModel/getFieldValue and BaseModel/fieldsAreEmpty
  • Added BaseModel/fields property
  • Concealed the love legend and the link from the metabox-content template
  • Fixed BaseModel's Default meta box title
  • Finished field auto-loading and auto-saving
  • Implemented empty meta box validation scripts on admin
  • Implemented meta box styles on admin
  • Added empty Contracts/BaseWordPressFilters class
  • Implemented BaseModel/setTemplatePath method
  • Added the metabox-content.mustache template
  • Implemented auto save values on post for custom fields
  • Implemented auto load values for custom fields
  • Implemented MetaBoxes and Custom Fields render methods
  • Implemented BaseModel metaBoxes collection
  • Implemented BaseModel fields collection
  • Added Collections/MetaBoxCollection class

Version 1.2.5 - BaseSettingsPage Beautification

  • Changed the methods update_site_option and get_site_option to update_option and get_option
  • Allow empty values on BaseSettings/save
  • Documentation update
  • Removed the property BaseSettingsPage/settingsPageHeading
  • Simplified the BaseSettingsPage constructor
  • Renamed the property BaseSettingsPage/capabilities to BaseSettingsPage/userCapabilities

Version 1.2.4 - WPExpress/UI 1.0.2

  • Re-tagged
  • Upgrade composer dependency to WPExpress/UI version 1.0.2
  • Changed composer to require wpexpress-ui 1.0.1
  • Fixed errors with HTMLParser and added a toArray method to FieldCollection

Version 1.2.3 - WPExpress/UI 1.0.0

  • Upgraded to WPExpress/UI 1.0.0

Version 1.2.2 - Fixed BaseSettingsPage Template Path Error

  • Fixed the template path verification error

Version 1.2.1 - BaseModel simplification

  • Made the parameter $bean optional on BaseModel class

Version 1.2.0 - Dropped BaseModelInterface

  • Added the method getPostType to BaseModel
  • Deleted the BaseModelInterface class in favor of Convention over Configuration

Version 1.1.0

  • Simplified the classes Page and Post
  • Added constructor function to make it easier for folks to get started with the project
  • Removed the datatype from function declaration on BaseModel/setPublic

Version 1.0.0

  • Made Post class final
  • Made Post class extend BaseModel
  • Added empty abstract class Admin/MetaBox class
  • Added empty abstract class API/BaseApi
  • Added empty abstract classes BaseUser and BaseUserRole
  • Added BaseModel, BaseModelInterface and BaseTaxonomy abstract classes
  • Finished the first iteration on the project structure
  • Removed Abstractions, Model and Interfaces folder from project structure

Version Zero-Six

This version is maintained for compatibility purposes only.

Version 0.6.1 - Updated Query version

  • Updated WPExpress Query version

Version 0.6.0 - New models

  • Implementing BaseTaxonomy
  • Updated WPExpress/Query dependency
  • Implemented basic methods for BaseTaxonomy
  • Added empty Sample classes Post and Taxonomy
  • Added empty BaseTaxonomy class
  • Added empty BasePostModel class

Version 0.5.4 - Updated WPExpress/UI version

  • Updated WPExpress to 0.5.2

Version 0.5.3 - Fixes SettingsPage Render Error

  • Throw exception if template file not found
  • Implemented fail-safe to render dedault settings-page template on error
  • Updated WPExpress/UI to 0.5.1
  • Added vendor directory to .gitignore

Version 0.5.2

  • Applied code styling to BaseModel class
  • Added property BaseModel/menuPosition accessible with magic methods
  • Fixed the default menu position to 20

Version 0.5.1

  • Moved to require PHP 5.6 or higher
  • Updated the version of WPExpress UI
  • Removed the vendor folder from the repository
  • Fixed the BaseModel/getSupportedFeatures error
  • Adopted Semantic Versioning

Version 0.5 - Separation of Packages UI and Query

Version 0.4 - Twig and RenderEngine enhancements

  • Implemented RenderEngine changes to SettingsPage class
  • Modified the constructor for RenderEngine
  • Added RenderEngine getTemplatePath public method
  • Added RenderEngine createDirectoryStructure private method
  • Finished the renderTwigTemplate method
  • Render Engine can now use Twig or Mustache
  • Required Twig with Composer

Version 0.3.2 - BaseModel Enhancements

  • Tagged to 0.3.2
  • Updated documentation
  • Moved methods getThumbnail and getThumbnailURL to BaseModel
    • Both methods check for thumbnailSupport, else return false
  • Added empty BaseModel setPostTypeLabels
  • Implemented BaseModel getPostTypeLabels
  • Implemented BaseModel setSupportedFeatures and getSupportedFeatures (Title, Editor, Thumbnail)
  • Implemented BaseModel getByTerm
  • Implemented BaseModel getByField
  • Implemented BaseModel getAll
  • Implemented magic methods __set and __get in the base model
  • Implemented BaseModel registerCustomPostType method

Version 0.3.1

  • Implemented the term() method to search by taxonomy/value
  • Array values are transformed to a csv string in the meta method
  • Added the selectField method to Tags class
  • Edited the settings page template
  • Added the getValue method to SettingsPage class

Version 0.3

  • Refactoring of field management // Needs more work
  • Added save method to the SettingsPage class
  • Added Support for Array Fields
  • Added support for custom template path in SettingsPage
  • Added filter to support custom context
  • Refactoring of the template properties
  • Added checkboxField and radioButtonField methods
  • Finished Functionality to render settings page
  • Added empty UI/HTML/Tags class
  • Rendering empty settings page
  • Added RenderEngine
  • Added empty settings page
  • Added resources directory
  • Added SettingPage abstract class
  • Added Mustache with composer
  • Added UI Class

Version 0.2.2

  • Added the empty methods registerCustomPostType and addCustomField to BaseModel
  • Added the getField method to BaseModel
  • Added the property postTypeSlug to BaseModel
  • Added the basic Constructor for class Post
  • Added empty sort and term methods to Query
  • Added methods getThumbnail and getThumbnailURL to Post class
  • Implemented static methods getAll, getByField, getByTaxonomy on BaseMode

Version 0.2.1

  • Implements basic methods for class Query

Version 0.2

  • Created Abstract class /Model/Abstractions/BaseModel
  • Created the Interface iBaseModel
  • Created the class Model/Post implements BaseModel and iBaseModel

Version 0.1

  • Created empty repository
  • Defined basic PSR-4 structure
  • Added Road Map and Changelog
  • Created the class Query. An abstraction layer for the class WP_Query