From f5a87ba4105179a6087f5c6e08d1d9c482eac99c Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Fri, 22 Nov 2024 10:14:33 +0100 Subject: [PATCH 1/5] feat: add support for Angular 19 --- package.json | 5 +++++ projects/stream-chat-angular/package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 46b112e7..e1b4e6a4 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,11 @@ "release": { "branches": [ "master", + { + "name": "angular-19", + "prerelease": true, + "channel": "beta" + }, { "name": "5.x.x-beta", "prerelease": true, diff --git a/projects/stream-chat-angular/package.json b/projects/stream-chat-angular/package.json index 41a2d2fd..9e91b9ac 100644 --- a/projects/stream-chat-angular/package.json +++ b/projects/stream-chat-angular/package.json @@ -17,8 +17,8 @@ } }, "peerDependencies": { - "@angular/common": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", - "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", + "@angular/common": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "@breezystack/lamejs": "^1.2.7", "@ngx-translate/core": "^14.0.0 || ^15.0.0", "rxjs": "^7.4.0", From 929f0abb37bd500b5e5db7e0c4b2542d0dc6260d Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Fri, 22 Nov 2024 10:22:50 +0100 Subject: [PATCH 2/5] chore: update ci config --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index eaab2c8a..8772a6a3 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -3,7 +3,7 @@ on: push: branches: - master - - 5.x.x-beta + - angular-19 pull_request: branches: - master From da7bea52a47f627f28cab2ba49d45a98dc8aa3fa Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 22 Nov 2024 09:25:51 +0000 Subject: [PATCH 3/5] chore(release): 5.9.0-angular-19.1 [skip ci] # [5.9.0-angular-19.1](https://github.com/GetStream/stream-chat-angular/compare/v5.8.5...v5.9.0-angular-19.1) (2024-11-22) ### Features * add support for Angular 19 ([f5a87ba](https://github.com/GetStream/stream-chat-angular/commit/f5a87ba4105179a6087f5c6e08d1d9c482eac99c)) --- projects/stream-chat-angular/package.json | 2 +- projects/stream-chat-angular/src/assets/version.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/stream-chat-angular/package.json b/projects/stream-chat-angular/package.json index 9e91b9ac..c678f621 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.8.5", + "version": "5.9.0-angular-19.1", "description": "Angular components to create chat conversations or livestream style chat", "author": "GetStream", "homepage": "https://getstream.io/chat/", diff --git a/projects/stream-chat-angular/src/assets/version.ts b/projects/stream-chat-angular/src/assets/version.ts index 45eff984..ca0345b9 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.8.5'; +export const version = '5.9.0-angular-19.1'; From 172b5d23df711975a6578d2e3938efbcaac7388c Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Fri, 22 Nov 2024 10:47:31 +0100 Subject: [PATCH 4/5] fix: providedIn annotation for audio recorder service --- .../src/lib/voice-recorder/audio-recorder.service.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/projects/stream-chat-angular/src/lib/voice-recorder/audio-recorder.service.ts b/projects/stream-chat-angular/src/lib/voice-recorder/audio-recorder.service.ts index c99538b1..a17c113b 100644 --- a/projects/stream-chat-angular/src/lib/voice-recorder/audio-recorder.service.ts +++ b/projects/stream-chat-angular/src/lib/voice-recorder/audio-recorder.service.ts @@ -1,4 +1,4 @@ -import { Injectable } from '@angular/core'; +import { Injectable, NgModule } from '@angular/core'; import { AmplitudeRecorderService } from './amplitude-recorder.service'; import { isSafari } from '../is-safari'; import { MediaRecorderConfig, MultimediaRecorder } from './media-recorder'; @@ -7,12 +7,11 @@ import { ChatClientService } from '../chat-client.service'; import { TranscoderService } from './transcoder.service'; import { resampleWaveForm } from '../wave-form-sampler'; import { AudioRecording, MediaRecording } from '../types'; -import { NgModel } from '@angular/forms'; /** * The `AudioRecorderService` can record an audio file, the SDK uses this to record a voice message */ -@Injectable({ providedIn: NgModel }) +@Injectable({ providedIn: NgModule }) export class AudioRecorderService extends MultimediaRecorder< Omit > { From 03ef69e1d704b821f111ca6130b1e0a95571612a Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 22 Nov 2024 09:53:49 +0000 Subject: [PATCH 5/5] chore(release): 5.9.0-angular-19.2 [skip ci] # [5.9.0-angular-19.2](https://github.com/GetStream/stream-chat-angular/compare/v5.9.0-angular-19.1...v5.9.0-angular-19.2) (2024-11-22) ### Bug Fixes * providedIn annotation for audio recorder service ([172b5d2](https://github.com/GetStream/stream-chat-angular/commit/172b5d23df711975a6578d2e3938efbcaac7388c)) --- projects/stream-chat-angular/package.json | 2 +- projects/stream-chat-angular/src/assets/version.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/stream-chat-angular/package.json b/projects/stream-chat-angular/package.json index c678f621..1018b646 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.9.0-angular-19.1", + "version": "5.9.0-angular-19.2", "description": "Angular components to create chat conversations or livestream style chat", "author": "GetStream", "homepage": "https://getstream.io/chat/", diff --git a/projects/stream-chat-angular/src/assets/version.ts b/projects/stream-chat-angular/src/assets/version.ts index ca0345b9..a5a8c57b 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.9.0-angular-19.1'; +export const version = '5.9.0-angular-19.2';