Repository navigation
This release includes 101 commits and changes across 349 files since Hajk 4.2. Packaged by @Hallbergs and @jacobwod, with contributions from the community.
Summary
Hajk 4.3 is one of the most significant releases in recent history.
The long-awaited migration from Create React App to Vite modernizes the entire build pipeline, delivering faster builds, smaller initial payloads through dynamic chunk loading, and a much improved developer experience. Alongside this, the print pipeline has been completely rewritten — replacing two aging dependencies with a single modern PDF library and native PNG rendering.
The release also ships with a fully audited dependency tree, a zero-CVE Docker image based on Node 24, and a collection of important bug fixes — including several regressions from the RC phase — making 4.3 a release worth upgrading to sooner rather than later.
Changelog
Breaking
- Client: As part of the migration to Vite (PR #1754), support for legacy browsers including iOS ≤12 has been removed. Hajk now requires at least iOS 13.
- Client:
buildConfig.jsonis no longer used. Vite handles dynamic chunk loading at runtime instead. Administrators can control which tools are loaded by editing theavailableToolsarray inappConfig.json. If the array is missing or empty, all tools are loaded. What is actually visible to end users remains controlled by the map configuration, as before.
Added
- Backend: Added support for
X-Forwarded-*headers andX-Qgis-Service-Urlheader in the proxy middleware (activated viaPROXY_*variables in.env). See issue #1774.
Changed
- Client: Migrated from Create React App to Vite. See issue #1253 and PR #1754.
- Client/Print: Replaced two large legacy dependencies with one modern PDF library and native PNG rendering. See issue #1757.
- Backend: Refactored and consolidated logging. Log messages are now automatically decorated with the username (or
-if AD lookup is inactive). Default log level for most messages changed fromTRACEtoDEBUG— avoid usingTRACEin production. See issue #1764 and PR #1765. - Client: LayerSwitcher's search box now matches the styling of the app's regular search box. See issue #1645 and PR #1768.
- Backend: Proxy now correctly sets
X-Forwardedheaders (commit). - Client: Added
strict-origin-when-cross-originreferrer meta tag (PR #1799).
Fixed
- Print: Font size and weight for Print's text output can now be correctly set in Admin. See issue #1752.
- Print: Multiple regressions introduced during the print rewrite have been resolved. See PR #1786.
- Print: libPDF now correctly respects colors selected in the ColorPicker (PR #1801).
- Client: Solved a bug where plugin buttons could disappear in certain configurations (issue #1788).
- LayerSwitcher: Breadcrumbs are back (issue #1785).
- LayerSwitcher: Quick Access now expands automatically when loading theme presets (commit).
- LayerSwitcher: Favorites are now saved to
localStorage(commit). - LayerSwitcher: Draw order is now always shown when enabled by admin (issue #1792).
- DocumentHandler/Print: Fixed positioning of floated images (commit).
- DocumentHandler/Print: Blockquote background colors are now included (commit).
- DocumentHandler: All menu entries with connected documents now appear correctly in the print window (commit).
- Client: Added optional property chain to prevent runtime crashes with certain misconfigured layers (commit).
- Client: Allow visibility toggling for layers loaded from imported files (PR #1797).
- Backend: Starting the process with a missing or empty
.envnow throws an early, descriptive error (commit).
Security
- The official Docker image now uses Node 24 with the
slimbase variant, reducing the attack surface (commit). - All dependencies have been updated, bringing the CVE count to zero (commit).
Changes since RC1
During the release candidate testig period several issues identified in this thread have been resolved:
Changed
- Node build script marked as obsolete (kept for reference)
- Added
strict-origin-when-cross-originreferrer meta tag (#1799)
Fixed
- Plugin buttons could disappear in certain configurations (#1788)
- LayerSwitcher breadcrumbs restored (#1785)
- Multiple Print plugin regressions resolved (#1786)
- Draw order now always shown when enabled by admin (#1792)
- Visibility toggling for layers from imported files (#1797)
- Runtime crash with misconfigured layers prevented
- DocumentHandler: all menu entries with documents now appear in print window
- Print: libPDF now respects ColorPicker selections (#1801)
Security
- Docker image updated to Node 24 slim, reducing vulnerabilities
- All dependencies updated, CVE count brought to zero
Downloads
Pre-built packages
There are two versions of the downloadable package:
- Simple Edition: Static files only (no backend/admin). Configuration via JSON files.
- NodeJS Edition: Full stack — Backend, Frontend, and Admin.
Docker
Available on Docker Hub: hallbergs/hajk.
Installation
Refer to the installation guide.
Full changelog: v4.2.0...v4.3.0