Skip to content

Hajk 3.11

Compare
Choose a tag to compare
@jacobwod jacobwod released this 14 Feb 10:38
· 531 commits to master since this release
bd7ce87

249 commits and changes in 166 files since the 3.10 release – here's Hajk 3.11! This release was brought to you by @Hallbergs and @jacobwod . Please see the list of commits for all contributors.

This release brings improvements across all across the solution, with a lot of efforts being put into Print, Sketch, the Search results list, LayerSwitcher and Infoclick/MapClickViewer, to name a few.

There are of course upgrades to the latest dependencies that ensure that your Hajk setup is up-to-date when it comes to the latest security patches. 🔒

Continue reading for a details list of changes! 🚀

Changelog

Breaking changes

None.

(Almost) breaking changes

NodeJS Backend only: The NodeJS edition is now built using the current LTS version, namely Node 18. It brings a lot of new features and optimisations (such as native Fetch that enables this nice layer verification in Backend). In order to use this new features, you must run the Backend on Node 18.

This is not a truly breaking change though: Hajk will still run on lower Node versions (tested on v14) – but you will not be able to use the new feature from #1227.

Major new features

Improved group layer support for Infoclick/FeatureInfo/MapClickViewer

See #768.

Secondary display fields in search results view (#1167)

Admins can now configure more informative search results lists by utilising the possibly to show more information for each result. The secondary label (or labels) will be shown below the main label, with a smaller font size:

image

Print: option to add a margin to the printout (#1174)

User can optionally add a margin to the PDF that will be created. There is another option to make the margin large enough for it to hold the norther arrow, title and logo too:
image

Sketch: possible to change draw order (z-index) of the drawn features (#1176)

Previously Sketch features were placed on map in an order that corresponded to the draw order (most recently drawn features were placed on top).

This is still the default behaviour but this addition allows the user to control the z-index afterwards. This nice UI makes it possible to send features to front/back directly, or to move them one step at a time:
image

Allow users to change layer draw order (#1086)

A third tab, called Active layers can now be enabled in LayerSwitcher. This tab makes it possible for the user to rearrange the draw order (a.k.a. z-index) of the layers shown in map. It adds some other goodies too.

Still a new feature that will be polished in future releases, but already a usable addition to our UI.
image

MapClickViewer gains support for hard-coded values when no good attribute exists (#1126)

Some layers need to be clickable but they may lack informative attribute values for features. This was problematic before, as we needed at least one parameter to create a nice label in MapClickViewer.

With the release of 3.11, admins can hard-code a text string as an attribute value in Admin UI by surrounding the string with double quotations marks:

Admin UI:
image

Client UI:
image

MarkDown and HTML are now allowed in Announcements (#1161)

We can now create more lively notifications using text formatting and even emojis!

image

Support for additional, non-latin alphabets in Print, Admin (#1181)

Thanks to the spread of Hajk outside of Sweden, we've discover – and fixed! – a bug related to displaying non-latin characters in some parts of the application. E.g. the PDFs created by Print can now include Cyrillic letters:
image

DocumentHandler window can now be resized and moved around (#1239)

Previously the DocumentHandler window was limited to being locked to the left side of the screen. With this addition, admins can opt-in to make the window behave just as any Hajk plugin.

Web analytics expanded to also support Matomo (#1143)

Since #1065 we've had support for Plausible. In this release, we also add support for Matomo.

Experimental: list of most recently used plugins (#1171)

This experimental feature adds a button to the bottom of the screen and makes it possible to easily toggle between most recently used plugins:
image

Changes since Release Candidate 1

The dev team has close some bugs during the RC-phase. Some examples are fixes related to infoclick, Sketch, WMS's GetLegendGraphic (8be67e9) and tool button rendering (fd18477)

For a full list of changes between the RC and release, refer to this diff log.

New features and bug fixes

#883, #915, #1031, #1080, #1093, #1100, #1101, #1108, #1111, #1113, #1114, #1115, #1128, #1129, #1130, #1131, #1132, #1137, #1144, #1145, #1148, #1150, #1155, #1158, #1159, #1160, #1179, #1182, #1186, #1187, #1191, #1193, #1195, #1196, #1200, #1203, #1204, #1206, #1213, #1214, #1215, #1216, #1223, #1224, #1225, #1227, #1231, #1233, #1234, #1245, #1248

Downloads

There are multiple ways to get the latest Hajk up and running, including Docker container.

Pre-compiled releases

As usual, we have prepared three different versions of the pre-compiled solution (scroll down for download links):

  1. Hajk 3.11 NodeJS edition
  2. Hajk 3.11 Simple edition
  3. Hajk 3.11 .NET edition

Docker container

The container is available on Docker Hub: https://hub.docker.com/r/hallbergs/hajk

Installation

Refer to our installation guide.


What's Changed

New Contributors

Full Changelog: v3.10.0...v3.11.0