2.12.0
New features
Replace data files in the dataset editor
Click "Replace" next to any file in the dataset editor to replace a file in the dataset while keeping all of its metadata intact. (#653)
Improved app configuration
MetacatUI can now be configured by supplying an appConfigPath
in index.html
that points to a configuration file. The configuration file contains all of the custom options for your MetacatUI deployment.
Why is this better?
- Upgrading MetatcatUI is now much faster, since you only need to update the
appConfigPath
. Nothing else inindex.html
orloader.js
needs to be updated! - This new configuration option eliminates the need for
AppModel
overrides by themes. - You can maintain separate configuration options for multiple deployments by creating a configuration file for each.
The full suite of configuration options can be found in the AppConfig
documentation: https://nceas.github.io/metacatui/docs/AppConfig.html
Step-by-step instructions for the new configuration process: https://nceas.github.io/metacatui/install/#for-metacatui-v2120-and-later
Note MetacatUI will still support the old way of configuring index.html
(i.e. setting the data-metacat-context
, data-theme
, and data-maps-key
in the loader.js script tag HTML attributes). However, this will be deprecated in a future release.
Encoded identifiers in URLs
Identifiers in dataset landing page URLs are now URL-encoded by default. (#523)
Link directly to the entity/data file metadata section of a dataset landing page
Copy the URL from the "More Info" link to link directly to tthe entity/file metatdata section on the dataset landing page.
These entity section URLs look like:
https://your-repo.com/view/metadata-id#data-id
(#83)
Bug fixes
- Some portals had a loading spinner forever on the Metrics tab (#1346). Enable Solr Joins in the MetacatUI AppConfig to take advantage of this fix. (
AppConfig.enableSolrJoins
) - Some invalid XML characters were not bbeing filtered/caught properly by the editor. (#1401)
Deprecation notes
Deprecated in 2.12.0
- The
StatsView
contained fallback options for browsers that don't support SVG/D3 (mainly, IE 8 and earlier). These fallbacks were removed, and theMetacatUI.useD3
attribute has been officially deprecated. D3 and SVG will always be enabled by default.
Soft-deprecated in 2.12.0
- MetacatUI will still support the old way of configuring
index.html
(i.e. setting thedata-metacat-context
,data-theme
, anddata-maps-key
in the loader.js script tag HTML attributes). However, this will be deprecated in a future release. - A new
AppConfig
option,enableSolrJoins
is turned off by default for Metacat users who may be using a Solr version pre-4.0.0. In future releases, this flag may be removed and Solr Joins may be required for MetacatUI.- This includes functions in
StatsModel
which are now unnecessary with the Solr Joins feature. Note the list of functions markeddeprecated
in theStatsModel
docs and make sure your MetacatUI theme does not rely on these functions, since they will be removed in future releases.
- This includes functions in