Skip to content

v2.0.0

Compare
Choose a tag to compare
@danielfdsilva danielfdsilva released this 28 Jul 09:59
· 1801 commits to main since this release

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:

  1. In the veda.config.js file, make the following change
    +stories: './stories/*.stories.mdx',
    -discoveries: './discoveries/*.discoveries.mdx',
  2. 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.
  3. Rename the discoveries folder to stories
  4. Rename each discovery file from <name>.discoveries.mdx to <name>.stories.mdx
  5. Content that has a related content frontmatter key should be updated to use story type instead of discovery