Skip to content

v9.0.0 [skip-ci] #1476

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 60 commits into from
May 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
f88c210
chore: update build system (#1468)
arnautov-anton Feb 26, 2025
b7dfd9f
chore: adjust CHANGELOG.md
arnautov-anton Feb 27, 2025
aeb1b10
chore: adjust package.json#version
arnautov-anton Feb 27, 2025
724558e
chore: change package.json#prepare to prepack, add rc to .releaserc.json
arnautov-anton Feb 27, 2025
4fc5f6d
chore: adjust NEXT_VERSION generation
arnautov-anton Feb 27, 2025
92a546e
chore: adjust names of workflows
arnautov-anton Feb 27, 2025
feb97da
fix: replace StreamChatGenerics with module augmentation (#1458)
arnautov-anton Feb 27, 2025
3283683
chore: adjust release.yml - add condition for rc
arnautov-anton Feb 27, 2025
57a4e39
chore: adjust version check
arnautov-anton Feb 27, 2025
1c313e8
chore(release): 9.0.0-rc.1 [skip ci]
semantic-release-bot Feb 27, 2025
6764bad
fix: increase package.json[engines.node] version
arnautov-anton Feb 27, 2025
993c7ce
chore(release): 9.0.0-rc.2 [skip ci]
semantic-release-bot Feb 27, 2025
0acd60b
chore: adjust release process, use package.json#version instead
arnautov-anton Feb 27, 2025
a38e7b8
Merge remote-tracking branch 'origin' into rc
arnautov-anton Feb 27, 2025
e2d9b15
chore(release): 9.0.0-rc.3 [skip ci]
semantic-release-bot Feb 27, 2025
93d2676
Merge branch 'master' of github.com:GetStream/stream-chat-js into rc
arnautov-anton Mar 3, 2025
e34bfc5
test(user-agent): fix StreamChat.getUserAgent post-merge
arnautov-anton Mar 3, 2025
4b2b573
chore: upgrade Prettier and ESLint (#1478)
arnautov-anton Mar 5, 2025
855a188
Merge branch 'master' of github.com:GetStream/stream-chat-js into rc
arnautov-anton Mar 5, 2025
3c103d0
test(update-message): fix reserved keys removal post-merge
arnautov-anton Mar 5, 2025
91afa11
chore(release): 9.0.0-rc.4 [skip ci]
semantic-release-bot Mar 5, 2025
7f8a9a0
fix: multiple module augmentation fails in Angular (#1488)
szuperaz Mar 5, 2025
017ccd7
chore(release): 9.0.0-rc.5 [skip ci]
semantic-release-bot Mar 5, 2025
7b099e4
chore(ci): upgrade actions in workflows
arnautov-anton Mar 5, 2025
a7a259b
chore(build): fix watch mode (#1489)
arnautov-anton Mar 5, 2025
2a57b7f
fix: add image property to UserResponse type (#1486)
arnautov-anton Mar 6, 2025
dcb1030
chore(release): 9.0.0-rc.6 [skip ci]
semantic-release-bot Mar 6, 2025
ff32bd2
fix: adjust ErrorFromResponse error class (#1491)
arnautov-anton Mar 11, 2025
32c5944
chore: build, version & release adjustments
arnautov-anton Mar 11, 2025
cbed9db
chore(release): 9.0.0-rc.7 [skip ci]
semantic-release-bot Mar 11, 2025
39091c7
fix: adjust ChannelResponse, ChannelData & PollResponse (#1493)
arnautov-anton Mar 12, 2025
d7030c2
fix: omit name from CustomChannelData for ChannelFilters (#1494)
arnautov-anton Mar 12, 2025
a6e67d6
chore(release): 9.0.0-rc.8 [skip ci]
semantic-release-bot Mar 12, 2025
6fa2748
Merge remote-tracking branch 'origin' into rc
arnautov-anton Mar 25, 2025
5797193
chore(release): 9.0.0-rc.9 [skip ci]
semantic-release-bot Mar 25, 2025
2df58c9
Merge branch 'master' of github.com:GetStream/stream-chat-js into rc
arnautov-anton Apr 2, 2025
ceda646
Merge branch 'master' of github.com:GetStream/stream-chat-js into rc
arnautov-anton Apr 4, 2025
b5cba9b
Merge branch 'master' of github.com:GetStream/stream-chat-js into rc
arnautov-anton Apr 4, 2025
dd3e643
Merge branch 'master' of github.com:GetStream/stream-chat-js into rc
arnautov-anton Apr 8, 2025
1276aa6
Merge branch 'master' of github.com:GetStream/stream-chat-js into rc
arnautov-anton Apr 9, 2025
09facf9
chore(release): 9.0.0-rc.10 [skip ci]
semantic-release-bot Apr 9, 2025
8525fed
Merge branch 'master' of github.com:GetStream/stream-chat-js into rc
arnautov-anton Apr 10, 2025
0923f00
Merge branch 'master' of github.com:GetStream/stream-chat-js into rc
arnautov-anton Apr 11, 2025
75665fd
Merge branch 'master' of github.com:GetStream/stream-chat-js into rc
arnautov-anton Apr 17, 2025
16cd81a
fix: [REACT-344] remove Agora & 100ms integrations (#1519)
arnautov-anton Apr 24, 2025
0c07524
feat: message composer (#1495)
MartinCupela Apr 28, 2025
4015112
chore(release): 9.0.0-rc.11 [skip ci]
semantic-release-bot Apr 28, 2025
44902e7
feat: add missing configuration parameters for AttachmentManager and …
MartinCupela Apr 28, 2025
ab39bf5
chore(release): 9.0.0-rc.12 [skip ci]
semantic-release-bot Apr 28, 2025
02cd9a8
feat: disable link previews in message composer
MartinCupela Apr 28, 2025
20140ed
chore(release): 9.0.0-rc.13 [skip ci]
semantic-release-bot Apr 28, 2025
9aae032
feat: make MessageComposer middleware executors public
MartinCupela Apr 29, 2025
9e44883
Merge remote-tracking branch 'origin/rc' into rc
MartinCupela Apr 29, 2025
b178abf
chore(release): 9.0.0-rc.14 [skip ci]
semantic-release-bot Apr 29, 2025
2c0c639
feat: improve MessageComposer ergonomics
MartinCupela Apr 30, 2025
81b1cea
chore(release): 9.0.0-rc.15 [skip ci]
semantic-release-bot Apr 30, 2025
8b324eb
fix: remove message composer bugs (#1521)
MartinCupela May 2, 2025
3aab325
chore(release): 9.0.0-rc.16 [skip ci]
semantic-release-bot May 2, 2025
9d8992d
feat: middleware handler API improvement (#1523)
MartinCupela May 6, 2025
f1d73fd
fix(qa): adjust Event & ChannelData types (#1524)
arnautov-anton May 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .babelrc

This file was deleted.

3 changes: 0 additions & 3 deletions .commitlintrc.js

This file was deleted.

4 changes: 4 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://json.schemastore.org/commitlintrc.json",
"extends": ["@commitlint/config-conventional"]
}
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

64 changes: 0 additions & 64 deletions .eslintrc.json

This file was deleted.

23 changes: 13 additions & 10 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
name: Setup
description: Sets up Node and Build SDK
description: Sets up Node and installs dependencies

inputs:
node-version:
description: 'Specify Node version'
required: false
default: '16'
default: '22'

runs:
using: 'composite'
steps:
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
registry-url: https://registry.npmjs.org

- name: Cache Dependencies
uses: actions/cache@v3
- name: Set NODE_VERSION env
shell: bash
run: echo "NODE_VERSION=$(node --version)" >> $GITHUB_ENV

- name: Cache dependencies
uses: actions/cache@v4
with:
path: ./node_modules
key: ${{ runner.os }}-${{ inputs.node-version }}-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-${{ inputs.node-version }}-modules-
key: ${{ runner.os }}-${{ env.NODE_VERSION }}-modules-${{ hashFiles('./yarn.lock') }}

- name: Install Dependencies & Build
run: yarn install --frozen-lockfile --ignore-engines
- name: Install dependencies
run: yarn install --frozen-lockfile
shell: bash
69 changes: 0 additions & 69 deletions .github/workflows/initiate_release.yml

This file was deleted.

7 changes: 2 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,17 @@ on:
pull_request:
types: [opened, synchronize, reopened, edited]

concurrency:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-node

- name: Commit message lint
run: echo "${{ github.event.pull_request.title }}" | yarn commitlinter

- name: Lint
run: yarn lint
16 changes: 16 additions & 0 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Check PR title

on:
pull_request:
types: [opened, edited, synchronize, reopened]

jobs:
pr-title:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-node

- name: commitlint
run: echo "${{ github.event.pull_request.title }}" | npx commitlint --verbose
51 changes: 21 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,33 @@
name: Release

on:
pull_request:
types: [closed]
branches:
- master
workflow_dispatch:
inputs:
dry_run:
description: Run package release in "dry run" mode (does not publish)
default: false
type: boolean

jobs:
Release:
name: 🚀 Release
if: github.event.pull_request.merged && startsWith(github.head_ref, 'release-')
package_release:
name: Release from "${{ github.ref_name }}" branch
runs-on: ubuntu-latest
# GH does not allow to limit branches in the workflow_dispatch settings so this here is a safety measure
if: ${{ inputs.dry_run || github.ref_name == 'rc' || startsWith(github.ref_name, 'release') || startsWith(github.ref_name, 'master') }}
env:
HUSKY: 0
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/github-script@v6
with:
script: |
const get_change_log_diff = require('./scripts/get_changelog_diff.js')
core.exportVariable('CHANGELOG', get_change_log_diff())

// Getting the release version from the PR source branch
// Source branch looks like this: release-1.0.0
const version = context.payload.pull_request.head.ref.split('-')[1]
core.exportVariable('VERSION', version)

- uses: ./.github/actions/setup-node

- name: Publish package
run: npm publish
- name: Release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create release on GitHub
uses: ncipollo/release-action@v1
with:
body: ${{ env.CHANGELOG }}
tag: ${{ env.VERSION }}
token: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# https://github.com/stream-ci-bot
GITHUB_TOKEN: ${{ secrets.DOCUSAURUS_GH_TOKEN }}
run: >
yarn semantic-release
${{ inputs.dry_run && '--dry-run' || '' }}
4 changes: 2 additions & 2 deletions .github/workflows/scheduled_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
workflow_dispatch:
schedule:
# Monday at 9:00 UTC
- cron: "0 9 * * 1"
- cron: '0 9 * * 1'

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-node

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/size.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Compressed Size
name: Compressed size

on:
pull_request:
paths-ignore:
- 'test/**'
- '**.md'

concurrency:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: preactjs/compressed-size-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/type.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Type Test
name: Type test
on: [pull_request]

concurrency:
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Unit Test
name: Unit test
on: [pull_request]

concurrency:
Expand All @@ -8,15 +8,10 @@ concurrency:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 17, 18]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-node
with:
node-version: ${{ matrix.node }}

- name: Unit tests
- name: Unit tests with Node ${{ env.NODE_VERSION }}
run: yarn run test-coverage
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ typings/
/.idea
.envrc

test/typescript/data.*
test/typescript/data.*
3 changes: 3 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env sh

npx commitlint --edit $1
Loading
Loading