v2.0.0
Changelog v2.0.0
π Features
- Allow for customization of data catalog filters (#573)
- Add experimental support for ZARR datasets
- Upgrade to React 18 (#545)
- Add experimental POC for live MDX editor (only staging builds) (#546)
- Update default homepage content
π Improvements
- Remove unused modules
- Improve map legend display to handle digits and 4 decimals.
- Improve map handling of layers with no data (#568)
- General code improvements and cleanup
π Fixes
- Use "external" link for vector data instead of "child" to better follow the spec.
- Ensure all distinct dataset layers can be chosen for analysis (#582)
- Use correct statistics response keys following data services update (#572)
Migration guide
Taxonomy
With the removal of thematics
and sources
in favor of taxonomy
, the values under them must be migrated to a taxonomy with the name
of Topics
and Source
, respectively.
The values must also be converted from kebab-case to a human readable format (Title Case)
Example:
name: Dataset Name
thematics:
- covid-19
- agriculture
sources:
- dev-seed
becomes
name: Dataset Name
taxonomy:
- name: Topics
values:
- Covid 19
- Agriculture
- name: Source
values:
- Development Seed
Taxonomy Index
The taxonomy index file is no longer required and can be removed.
This file should be deleted and its reference in the veda.config.js
file should be removed.
Discoveries renamed to Stories
This version includes a content type change from discoveries
to stories
. This includes a url change from /discoveries/<id>
to /stories/<id>
, but redirects are in place to ensure that the old urls still work.
This change will require each instance to update their content to the new format. The following steps should be taken to migrate the content:
- In the
veda.config.js
file, make the following change+stories: './stories/*.stories.mdx', -discoveries: './discoveries/*.discoveries.mdx',
- It is now possible to customize the name of the stories in the interface. If you want a value different than "Stories" check the configuration section of the documentation to see how to do it.
- Rename the
discoveries
folder tostories
- Rename each discovery file from
<name>.discoveries.mdx
to<name>.stories.mdx
- Content that has a related content frontmatter key should be updated to use
story
type instead ofdiscovery