发布日期: 2021-11-06
版本号: v0.2.8

本次更新主要包含以下功能改进和问题修复:功能方面新增支持通过PATCH方法修改用户及项目信息,允许在配置中启用/禁用点击率预测模型,并在个性化推荐中增加最新物品和热门物品的探索功能。修复了MariaDB兼容性问题、控制面板"Invalid Date"显示异常、auto_insert_item配置失效以及处理空反馈列表时的异常问题。升级注意事项包括:配置文件中新增点击率预测开关和探索推荐比例参数,RESTful API新增用户项目的PATCH方法接口,同时需手动清理数据库中因#299问题产生的无效反馈数据(即反馈表中引用不存在的物品ID记录)。

更新内容 (中文)

功能

  • 支持通过 PATCH 方法修改用户和物品 (8a6de0e2abb7957f2ece691b467fe2bb3e6aa737)
  • 支持在配置中启用/禁用点击率预测模型 (2e4260cfc73d5e37bfb01c3577e699a9d798c4bd)
  • 支持在个性化推荐中探索最新物品和热门物品 (2e4260cfc73d5e37bfb01c3577e699a9d798c4bd)

修复

  • 修复 MariaDB 的兼容性问题 (#294)
  • 修复看板中出现的 “Invalid Date” 错误 (8c33b7d47c84052ec94aad31c0cbb1df47a5c85a)
  • 修复 auto_insert_item = false 配置不生效的问题 (#301)
  • 插入反馈时自动跳过空反馈列表 (#300)

升级指南

  • 在配置文件中:
    • enable_click_through_prediction 用于启用/禁用点击率预测
    • explore_recommend 定义最新/热门物品在离线推荐中的占比
  • RESTful API 中新增了对用户和物品的 PATCH 方法支持
  • 如果存在由 #299 导致的涉及不存在物品的反馈数据,请执行数据库清理操作。例如在 MySQL 中执行:
delete from feedback where item_id not in (select item_id from items)

更新内容 (原始)

Feature

  • Support modify users and items by PATCH method (8a6de0e2abb7957f2ece691b467fe2bb3e6aa737).
  • Support enable or disable click-through prediction model in configuration (2e4260cfc73d5e37bfb01c3577e699a9d798c4bd).
  • Support explore latest items and popular items in personalized recommendation (2e4260cfc73d5e37bfb01c3577e699a9d798c4bd).

Fix

  • Fix incompatibility of MariaDB (#294).
  • Fix “Invalid Date” in dashboard (8c33b7d47c84052ec94aad31c0cbb1df47a5c85a).
  • Fix auto_insert_item = false not working (#301).
  • Skip empty feedback list when inserting feedback (#300).

Upgrade Guide

  • In configuration file:
    • enable_click_through_prediction enable/disable click-through prediction.
    • explore_recommend defines the proportion of latest/popular items in offline recommendation.
  • In RESTful API, PATCH methods are implemented for users and items.
  • If there are feedback come from nonextsted items casued by #299, remember to delete them in database. Eg., delete them in MySQL:
delete from feedback where item_id not in (select item_id from items)

下载链接