Skip to content

Releases

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 23 Oct 15:17
v1.0.1
4ace2aa

Upgrading

  • If you are upgrading from a 0.x version (Whitespace Cleaner Tool), follow the upgrading steps for 1.0.0: the app key changed in that release.

Changed

  • Visualizations, event visualizations, maps and map views are no longer shown or fixed. In DHIS2 2.41 to 2.43, changing a visualization or a map through the API removes the data elements from its data element operands, and the object can no longer be opened. Map views cannot be changed through the API, so their fixes always failed.
  • Option codes and program rule variable names are never changed. Data stores the option code and program rules compare against it, and program rules refer to a variable by its exact name, so cleaning either would break data or rules. The tool shows their whitespace in red, with a notice that explains why; an object with only such issues is marked Fix manually and cannot be fixed in the tool.
  • Category option combinations are no longer shown: DHIS2 generates their names from the category options.
  • User documentation moved to docs/user/, in the format used by docs.dhis2.org.
  • The end-to-end suite moved to e2e/ and follows the run.sh contract of the tool conventions.

Fixed

  • Line breaks, carriage returns, tabs and non-breaking spaces in names, short names and codes are now found and replaced with a single space. Before, a value such as a name ending in a carriage return (common after pasting from a spreadsheet) was not found. The table shows these characters as symbols.
  • Line breaks in descriptions are kept. Before, a line break next to another space was replaced with a space, which joined paragraphs and list lines.
  • Objects whose only whitespace issue is in the short name are now found. Before, their short name was only cleaned when the name, code or description also had an issue.
  • The conflict check now finds duplicates of values that contain a comma. On DHIS2 2.42 and later they were missed.
  • Options are checked for duplicate names within their option set only, which is what DHIS2 requires. Before, an option with the same name in another option set was reported as a conflict.
  • When DHIS2 rejects a fix, the fix results show the reason instead of a generic message.
  • The alert for failed conflict checks is now translatable.

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 30 Sep 14:44
v1.0.0
cd4ac7e

Changed

  • Migrated to the DHIS2 App Platform: React + TypeScript, @dhis2/app-runtime
    data engine, @dhis2/ui components. The custom fetch wrapper, jQuery,
    Materialize CSS and the legacy header-bar loader have been removed - the
    platform app shell provides the header bar on all supported versions.
  • Minimum supported DHIS2 version is now 2.41.
  • Conflict checks now consistently skip name/shortName uniqueness for
    organisation units (previously only the bulk check did).
  • The scan now excludes objects whose whitespace issues are only in
    properties the tool cannot clean.
  • Renamed to align with the repository: the app is now titled
    Whitespace Remover Tool with app key tool-whitespace-remover
    (previously "Whitespace Cleaner Tool"). Installing 1.0.0 does not
    replace an installed 0.x app — uninstall the old one manually.

0.2.0

Choose a tag to compare

@github-actions github-actions released this 05 Sep 07:00
6cf4227

Changelog

All notable changes to this project will be documented in this file.

[0.2.0]

  • Added support for global app shell header barn in 42 and above

[0.1.0]

Added

  • Initial release.

0.1.1

Choose a tag to compare

@github-actions github-actions released this 31 Jan 10:57

Changelog

All notable changes to this project will be documented in this file.

[0.1.0]

Added

  • Initial release.

0.1.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 09:40

Changelog

All notable changes to this project will be documented in this file.

[0.1.0]

Added

  • Initial release.