New Features
Breaking News!
Casbin4D (Casbin for Delphi): Casbin finished porting to Delphi/Pascal, see: https://github.com/casbin4d/Casbin4D
General
- Support Go modules.
Adopters
- Add VMware Harbor to our adopters.
Middlewares
Add Buffalo's middleware.
Add Go kit's middleware.
Adapters
- Add GCP Datastore Adapter.
Watchers
- Add Etcd Watcher.
Add GCP Pub/Sub Watcher.
Management API
- Add Safe* methods to the SyncedEnforcer.
RBAC API
- Add
GetUsersForRoleInDomain().
RBAC
- Add RESTful support for
goperator, see: 8cfc636
Bug Fix
- Skip filtered policy init.
- Cause panic for non-existent policy file in
NewEnforcer(), fix: #163 - Fix the bug in
GetUsersForRoleInDomain(). - Do not automatically call
LoadPolicy()for a filtered adapter. - Set filtered to true for File Filtered Adapter.
- Fix the bug of importing "github.com/pkg/errors".