diff --git a/CHANGELOG_TOOLKIT.md b/CHANGELOG_TOOLKIT.md index 6bcbc246..74713df7 100644 --- a/CHANGELOG_TOOLKIT.md +++ b/CHANGELOG_TOOLKIT.md @@ -1,3 +1,21 @@ +# [1.5.0](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/compare/toolkit-1.4.1...toolkit-1.5.0) (2024-10-03) + + +### Performance Improvements +* **toolkit/observable:** optimize position detection in `fromBoundingClientRect$ ` ([540b8bb](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/540b8bbdfd968b56ed484a0daf290257105c4d8f)) + + +### Code Refactoring + +* **toolkit/operators:** remove deprecated `pluckArray` operator ([6c84329](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/6c84329f8cb6180dee465b6ac1ffc6c660f2029f)) +* **toolkit/testing:** remove deprecated `ObserveCaptor#resetValues` method ([10253e6](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/10253e6ab09e22ef43fccd7913eba27fe45541fc)) + + +### BREAKING CHANGES +* **toolkit/testing:** `ObserveCaptor#resetValues` was deprecated and has been removed; use `ObserveCaptor#reset` instead. +* **toolkit/operators:** RxJS operator `pluckArray` was deprecated and has been removed; use `mapArray` instead. + + ## [1.4.1](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/compare/toolkit-1.4.0...toolkit-1.4.1) (2023-06-14) diff --git a/CHANGELOG_TOOLKIT_LATEST.md b/CHANGELOG_TOOLKIT_LATEST.md new file mode 100644 index 00000000..4b3003a1 --- /dev/null +++ b/CHANGELOG_TOOLKIT_LATEST.md @@ -0,0 +1,19 @@ +# [1.5.0](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/compare/toolkit-1.4.1...toolkit-1.5.0) (2024-10-03) + + +### Performance Improvements +* **toolkit/observable:** optimize position detection in `fromBoundingClientRect$` ([540b8bb](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/540b8bbdfd968b56ed484a0daf290257105c4d8f)) + + +### Code Refactoring + +* **toolkit/operators:** remove deprecated `pluckArray` operator ([6c84329](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/6c84329f8cb6180dee465b6ac1ffc6c660f2029f)) +* **toolkit/testing:** remove deprecated `ObserveCaptor#resetValues` method ([10253e6](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/10253e6ab09e22ef43fccd7913eba27fe45541fc)) + + +### BREAKING CHANGES +* **toolkit/testing:** `ObserveCaptor#resetValues` was deprecated and has been removed; use `ObserveCaptor#reset` instead. +* **toolkit/operators:** RxJS operator `pluckArray` was deprecated and has been removed; use `mapArray` instead. + + + diff --git a/docs/site/changelog-toolkit/changelog.md b/docs/site/changelog-toolkit/changelog.md index ab944f34..002c90e7 100644 --- a/docs/site/changelog-toolkit/changelog.md +++ b/docs/site/changelog-toolkit/changelog.md @@ -6,6 +6,24 @@ ## [Changelog][menu-changelog] > @scion/toolkit +# [1.5.0](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/compare/toolkit-1.4.1...toolkit-1.5.0) (2024-10-03) + + +### Performance Improvements +* **toolkit/observable:** optimize position detection in `fromBoundingClientRect$ ` ([540b8bb](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/540b8bbdfd968b56ed484a0daf290257105c4d8f)) + + +### Code Refactoring + +* **toolkit/operators:** remove deprecated `pluckArray` operator ([6c84329](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/6c84329f8cb6180dee465b6ac1ffc6c660f2029f)) +* **toolkit/testing:** remove deprecated `ObserveCaptor#resetValues` method ([10253e6](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/commit/10253e6ab09e22ef43fccd7913eba27fe45541fc)) + + +### BREAKING CHANGES +* **toolkit/testing:** `ObserveCaptor#resetValues` was deprecated and has been removed; use `ObserveCaptor#reset` instead. +* **toolkit/operators:** RxJS operator `pluckArray` was deprecated and has been removed; use `mapArray` instead. + + ## [1.4.1](https://github.com/SchweizerischeBundesbahnen/scion-toolkit/compare/toolkit-1.4.0...toolkit-1.4.1) (2023-06-14) diff --git a/projects/scion/toolkit/observable/src/dimension.observable.ts b/projects/scion/toolkit/observable/src/dimension.observable.ts index bd4bc215..69a877bf 100644 --- a/projects/scion/toolkit/observable/src/dimension.observable.ts +++ b/projects/scion/toolkit/observable/src/dimension.observable.ts @@ -19,7 +19,7 @@ import {Observable, Observer, TeardownLogic} from 'rxjs'; * @param target - HTMLElement to observe its dimension. * @return Observable that emits dimension changes of the passed element. * - * @deprecated since version 1.4.2; use `fromResize$` instead; API will be removed in version 2.0. + * @deprecated since version 1.5.0; use `fromResize$` instead; API will be removed in version 2.0. */ export function fromDimension$(target: HTMLElement): Observable { return new Observable((observer: Observer): TeardownLogic => { @@ -35,7 +35,7 @@ export function fromDimension$(target: HTMLElement): Observable { /** * Captures the dimension of the given element. * - * @deprecated since version 1.4.2; use {@link HTMLElement.getBoundingClientRect} instead; API will be removed in version 2.0. + * @deprecated since version 1.5.0; use {@link HTMLElement.getBoundingClientRect} instead; API will be removed in version 2.0. */ export function captureElementDimension(element: HTMLElement): Dimension { return { diff --git a/projects/scion/toolkit/package.json b/projects/scion/toolkit/package.json index 4fd7b39b..fdb1411f 100644 --- a/projects/scion/toolkit/package.json +++ b/projects/scion/toolkit/package.json @@ -1,6 +1,6 @@ { "name": "@scion/toolkit", - "version": "1.4.1", + "version": "1.5.0", "description": "Provides a collection of framework-agnostic utilities designed primarily for use in SCION libraries such as `@scion/workbench` and `@scion/microfrontend-platform`. This library is written in plain TypeScript and has no dependency on any other library.", "license": "EPL-2.0", "private": false,