Release Notes
Breaking Changes:
- New frontend app: data-catalog-app is replacing data-catalog-frontend which was a Gatsby app. This change will allow immediate viewing of new content without having to rebuild the frontend files.
- DKAN Tools users will also want to pull the corresponding DKAN Tools 4.0.0 release. Many of the commands have been improved and re-organized for easier use and data-catalog-app will be the default starting point for the React frontend.
How to upgrade (with dkan tools):
- Move your current /src/frontend to a new location.
- Run
dktl frontend:install
- Copy any customizations to components or templates to the new app.
- Run
dktl frontend:build
- Uninstall and re-enable the frontend module to get the new config:
drush pm-uninstall frontend -y drush en frontend -y drush cr
- Confirm everything is working, then you can delete your backup and the symlink to docroot/data-catalog-frontend
How to upgrade (without dkan tools):
- Move your current /src/frontend to a new location.
- Go into src folder:
cd src
- Clone the new frontend app:
git clone https://github.com/GetDKAN/data-catalog-app.git frontend
- Copy any customizations to components or templates to the new app.
- Uninstall and re-enable the frontend module to get the new config:
drush pm-uninstall frontend -y drush en frontend -y drush cr
- Create a symlink from src/frontend to docroot/frontend
- Rebuild:
cd src/frontend yarn install yarn build
- Confirm everything is working, then you can delete your backup and the symlink to docroot/data-catalog-frontend
Changelog
- [FEATURE] Set data-catalog-app as the default frontend app #3173