Skip to main content

changelog

11.1.1 (2024-04-09)

Bug Fixes

  • deps: upgrade @dhis2/app-runtime and @dhis2/ui for peer deps fixes (#842) (2804527)

11.1.0 (2024-03-25)

Features

11.0.0 (2024-03-05)

chore

BREAKING CHANGES

  • deps: Updated major version of UI

10.5.0 (2024-02-19)

Features

10.4.1 (2024-01-30)

Bug Fixes

10.4.0 (2024-01-04)

Features

10.4.0-alpha.6 (2023-12-21)

Bug Fixes

  • don't open browser for plugins on start [LIBS-503] (#821) (7db7a69)
  • update alpha (e66a8ea)
  • update alpha [skip release] (ec772f6)

10.3.11 (2023-12-11)

Bug Fixes

  • don't open browser for plugins on start [LIBS-503] (#821) (7db7a69)

10.4.0-alpha.5 (2023-09-28)

Bug Fixes

Features

10.4.0-alpha.4 (2023-08-22)

Bug Fixes

  • support yarn.lock discovery on non-unix (#811) (22a6863)

10.4.0-alpha.3 (2023-08-10)

Bug Fixes

  • support yarn.lock discovery on non-unix (#811) (22a6863)
  • move precache route to reenable navigation handler on login redirects [LIBS-473] (#809) (1ff29b6)
  • pwa: avoid crashing when SW is not available [LIBS-499] (#807) (b681022)
  • omit moment-locales from precache (#806) (c8d5494)
  • cli: fix envs to fix plugins in dev (#799) (ba29cea)
  • plugins: omit launch paths when unused [LIBS-477] (#791) (e49a51f)
  • pwa: bump ui version for headerbar connection status [LIBS-315] (#797) (61ff0a4)
  • make loading placeholders transparent (#795) (6e64756)
  • plugins: inject precache manifest correctly (#792) (c0d172e)
  • pwa: add config option to omit files from precache [LIBS-482] (#793) (d089dda)

10.3.9 (2023-05-16)

Bug Fixes

  • move precache route to reenable navigation handler on login redirects [LIBS-473] (#809) (1ff29b6)

10.3.8 (2023-05-03)

Bug Fixes

  • pwa: avoid crashing when SW is not available [LIBS-499] (#807) (b681022)

10.3.7 (2023-04-27)

Bug Fixes

10.3.6 (2023-03-22)

Bug Fixes

10.3.5 (2023-03-17)

Bug Fixes

  • pwa: bump ui version for headerbar connection status [LIBS-315] (#797) (61ff0a4)

10.3.4 (2023-03-16)

Bug Fixes

10.3.3 (2023-03-13)

Bug Fixes

  • plugins: inject precache manifest correctly (#792) (c0d172e)
  • pwa: add config option to omit files from precache [LIBS-482] (#793) (d089dda)

10.3.2 (2023-03-10)

Bug Fixes

  • plugins: omit launch paths when unused [LIBS-477] (#791) (e49a51f)

10.3.1 (2023-03-06)

Bug Fixes

10.3.0 (2023-03-03)

Features

10.2.3 (2023-02-16)

Bug Fixes

10.2.2 (2023-02-16)

Bug Fixes

  • cli: fix --testRegex option on test command (#784) (049cdf3)

10.2.1 (2023-02-14)

Bug Fixes

10.2.0 (2022-11-30)

Bug Fixes

Features

  • cli: add pwa to plugins; fix plugin build details (#746) (fd920a4)
  • include plugin launch path plugin.html in built manifests [LIBS-346] (#745) (8843f6b)
  • adapter: don't render headerbar for plugins (4ac6d54)
  • cli: add webpack config for JS and CSS (a04b7c6)
  • cli: add webpack config for JS and CSS (cec6339)
  • cli: create plugin entrypoint wrapper during compilation (8e4dbff)
  • cli: enable split chunks optimisation in webpack config (e8ebcbf)
  • cli: plugin start script (9fea158)
  • cli: setup css minimiser webpack plugin (3f1b1f2)
  • cli: setup define webpack plugin (5d8f374)
  • cli: setup htmlwebpackplugin (202225c)
  • cli: setup ignore webpack plugin for moment.js (223b191)
  • cli: setup terser webpack plugin (2693258)
  • webpack config for plugin (3e4275c)
  • cli: support plugin entrypoint when validating entrypoints (04ece0a)

10.2.0-alpha.3 (2022-11-30)

Bug Fixes

  • deps: bump platform deps and unpin (bd2582f)
  • pwa: only count clients in scope (#760) (41113c0)

10.1.6 (2022-11-24)

Bug Fixes

10.1.5 (2022-11-15)

Bug Fixes

  • deps: bump platform deps and unpin (bd2582f)

10.1.4 (2022-11-08)

Bug Fixes

  • offline-interface: protect against SW errors (ad3e476)
  • pwa-boundary: catch errors (ecd8b21)

10.1.3 (2022-10-26)

Bug Fixes

  • deps: bump app-runtime to 3.6.1 [LIBS-356] (#763) (190b9e7)

10.1.2 (2022-10-24)

Bug Fixes

  • pwa: file SWR filter & allow navigation 403s [LIBS-356][LIBS-357] (#762) (bbfd3eb)

10.1.1 (2022-10-21)

Bug Fixes

  • deps: update app-runtime and ui packages (#761) (f6406c5)

10.1.0 (2022-10-06)

Features

10.0.1 (2022-09-29)

Bug Fixes

  • support author parsing in d2.config.js [LIBS-347] (#747) (e6838a7)

10.0.0 (2022-07-26)

Bug Fixes

  • remove engines field from pwa and adapter (c3878f2)
  • remove lint step from publish step requirements (#695) (a04f8f7)

chore

Features

BREAKING CHANGES

  • dropped support for node 12. The platform now requires node 14+.

10.0.0-beta.2 (2022-07-26)

Bug Fixes

  • remove engines field from pwa and adapter (c3878f2)

10.0.0-beta.1 (2022-07-25)

chore

BREAKING CHANGES

  • dropped support for node 12. The platform now requires node 14+.

9.1.0-beta.1 (2022-06-21)

Features

9.0.2-beta.1 (2022-06-21)

Bug Fixes

  • remove lint step from publish step requirements (#695) (a04f8f7)

9.0.1 (2022-06-08)

Bug Fixes

  • proxy: ignore nulls in transformJsonResponse (#719) (b72dd79)

9.0.0 (2022-03-14)

chore

  • app shell: update @dhis2/ui to ^8 (c16f3b1)

BREAKING CHANGES

  • app shell: To prevent issues with multiple ui versions, we bump the major version of the app-platform libraries as well

8.3.3 (2022-02-22)

Bug Fixes

  • deps: bump axios from 0.20.0 to 0.25.0 (#698) (77853c4)

8.3.2 (2021-12-07)

Bug Fixes

  • cli-38: catch all unhandled rejections (3f9f371)
  • cli-38: catch syntax errors and recover (5f9c5bb)

8.3.1 (2021-11-22)

Bug Fixes

  • app-icon: replace with placeholder icon (e97fe45)

8.3.0 (2021-10-19)

Features

  • pwa: add request filtering for recorded sections (#682) (b40516e)

8.2.3 (2021-10-14)

Bug Fixes

  • cli: run yarn install after fixing yarn.lock by deduplicating (#676) (a32f969)
  • cli: wrap App component in CustomDataProvider in boilerplate test (#678) (88be6eb)
  • pwa: update gracefully despite missing clients info (#679) (c7fe509)

8.2.2 (2021-10-11)

Bug Fixes

  • pwa: improve SW update UX (79b5285)

8.2.1 (2021-10-08)

Bug Fixes

  • shell: wrap app in CustomDataProvider in App test (#677) (3325605)

8.2.0 (2021-10-07)

Features

  • cli: validate yarn.lock in 'start' and 'build' commands and add 'deduplicate' command (#668) (8a8aa4d)

8.1.2 (2021-10-04)

Bug Fixes

  • service-worker: change routing to allow redirect to login page (#669) (97c84d4)

8.1.1 (2021-09-28)

Bug Fixes

  • offline-interface: improve SW update message & actions (9caedba)

8.1.0 (2021-09-23)

Features

  • adapter: clear sensitive caches on user-change (398cde2)

8.0.1 (2021-09-20)

Bug Fixes

  • deps: allow range for app shell's ui dependency (17f0546)

8.0.0 (2021-09-20)

Bug Fixes

  • alerts-service: add tests and align implementation (dabe477)
  • cli: set test environment to node (#625) (36d311b)
  • dependencies: update app-runtime to v3 (8777699)
  • set jsdom as default test environment (#624) (2f1ba42)

chore

  • deps: upgrade to 7.0.0 of @dhis2/ui (b624c9e)
  • deps: upgrade to styled-jsx 4.x (8cf9e17)

Features

  • app-adapter: align Alerts component with alerts-service and AlertBar (bd4564c)
  • cli: instance proxy server (#635) (9df387e)
  • bump jest to v27 (f5015b2)

BREAKING CHANGES

  • deps: @dhis2/ui 7.x has dropped support for the deprecated entrypoints @dhis2/ui-core and @dhis2/ui-widgets. Please use @dhis2/ui to import components you need in your app. Everything from core and widgets is available.
  • deps: Upgrade to styled-jsx 4 requires that the application uses a compatible version of @dhis2/ui.
  • dependencies: This updates the app-platform to version 3 of the app-runtime. That means that this version of the app-platform will only work with apps that use version 3 of the app-runtime.
  • Upgrade Jest to 27.x. Please see for a list of changes: https://jestjs.io/blog/2021/05/25/jest-27

8.0.0-beta.10 (2021-09-15)

chore

  • deps: upgrade to 7.0.0 of @dhis2/ui (b624c9e)

BREAKING CHANGES

  • deps: @dhis2/ui 7.x has dropped support for the deprecated entrypoints @dhis2/ui-core and @dhis2/ui-widgets. Please use @dhis2/ui to import components you need in your app. Everything from core and widgets is available.

8.0.0-beta.9 (2021-09-15)

Bug Fixes

  • sw-registration: reregister SW after hard reload (4c86468)

7.6.6 (2021-09-15)

Bug Fixes

  • sw-registration: reregister SW after hard reload (4c86468)

7.6.5 (2021-09-14)

Bug Fixes

  • add crossorgin use-credentials to manifest.json link (57483f5)

7.6.4 (2021-09-08)

Bug Fixes

  • recording-mode: handle fulfilled requests after recording error (#642) (928e2cb)

7.6.3 (2021-09-07)

Bug Fixes

  • offline-interface: prevent infinite update loop in Chrome (#638) (079f6ea)

7.6.2 (2021-09-02)

Bug Fixes

  • import index.css in index.js so styles are applied (8db1bf8)

7.6.1 (2021-09-02)

Bug Fixes

  • shell: create new stacking context for roots (324a095)

7.6.0 (2021-08-31)

Bug Fixes

  • catch errors in completeRecording (e67ae82)
  • check whole URL against filter patterns (5468114)
  • only return sections with cached data from getCachedSections (f6242d1)
  • reopen indexedDB if global state resets (0aded68)
  • return true if either cache or idb entry is removed (43d8001)
  • simplify message payload to be compatible with firefox (5e5a633)

Features

7.5.1 (2021-08-25)

Reverts

7.5.0 (2021-08-25)

Features

7.4.0 (2021-08-24)

Features

  • portal-root: add root element for react portals (5bd8566)

7.3.0 (2021-08-12)

Features

  • cli: add jestConfig option to test script (#605) (57d6407)

7.2.1 (2021-07-27)

Bug Fixes

  • cli: Support multiple library entrypoints (#597) (a95be81)

7.2.0 (2021-07-23)

Bug Fixes

  • add flags to specify name and version for non-platform apps (a24e0e6)
  • correctly parse base config, simplify logic, only rm dir on build (9891ea3)
  • don't throw if d2.config.js doesn't exist (3385e0e)
  • fs: re-read package.json from disk to make sure it is not stale (918d113)
  • pack: use the built app config (e22d186)
  • publish: only prompt in CI mode (6872ca0)
  • publish: pack when file param is unused (cc4c802)

Features

  • add option to skip packing when running build (669ab94)
  • pack: adds pack command (be700f1)
  • publish: expose publish command module (ff55d5a)

7.1.2 (2021-07-13)

Bug Fixes

  • allow command-line configuration of deploy and publish upload timeouts (#588) (e60da18)

7.1.1 (2021-07-08)

Bug Fixes

  • never render HeaderBar without runtime provider (#587) (65c7766)

7.1.0 (2021-07-02)

Features

7.0.2 (2021-07-02)

Bug Fixes

  • cli: bump @babel/preset-env (8ebb78d)

7.0.1 (2021-06-30)

Bug Fixes

  • rename 'update' test command handler parameter to 'updateSnapshot' (#577) (34787ad)

7.0.0 (2021-06-14)

chore

BREAKING CHANGES

  • New minimum version for NodeJS is 12.x.

  • chore(deps): update cli deps to latest major

  • New minimum version for NodeJS is 12.x.

6.2.0 (2021-05-28)

Features

6.1.3 (2021-05-20)

Bug Fixes

  • add file extension to default entrypoints in d2.config (#561) (6cb8543)

6.1.2 (2021-05-11)

Bug Fixes

  • set default value for all strings to support plurals (#552) (3846fc0)

6.1.1 (2021-04-27)

Bug Fixes

  • respect --cwd argument when generating/extracting translations (#540) (280e02c)

6.1.0 (2021-04-02)

Features

  • support custom authorities and reserved namespace [LIBS-165] (#547) (fc86a55)

6.0.1 (2021-03-24)

Bug Fixes

  • catch service worker unregistration rejection (#537) (e1cbf3e)

6.0.0 (2021-03-11)

Features

  • upgrade to @dhis2/ui v6 and bump other dependency versions (#530) (b8b72f4)

BREAKING CHANGES

  • applications must use @dhis2/ui@^6.5.3

5.7.4 (2021-03-05)

Bug Fixes

  • show login modal before locale is loaded (#527) (98a7a56)

5.7.3 (2021-03-02)

Bug Fixes

  • don't render application until we are sure the locale is initialized (#525) (4329e8e)

5.7.2 (2021-02-26)

Bug Fixes

  • allow for nested entry-points under src (#519) (3ae34b3)

5.7.1 (2021-02-25)

Bug Fixes

  • convert jsx, ts, and tsx files to js on build (#517) (5af8a58)

5.7.0 (2021-02-23)

Features

  • add support for generating manifest app_hub_id from d2.config id (#515) (f0478b0)

5.6.0 (2021-02-20)

Features

  • build unbundled libraries, validate package when building (LIBS-125) (#492) (4fb3fae)

5.5.3 (2021-02-19)

Bug Fixes

  • namespace code-split moment locale chunks to separate them from app chunks (#507) (cecb3c2)

5.5.2 (2021-02-18)

Bug Fixes

5.5.1 (2021-01-13)

Bug Fixes

  • isolate eslint shell and app environments (#499) (1933eca)

5.5.0 (2020-11-16)

Features

  • introduce alerts component to show alerts as alert-bars in a stack (#486) (fd22504)

5.4.2 (2020-11-11)

Bug Fixes

  • cut release to finish jira migration (5aefe85)

5.4.1 (2020-10-30)

Bug Fixes

  • update react-scripts and cli-style at same time to use eslint 7 (#475) (8fd9225)

5.4.0 (2020-10-19)

Features

  • generate d2.config.json from d2.config.js (#471) (2046074)

5.3.0 (2020-10-12)

Features

  • detect server version, use latest available api version (#470) (ef92456)

5.2.2 (2020-10-07)

Bug Fixes

  • adjust formatting in locales.hbs so it matches ESLint rules (#466) (658fa0b)
  • encode username and password when posting to server in AuthBoundary (#467) (b0cc51d)

5.2.1 (2020-09-23)

Bug Fixes

  • add deploy script to package.json when initializing (#463) (11b310e)

5.2.0 (2020-09-09)

Bug Fixes

  • base url should be overridden with env var if present (#459) (8768a1f)

Features

5.1.0 (2020-09-02)

Features

5.0.0 (2020-08-14)

Features

BREAKING CHANGES

  • require @dhis2/ui v5 - components should now be imported from @dhis2/ui and various components have had breaking changes in v5

4.0.9 (2020-06-22)

Bug Fixes

4.0.8 (2020-06-10)

Bug Fixes

  • cli: let init produce app using css-modules instead of styled-jsx (#417) (0c8c314)

4.0.7 (2020-05-20)

Bug Fixes

4.0.6 (2020-05-19)

Bug Fixes

  • fix erroneous call to reporter.debugError (#404) (0b1840a)

4.0.5 (2020-05-19)

Bug Fixes

  • upgrade ui-widgets to 2.1.1 for proper translations (#402) (46c5ecf)

4.0.4 (2020-05-06)

Bug Fixes

4.0.3 (2020-05-01)

Bug Fixes

  • keep default values that may have been set (#382) (4b6e275)

4.0.2 (2020-04-24)

Bug Fixes

  • support typescript source files in library builds (#368) (3ee69de)

4.0.1 (2020-04-17)

Bug Fixes

  • correctly detect changes in i18n string extraction (#363) (49a2d9a)

4.0.0 (2020-04-02)

chore

BREAKING CHANGES

  • Require Node version 10 or above.

  • ci(actions): give checkout action our custom pat

3.2.9 (2020-03-26)

Bug Fixes

3.2.8 (2020-03-25)

Bug Fixes

  • don't generate styled-jsx randomized classes in jest snapshots (#332) (eaafbab)

3.2.7 (2020-03-21)

Bug Fixes

  • allow usernames login username or password to be shorter than 4 characters (#325) (625dbfa)

3.2.6 (2020-03-20)

Bug Fixes

  • explicitly include styled-jsx as cli dependency (#322) (c0eab17)

3.2.5 (2020-02-21)

Bug Fixes

3.2.4 (2020-02-18)

Bug Fixes

  • cli-app-scripts: use the same build dir for modes (#302) (dd2802b)

3.2.3 (2020-01-31)

Bug Fixes

  • pull description from package.json if not specified in config file (#286) (216d5d0)

3.2.2 (2020-01-17)

Bug Fixes

  • don't generate useless empty files if no translatable strings found (#270) (27a8ab8)

3.2.1 (2020-01-16)

Bug Fixes

  • control the viewport, always show the headerbar, size app container (#267) (3823d8a)

3.2.0 (2020-01-16)

Features

  • allow customization of the dhis2 app icon (#265) (86f1cd7)

3.1.4 (2020-01-16)

Bug Fixes

  • resolve the absolute path to the current directory (#266) (190c111)

3.1.3 (2020-01-15)

Bug Fixes

  • eslint: allow eslint to internally require the custom config (#264) (27d6693), closes #263

3.1.2 (2020-01-14)

Bug Fixes

  • correctly support all CRA babel plugins (#262) (5f1d5dd)

3.1.1 (2020-01-13)

Bug Fixes

  • upgrade @dhis2/ui-core to v4.6.1 (84b7669)

3.1.0 (2020-01-03)

Features

  • publish shell and adapter, fix dependency resolution (#221) (dd1c51a)

3.0.2 (2019-12-20)

Bug Fixes

  • add an eslint config to shell, falling back to react-app defaults (#222) (2c7deae)

3.0.1 (2019-12-20)

Bug Fixes

  • correctly set custom and fallback port settings (#223) (c2ac04c)

3.0.0 (2019-12-09)

Features

  • deps: upgrade @dhis2/ui-core to 4.1.1 and @dhis2/ui-widgets to 2.0.4 (#198) (07c2187)

BREAKING CHANGES

  • deps: This will break applications which use the v3 API of @dhis2/ui-core components

2.0.0 (2019-11-28)

Features

  • remove rollup application compiler, delegate compilation to the shell (#187) (cae7a07)

BREAKING CHANGES

  • This may break some applications which use the former named import workaround, but removing that workaround should make treeshaking work!!

1.5.10 (2019-11-22)

Bug Fixes

  • upgrade @dhis2/cli-helpers-engine to 1.5.0 (#176) (83e8a92)

1.5.9 (2019-11-14)

Bug Fixes

1.5.8 (2019-11-12)

Bug Fixes

  • upgrade Headerbar to 2.0.1, don't break on older servers (#162) (b520448)

1.5.7 (2019-11-06)

Bug Fixes

  • update yarn.lock, otherwise install fails with cryptic error (#150) (5e5e668)

1.5.6 (2019-11-06)

Bug Fixes

1.5.5 (2019-10-21)

Bug Fixes

  • use browser field in package.json if it exists (#129) (33742cc)

1.5.4 (2019-10-16)

Bug Fixes

  • detect an occupied port and find an open one (#122) (a2b1a00)

1.5.3 (2019-10-03)

Bug Fixes

1.5.2 (2019-10-03)

Bug Fixes

  • don't dynamically load the app adapter (prevent blank flash) (#97) (5d2d491)

1.5.1 (2019-09-30)

Bug Fixes

  • deps: upgrade @dhis2/app-runtime to 2.0.2 (61b8a62)

1.5.0 (2019-09-30)

Features

  • add support for standalone mode (default in development) (#70) (485b6da)

1.4.5 (2019-09-30)

Bug Fixes

  • don't drop .gitignore lines that aren't in a section (#88) (7372a0c)

1.4.4 (2019-09-27)

Bug Fixes

1.4.3 (2019-09-25)

Bug Fixes

  • allow env var override of api version (#67) (dc1b6df)

1.4.2 (2019-09-24)

Bug Fixes

  • upgrade app-runtime to 2.0.1 (d2c0c13)

1.4.1 (2019-09-24)

Bug Fixes

1.4.0 (2019-09-24)

Features

  • improve test command, support dotenv files, add postcss (#52) (210c9cc)

1.3.1 (2019-09-17)

Bug Fixes

  • remove publish-breaking comment from package.json (#47) (c45d97a)

1.3.0 (2019-09-10)

Features

  • generate a manifest, set PUBLIC_URL, and output a compliant zip (#36) (243454a)

1.2.3 (2019-09-06)

Bug Fixes

  • improve start behavior and logging, don't orphan react-scripts, add postcss (#34) (f9edd31)

1.2.2 (2019-09-05)

Bug Fixes

  • show compilation errors when watching for changes (#30) (7bbdd5c)

1.2.1 (2019-08-28)

Bug Fixes

  • restore test command and deal with standard deps (#13) (5745c21)

1.2.0 (2019-08-27)

Features

  • show off more features when initing a new app (13cb4f1)

1.1.3 (2019-08-27)

Bug Fixes

  • build adapter before bundling (861844f)

1.1.2 (2019-08-27)

Bug Fixes

  • use a flat workspaces array (6b6a7be)

1.1.1 (2019-08-27)

Bug Fixes

  • create a subdirectory on init, publish scripts package (7979627)

1.1.0 (2019-08-27)

Features

  • publish at d2-app-scripts, add init command (ef6009c)

1.0.0 (2019-08-27)

Initial release!