stream-chat 5.1.2 → 5.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -55,7 +55,7 @@ type AdminMessage = { priorityLevel: number };
55
55
  type ChatAttachment = { originalURL?: string };
56
56
  type CustomReaction = { size?: number };
57
57
  type ChatEvent = { quitChannel?: boolean };
58
- type CustomCommands = 'imgur';
58
+ type CustomCommands = 'giphy';
59
59
 
60
60
  // Instantiate a new client (server side)
61
61
  // you can also use `new StreamChat<T,T,...>()`
@@ -145,17 +145,26 @@ client.connectUser({ id: 'testId', nickname: 'testUser', country: 'NL' }, 'TestT
145
145
  - [Logging](docs/logging.md)
146
146
  - [User Token](docs/userToken.md)
147
147
 
148
- ## Publishing a new version
148
+ ## Contributing
149
149
 
150
- Note that you need 2FA enabled on NPM, publishing with Yarn gives error, use NPM directly for this:
150
+ We welcome code changes that improve this library or fix a problem, please make sure to follow all best practices and add tests if applicable before submitting a Pull Request on Github. We are very happy to merge your code in the official repository. Make sure to sign our [Contributor License Agreement (CLA)](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) first. See our license file for more details.
151
151
 
152
- ```bash
153
- npm version patch|minor|major
154
- ```
152
+ ### Commit message convention
155
153
 
156
- ## Contributing
154
+ Since we're autogenerating our [CHANGELOG](./CHANGELOG.md), we need to follow a specific commit message convention.
155
+ You can read about conventional commits [here](https://www.conventionalcommits.org/). Here's how a usual commit message looks like for a new feature: `feat: allow provided config object to extend other configs`. A bugfix: `fix: prevent racing of requests`.
157
156
 
158
- We welcome code changes that improve this library or fix a problem, please make sure to follow all best practices and add tests if applicable before submitting a Pull Request on Github. We are very happy to merge your code in the official repository. Make sure to sign our [Contributor License Agreement (CLA)](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) first. See our license file for more details.
157
+ ## Release (for Stream developers)
158
+
159
+ Releasing this package involves two GitHub Action steps:
160
+
161
+ - Kick off a job called `initiate_release` ([link](https://github.com/GetStream/stream-chat-js/actions/workflows/initiate_release.yml)).
162
+
163
+ The job creates a pull request with the changelog. Check if it looks good.
164
+
165
+ - Merge the pull request.
166
+
167
+ Once the PR is merged, it automatically kicks off another job which will create the tag and created a GitHub release.
159
168
 
160
169
  ## We are hiring
161
170