Skip to content

Commit fefe851

Browse files
committed
Final updates
1 parent 0cbde2f commit fefe851

3 files changed

Lines changed: 12 additions & 47 deletions

File tree

CHANGELOG

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
Change history
33
================
44

5+
3.0.0
6+
=====
7+
:release-date: 2019-02-11
8+
:by: Peter van Kampen
9+
10+
* Add support for users, collections, reactions, enrichment
11+
* Add `Client::doPartiallyUpdateActivity`
12+
* Add `Client::batchPartialActivityUpdate` methods
13+
* Add `Client::getActivities` methods
14+
* Remove deprecated methods on Feed Class
15+
516
2.9.1
617
=====
718
:release-date: 2018-12-03

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014-2017 Stream.io Inc, and individual contributors.
1+
Copyright (c) 2014-2019 Stream.io Inc, and individual contributors.
22

33
All rights reserved.
44

lib/GetStream/Stream/BaseFeed.php

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -263,22 +263,6 @@ public function follow($targetFeedSlug, $targetUserId, $activityCopyLimit = 300)
263263
return $this->makeHttpRequest("{$this->base_feed_url}/follows/", 'POST', $data, null, 'follower', 'write');
264264
}
265265

266-
/**
267-
* @deprecated Will be removed in version 3.0.0
268-
*
269-
* @param string $targetFeedSlug
270-
* @param string $targetUserId
271-
* @param int $activityCopyLimit
272-
*
273-
* @return mixed
274-
*
275-
* @throws StreamFeedException
276-
*/
277-
public function followFeed($targetFeedSlug, $targetUserId, $activityCopyLimit = 300)
278-
{
279-
return $this->follow($targetFeedSlug, $targetUserId, $activityCopyLimit);
280-
}
281-
282266
/**
283267
* @param int $offset
284268
* @param int $limit
@@ -333,36 +317,6 @@ public function unfollow($targetFeedSlug, $targetUserId, $keepHistory = false)
333317
return $this->makeHttpRequest("{$this->base_feed_url}/follows/{$targetFeedId}/", 'DELETE', null, $queryParams, 'follower', 'delete');
334318
}
335319

336-
/**
337-
* @deprecated Will be removed in version 3.0.0
338-
*
339-
* @param string $targetFeedSlug
340-
* @param string $targetUserId
341-
* @param bool $keepHistory
342-
*
343-
* @return mixed
344-
*
345-
* @throws StreamFeedException
346-
*/
347-
public function unfollowFeed($targetFeedSlug, $targetUserId, $keepHistory = false)
348-
{
349-
return $this->unfollow($targetFeedSlug, $targetUserId, $keepHistory);
350-
}
351-
352-
/**
353-
* @deprecated Will be removed in version 3.0.0
354-
*
355-
* No need to clean up, one should just use different feed ids.
356-
*
357-
* @return mixed
358-
*
359-
* @throws StreamFeedException
360-
*/
361-
public function delete()
362-
{
363-
return $this->makeHttpRequest("{$this->base_feed_url}/", 'DELETE', null, null, 'feed', 'delete');
364-
}
365-
366320
/**
367321
* @param string $foreign_id
368322
* @param string $time

0 commit comments

Comments
 (0)