diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 07b6acde..009aa1fb 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -4,6 +4,7 @@ on: branches: - master - angular-19 + - test-update pull_request: branches: - master diff --git a/README.md b/README.md index 9ba9190d..354bdb53 100644 --- a/README.md +++ b/README.md @@ -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** diff --git a/package.json b/package.json index 949227fb..b9de4600 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "branches": [ "master", { - "name": "angular-19", + "name": "test-update", "prerelease": true, "channel": "beta" }, diff --git a/projects/stream-chat-angular/README.md b/projects/stream-chat-angular/README.md index 4bd29387..04f70d1d 100644 --- a/projects/stream-chat-angular/README.md +++ b/projects/stream-chat-angular/README.md @@ -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 @@ -72,9 +96,11 @@ To test the app: Create a file named `.env` in the root directory with the following content: ``` + STREAM_API_KEY= STREAM_USER_ID= STREAM_USER_TOKEN= + ``` Run `npm start` and navigate to `http://localhost:4200/`. @@ -88,9 +114,11 @@ To run the app: Create a file named `.env` in the root directory with the following content: ``` + STREAM_API_KEY= STREAM_USER_ID= STREAM_USER_TOKEN= + ``` Run `npm start:customizations-example` and navigate to `http://localhost:4200/`. @@ -98,3 +126,4 @@ 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. +``` diff --git a/projects/stream-chat-angular/package.json b/projects/stream-chat-angular/package.json index b6678a0d..b383dcd2 100644 --- a/projects/stream-chat-angular/package.json +++ b/projects/stream-chat-angular/package.json @@ -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/", @@ -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" diff --git a/projects/stream-chat-angular/src/assets/version.ts b/projects/stream-chat-angular/src/assets/version.ts index 87d039fc..7f873494 100644 --- a/projects/stream-chat-angular/src/assets/version.ts +++ b/projects/stream-chat-angular/src/assets/version.ts @@ -1 +1 @@ -export const version = '5.10.0'; +export const version = '5.11.0-test-update.1';