Release notes for LensKit 0.0.2
The Git changelog and the list of closed tickets and pull requests provide more information on what has happened, including bugs that have been fixed.
This release contains a number of API changes to make the API cleaner and easier to move forward.
-
Renamed
BuildContext
toRatingBuildContext
to allow for a futureBasketBuildContext
. -
Added support for excluded items to recommendation API.
-
Added
AbstractRatingRecommender
helper class to make implementing rating recommenders easier. -
Removed the
RecommenderService
class and several related classes to clean up the API. Client code should directly requestRatingRecommender
orRatingPredictor
instances, and modules should scope them and their dependencies appropriately to avoid duplicating recommender models.
API Compatibility Notes
-
Code dependent on
BuildContext
orPackedBuildContext
must be updated to useRatingBuildContext
andPackedRatingBuildContext
instead. -
Code implementing
RatingRecommender
must be updated to implement the new API. We recommend usingAbstractRatingRecommender
to help with this. -
All code must be updated to directly receive injected
RatingRecommender
and/orRatingPredictor
instances (or providers thereof).