Releases: timwis/jkan
v2.0.0
The biggest difference you'll see in Version 2.0 is that we've replaced the built-in editing UI with Decap CMS (formerly known as Netlify CMS), a drop-in content management system for static sites. Doing so has allowed us to trim the JKAN codebase quite considerably (we've removed the vast majority of the JavaScript). As always, using the editor is optional. You can read about the options for using it in docs/installation.md. Big thanks to the great contributions from our pals at Azavea/Element 84, @BryanQuigley, @lukemckinstry, and @lydiascarf! And to @dracos for a contribution from several years ago that we've finally merged!
Breaking changes
- Upgraded ruby version to
3.1.2
, and upgrade ruby and JavaScript dependencies to recent versions - Replaced built-in editing UI with Decap CMS (formerly known as Netlify CMS)
- Restructured
licenses.yml
for compatibility with Decap CMS. As a result,site.data.licenses
is nowsite.data.licenses.items
. - Split categories.yml into collection (directory of files). As a result,
site.data.categories
is nowsite.dataset_categories
. - Added out-of-the-box config for hosting on Netlify
- Added GitHub Actions workflow for publishing to GitHub Pages
- Removed default
baseurl
setting from_config.yml
- Switched to parcel for JavaScript bundling instead of Webpack
- Upgraded to Bootstrap v5, which means bootswatch themes no longer work
Non-breaking changes
- Added support for uploading category and organization images
- Ensured the site works without JavaScript
- Added a
/categories/
index page and a page per category - Added a homepage hero image
Deprecations
- We now recommend hosting JKAN on Netlify, but still support GitHub Pages and other static hosting providers.
- If you use GitHub Pages, you'll need to switch on GitHub Actions in your repository to replace the legacy publishing workflow.
v1.0.3
Important hotfix
The latest version of Jekyll introduced themes, and apparently reserved the property theme
in _config.yml
. GitHub pages upgraded the version of Jekyll it uses to this version, and as a result, all JKAN builds were failing because JKAN uses the theme
property internally. @patcon reported this issue and this patch fixes it.
Please upgrade immediately by going to the Maintenance section of Administration in your JKAN site. Until you upgrade, your JKAN site will still work, but editing content will not regenerate the site.
Hotfixes
- Rename
theme
tojkan_theme
in_config.yml
to fix build issues caused by GitHub Pages (#127)
v1.0.2
v1.0.1
v1.0.0
Thanks to the feedback, suggestions, and code contributions of folks like @pezholio, @JJediny, @waldoj, @mheadd, @iltempe, @patcon, @marks, @Floppy, @rgrp, and @chrismetcalf, JKAN is ready for production use.
Features (since v1.0.0-rc2
)
Patches and Bug Fixes
- Polyfilled ES2015 features for IE11 support #108
- Get rid of that pesky "Fork Me on GitHub" banner
Categories on homepage and theme support
Release Candidate
This release marks a release candidate for v1.0.0
. The question to ask before declaring it v1.0.0
is whether JKAN is production-ready. Please join the discussion and give your thoughts in #91.
Features
- Significant refactor of JavaScript architecture #87
- Categories are now editable in the admin interface #90
- Admin section broken out into tabs
- Documentation added for Architecture, Manual Installation, Custom domain
Check collaborator status, analytics, social, modify organizations
Features
- Hide add, edit, administration links by default unless user is logged in and has collaborator access. Logged in users without collaborator access will be shown a warning. (#67)
- Google analytics tag support (#46) (Thanks @JJediny!)
- Digital analytics program support (Thanks @JJediny!)
- Open graph & twitter card support (Thanks @JJediny!)
- Hypothesis.io support (Thanks @JJediny!)
- Add/edit Organizations (#26)
- Basic DCAT support on dataset pages (Thanks @pezholio!) #75
- Add upgrade button to admin page (#51)
Patches
- Hide Show X more item on categories/organizations lists when X is 0
- Wrapped organization on dataset page inside a panel (Thanks @JJediny!)
npm run watch
rebuilds javascript directly into_site/
directory to skip jekyll's copying
And our shiny new logo, thanks to @JJediny
Schema customization
Features
- Allows dataset/resource schema to be customized per #60 (documentation)
- Adds data.json file per #34
Patches
- Additional Info section on dataset page uses a
<table>
- Resources have collapsable Details section if there are fields in the schema beyond the system fields