Skip to content

@datawheel/canon-cms@0.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@davelandry davelandry released this 05 Mar 15:05
· 3342 commits to master since this release

This release adds hierarchy (levels) to profiles. The search endpoint now has a ?levels=Comma,Separated,Levels option to filter your results by level. This filtering is done implicitly in the CMS - if you are on a given profile, the search bar will only return levels that are appropriate for the currently open profile.

IMPORTANT NOTE: This includes a breaking database change. A levels column of the type ARRAY needs to be added to the profile table for databases created in v0.2.x.

  • adds level filtering to search endpoint (5787ff2)
  • adds more search hooks for levels (82393bc)
  • adds levels column to profiles and updates search endpoints (a3e3b55)