From 7d4d58445d1893d48c3dd4a32b0f6dd2e392cbfb Mon Sep 17 00:00:00 2001 From: "iTwin.js admin" <38288322+imodeljs-admin@users.noreply.github.com> Date: Fri, 4 Oct 2024 02:35:55 -0400 Subject: [PATCH] Release packages [publish docs] (#721) Co-authored-by: imodeljs-admin --- .changeset/gorgeous-dingos-clap.md | 9 --------- packages/hierarchies-react/CHANGELOG.md | 7 +++++++ packages/hierarchies-react/package.json | 2 +- packages/hierarchies/CHANGELOG.md | 10 ++++++++++ packages/hierarchies/package.json | 2 +- 5 files changed, 19 insertions(+), 11 deletions(-) delete mode 100644 .changeset/gorgeous-dingos-clap.md diff --git a/.changeset/gorgeous-dingos-clap.md b/.changeset/gorgeous-dingos-clap.md deleted file mode 100644 index db969bb8c..000000000 --- a/.changeset/gorgeous-dingos-clap.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@itwin/presentation-hierarchies": patch ---- - -Fixed iModel hierarchy provider returning unfiltered nodes after setting the hierarchy filter in certain scenarios. - -The situation could happen when a new hierarchy filter is set during an ongoing nodes request. Then, requesting nodes immediately after setting the filter could return nodes from the previous request. - -The change also slightly changes what happens with ongoing requests when hierarchy provider's internal state is reset: provider is disposed, the `imodelChanged` event is raised or hierarchy filter is set. Previously, it would continue handling all ongoing requests and return a valid result. Now, it will stop ASAP and return an empty list. diff --git a/packages/hierarchies-react/CHANGELOG.md b/packages/hierarchies-react/CHANGELOG.md index 90c2f5f25..6bb4a6d70 100644 --- a/packages/hierarchies-react/CHANGELOG.md +++ b/packages/hierarchies-react/CHANGELOG.md @@ -1,5 +1,12 @@ # @itwin/presentation-hierarchies-react +## 0.8.1 + +### Patch Changes + +- Updated dependencies: + - @itwin/presentation-hierarchies@0.7.1 + ## 0.8.0 ### Minor Changes diff --git a/packages/hierarchies-react/package.json b/packages/hierarchies-react/package.json index 4685440d6..69b31a182 100644 --- a/packages/hierarchies-react/package.json +++ b/packages/hierarchies-react/package.json @@ -1,6 +1,6 @@ { "name": "@itwin/presentation-hierarchies-react", - "version": "0.8.0", + "version": "0.8.1", "description": "React components based on `@itwin/presentation-hierarchies`", "license": "MIT", "author": { diff --git a/packages/hierarchies/CHANGELOG.md b/packages/hierarchies/CHANGELOG.md index 10fdf2c20..cbf2f92b1 100644 --- a/packages/hierarchies/CHANGELOG.md +++ b/packages/hierarchies/CHANGELOG.md @@ -1,5 +1,15 @@ # @itwin/presentation-hierarchies +## 0.7.1 + +### Patch Changes + +- [#720](https://github.com/iTwin/presentation/pull/720): Fixed iModel hierarchy provider returning unfiltered nodes after setting the hierarchy filter in certain scenarios. + + The situation could happen when a new hierarchy filter is set during an ongoing nodes request. Then, requesting nodes immediately after setting the filter could return nodes from the previous request. + + The change also slightly changes what happens with ongoing requests when hierarchy provider's internal state is reset: provider is disposed, the `imodelChanged` event is raised or hierarchy filter is set. Previously, it would continue handling all ongoing requests and return a valid result. Now, it will stop ASAP and return an empty list. + ## 0.7.0 ### Minor Changes diff --git a/packages/hierarchies/package.json b/packages/hierarchies/package.json index 95166eac1..84771edb1 100644 --- a/packages/hierarchies/package.json +++ b/packages/hierarchies/package.json @@ -1,6 +1,6 @@ { "name": "@itwin/presentation-hierarchies", - "version": "0.7.0", + "version": "0.7.1", "description": "A package for creating hierarchies based on data in iTwin.js iModels.", "license": "MIT", "author": {