Releases: gebruederheitz/wp-easy-cpt
Releases · gebruederheitz/wp-easy-cpt
2.3.3: Bugfix release
2.3.2: Maintenance release
- [fix] phpstan-compatible typings for $entities (a4f75cd)
2.3.1: Bugfix release
- [fix] Use correct array merge function (fa19ab1)
2.3.0: Expose post-to-entity mapping method
- [feat] Extract post to entity mapping into separate method (57e0fa7)
2.2.0: Custom queries in post type repository
- [feat] Allow custom queries in
getPosts()
(89e583f)
2.1.1: Bugfix release
2.1.0: Custom metabox position
- [feat] Add the ability to customize the metabox' position (context) (b21ebd6) See README for usage.
2.0.0: Improved typings with generics
Breaking changes
- Added a setter method
setPostId(int $postId)
to the interfaceStorableEntity
, as that method had already been called byAbstractRepository
. You will have to add that method to any Entity implementingStorableEntity
.
Features
- [feat] Use generic typings for Repository classes (f492912)
1.0.2: PHP8 compatibility
1.0.1: Bugfix release
Fixes an issue where self::
was used instead of static::
in the extensible AbstractRepository
class.