Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Releases: JiriChara/kindergarten

Release v1.4.0

19 Mar 11:41
Compare
Choose a tag to compare

New Way to Define Perimeters

before

createPerimeter({
  purpose: 'articles',
  govern: {
    'can update': function (article) {
      return this.child.isAdmin;
    }
  }
});

now

createPerimeter({
  purpose: 'articles',
  can: {
    update(article) {
      return this.child.isAdmin;
    }
  }
});

The old way to create a perimeters is still supported.

Remove Hookies Dependency

There is no real need for publish subscribe in kindergarten so the dependency on hookies was pretty much superfluous