Aaemnnosttv Silk Versions Save

A modern API for WordPress.

v0.12.1

5 years ago
  • Fix location of UserNotFoundException
  • Formatting tweaks

v0.12.0

6 years ago

Added

Changed

v0.11.1

7 years ago

Changed

  • Restrict tightenco/collect to 5.2 due to incompatibility with newer 5.3.

v0.11.0

7 years ago

This release brings the following features and enhancements:

Added

  • User\Model
  • User\QueryBuilder
  • url methods on Post\Model & Term\Model
  • Term\Model->children()
  • Model::make() named constructor
  • objectAliases property, allowing for $model->aliasName == $model->object->targetProperty
  • Shorthand property aliases, Eg: $postModel->{name} == $postModel->object->post_{name} (opt-in via trait)

Changed

  • Hook callbacks now automatically return the first argument passed if nothing is returned.
  • ObjectMeta now has a fluent set(key, value) method.
  • Deprecated Post\Model::fromWpPost() and Term\Model::fromWpTerm() (use ::make() instead)
  • Simplified internals of Model->save(), ->delete() and ->refresh()

v0.10.1

7 years ago

Fixes a strict notice on PHP 5.

v0.10.0

7 years ago

This release is a big update (166 commits since 0.9) with a focus on bringing the same functionality and workflow for Post Types and Post Models to Taxonomies and Terms. The Term Query Builder was also introduced, along with the beginnings of some relationship-oriented methods (eg: Taxonomy->terms() and Taxonomy->postTypes()).

There were very few breaking changes with the previous release, mostly namespace changes (see the changelog for details).

v0.9.0

7 years ago