# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [3.3.0](https://github.com/GetStream/stream-chat-php/compare/v3.2.1...v3.3.0) (2023-07-21)


### Features

* added assignRole endpoint ([#111](https://github.com/GetStream/stream-chat-php/issues/111)) ([ea74a87](https://github.com/GetStream/stream-chat-php/commit/ea74a87e5161b953191bda945fa0d1a538930864))
* commit message endpoint ([#110](https://github.com/GetStream/stream-chat-php/issues/110)) ([4917191](https://github.com/GetStream/stream-chat-php/commit/49171912d7220448312445dd14e1e848324e4887))

### [3.2.1](https://github.com/GetStream/stream-chat-php/compare/v3.2.0...v3.2.1) (2023-01-05)


### Bug Fixes

* deprecated string interpolation ([#108](https://github.com/GetStream/stream-chat-php/issues/108)) ([7323128](https://github.com/GetStream/stream-chat-php/commit/7323128f4a74bcf345531502c9a974081fc8f9a6))

## [3.2.0](https://github.com/GetStream/stream-chat-php/compare/3.1.0...3.2.0) (2023-01-04)


### Features

* add deactivate and reactivate many users endpoints ([#103](https://github.com/GetStream/stream-chat-php/pull/103)) ([7c968b1](https://github.com/GetStream/stream-chat-php/commit/7c968b17522533e113e0df5bd98d975f904a2dd9))

## [3.1.0](https://github.com/GetStream/stream-chat-php/compare/3.0.0...3.1.0) (2022-12-22)


### Features

* add options to send message ([#104](https://github.com/GetStream/stream-chat-php/issues/104)) ([a433144](https://github.com/GetStream/stream-chat-php/commit/a433144206abcb8686bcb4951c012c87712507d7))

## [3.0.0](https://github.com/GetStream/stream-chat-php/compare/2.11.1...3.0.0) (2022-08-29)


### Features

* drop php 7.3 support ([#99](https://github.com/GetStream/stream-chat-php/issues/99)) ([b97a007](https://github.com/GetStream/stream-chat-php/commit/b97a007403575ce261982c47e35ce7ac7b1f2aed))

### [2.11.1](https://github.com/GetStream/stream-chat-php/compare/2.11.0...2.11.1) (2022-08-29)


### Bug Fixes

* bump guzzle for security and add 8.2 ([#97](https://github.com/GetStream/stream-chat-php/issues/97)) ([947155e](https://github.com/GetStream/stream-chat-php/commit/947155e405fa1e2ffe54ff7a8604761d97d16e5f))

## [2.11.0](https://github.com/GetStream/stream-chat-php/compare/2.10.0...2.11.0) (2022-05-30)


### Features

* **campaign:** add campaign endpoints ([#93](https://github.com/GetStream/stream-chat-php/issues/93)) ([cf287fe](https://github.com/GetStream/stream-chat-php/commit/cf287fe590414e35d947829c574fc77dea2ea789))
* **imports:** add import endpoints ([#92](https://github.com/GetStream/stream-chat-php/issues/92)) ([fd209e5](https://github.com/GetStream/stream-chat-php/commit/fd209e5875b7e3e3c88cc6d89712cb99d929732d))

## [2.10.0](https://github.com/GetStream/stream-chat-php/compare/2.9.0...2.10.0) (2022-04-05)


### Features

* add device fields ([#85](https://github.com/GetStream/stream-chat-php/issues/85)) ([f75662e](https://github.com/GetStream/stream-chat-php/commit/f75662e1eefa6d8b4d59155d9554c4716b07a177))
* add new moderation apis ([#83](https://github.com/GetStream/stream-chat-php/issues/83)) ([dc67d75](https://github.com/GetStream/stream-chat-php/commit/dc67d75f820d5b241cb2af04b2b3e2bba24a7177))
* add push providers ([#84](https://github.com/GetStream/stream-chat-php/issues/84)) ([d39c770](https://github.com/GetStream/stream-chat-php/commit/d39c770e10df1a96568c7f126740c2acd33f78bc))
* add type hints to php, plus some documentation improvements ([#77](https://github.com/GetStream/stream-chat-php/issues/77)) ([69d6567](https://github.com/GetStream/stream-chat-php/commit/69d656770ba5c7e5649af47cdfe8597df7d81888))
* remove jwt dependency ([#79](https://github.com/GetStream/stream-chat-php/issues/79)) ([116cfa5](https://github.com/GetStream/stream-chat-php/commit/116cfa574a66ad5de4dd8f17f46f320d59d6724e))


### Bug Fixes

* fix user/channel events ([#80](https://github.com/GetStream/stream-chat-php/issues/80)) ([44d36f3](https://github.com/GetStream/stream-chat-php/commit/44d36f36db3903cbf266a6d011e7f9c81bf60bb1))

## 2.9.0 (2022-02-04)


### Features

* add custom http client possibility ([#73](https://github.com/GetStream/stream-chat-php/issues/73)) ([e72f104](https://github.com/GetStream/stream-chat-php/commit/e72f104b41b45540ac98443d6bb7ef2d9b82a6a2))
* add full feature parity ([#71](https://github.com/GetStream/stream-chat-php/issues/71)) ([1377507](https://github.com/GetStream/stream-chat-php/commit/1377507475f3175bd82faf2e72ec71540335a3eb))
* add ratelimit to response ([#72](https://github.com/GetStream/stream-chat-php/issues/72)) ([4ffdaa1](https://github.com/GetStream/stream-chat-php/commit/4ffdaa194fd29c6dbb83488b3b067b631ebc24b5))


### Bug Fixes

* fix invitation and channel update logic ([#74](https://github.com/GetStream/stream-chat-php/issues/74)) ([ccf956c](https://github.com/GetStream/stream-chat-php/commit/ccf956c4c13437f7849a1efae50d38c29730f04f))

## 2.8.0 (2022-01-18)


### Features

* add options to add members ([#68](https://github.com/GetStream/stream-chat-php/issues/68)) ([6bfba2c](https://github.com/GetStream/stream-chat-php/commit/6bfba2ca49da269fb0bb239d6bcb2cad830a85c8))
* add truncate options ([#67](https://github.com/GetStream/stream-chat-php/issues/67)) ([d45ad02](https://github.com/GetStream/stream-chat-php/commit/d45ad0246ffb59c1f03de492da602d7610fcab9c))

## 2.7.0 - 2021-11-17

- Add support for shadow banning user
    - shadow_ban
    - remove_shadow_ban
- Add support for pinning messages
    - pin_message
    - unpin_message
- Add support for partial updating messages
    - update_message_partial
- Add support for updating channel ownership for Deleted Users

## 2.6.1 - 2021-11-04

- `UpdateUser` and `UpdateUsers` are deprecated in favor of `UpsertUser` and `UpsertUsers` respectively ([#64](https://github.com/GetStream/stream-chat-php/pull/64)) and will be dropped in the next major release. There is no change in the implementation, simple renaming for what they really do.

## 2.6.0 - 2021-11-01

- Add async delete users API support ([#62](https://github.com/GetStream/stream-chat-php/pull/62))
- Add async delete channels API support ([#63](https://github.com/GetStream/stream-chat-php/pull/63))

## 2.5.0 - 2021-10-06

- Add exportChannels API support ([#60](https://github.com/GetStream/stream-chat-php/pull/60))

## 2.4.0 - 2021-10-04

- Add Permissions API support and update dev dependencies ([#59](https://github.com/GetStream/stream-chat-php/pull/59))

## 2.3.1 - 2021-10-04

- Fix type validation for issuedAt JWT field ([#56](https://github.com/GetStream/stream-chat-php/issues/56))
- Fix license field in composer.json

## 2.3.0 - 2021-06-28

- Add support for new search improvements

## 2.2.0 - 2021-05-28

- Add support to revoke application and user level tokens
- Fix async constant initialization in a namespace in PHP 7.4+
- Upgrade deprecated cs-fixer config

## 2.1.0 - 2021-05-20

- Add query message flags support

## 2.0.0 - 2021-03-24

- Add channel partial update
- Ensure query channels has filters, empty filters not supported
- Fix test of get rate limits endpoint
- Move license to BSD-3
- Drop PHP 7.2 and PHP 7.4 and 8.0 support
- Upgrade composer to v2
- Move to github actions and use phan and php-cs-fixer in CI

## 1.4.0 - 2021-03-10

- Add get rate limits endpoint support

## 1.3.0 - 2020-12-21

- Add support for message filters in search
- Use post for query channels instead of get (deprecated in server)

## 1.2.0 - 2020-12-14

- Add channel mute support
- Add getCID helper to channel to concat type and id

## 1.1.10 - 2020-12-10

- Fix location setting while creating client
- Fix urls in file/image upload tests

## 1.1.9 - 2020-12-09

- Support empty filter call in queryMembers
- Fix user id access in member object after a fix in API

## 1.1.8 - 2020-09-10

- Support guzzle 7

## 1.1.7 - 2020-07-01

- add queryMembers implementation

## 1.1.6 - 2020-06-29

- Fixed chat settings

## 1.1.5 - 2019-12-19

- Add $clearHistory option to Channel->hide.

## 1.1.4 - 2019-10-29

- Check type of expiration in createToken and throw error if not a unix timestamp

## 1.1.3 - 2019-10-14

- Allow changing `$baseURL` with STREAM_BASE_CHAT_URL environment variable
