From 50dd1faa29f1961e6c9b79f95e12b48941679476 Mon Sep 17 00:00:00 2001 From: Simon Mumenthaler Date: Mon, 15 Sep 2025 16:35:37 +0200 Subject: [PATCH 1/3] refactor(rx-*-directive): change how context object is updated necessary change since replacing the whole context object on `ViewRef` is deprecated --- libs/components/src/lib/rx/base-rx.directive.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libs/components/src/lib/rx/base-rx.directive.ts b/libs/components/src/lib/rx/base-rx.directive.ts index c878f79d..11796e6e 100644 --- a/libs/components/src/lib/rx/base-rx.directive.ts +++ b/libs/components/src/lib/rx/base-rx.directive.ts @@ -2,7 +2,7 @@ import { DestroyRef, EmbeddedViewRef, inject, TemplateRef, Type, ViewContainerRe import { from, isObservable, ObservableInput, Subscription } from 'rxjs' import { ERROR_INPUT_NAME, RX_DEFAULT_ERROR_COMPONENT } from './internals' -export abstract class BaseRxDirective { +export abstract class BaseRxDirective { protected _input: ObservableInput | null protected _subscription: Subscription | null = null protected _dataViewRef: EmbeddedViewRef | null = null @@ -46,7 +46,10 @@ export abstract class BaseRxDirective { */ protected renderDataView(context: Ctx) { if (this._dataViewRef && this.containerRef.indexOf(this._dataViewRef) === 0) { - this._dataViewRef.context = context + const ctxKeys: Array = Object.keys(context) as any + for (const key of ctxKeys) { + this._dataViewRef.context[key] = context[key] + } } else { this.clear() this._dataViewRef = this.containerRef.createEmbeddedView(this.templateRef, context) From 1c7556ab240964af8ea85af0ea716a366aa5e9ce Mon Sep 17 00:00:00 2001 From: Github Actions Date: Mon, 15 Sep 2025 14:46:45 +0000 Subject: [PATCH 2/3] build(release): next version [skip_build] - @shiftcode/ngx-components@11.0.1-pr59.0 --- libs/components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/components/package.json b/libs/components/package.json index bd2f110f..a74337c2 100644 --- a/libs/components/package.json +++ b/libs/components/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/ngx-components", - "version": "11.0.0", + "version": "11.0.1-pr59.0", "repository": "https://github.com/shiftcode/sc-ng-commons-public", "license": "MIT", "author": "shiftcode GmbH ", From 54bfa89cba704c1a2cb0fdb857fe532f11977fcf Mon Sep 17 00:00:00 2001 From: Github Actions Date: Thu, 13 Nov 2025 12:46:01 +0000 Subject: [PATCH 3/3] build(release): next version [skip_build] - @shiftcode/ngx-components@12.0.2-pr59.0 --- libs/components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/components/package.json b/libs/components/package.json index f9aeb69d..5c371834 100644 --- a/libs/components/package.json +++ b/libs/components/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/ngx-components", - "version": "12.0.1", + "version": "12.0.2-pr59.0", "repository": "https://github.com/shiftcode/sc-ng-commons-public", "license": "MIT", "author": "shiftcode GmbH ",