Skip to content

Release 3.34.0#404

Merged
Ramon-Jimenez merged 58 commits into
masterfrom
development
Jun 18, 2026
Merged

Release 3.34.0#404
Ramon-Jimenez merged 58 commits into
masterfrom
development

Conversation

@Ramon-Jimenez

Copy link
Copy Markdown

No description provided.

eperedo and others added 30 commits November 19, 2025 12:22
…ulk-Load into fix/download-custom-template-extension-869b4pfmx
- new ImportResultBadge component displayed after import (allowing to reopen summary modal)
- refactor: extract shared computeOverallSyncStatus to domain layer
- refactor: getStatusConfig to avoid code duplication, and use colors from the theme instead of hardcoding them
- minor adjustaments to spacing in ImportTemplatePage
- Only require organisation unit selection when downloading populated tracker templates.
- This prevents dataset template downloads from being blocked when org unit selection is configured for import-only, and defaults relationship OU filter to CAPTURE in that mode.
- Enable core pack in prepare script
- Add packageManager in package.json
- Install Yarn 4 in the project
- Update .gitignore
- Update README
…time

Upgrade vulnerable direct dependencies flagged by Snyk, including
@dhis2/app-runtime, @eyeseetea/feedback-component, @material-ui/*,
axios, lodash, moment, react-router-dom and styled-jsx.
Adjust runtime integration after upgrades (Provider props for app-runtime,
lodash import in MetadataService, and Vite __dirname define for styled-jsx)
so build and tests remain green.
Upgrade direct dependencies flagged by Snyk, including @dhis2/app-runtime,
@eyeseetea/feedback-component, @material-ui/*, axios, lodash, moment,
react-router-dom and styled-jsx.
Add dependency resolutions to force secure transitive versions for:
axios, @babel/runtime, i18next, brace-expansion, form-data, glob-parent,
lodash, minimatch, nanoid, node-fetch, path-to-regexp and qs.
- @babel/runtime, i18next, brace-expansion, form-data, glob-parent, lodash-es,
  minimatch, nanoid, node-fetch, path-to-regexp, qs, diff, debug, ua-parser-js,
  jszip (and axios aligned across the tree where applicable)
Tests
Replace the shell loop in `update-po` with a `find -exec` based command
to avoid `spawn ENOTDIR` under Corepack/Yarn 4 during pre-push.
MatiasArriola and others added 28 commits April 1, 2026 08:58
…399)

* replace invalid XML characters from cell values during export

* refactor: improve handling of invalid XML characters in cell values during export

* fix: import isString to handle string validation for XML character removal
feat: add import result badge and centralize status config
…/download-custom-template-extension-869b4pfmx
…xtension-869b4pfmx

get file extension for custom templates during the download action
- parseInt the minor component so pre-release suffixes (e.g. "2.44-SNAPSHOT")
  resolve to their major version instead of NaN, which would otherwise make
  buildOrgUnitMode silently fall back to the legacy v<42 OU params on SNAPSHOT/RC
  instances.
- Add unit tests for getMajorVersion and buildOrgUnitMode across v41/v42/SNAPSHOT.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
[fix]: Update org unit parameter changes in v42
getSheetRowsCount only trimmed trailing rows whose cells were undefined,
but lookup formulas added with function support resolve empty rows to
"#N/A"/"" (not undefined), so those rows were no longer trimmed. The read
range then spanned all ~500 formula rows, making tracker/row imports read
~100k+ cells over dead rows (~80s for the PHSM template).

Treat undefined, "" and "#N/A" as blank when finding the last data row,
mirroring resolveNA at the row-count layer. Output is unchanged (dead rows
yield no data); only the wasted scanning is removed (~80s -> ~2.3s).
…ection is set to import

When orgUnitSelection setting is "import", the org unit selector is hidden on the download page, so no org units are sent to the download use case. This left the org unit selector empty in the generated spreadsheet. Now it falls back to the intersection of the current user's capture org units and the org units of the selected dataset/program.
…nloaded template when org unit selection is set to import
…tion

Fix org unit validation on template download
…mport

`toDetails()` used `_.pick` without importing lodash, causing
`ReferenceError: _ is not defined` when saving history after a
template import in the Vite production bundle.
* add logic to get matched indicators from dataset attribute

* replicate value for matched indicators

* match indicators only if all the value in the other columns are present. Update cells if one of the values in the columns change

* add both source-target and target-source indicators in the matching

---------

Co-authored-by: Miquel Adell <miquel.adell@gmail.com>
@Ramon-Jimenez Ramon-Jimenez merged commit 46f7941 into master Jun 18, 2026
9 checks passed
@bundlemon

bundlemon Bot commented Jun 18, 2026

Copy link
Copy Markdown

BundleMon

No change in files bundle size

Unchanged groups (1)
Status Path Size Limits
Build Folder
./**/*
1.74MB +20%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants