Skip to content

Releases: GetStream/stream-swift

1.1.7

16 Apr 12:57
@buh buh

Choose a tag to compare

Fixed dependencies.

1.1.6

15 Mar 11:01
@buh buh

Choose a tag to compare

  • Added the current user property to the UserProtocol.
  • Extracted the original property from Reactionable to OriginalRepresentable protocol.
  • Removed unused property target from ActivityProtocol.

1.1.5

05 Mar 13:54
@buh buh

Choose a tag to compare

  • Added a Bundle extension for Stream setup.
  • Extended Reactionable with original object.
  • Extended Reactionable with user own reactions convenient functions.
  • Added to FeedId a new constructor for the current user .init?(feedSlug: String).
  • Added originFeedId for the Activity.
  • Added associated types for ReactionProtocol.

1.1.4

28 Feb 09:12
@buh buh

Choose a tag to compare

  • Added a convenient function getCurrentUser to the Client.

1.1.3

26 Feb 14:12
@buh buh

Choose a tag to compare

Added

  • A shared instance for the Client. Just setup Client.config before using it.
// Setup a shared Stream client before using it.
Client.config = .init(apiKey: "API_KEY", appId: "APP_ID", token: "TOKEN")

// Create Chris's user feed.
let chrisFeed = Client.shared.flatFeed(feedSlug: "user", userId: "chris")
  • A new property feedGroupId for the Activity.
  • New properties unseenCount and unreadCount to the Response.

Fixes

  • Hided logs from the Faye client.
  • Subscriptions for updates to keeping web socket connection.
  • Fixed a feed subscription callbackQueue.

1.1.1

14 Feb 09:48
@buh buh

Choose a tag to compare

  • New reactions will add at the beginning of the activity reactions.
  • Added user own reactions for a reaction in requests of getting reactions by activityId.
  • Added a new type ReactionExtraData as an example of reaction extra data usage with a different content type.
  • Added functions to Reaction for child reaction managing.

1.1.0

07 Feb 10:10
@buh buh

Choose a tag to compare

  • Reaction type require a User type.
  • Added the user property for Reaction and removed the userId property.
  • Activity type require a ReactionType type (ReactionProtocol).
  • ReactionNoExtraData renamed to EmptyReactionExtraData.
  • Added DefaultReaction = Reaction<EmptyReactionExtraData, User>
  • Updated Activity = EnrichedActivity<String, String, String, DefaultReaction>

1.0.4

23 Jan 09:37
@buh buh

Choose a tag to compare

  • Client.callbackQueue now is DispatchQueue.main by default and would be used after parsing for completion blocks.
  • Feed has own callbackQueue and by default it used Client.callbackQueue.
  • ActivityProtocol extended with helper functions addOwnReaction and deleteOwnReaction (docs).
  • Reactions and User are equitable now.
  • ActivityProtocol is Enrichable now. It's very useful if needs to use an activity as an enrichable object. For example in repost, where object could be the original activity.

1.0.3

14 Jan 09:21
@buh buh

Choose a tag to compare

1.0.3 Pre-release
Pre-release

1.0.2

11 Jan 20:55
@buh buh

Choose a tag to compare

1.0.2 Pre-release
Pre-release