[Oskari-user] Oskari 2.1.0 released!

Mäkinen Sami (MML) sami.makinen at maanmittauslaitos.fi
Wed Nov 18 04:06:31 PST 2020


Good news everyone,

We released Oskari 2.1.0 yesterday and it is now available on GitHub (https://github.com/oskariorg) and Oskari.org Maven repository. The sample application package has been updated on the download link in Oskari.org (https://oskari.org/download) and http://download.osgeo.org/oskari/. As always you can take a peek at the latest at https://demo.oskari.org/.

Gentle reminder that you will need to upgrade existing instances to Oskari 1.56 before migrating to a 2.x based version.

The major changes in this version are: improved support for clustered server environment and the ability to set filters for WFS-based map layers as described here https://github.com/oskariorg/oskari-docs/issues/228. We also updated some libraries with quite a big jump on CesiumJS-version. Updating instances with 3D-mapmodule needs to do some cleanup that is described on the release notes. For those that don't use it yet the usage no longer requires additional steps for Cesium builds and the postinstall script has been removed from the sample application since it's no longer required.

Release Notes
oskari-frontend

For a full list of changes see: https://github.com/oskariorg/oskari-frontend/milestone/28?closed=1

Additions:

  *   ZoomToFeaturesRequest now supports an additional flag that can be used to limit how "close" the map should be zoomed to/usable when there's a single point feature to be zoomed to or features close to each other.
  *   VectorLayerRequest now allows vector layers to be cleaned out (previosly you could just remove features from the layers but not the layer itself via RPC)
  *   Vector features now support progress bar as well (features added with AddFeaturesToMapRequest)
  *   Added localizations for the new layerlist bundle for french and russian
  *   Added initial implementation for a generic React-based form component (used in the new my places form)

Functional changes:

  *   Printing no longer opens a new window for the result. Instead it opens a file download for the pdf/png. This fixes an issue where saving the pdf from the preview window failed on some browsers.
  *   Added a confirmation when user clicks the "reset map state" button
  *   Added a tooltip for layers that have "unknown" availability status on the layer listing (previously a popup was shown with the same info).
  *   The search description is now more generic and no longer mentions things that are specific for each Oskari instance like real estate identifiers. See linked PRs for https://github.com/oskariorg/oskari-frontend/pull/1350 on how to override this in an instance.
  *   My places form has been refactored. The form is no longer tied to the map location so it can be moved out of the way when editing the geometry. Previously the form could block some parts of the feature geometry making it impossible to modify the geometry on some cases.

Fixes:

  *   Fixed an issue where adding a my place to an existing layer before opening the layer in my data failed to load the existing places on the layer for listing
  *   Search in embedded maps now shows a message if the search limit was reached (too many results handling)
  *   Improved performance of layer listing/adding vector features to the map with vector layer changes. Most visible change in the geoportal performance regarding this is on thematic maps.
  *   Fixed an issue where metadata search removed all vector features from map when it was closed (for example removed thematic maps)
  *   Fixed an issue where getting feature attributes from MVT-layers wasn't working as intended
  *   Changed the way MVT-layers are handled if not supported by the map-implementation (wrong projection/not supported in 3d etc). These layers are now referenced in links if they are in selected layers even when they are not actually shown. Fixes an issue where changing between 2D and 3D appsetups removed MVT-layers from selected layers.

UI-issues fixed:

  *   Long style names are now handled better in selected layers listing
  *   Fixed a style bleeding issue with printout bundle/fixed language select width on publisher-bundle when printout-bundle was not part of the appsetup
  *   Fixed an issue with icons in statistical indicator listing
  *   Fixed an issue with the mobile toolbar on the map where the map height was not properly calculated on mobile mode.

Updates for libraries:

  *   Update OpenLayers: 6.3.1 -> 6.4.3
  *   Update CesiumJS: 1.62 -> 1.74
  *   Removed special Cesium handling from 3D mapmodule usage. Manual changes required for Oskari-based 3D-applications. See required changes in sample-application: https://github.com/oskariorg/sample-application/pull/15
  *   Continued replacing lodash usage with native functions

Documentation:

  *   Printout bundle documentation updated
  *   Improved ZoomToFeaturesRequest documentation
  *   Improved VectorLayerRequest documentation
  *   Improved vector feature styling documentation
  *   Separated feature attribute based selector documentation to it's own page since it's now used with both styling and filtering vector features
  *   StartUserLocationTrackingRequest/StopUserLocationTrackingRequest have been marked for RPC usage on documentation so they are easier to find since they have been available with RPC since they were added

oskari-server

For a full list of changes see: https://github.com/oskariorg/oskari-server/milestone/26?closed=1

WFS-layers can now have a filter for fetching features:

  *   Admin users can set filter to layer "attributes"
  *   https://github.com/oskariorg/oskari-docs/issues/228
  *   https://oskari.org/documentation/examples/oskari-filter

Log levels can now be updated programmatically:

  *   Admin users can set log levels at runtime (no UI for this yet)
  *   Helps debugging issues in production
  *   For details: https://github.com/oskariorg/oskari-server/pull/658

Improved support for clustered server environment:

  *   Caches communicate removals/flushes between cluster nodes
  *   Programmatically setting log level is communicated between cluster nodes
  *   Documentation available in https://oskari.org/documentation/features/server/clustering

Redis PubSub integration rewrite:

  *   fi.nls.oskari.cache.JedisSubscriber has been deprecated
  *   Use org.oskari.cluster.ClusterManager instead

Identifying Oskari instance in HTTP requests:

  *   Added IOHelper.addIdentifierHeaders(connection) for identifying Oskari to services. Adds headers:
     *   User-agent header with Oskari/[version] based on metadata in jar-file
     *   Referer with value from oskari.domain in oskari-ext.properties
  *   OSM Search channel and layer tile proxying now sends client identifiers to the service

Other improvements and changes:

  *   Improvements on WMS capabilities parsing
  *   Improvements on MIF/MID file reading when importing datasets
  *   Fix for feature data export on Excel format
  *   Logging reduced in layer tile proxy and printing for HTTP 404 answers from service
  *   Other improvements

Library updates:

  *   Updated commons-lang 3.8.1 -> 3.11
  *   Dropped commons-lang 2 (updated code to use version 3)

That's all for now. Stay safe and happy updating,

     Sami


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/oskari-user/attachments/20201118/dd98d1f2/attachment-0001.html>


More information about the Oskari-user mailing list