Skip to content

Commit 2dc5068

Browse files
dependabot[bot]HendrikThePendricclaude
authored
chore(deps): bump @dhis2/app-runtime from 3.17.0 to 3.17.2 (#291)
* chore(deps): bump @dhis2/app-runtime from 3.17.0 to 3.17.2 Bumps [@dhis2/app-runtime](https://github.com/dhis2/app-runtime/tree/HEAD/runtime) from 3.17.0 to 3.17.2. - [Release notes](https://github.com/dhis2/app-runtime/releases) - [Changelog](https://github.com/dhis2/app-runtime/blob/master/CHANGELOG.md) - [Commits](https://github.com/dhis2/app-runtime/commits/v3.17.2/runtime) --- updated-dependencies: - dependency-name: "@dhis2/app-runtime" dependency-version: 3.17.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * fix: dedupe app-service-data to a single copy after app-runtime bump The app-runtime 3.17.2 bump pulled in app-service-data@3.17.2 while the app's own direct dependency kept resolving to 3.17.0, leaving two copies of the data layer in the tree. store-provider imported useDataEngine as a value from the 3.17.0 copy, so it read a different DataContext than the provider populated by app-runtime 3.17.2 — data fetching stalled and saved visualizations never loaded, timing out the E2E specs on [data-test=title-text]. Import useDataEngine from @dhis2/app-runtime (the singleton source) and move @dhis2/app-service-data to devDependencies, where it remains only for the type-only imports app-runtime does not re-export. The tree now resolves to a single 3.17.2 copy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hendrik de Graaf <HendrikThePendric@users.noreply.github.com> Co-authored-by: Hendrik de Graaf <hendrik@dhis2.org> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent d8c7ec4 commit 2dc5068

3 files changed

Lines changed: 113 additions & 102 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"devDependencies": {
2727
"@commitlint/cli": "^21.0.2",
2828
"@cypress/vite-dev-server": "^7.3.3",
29+
"@dhis2/app-service-data": "^3.17.2",
2930
"@dhis2/cli-app-scripts": "^12.11.0",
3031
"@dhis2/cli-style": "^10.7.10",
3132
"@dhis2/config-eslint": "^0.2.2",
@@ -64,8 +65,7 @@
6465
},
6566
"dependencies": {
6667
"@dhis2/analytics": "^29.5.3",
67-
"@dhis2/app-runtime": "^3.16.0",
68-
"@dhis2/app-service-data": "^3.16.0",
68+
"@dhis2/app-runtime": "^3.17.2",
6969
"@dhis2/ui": "^10.16.2",
7070
"@dnd-kit/core": "^6.3.1",
7171
"@dnd-kit/modifiers": "^9.0.0",

0 commit comments

Comments
 (0)