Skip to content

Releases: GetStream/stream-js

v3.4.0

04 Aug 20:41
Compare
Choose a tag to compare
  • add getReadOnlyToken and getReadWriteToken method to feed instances
  • Update Faye to 1.2.0

v3.3.0

04 Aug 20:41
Compare
Choose a tag to compare
  • Pin down all dependencies

v3.2.0

04 Aug 20:41
Compare
Choose a tag to compare
  • Added support for keep_history parameter on unfollow

v3.1.2

04 Aug 20:42
Compare
Choose a tag to compare
  • Stream-JS is now compatible with React-Native
  • dependency browser-request fork changed to xmlhttp-request hosted on npm

v3.1.1

04 Aug 20:42
Compare
Choose a tag to compare
  • Stream-JS is now compatible with React-Native
  • dependency browser-request updated to 0.3.4

v3.1.0

22 Feb 12:14
Compare
Choose a tag to compare
  • Added support for update_activity API
  • Added support for activity_copy_limit to limit the amount of activities copied by client.followMany
  • dependency request updated to 2.67.0
  • dependency qs updated to 6.0.1
  • dependency faye updated to 1.1.2

v3.0.0

22 Feb 12:15
Compare
Choose a tag to compare

Breaking Changes

  • Breaking change: Functions performing an XHR Request no longer return the request object, instead they return a Promise

New Features

  • Added support for add_to_many api call (i.e. client.addToMany) to add one activity to many feeds
  • Added support for follow_many api call (i.e. client.followMany) to create multiple follow relations in one request
  • Added support to create a redirect url (i.e. client.createRedirectUrl) to track events via stream's analytics platform
  • Added support for follow_copy_limit API parameter on follow.
  • Added option to enable JWT token expiration (default behavior is no expiration) through option: { expireTokens: true }

Minor fixes

  • Removed Buffer as a dependency of lib/signing.js to reduce distributable size for the browser. Instead use Base64 lib for
    base64 encoding.
  • Enforce code style through jscs and jshint during the build (i.e. gulp lint)
  • Generated API documentation in /docs