Hajk 3.11
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:
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:
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:
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.
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:
MarkDown and HTML are now allowed in Announcements (#1161)
We can now create more lively notifications using text formatting and even emojis!
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:
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:
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):
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
- Feature/883 layer naming by @jacobwod in #1094
- Allow users to see active layers, control draw order, transparency/toggeling as well as save and restore functionality by @jacobwod in #1116
- Bump Newtonsoft.Json from 5.0.4 to 13.0.1 in /proxy/mvc by @dependabot in #1120
- Bump Newtonsoft.Json from 5.0.4 to 13.0.1 in /proxy/HTTPProxy/Proxy by @dependabot in #1121
- Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /backend/mapservice by @dependabot in #1122
- Bump Newtonsoft.Json from 10.0.3 to 13.0.1 in /backend/EdpConn by @dependabot in #1123
- Bump Newtonsoft.Json from 5.0.4 to 13.0.1 in /proxy/GeoServerProxy/Proxy by @dependabot in #1124
- Bump moment from 2.29.1 to 2.29.4 in /new-admin by @dependabot in #1133
- Bump terser from 4.8.0 to 4.8.1 in /new-admin by @dependabot in #1135
- Bump terser from 5.12.1 to 5.14.2 in /new-client by @dependabot in #1136
- Add options and MUI5 upgrades in Geosuite plugin by @linusfj in #1134
- Feature/1101 information to activate location by @linusfj in #1119
- Added possiblity for the user to set a custom print-scale. by @Hallbergs in #1140
- Feature/915 custom hdpi by @jesade-vbg in #1141
- Upgrade UI for Coordinates plugin by @linusfj in #1138
- Feature/1150 infoclick multiply by by @jesade-vbg in #1151
- Bump async and async in /new-client by @dependabot in #1142
- Bookmark Removal Confirmation by @OlofSvahnVbg in #1157
- Fix/1115 admin wms projection by @linusfj in #1164
- Feature/1160 sketch replace warning by @OlofSvahnVbg in #1166
- feature/1143 analytics matomo by @jesade-vbg in #1168
- Feature/1145 infoclick xy zoom by @jesade-vbg in #1163
- Added support to mimic proxyBaseUrl in GeoServer by @maan002 in #1170
- Fix automatic zoom on mobile devices by @linusfj in #1169
- Feature/1093 new dummy plugin by @Hallbergs in #1173
- Added a plugin-template by @Hallbergs in #1175
- Feature/1171 plugin history by @jacobwod in #1180
- Feature/1174 print marginal by @OlofSvahnVbg in #1183
- Fix/1182 single layer in group qgis server by @jacobwod in #1188
- Fix/1181 cyrillic print support by @Hallbergs in #1189
- Potential fix for #1186 by @Hallbergs in #1190
- Feature/1191 placement warning by @OlofSvahnVbg in #1192
- Fix/1195 positioning bug by @linusfj in #1197
- Added date prop to print by @OlofSvahnVbg in #1199
- Control buttons render in Drawer on small screens, closes #1193. by @jacobwod in #1194
- Bump @xmldom/xmldom from 0.7.5 to 0.7.6 in /new-client by @dependabot in #1218
- Bump @xmldom/xmldom from 0.7.5 to 0.7.6 in /new-admin by @dependabot in #1217
- Fix/1204 infoclick title by @linusfj in #1205
- Feature/fir update 1 by @jesade-vbg in #1235
- Feature/1239 documenthandler resize dragging by @jesade-vbg in #1240
- Feature/snackbar close button by @linusfj in #1232
- Feature/1227 verify layers by @jacobwod in #1242
- Feature/786 grouplayer infoclick by @jesade-vbg in #1241
- Added group layers support to Anchor by @jacobwod in #1246
- Feature/orebro tsm by @Sunix71 in #1228
- Feature/1176 sketch control zindex by @jesade-vbg in #1249
- 1200 admin marginals and date by @OlofSvahnVbg in #1201
New Contributors
- @OlofSvahnVbg made their first contribution in #1157
- @Sunix71 made their first contribution in #1228
Full Changelog: v3.10.0...v3.11.0