casbin / casbin.js

An authorization library that supports access control models like ACL, RBAC, ABAC in Frontend Javascript
https://casbin.org/docs/en/frontend
Apache License 2.0
160 stars 37 forks source link

fix!: bump v2 #253

Closed nodece closed 2 years ago

nodece commented 2 years ago

Signed-off-by: Zixuan Liu nodeces@gmail.com

The current version is confusing. We decided to deprecate v1, but we need to release a v2 to ensure that users will not use v1 when the package was installed.

We need to add this note to README.md, I did this.

/cc @Zxilly @hsluoyz

casbin-bot commented 2 years ago

@Gabriel-403 @Zxilly @kingiw please review

hsluoyz commented 2 years ago

@nodece we don't need to add docs for it. V1 has just been removed from both NPMJS and github, so nobody will use it any more.