Releases: aaemnnosttv/silk
Releases · aaemnnosttv/silk
0.12.1
v0.12
Added
- Query scopes for model queries
- Soft
Model::find(id)retrieval method \Silk\Silk::VERSIONVersion constant
Changed
- Raised minimum PHP version to 5.6
- Updated
tightenco/collectCollection library
Breaking change from previous version with some methods (see issue) - Removed deprecated methods Breaking Change
Silk\Post\Model::fromWpPostSilk\Term\Model::fromWpTerm
- Removed
Silk\Contracts\Query\BuildsQueriesinterface
v0.11.1
Changed
- Restrict
tightenco/collectto 5.2 due to incompatibility with newer 5.3.
v0.11
This release brings the following features and enhancements:
Added
User\ModelUser\QueryBuilderurlmethods onPost\Model&Term\ModelTerm\Model->children()Model::make()named constructorobjectAliasesproperty, allowing for$model->aliasName == $model->object->targetProperty- Shorthand property aliases, Eg:
$postModel->{name} == $postModel->object->post_{name}(opt-in via trait)
Changed
Hookcallbacks now automatically return the first argument passed if nothing is returned.ObjectMetanow has a fluentset(key, value)method.- Deprecated
Post\Model::fromWpPost()andTerm\Model::fromWpTerm()(use::make()instead) - Simplified internals of
Model->save(),->delete()and->refresh()
0.10.1
Fixes a strict notice on PHP 5.
v0.10
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).
Initial release!
add Installation to readme [skip ci]