As of mid-July 2020, the Chrome (and Chromium) stable release channel has started to disable cross-site cookies by default. Mozilla Firefox has pushed this change to their beta channel and will likely release it to the stable channel soon. This change affects any DHIS2 application running on a different domain than the DHIS2 server instance, including applications running on localhost in development. It does not affect cross-site API requests which use Basic or OAuth authentication headers, as those do not rely on cookies for authentication.
UI 5 release
We've recently released
@dhis2/ui version 5. It unifies
ui-forms to simplify the user experience and allow for some architectural changes. In this post we'll go through the most important changes to try and help you with the upgrading process. To view a complete list of all the changes see the changelog.
UI-core 4 release
As you might know, UI Core version 4 has recently been released. We recommend you check out our changelog for the full list of changes. There are also live demos and API docs at https://ui-core.dhis2.nu.
Web Application Library deprecations
In 2019 we established a new application development paradigm with the App Platform. The Platform provides a unified framework for DHIS2 Web App development, so it is time to deprecate a few of our legacy libraries!
DHIS2 with Docker
UPDATE (January 25, 2023) - some parts of this blog post are outdated, see the DHIS2 in Docker tutorial for the latest information.
The DHIS2 Core Team uses Docker to make development and testing efforts easier every day! It allows us to spin up various environments with any DHIS2 version, numerous tomcat versions and different components, such as Redis, NGINX, in no time. Because we wanted to share Docker with the community, we made publishing Docker images a part of our delivery pipeline. This guide aims to provide some guidelines on how to use Docker to quickly set up DHIS2.
What is this DHIS2 Application Platform?
During the DHIS2 Annual Conference a few weeks ago I had the pleasure of introducing our ongoing efforts to develop a formalized and consolidation Application Platform here at UiO.
Keep in mind that the Application Platform is still a work in progress! It's not quite ready for prime-time yet, but if you're excited about where we're going (or have questions or concerns), don't hesitate to reach out.
Command a fleet of repositories
As a developer you operate on many repositories. To keep all of the repositories up-to-date there are as many strategies as there are developers. Personally I have gone from doing it manually, to writing scripts (e.g. 1, 2), trying different tools (e.g. 1), and the latter is what this post is about.
Introducing d2, the DHIS2 CLI
Today we are excited to announce the stable v1.0 release of
d2, the DHIS2 CLI!
d2 is a modular, standardized, and consolidated tool to make developing in the DHIS2 ecosystem as painless as possible.
Ready for some practical tricks on how to use the build system? Create custom builds, deterministic builds, reproduce specific builds, and more!
The Build System
The last year has seen some significant changes to how the build system operates and this post will walk through the technical aspects of the system. The release and development processes which drive the build system is out of scope for this post and subsequently left out.
There are a few moving pieces, so let's get started!