Skip to content

Conversation

@szuperaz
Copy link
Contributor

@szuperaz szuperaz commented Aug 11, 2025

Breaking changes

StreamFeed

  • feed.fid renamed to feed.feed

Models

  • AcceptFollowRequest
    • source_fid renamed to source
    • target_fid renamed to target
  • ActivityRequest
    • fids renamed to feeds
  • ActivityResponse
    • object renamed to notification_context
  • AddActivityRequest
  • fids renamed to feeds
  • CreateFeedGroupRequest, UpdateFeedGroupRequest and FeedGroupResponse
    • feed_group_id is renamed to id
    • default_view_id is removed, use activity_processors, activity_selectors, aggregation and ranking fields instead
  • CreateFeedViewRequest and FeedViewResponse
    • view_id is renamed to id
  • DeleteActivitiesRequest
    • activity_ids renamed to ids
  • DeleteActivitiesResponse
    • deleted_activity_ids renamed to deleted_ids
  • FeedResponse
    • fid renamed to feed
  • PinActivityResponse
    • fid renamed to feed
  • RejectFollowRequest
    • source_fid renamed to source
    • target_fid renamed to target
  • UnpinActivityResponse
    • fid renamed to feed
  • SingleFollowRequest model is removed, use FollowRequest instead (the fields are the same)

API calls

  • fid parameter in queryFeeds filter is renamed to feed:
await client.queryFeeds({
  filter: {
    // Change fid to feed
    feed: 'user:123',
  },
});
  • deleteActivity, getActivity, updateActivityPartial, updateActivity methods:
    • activity_id renamed to id
  • deleteComment, getComment, updateComment, addCommentReaction, queryCommentReactions, deleteCommentReaction, getCommentReplies methods:
    • comment_id renamed to id
  • deleteFeedGroup, getFeedGroup, getOrCreateFeedGroup, updateFeedGroup methods:
    • feed_group_id renamed to id
  • listFeedViews, deleteFeedView, getFeedView, getOrCreateFeedView, updateFeedView methods:
    • view_id renamed to id

@szuperaz szuperaz marked this pull request as ready for review August 12, 2025 11:52
@szuperaz szuperaz changed the title Feeds main feat!: various smaller API updates Aug 12, 2025
@szuperaz szuperaz changed the title feat!: various smaller API updates feat!: API naming review Aug 12, 2025
@isekovanic isekovanic merged commit d15d50f into main Aug 18, 2025
24 of 32 checks passed
@isekovanic isekovanic deleted the feeds-main branch August 18, 2025 15:33
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.

5 participants