Skip to content

Commit

Permalink
release(toolkit): v1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcarrian committed Oct 3, 2024
1 parent e39a347 commit 2b4d3f0
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 3 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG_TOOLKIT.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG_TOOLKIT_LATEST.md
Original file line number Diff line number Diff line change
@@ -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.



18 changes: 18 additions & 0 deletions docs/site/changelog-toolkit/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down
4 changes: 2 additions & 2 deletions projects/scion/toolkit/observable/src/dimension.observable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Dimension> {
return new Observable((observer: Observer<Dimension>): TeardownLogic => {
Expand All @@ -35,7 +35,7 @@ export function fromDimension$(target: HTMLElement): Observable<Dimension> {
/**
* 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 {
Expand Down
2 changes: 1 addition & 1 deletion projects/scion/toolkit/package.json
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 2b4d3f0

Please sign in to comment.