|
| 1 | +.. _version-420: |
| 2 | + |
| 3 | +Version 4.2.0 |
| 4 | +############# |
| 5 | + |
| 6 | +GeoNetwork 4.2.0 release is a major release. |
| 7 | + |
| 8 | +Migration instructions |
| 9 | +---------------------- |
| 10 | + |
| 11 | +Due to H2 database major update, when migrating from a previous version drop the following database caches: |
| 12 | + |
| 13 | +* JS/CSS cache database in $DATA_DIR/wro4j-cache.mv.db |
| 14 | + |
| 15 | +* Formatter cache database in $DATA_DIR/data/resources/htmlcache/formatter-cache/info-store.mv.db |
| 16 | + |
| 17 | +If using H2 as the main database consider migrating to an external database (see :ref:`configuring-database`) or read `H2 migration guide <http://www.h2database.com/html/migration-to-v2.html>`_ and migrate the database to version 2 format. |
| 18 | + |
| 19 | +Then start the application. |
| 20 | + |
| 21 | + |
| 22 | +If using GeoNetwork 4.2.0 with an H2 version 1 database, the following error will be reported by H2 driver: |
| 23 | + |
| 24 | +.. code-block:: |
| 25 | +
|
| 26 | + General error: "The write format 1 is smaller than the supported format 2 [2.1.212/5]" [50000-212] |
| 27 | +
|
| 28 | +
|
| 29 | +
|
| 30 | +List of changes |
| 31 | +--------------- |
| 32 | + |
| 33 | +Major changes: |
| 34 | + |
| 35 | + |
| 36 | +* `Library updates <https://github.com/geonetwork/core-geonetwork/pull/6244>`_ including the move to H2 version 2 (not compatible with H2 version 1) |
| 37 | + |
| 38 | +* `Search / Multilingual support <https://github.com/geonetwork/core-geonetwork/pull/6188>`_ |
| 39 | + |
| 40 | +* `Search / Display results as table <https://github.com/geonetwork/core-geonetwork/pull/6170>`_ |
| 41 | + |
| 42 | +* `Search / Associated resources can now be part of the search response API <https://github.com/geonetwork/core-geonetwork/pull/6269>`_ |
| 43 | + |
| 44 | +* `Record view / Improved navigation <https://github.com/geonetwork/core-geonetwork/pull/6188>`_ |
| 45 | + |
| 46 | +* `Record view / Dataset citation formatter <https://github.com/geonetwork/core-geonetwork/pull/6188>`_ |
| 47 | + |
| 48 | +* `Toolbar / Add menu to switch portals <https://github.com/geonetwork/core-geonetwork/pull/6256>`_ |
| 49 | + |
| 50 | +* `Editing / Define preferred template and group <https://github.com/geonetwork/core-geonetwork/pull/6128>`_ to easily create new records |
| 51 | + |
| 52 | +* `Editing / Database search and replace <https://github.com/geonetwork/core-geonetwork/pull/6188>`_ |
| 53 | + |
| 54 | +* `Editing / Batch editing examples and copy/paste facilities <https://github.com/geonetwork/core-geonetwork/pull/6239>`_ |
| 55 | + |
| 56 | +* `Editing / Use directories for ISO19115-3 records <https://github.com/geonetwork/core-geonetwork/pull/6292>`_ :ref:`managing-directories` |
| 57 | + |
| 58 | +* `Editing / Easily register service in Spatineo monitor for ISO19115-3 <https://github.com/geonetwork/core-geonetwork/pull/6298>`_ |
| 59 | + |
| 60 | +* `INSPIRE / Configure API endpoint and gateway URL <https://github.com/geonetwork/core-geonetwork/pull/6146>`_ |
| 61 | + |
| 62 | +* `Admin / Languages / Easily remove unneeded languages <https://github.com/geonetwork/core-geonetwork/pull/5923>`_ to keep admin form as simple as possible |
| 63 | + |
| 64 | +* `Admin / Harvesting / Order options according to processing <https://github.com/geonetwork/core-geonetwork/pull/6221>`_ to better understand the harvesting steps |
| 65 | + |
| 66 | +* `Admin / Harvesting / JSON file support <https://github.com/geonetwork/core-geonetwork/pull/6251>`_ |
| 67 | + |
| 68 | +* `Admin / Thesaurus / Improved form and add support for description <https://github.com/geonetwork/core-geonetwork/pull/6283>`_ |
| 69 | + |
| 70 | +* `Admin / Link analysis / Filter by HTTP status. <https://github.com/geonetwork/core-geonetwork/pull/6255>`_ Those status gives more details, a link could be valid with an authorization required status. |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | +and more ... see `4.2.0 issues <https://github.com/geonetwork/core-geonetwork/issues?q=is%3Aissue+milestone%3A4.2.0+is%3Aclosed>`_ and |
| 76 | +`pull requests <https://github.com/geonetwork/core-geonetwork/pulls?q=is%3Apr+milestone%3A4.2.0+is%3Aclosed>`_ for full details. |
| 77 | + |
0 commit comments