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::VERSION
Version constant
Changed
- Raised minimum PHP version to 5.6
- Updated
tightenco/collect
Collection library
Breaking change from previous version with some methods (see issue) - Removed deprecated methods Breaking Change
Silk\Post\Model::fromWpPost
Silk\Term\Model::fromWpTerm
- Removed
Silk\Contracts\Query\BuildsQueries
interface
v0.11.1
Changed
- Restrict
tightenco/collect
to 5.2 due to incompatibility with newer 5.3.
v0.11
This release brings the following features and enhancements:
Added
User\Model
User\QueryBuilder
url
methods onPost\Model
&Term\Model
Term\Model->children()
Model::make()
named constructorobjectAliases
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 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]