Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GetStream/stream-chat-js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.4.3
Choose a base ref
...
head repository: GetStream/stream-chat-js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.0.0
Choose a head ref
  • 17 commits
  • 32 files changed
  • 7 contributors

Commits on Nov 23, 2021

  1. [CHAT-2445] Add hardDelete option to truncate channel (#805)

    Vova Maksimchuk committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    8c7a32f View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2021

  1. drop husky hooks (#816)

    Amin Mahboubi committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    55e6e6d View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2021

  1. Extend channel truncation params (#815)

    * Extend channel truncation params
    Vova Maksimchuk committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    c27a999 View commit details
    Browse the repository at this point in the history
  2. prettier: increase line width to 120char (#818)

    Amin Mahboubi committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    276c3ca View commit details
    Browse the repository at this point in the history
  3. types: UR alias UnknownType (#819)

    * types: UR alias UnknownType
    
    * fix alias
    Amin Mahboubi committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    95979ce View commit details
    Browse the repository at this point in the history
  4. [CHAT-2390] Add hide_history parameter (#817)

    Co-authored-by: Amin Mahboubi <[email protected]>
    yaziine and Amin Mahboubi committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    e613710 View commit details
    Browse the repository at this point in the history
  5. Add update options into a couple places for channel (#821)

    * Add options into a couple places
    
    * Update src/channel.ts
    
    Co-authored-by: Amin Mahboubi <[email protected]>
    
    * Update src/channel.ts
    
    Co-authored-by: Amin Mahboubi <[email protected]>
    
    * Update src/channel.ts
    
    Co-authored-by: Amin Mahboubi <[email protected]>
    
    * Update src/channel.ts
    
    Co-authored-by: Amin Mahboubi <[email protected]>
    
    * Update src/channel.ts
    
    Co-authored-by: Amin Mahboubi <[email protected]>
    
    * fix linter err
    
    Co-authored-by: Amin Mahboubi <[email protected]>
    Co-authored-by: Amin Mahboubi <[email protected]>
    3 people committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    7b58eef View commit details
    Browse the repository at this point in the history
  6. refactor: connection logger (#820)

    Amin Mahboubi committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    b8f0973 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2021

  1. refactor: simplify StableWSConnection constructor params (#822)

    * refactor: simplify StableWSConnection constructor params
    
    * use correct user data
    
    * fix test
    
    * remove unused var
    
    * remove duplicated check on resolvePromise
    
    * rm useless else block
    Amin Mahboubi committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    9e72cd6 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. Configuration menu
    Copy the full SHA
    14fdfd7 View commit details
    Browse the repository at this point in the history
  2. Fix update message (#825)

    * Create and export reserved message fields type
    
    Those are the fields that are returned from the api but that are
    readonly (so shouldn't be part of message creation or modification
    payloads).
    
    * Add quoted message filed to reserved list
    
    Signed-off-by: Vini Andrade <[email protected]>
    vicnicius committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    cbe9c00 View commit details
    Browse the repository at this point in the history
  3. CI: run on node v17 (#826)

    Amin Mahboubi committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    bc89884 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2021

  1. Chore: upgrade axios to v0.22 (#827)

    Amin Mahboubi committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    9ecb84c View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2021

  1. LongPoll (#814)

    * set received_at in dispatchEvent
    
    * break _buildUrl
    
    * first draft of ws poll
    
    * fix tests
    
    * refactor connection state
    
    * APIErrorCodes
    
    * remove temp fallback
    
    * fix wrong err code
    
    * add ConnectionIDNotFoundError
    
    * _setConnectionID
    
    * reset longpoll on CONNECTION_ID_ERROR
    
    * rm space
    
    * rate limit
    
    * refactor _buildWSPayload
    
    * _getConnectionID
    
    * waitForHealthy timeout from connect
    
    * clean fallback from WS class
    
    * fallback isHealthy
    
    * client run fallback ws
    
    * close longpoll properly
    
    * delete errors.ts
    
    * client use fallback if WS error
    
    * setLocalDevice check for wsfallback
    
    * connection isDisconnected flag
    
    * closeConnection promise
    
    * fix tests
    
    * set this.isConnecting to false on err
    
    * reset connection id on connect
    
    * refactor errors
    
    * retry logic
    
    * replace local port
    
    * typo
    
    * poll sleep on err
    
    * fix multiple recover call
    
    * disconnect in case of non retryable errors
    
    * fallback recover state
    
    * enableWSFallback flag warning
    
    * check browser is online before longpoll
    
    * refactor addConnectionEventListeners
    
    * connection.changed events
    
    * fallback logger
    
    * removed todo
    
    * fix event condition
    
    * 4.5.0-beta.0
    
    * warn for missing navigation
    
    * fix APIError type
    
    * fix isOnline
    
    * export ConnectionState
    
    * test client
    Amin Mahboubi committed Dec 2, 2021
    Configuration menu
    Copy the full SHA
    d4e8c6a View commit details
    Browse the repository at this point in the history
  2. Breaking Change: Remove BanUserOptions deprecated user & user_id types (

    #828)
    
    * Breaking Change: Remove BanUserOptions deprecated user & user_id types
    
    * rm unused options
    Amin Mahboubi committed Dec 2, 2021
    Configuration menu
    Copy the full SHA
    f96f059 View commit details
    Browse the repository at this point in the history
  3. Fix: Remove unused fileds in WS JOSN payload (#829)

    * Fix: Remove unused fileds in WS JOSN payload
    
    * fix tests
    Amin Mahboubi committed Dec 2, 2021
    Configuration menu
    Copy the full SHA
    300c2f0 View commit details
    Browse the repository at this point in the history
  4. 5.0.0

    mahboubii committed Dec 2, 2021
    Configuration menu
    Copy the full SHA
    d50eedf View commit details
    Browse the repository at this point in the history
Loading