Skip to content

feat!: GetRecommend now returns List<UserScore> with X-API-Version: 2#24

Merged
zhenghaoz merged 3 commits into
gorse-io:mainfrom
zhangzhenghao:feat/get-recommend-with-scores
Mar 31, 2026
Merged

feat!: GetRecommend now returns List<UserScore> with X-API-Version: 2#24
zhenghaoz merged 3 commits into
gorse-io:mainfrom
zhangzhenghao:feat/get-recommend-with-scores

Conversation

@zhangzhenghao

Copy link
Copy Markdown
Contributor

BREAKING CHANGE: GetRecommend now returns List instead of string[]

zhenghaoz added 3 commits March 31, 2026 20:46
- Add GetRecommendWithScores and GetRecommendWithScoresAsync methods
- Returns List<UserScore> with recommendation scores
- Add RequestWithHeaders helper method to support custom headers
- Uses X-API-Version: 2 header to return scores
- Related: gorse-io/gorse#1140
BREAKING CHANGE: GetRecommend now returns List<UserScore> instead of string[]
- Uses X-API-Version: 2 header to return scores
- Removed old GetRecommend methods
@zhenghaoz zhenghaoz merged commit a4d4e4c into gorse-io:main Mar 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants