Skip to content
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

v9.0.0 #1476

Draft
wants to merge 33 commits into
base: master
Choose a base branch
from
Draft

v9.0.0 #1476

wants to merge 33 commits into from

Conversation

arnautov-anton
Copy link
Contributor

No description provided.

arnautov-anton and others added 14 commits February 27, 2025 10:25
fix: `channel_role` has been removed from the type of the `members`
parameter of the `Channel.inviteMembers` method
fix: properties `created_by` and `created_by_id` have been added to
`ChannelData` and `ChannelQueryOptions` types

BREAKING CHANGE: dropped jsDelivr bundle (#1468)
BREAKING CHANGE: dropped `StreamChatGenerics`, use `Custom<Entity>Data` to extend your
types
BREAKING CHANGE: type `InviteOptions` has been renamed to `UpdateChannelOptions`
BREAKING CHANGE: type `UpdateChannelOptions` has been renamed to
`UpdateChannelTypeRequest`
BREAKING CHANGE: type `ThreadResponseCustomData` has been renamed to `CustomThreadData`
BREAKING CHANGE: type `MarkAllReadOptions` has been deleted in favour of type
`MarkChannelsReadOptions`
BREAKING CHANGE: type `QueryFilter` no longer supports `$ne` and `$nin` operators
BREAKING CHANGE: type `ChannelMembership` has been deleted in favour of type
`ChannelMemberResponse`
BREAKING CHANGE: function `formatMessage` (`utils.ts`) no longer returns `__html`
property in the formatted message output
## [9.0.0-rc.1](v8.57.1...v9.0.0-rc.1) (2025-02-27)

### ⚠ BREAKING CHANGES

* dropped jsDelivr bundle (#1468)
* dropped `StreamChatGenerics`, use `Custom<Entity>Data` to extend your
types
* type `InviteOptions` has been renamed to `UpdateChannelOptions`
* type `UpdateChannelOptions` has been renamed to
`UpdateChannelTypeRequest`
* type `ThreadResponseCustomData` has been renamed to `CustomThreadData`
* type `MarkAllReadOptions` has been deleted in favour of type
`MarkChannelsReadOptions`
* type `QueryFilter` no longer supports `$ne` and `$nin` operators
* type `ChannelMembership` has been deleted in favour of type
`ChannelMemberResponse`
* function `formatMessage` (`utils.ts`) no longer returns `__html`
property in the formatted message output

### Bug Fixes

* replace StreamChatGenerics with module augmentation ([#1458](#1458)) ([feb97da](feb97da))
## [9.0.0-rc.2](v9.0.0-rc.1...v9.0.0-rc.2) (2025-02-27)

### Bug Fixes

* increase package.json[engines.node] version ([6764bad](6764bad))
Copy link
Contributor

github-actions bot commented Feb 27, 2025

Size Change: -235 kB (-44.77%) 🎉

Total Size: 290 kB

Filename Size Change
dist/browser.es.js 0 B -115 kB (removed) 🏆
dist/browser.full-bundle.min.js 0 B -62.9 kB (removed) 🏆
dist/browser.js 0 B -116 kB (removed) 🏆
dist/index.es.js 0 B -115 kB (removed) 🏆
dist/index.js 0 B -116 kB (removed) 🏆
dist/cjs/index.browser.cjs 82.5 kB +82.5 kB (new file) 🆕
dist/cjs/index.node.cjs 126 kB +126 kB (new file) 🆕
dist/esm/index.js 82.1 kB +82.1 kB (new file) 🆕

compressed-size-action

## [9.0.0-rc.3](v9.0.0-rc.2...v9.0.0-rc.3) (2025-02-27)

### Bug Fixes

* export promoteChannel ([#1474](#1474)) ([f2ba914](f2ba914))
arnautov-anton and others added 6 commits March 3, 2025 16:12
## Description of the changes, What, Why and How?

- upgraded Prettier to latest available version, adjusted configuration
- upgraded ESLint to latest available version, added new configuration
- dropped unused packages:
- ESLint plugins (`eslint-config-prettier`, `eslint-plugin-markdown`,
`eslint-plugin-prettier`, `eslint-plugin-sonarjs`,
`eslint-plugin-typescript-sort-keys`)
- `standard-version` - deprecated (previously used for versioning and
CHANGELOG.md generation)
- replaced `@typescript-eslint/eslint-plugin` &
`@typescript-eslint/parser` with `typescript-eslint`
- commit linting now happens through separate CI job (`pr-check.yml`),
using `@commitlint/cli` - used both for `commit-msg` Husky hook and PR
title check (with the same rules specified in `.commitlintrc.json`)

#### Notable Changes:

- added `GITHUB_TOKEN` for `@semantic-release/github` - use different
@stream-ci-bot instead of @semantic-release-bot
(1c313e8)
- as part of this PR I've decided to migrate Mocha-based tests to
Vitest, see
[here](e68eb41)
## [9.0.0-rc.4](v9.0.0-rc.3...v9.0.0-rc.4) (2025-03-05)

### Bug Fixes

* add extra user agent fields resolvable by react native ([#1477](#1477)) ([4232150](4232150))
* add missing env variable in rollup config ([#1480](#1480)) ([a935e9e](a935e9e))
* properly encode user agent on WS connection ([#1482](#1482)) ([58b538b](58b538b))
* remove pinned_at from the updateMessage api ([#1484](#1484)) ([7b73cac](7b73cac))
@stream-ci-bot
Copy link

🎉 This PR is included in version 9.0.0-rc.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

szuperaz and others added 2 commits March 5, 2025 15:09
## CLA

- [] I have signed the [Stream
CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform)
(required).
- [] Code changes are tested

## Description of the changes, What, Why and How?

When removing generics from stream-chat-angular I had an issue where
augmenting the same custom interface (for example `CustomChannelData`)
from two places (SDK and sample app) some changes were ignored (detailed
description:
https://getstream.slack.com/archives/C06CF5TKRGA/p1741163343794659).

Found this open GH issue for TypeScript:
microsoft/TypeScript#46617

https://linear.app/stream/issue/ANG-31/drop-generics 

## Changelog

-
## [9.0.0-rc.5](v9.0.0-rc.4...v9.0.0-rc.5) (2025-03-05)

### Bug Fixes

* multiple module augmentation fails in Angular ([#1488](#1488)) ([7f8a9a0](7f8a9a0))
@stream-ci-bot
Copy link

🎉 This PR is included in version 9.0.0-rc.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

arnautov-anton and others added 3 commits March 5, 2025 23:39
## Description of the changes, What, Why and How?
## Description of the changes, What, Why and How?

Property `image` is considered a regular property according to the
OpenAPI specification.
## [9.0.0-rc.6](v9.0.0-rc.5...v9.0.0-rc.6) (2025-03-06)

### Bug Fixes

* add image property to UserResponse type ([#1486](#1486)) ([2a57b7f](2a57b7f))
@stream-ci-bot
Copy link

🎉 This PR is included in version 9.0.0-rc.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

arnautov-anton and others added 3 commits March 11, 2025 11:19
BREAKING CHANGE: `ErrorFromResponse` class constructor now requires
second parameter (`status`, `response` and optionally `code`)
## [9.0.0-rc.7](v9.0.0-rc.6...v9.0.0-rc.7) (2025-03-11)

### ⚠ BREAKING CHANGES

* `ErrorFromResponse` class constructor now requires
second parameter (`status`, `response` and optionally `code`)

### Bug Fixes

* adjust ErrorFromResponse error class ([#1491](#1491)) ([ff32bd2](ff32bd2))
@stream-ci-bot
Copy link

🎉 This PR is included in version 9.0.0-rc.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

arnautov-anton and others added 3 commits March 12, 2025 14:51
## Description of the changes, What, Why and How?
## Description of the changes, What, Why and How?
## [9.0.0-rc.8](v9.0.0-rc.7...v9.0.0-rc.8) (2025-03-12)

### Bug Fixes

* adjust ChannelResponse, ChannelData & PollResponse ([#1493](#1493)) ([39091c7](39091c7))
* omit name from CustomChannelData for ChannelFilters ([#1494](#1494)) ([d7030c2](d7030c2))
@stream-ci-bot
Copy link

🎉 This PR is included in version 9.0.0-rc.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants