Skip to content

Commit

Permalink
Merge pull request #675 from GetStream/test-update
Browse files Browse the repository at this point in the history
feat: add support for @ngx-float-ui@19
  • Loading branch information
szuperaz authored Dec 16, 2024
2 parents a4b794b + b7ed2b7 commit defcd50
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- master
- angular-19
- test-update
pull_request:
branches:
- master
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ Check out our current openings and apply via [Stream's website](https://getstrea
Run this command if you are using **Angular 19**:

```shell
# Some SDK depedencies doesn't yet have official support for Angular 19, so we need to add --force flag until then
npm install stream-chat-angular stream-chat @ngx-translate/core@15 ngx-float-ui@18 --force
npm install stream-chat-angular stream-chat @ngx-translate/core@15 ngx-float-ui@19
```

Supported Angular versions: **Angular 15-18**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"branches": [
"master",
{
"name": "angular-19",
"name": "test-update",
"prerelease": true,
"channel": "beta"
},
Expand Down
37 changes: 33 additions & 4 deletions projects/stream-chat-angular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,40 @@ Check out our current openings and apply via [Stream's website](https://getstrea

### Install with NPM

Run the following command if you are using **Angular 13**:
Run this command if you are using **Angular 19**:

```shell
npm install stream-chat-angular stream-chat @ngx-translate/core
npm install stream-chat-angular stream-chat @ngx-translate/core@15 ngx-float-ui@19
```

Run this command if you are using **Angular 12**:
Supported Angular versions: **Angular 15-18**

Run this command if you are using **Angular 18**:

```shell
npm install stream-chat-angular stream-chat ngx-float-ui@18
```

Run this command if you are using **Angular 17**:

```shell
npm install stream-chat-angular stream-chat@5 @ngx-translate/core --legacy-peer-deps
npm install stream-chat-angular stream-chat ngx-float-ui@17
```

Run this command if you are using **Angular 16**:

```shell
npm install stream-chat-angular stream-chat ngx-float-ui@16
```

Run this command if you are using **Angular 15**:

```shell
npm install stream-chat-angular stream-chat @ngx-translate/core@14 ngx-float-ui@15
```

Supported node verisons: 18+

```
## Sample App
Expand All @@ -72,9 +96,11 @@ To test the app:
Create a file named `.env` in the root directory with the following content:
```

STREAM_API_KEY=<Your API key>
STREAM_USER_ID=<Your user ID>
STREAM_USER_TOKEN=<Your user token>

```
Run `npm start` and navigate to `http://localhost:4200/`.
Expand All @@ -88,13 +114,16 @@ To run the app:
Create a file named `.env` in the root directory with the following content:
```

STREAM_API_KEY=<Your API key>
STREAM_USER_ID=<Your user ID>
STREAM_USER_TOKEN=<Your user token>

```
Run `npm start:customizations-example` and navigate to `http://localhost:4200/`.
## Local development
Run `npm install` in the root of the project. You can use the `npm run start:dev` command to start the SampleApp with automatic reloading.
```
4 changes: 2 additions & 2 deletions projects/stream-chat-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stream-chat-angular",
"version": "5.10.0",
"version": "5.11.0-test-update.1",
"description": "Angular components to create chat conversations or livestream style chat",
"author": "GetStream",
"homepage": "https://getstream.io/chat/",
Expand Down Expand Up @@ -36,7 +36,7 @@
"dayjs": "^1.11.10",
"emoji-regex": "^10.3.0",
"fix-webm-duration": "^1.0.6",
"ngx-float-ui": "^15.0.0|| ^16.0.0 || ^17.0.0 || ^18.0.0 || ^18.0.1-rc.0",
"ngx-float-ui": "^15.0.0|| ^16.0.0 || ^17.0.0 || ^18.0.0 || ^18.0.1-rc.0 || ^19.0.0",
"pretty-bytes": "^6.1.1",
"tslib": "^2.3.0",
"uuid": "^9.0.1"
Expand Down
2 changes: 1 addition & 1 deletion projects/stream-chat-angular/src/assets/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '5.10.0';
export const version = '5.11.0-test-update.1';

0 comments on commit defcd50

Please sign in to comment.